#5196: CF card is not detected
---------------------------+----------------------------------------------
Reporter: casm | Owner: mmlr
Type: bug | Status: new
Priority: normal | Milestone:
Component: Drivers/USB | Version: R1/alpha1
Resolution: | Keywords: webdt geode compact flash CF USB
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
---------------------------+----------------------------------------------
Comment (by pkacperski):
I have a VIA C7 based thin terminal with built-in CompactFlash-IDE adapter
on board. I usually set up an instance of Debian Linux there and it serves
as simple, ad-hoc Linux server if needed.
As comfort of using virtualised Haiku is rather disputable, I decided to
run it natively on the thin client. Unfortunately I felt miserably, as
Haiku booted from an external USB flash drive seems to be completely
helpless with dealing with the on-board CF-IDE adapter. It is aware of
presence of the ATA0 disk, but it is inaccessible in any way. syslog shows
multiple ATA errors:
{{{
pjk@pjk-pc ~ $ grep -I "ata" syslog
KERN: field: "disk identifier" (RAWT): data at 0x81bd6f1c, 79 bytes
KERN: ata 0: _DevicePresent: device 0, presence 1
KERN: ata 0: _DevicePresent: device 1, presence 1
KERN: ata 0: deviceMask 3
KERN: ata 0: probing device 0
KERN: ata 0: signature of device 0: 0x0000
KERN: ata 0-0: model number: SanDisk SDCFHSNJC-008G
KERN: ata 0-0: serial number: AMZ072315235020
KERN: ata 0-0: firmware rev.: HDX 7.08
KERN: ata 0-0: using DMA mode 0x12
KERN: ata 0: identified ATA device 0
KERN: ata 0: probing device 1
KERN: ata 0: signature of device 1: 0x0000
KERN: ata 0 error: device ready not set
KERN: ata 0-1 error: sending identify request failed
KERN: ata 0 error: command failed, error bit is set. status 0x51, error
0x04
KERN: publish device: node 0x82b4a248, path disk/ata/0/master/raw, module
drivers/disk/scsi/scsi_disk/device_v1
KERN: ata 0-0 error: invalid target lun 1 for ATA device
KERN: ata 0-0 error: invalid target lun 2 for ATA device
KERN: ata 0-0 error: invalid target lun 3 for ATA device
KERN: ata 0-0 error: invalid target lun 4 for ATA device
KERN: ata 0-0 error: invalid target lun 5 for ATA device
KERN: ata 0-0 error: invalid target lun 6 for ATA device
KERN: ata 0-0 error: invalid target lun 7 for ATA device
KERN: ata 0 error: target device not present
KERN: ata 0 error: invalid target device
KERN: ata 1: _DevicePresent: device 0, presence 0
KERN: ata 1: _DevicePresent: device 1, presence 0
KERN: ata 1: deviceMask 0
KERN: ata 1: ignoring device 0
KERN: ata 1: ignoring device 1
KERN: ata 1 error: target device not present
KERN: ata 1 error: invalid target device
KERN: KDiskDeviceManager::_Scan(/dev/disk/ata)
KERN: KDiskDeviceManager::_Scan(/dev/disk/ata/0)
KERN: KDiskDeviceManager::_Scan(/dev/disk/ata/0/master)
KERN: KDiskDeviceManager::_Scan(/dev/disk/ata/0/master/raw)
KERN: found device: /dev/disk/ata/0/master/raw
KERN: ata 0 error: command failed, error bit is set. status 0x51, error
0x04
KERN: device 0: /dev/disk/ata/0/master/raw
KERN: ata 0 error: command failed, error bit is set. status 0x51, error
0x04
KERN: ata 0 error: command failed, error bit is set. status 0x51, error
0x04
KERN: ata 0 error: command failed, error bit is set. status 0x51, error
0x04
KERN: ata 0 error: command failed, error bit is set. status 0x51, error
0x04
}}}
...and so on.
I tried dd-ing USB flash drive with Haiku on to /dev/sda (that is a 8 GB
compact flash card sitting on the motherboard) from Linux, but then Haiku
PANICs with information that it is unable to find any boot partition.
I will attach logs from Debian as soon as I finish restoring it on the
device.
--
Ticket URL: <https://dev.haiku-os.org/ticket/5196#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.