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

Re: cubox i4x4 hard drive seen in D-I but not in installed system.



On 13/12/16 19:59, peter green wrote:
I have just bought a cubox i4x4 and installed Debian Jessie on it using D-I (concatenatable netboot). I am using a SD card for the rootfs and plan to use a hard drive to store chroots.

Unfortunately while I can see the hard drive in D-I I can't see it after installing. The ahci_imx module seems to be loaded but sda doesn't appear in /dev.

I upgraded to the kernel from backports. This made no difference.

Any idea how to go about troubleshooting this issue? the box isn't much use to me if I can't make the hard drive work.
Ok, after some discussions on irc I discovered some more.

It seems that the system sees the port but fails to detect the drive.

[ 2.694758] ahci-imx 2200000.sata: fsl,transmit-level-mV value 1104, using 00000044 [ 2.694778] ahci-imx 2200000.sata: fsl,transmit-boost-mdB value 0, using 00000000 [ 2.694791] ahci-imx 2200000.sata: fsl,transmit-atten-16ths value 9, using 00002000 [ 2.694802] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000 [ 2.698172] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled [ 2.698208] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 2.698223] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
[    2.699973] scsi host0: ahci-imx
[    3.014679] ahci-imx 2200000.sata: no device found, disabling link.
[    3.014690] ahci-imx 2200000.sata: pass .hotplug=1 to enable hotplug

However if I unload and reload the driver then it sees the drive successfully.

I would guess at this point either a race condition or a power glitch (maybe powering the HDD off one of the USB ports wasn't such a good idea).


Reply to: