Dell 7310 (Lulu) with existing installed Full UEFI SATA detection problem

A few months back, I was able to flash with Full UEFI 4.22.4 install and run Arch Linux without any issues. The process was very easy and so was happy to breath new life into this system. Because the original system originally came with a 16GB SanDisk M.2 SATA disk, I was having space issues when attempting to upgrade, so I figured I would just replace it with a large capacity M.2 2242 SATA drive.

As soon as removed the existing 16GB M-SATA SanDisk and swapped it out with the replacement unit, I ran into the following issues.

Neither the original 16GB SanDisk M.2 SATA nor the 1TB Kingchuxing M.2 SATA disk is recognized in the UEFI coreboot menu. What I noticed is the coreboot does see the USB disks (Ventoy and Batocera) and they appear in the coreboot menu and do boot via coreboot. I thought normally the SMBIOS is supposed to “talk to” the drive and get the drive info before any kernel can utilize it.

When putting in the same M.2 SATA drives into an Intel Haswell system (Shuttle PC), the APTIO BIOS sees the 1TB M-SATA drive and the original 16GB SanDisk.

I thought maybe it’s a hardware compatibility problem, so then I put the original SanDisk M.2 SATA back into Dell 7310 M.2 slot and that drive isn’t being detected either.

So I thought maybe there is an issue with coreboot 4.22.4 and I went ahead to flash upgrade coreboot to MrChromebox-2408.1 (successful) and both SATA disks are still not being recognized when installed in the Dell 7310, only USB boot seems to function properly via coreboot. Secure boot is disabled so I am at a loss as to why the SATA disks never appear or become visible to coreboot.

What additional information is required to further troubleshoot this issue?
Perhaps this should be moved to the Firmware area, can a mod do this?

I’ll provide more details in this thread.



Here is information from the hdparm utility of the 1TB disk when I queried on the other system (Shuttle PC) that can detect the disk in BIOS settings. It is a SATA drive and is the same M+B key as the original 16GB SanDisk.

The full output from the hdparm -I below is located - https://termbin.com/uabo

$ sudo hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       Kingchuxing 1TB                         
        Serial Number:      2024090403099       
        Firmware Revision:  X0222A0 
        Media Serial Num:   
        Media Manufacturer: 
        Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
        Used: unknown (minor revision code 0x0110) 
        Supported: 9 8 7 6 5 
        Likely used: 9

The same Shuttle PC system, I put the original 16GB SanDisk that has Arch Linux on it and was working and recognized before I removed it from the Dell Lulu, it does show up and is working. Here’s the output from hdparm -I /dev/sda
Full output located here - https://termbin.com/9p66

hdparm -I /dev/sda


/dev/sda:

ATA device, with non-removable media
        Model Number:       SanDisk SSD U110 16GB
        Serial Number:      144752400668
        Firmware Revision:  U221000
        Transport:          Serial, ATA8-AST, SATA Rev 2.6, SATA Rev 3.0
Standards:
        Used: unknown (minor revision code 0x0110)
        Supported: 9 8 7 6 5
        Likely used: 9

I was also even able to change the Boot order in the other PC system, a Shuttle XPC Aptio UEFI BIOS, and select the 16GB SanDisk, and was able to boot into Arch Linux.

When I plugged in the Batocera external USB drive into LULU, the Boot Menu did save it. I find it strange that the USB detection seems to be working great, but with the internal M-SATA, there’s nothing.


UEFI Shell doesn’t seem to see M-SATA attached disks, is it supposed to appear when listing with devtree or pci commands?



As requested by MrChromebox, the link to cbmem.log from LULU with the 16GB original SATA disk.

Also, full [dmesg](https://termbin.com/au1q output as well.

Noticed SATA link is down in dmesg output.

[    0.264881] ata1: SATA max UDMA/133 abar m32768@0x91110000 port 0x91110100 irq 41 lpm-pol 3
...

   0.297972] RAS: Correctable Errors collector initialized.
[    0.578761] ata1: SATA link down (SStatus 0 SControl 300)

I will shutdown, unplug battery swap to the 1TB disk and do the same log dumps.