Re: sata / ahci support for wandboard quad

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2013/11/23 Ronald <ronald.gadget@xxxxxxxxx>
Peter,

thanks for the quick reply. I am now running with the kernel you recommended, but I still do not see the sata drive.... (see below).
Do I need to do anything else?
thanks, Ronald


[root@wandquad ~]# uname -a
Linux wandquad 3.12.1-2.fc21.armv7hl #1 SMP Thu Nov 21 05:58:27 UTC 2013 armv7l armv7l armv7l GNU/Linux
[root@wandquad ~]# fdisk -l

Disk /dev/mmcblk0: 7.2 GiB, 7742685184 bytes, 15122432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0009891a

Device         Boot     Start       End  Blocks  Id System
/dev/mmcblk0p1           1953   1001953  500000+ 83 Linux
/dev/mmcblk0p2        1001954   4083711 1540879  83 Linux
/dev/mmcblk0p3        4083712  15122431 5519360  83 Linux

I've hit the same issue and just modprobe ahci_platform to have sata support (tested)
That been said, I don't understand what the problem was here: ahci_imx was loaded but not in the initamfs, and ahci_platform was in the initramfs but was not loaded. Instead I've

[    8.070829] systemd-udevd[211]: starting version 208
[    8.437543] ------------[ cut here ]------------
[    8.437605] WARNING: CPU: 1 PID: 234 at fs/sysfs/dir.c:526 sysfs_add_one+0x84/0xa4()
[    8.437618] sysfs: cannot create duplicate filename '/bus/platform/devices/ahci'
[    8.437627] Modules linked in: snd_timer(+) ahci_imx(+) snd soundcore nfsd mmc_block sdhci_esdhc_imx sdhci_pltfm sdhci
[    8.437675] CPU: 1 PID: 234 Comm: systemd-udevd Not tainted 3.12.1-2.fc21.armv7hl #1
[    8.437741] [<c0017398>] (unwind_backtrace+0x0/0x124) from [<c0012200>] (show_stack+0x18/0x1c)
[    8.437782] [<c0012200>] (show_stack+0x18/0x1c) from [<c0601844>] (dump_stack+0x74/0x90)
[    8.437823] [<c0601844>] (dump_stack+0x74/0x90) from [<c0049a68>] (warn_slowpath_common+0x6c/0x90)
[    8.437859] [<c0049a68>] (warn_slowpath_common+0x6c/0x90) from [<c0049ac0>] (warn_slowpath_fmt+0x34/0x44)
[    8.437897] [<c0049ac0>] (warn_slowpath_fmt+0x34/0x44) from [<c01a9d48>] (sysfs_add_one+0x84/0xa4)
[    8.437927] [<c01a9d48>] (sysfs_add_one+0x84/0xa4) from [<c01aa6f4>] (sysfs_do_create_link_sd+0x118/0x1e8)
[    8.437969] [<c01aa6f4>] (sysfs_do_create_link_sd+0x118/0x1e8) from [<c037d5b4>] (bus_add_device+0xec/0x184)
[    8.437994] [<c037d5b4>] (bus_add_device+0xec/0x184) from [<c037b964>] (device_add+0x4ec/0x624)
[    8.438022] [<c037b964>] (device_add+0x4ec/0x624) from [<c037fbb8>] (platform_device_add+0x168/0x204)
[    8.438054] [<c037fbb8>] (platform_device_add+0x168/0x204) from [<bf0a437c>] (imx_ahci_probe+0x1a4/0x1f4 [ahci_imx])
[    8.438081] [<bf0a437c>] (imx_ahci_probe+0x1a4/0x1f4 [ahci_imx]) from [<c037f7a8>] (platform_drv_probe+0x1c/0x20)
[    8.438103] [<c037f7a8>] (platform_drv_probe+0x1c/0x20) from [<c037e3cc>] (driver_probe_device+0x130/0x32c)
[    8.438122] [<c037e3cc>] (driver_probe_device+0x130/0x32c) from [<c037c7a4>] (bus_for_each_drv+0x7c/0x90)
[    8.438141] [<c037c7a4>] (bus_for_each_drv+0x7c/0x90) from [<c037e224>] (device_attach+0x6c/0x90)
[    8.438160] [<c037e224>] (device_attach+0x6c/0x90) from [<c037d67c>] (bus_probe_device+0x30/0xa0)
[    8.438180] [<c037d67c>] (bus_probe_device+0x30/0xa0) from [<c037b9b8>] (device_add+0x540/0x624)
[    8.438197] [<c037b9b8>] (device_add+0x540/0x624) from [<c037fbb8>] (platform_device_add+0x168/0x204)
[    8.438217] [<c037fbb8>] (platform_device_add+0x168/0x204) from [<bf0a437c>] (imx_ahci_probe+0x1a4/0x1f4 [ahci_imx])
[    8.438240] [<bf0a437c>] (imx_ahci_probe+0x1a4/0x1f4 [ahci_imx]) from [<c037f7a8>] (platform_drv_probe+0x1c/0x20)
[    8.438260] [<c037f7a8>] (platform_drv_probe+0x1c/0x20) from [<c037e3cc>] (driver_probe_device+0x130/0x32c)
[    8.438280] [<c037e3cc>] (driver_probe_device+0x130/0x32c) from [<c037e684>] (__driver_attach+0x70/0x94)
[    8.438361] [<c037e684>] (__driver_attach+0x70/0x94) from [<c037c6f8>] (bus_for_each_dev+0x78/0x8c)
[    8.438387] [<c037c6f8>] (bus_for_each_dev+0x78/0x8c) from [<c037d924>] (bus_add_driver+0x108/0x274)
[    8.438415] [<c037d924>] (bus_add_driver+0x108/0x274) from [<c037ecec>] (driver_register+0xa4/0xe8)
[    8.438434] [<c037ecec>] (driver_register+0xa4/0xe8) from [<c00089e8>] (do_one_initcall+0xcc/0x188)
[    8.438472] [<c00089e8>] (do_one_initcall+0xcc/0x188) from [<c00a52a8>] (load_module+0x1854/0x1e24)
[    8.438493] [<c00a52a8>] (load_module+0x1854/0x1e24) from [<c00a5a2c>] (SyS_finit_module+0x90/0xa8)
[    8.438519] [<c00a5a2c>] (SyS_finit_module+0x90/0xa8) from [<c000e8c0>] (ret_fast_syscall+0x0/0x30)
[    8.438530] ---[ end trace 7e0a411d1d766543 ]---
[    8.438665] ahci-imx: probe of ahci failed with error -17
[    8.438851] platform ahci: failed to claim resource 0
[    8.443998] ahci-imx: probe of ahci failed with error -16

I tried to add ahci_imx to the initamfs, but I didn't solved anything, so I might have a module dependency issue there, or something related to the sysfs warning...

There is also no rtc support, device tree describe one, but I guess the driver isn't here yet...

Nicolas (kwizart)

_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux