Hi HiassofT , I tested this image and it works fine with the sata hat. The disk is detected and auto-munted just fine. I created a file on it which survived reboot, so I guess sata support works properly. Thank you!
Posts by streppuiu
-
-
Hi chewitt , I added pci=realloc to cmdline.txt in LE12.2.1 and rebooted but unfortunately that changed nothing, sata was still unclaimed and the disk was not detected, clearly LE lacks support as HiassofT mentioned. Thank you for looking into this anyway!
-
Hi HiassofT , the sata disk is properly detected and mounted using the LE13 image you provided.
lspci:
Code
Display More*-pci:0 ... *-sata description: SATA controller product: ASM1061/ASM1062 Serial ATA Controller vendor: ASMedia Technology Inc. physical id: 0 bus info: pci@0001:01:00.0 version: 01 width: 32 bits clock: 33MHz capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom configuration: driver=ahci latency=0 resources: irq:41 memory:1b80010000-1b800101ff memory:1b80000000-1b8000ffff ...Is there any way I can enable sata in older LE version (like 12.0.2 I am using, or at least latest 12). I can try building LE if necessary, I remember I did it years ago for an addon. I would need details about what to change, obviously your help again.
Or is it waiting for the new 13 the only practical option at this time? I would keep v12 for a while longer if possible, for me moving to a new major version is always a lot of work (some addons don't work, new configs needed etc).
Thank you so much for your help!
-
Sure, I made a new LE12.2.1 card, I am using that to debug.
Full log:
https://paste.libreelec.tv/dashing-quagga.log
dmesg:
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.lshw:
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.lspci:
CodeLibreELEC:~ # lspci 0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30) 0001:01:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 01) 0002:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30) 0002:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South BridgeAll suggestions/ideas are welcome, thank you for your help!
-
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:
Code0000: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:00012. lshw shows:
Code
Display Morelibreelec-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 ...3. dmesg | grep pcie shows:
Code
Display More[ 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/input34. 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.