Hi, I recently purchased this HAT: https://www.waveshare.com/wiki/PCIe_TO_2-CH_SATA_HAT+ , connected it to my Rpi5/LibreELEC12.0.2 with my WD green sata disk attached but the disk is not detected. I am doing "ls /dev | grep sd" but I find no related /dev/sdX device . I have other 2 disks connected to usb, those are listed as /dev/sda and /dev/sdb BUT no other disk. Please help me find the reason why the disk is not being detected and fix the issue. Please note the following:
1. lspci shows:
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2712 (rev 30)
0000:01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2712 (rev 30)
0001:01:00.0 Ethernet controller: Device 1de4:0001
2. lshw shows:
libreelec-pi5
description: Computer
product: Raspberry Pi 5 Model B Rev 1.1
serial: f47ed3d486ae96b8
width: 64 bits
capabilities: smp cp15_barrier setend swp tagged_addr_disabled
*-core
...
*-pci:0
description: PCI bridge
product: BCM2712 PCIe Bridge
vendor: Broadcom Inc. and subsidiaries
physical id: 100
bus info: pci@0000:00:00.0
version: 30
width: 32 bits
clock: 33MHz
capabilities: pci pm pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:41 memory:1b80000000-1b800fffff
*-sata UNCLAIMED
description: SATA controller
product: ASM1061/ASM1062 Serial ATA Controller
vendor: ASMedia Technology Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: sata msi pm pciexpress ahci_1.0 cap_list
configuration: latency=0
resources: memory:1b80010000-1b800101ff memory:1b80000000-1b8000ffff
...
Display More
3. dmesg | grep pcie shows:
[ 0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory smsc95xx.macaddr=2C:CF:67:F6:93:08 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 boot=UUID=2001-4441 disk=UUID=30f5d869-400e-4a82-8b7b-a5173e9001ba quiet cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 ipv6.disable=1
[ 0.020697] /axi/pcie@120000/rp1: Fixed dependency cycle(s) with /axi/pcie@120000/rp1
[ 0.020922] /axi/pcie@120000/rp1: Fixed dependency cycle(s) with /axi/pcie@120000/rp1
[ 0.262363] brcm-pcie 1000110000.pcie: host bridge /axi/pcie@110000 ranges:
[ 0.262367] brcm-pcie 1000110000.pcie: No bus range found for /axi/pcie@110000, using [bus 00-ff]
[ 0.262373] brcm-pcie 1000110000.pcie: MEM 0x1b80000000..0x1bffffffff -> 0x0080000000
[ 0.262377] brcm-pcie 1000110000.pcie: MEM 0x1800000000..0x1b7fffffff -> 0x0400000000
[ 0.262381] brcm-pcie 1000110000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[ 0.263630] brcm-pcie 1000110000.pcie: Forcing gen 2
[ 0.263823] brcm-pcie 1000110000.pcie: PCI host bridge to bus 0000:00
[ 0.368149] brcm-pcie 1000110000.pcie: link up, 5.0 GT/s PCIe x1 (!SSC)
[ 0.368420] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 0.368444] pcieport 0000:00:00.0: PME: Signaling with IRQ 41
[ 0.368485] pcieport 0000:00:00.0: AER: enabled with IRQ 41
[ 0.368565] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@120000 ranges:
[ 0.368568] brcm-pcie 1000120000.pcie: No bus range found for /axi/pcie@120000, using [bus 00-ff]
[ 0.368574] brcm-pcie 1000120000.pcie: MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[ 0.368577] brcm-pcie 1000120000.pcie: MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[ 0.368582] brcm-pcie 1000120000.pcie: IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[ 0.368585] brcm-pcie 1000120000.pcie: IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[ 0.369640] brcm-pcie 1000120000.pcie: Forcing gen 2
[ 0.369662] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0001:00
[ 0.474804] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[ 0.484883] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
[ 0.484902] pcieport 0001:00:00.0: PME: Signaling with IRQ 42
[ 0.484941] pcieport 0001:00:00.0: AER: enabled with IRQ 42
[ 8.122543] rc rc0: PCTV tripleStick (292e) as /devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2/3-2:1.0/rc/rc0
[ 8.122721] input: PCTV tripleStick (292e) as /devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-2/3-2:1.0/rc/rc0/input3
Display More
4. I tried latest PiOS, it detects the disk as /dev/sdc ; was able to format and mount it
I am not sure what "UNCLAIMED" means in the above listing or what else to run to find the problem. Any help or suggestion greatly appreciated.