Hi everyone,
We are using DM6446 evm board and testing CF. But CF isn't work well. The following is logs.
------------------------------------------------------------------------------------------------------------------------------
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
MUX: initialized HDIREN
MUX: initialized ATAEN
ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
hda: SanDisk SDCFX-016G, CFA DISK drive
hda: drive side 80-wire cable detection failed, limiting max speed to UDMA33
ide0 at 0xfec661f0-0xfec661f7,0xfec663f6 on irq 22
hda: max request size: 512KiB
hda: 31277232 sectors (16013 MB) w/1KiB Cache, CHS=31029/255/63, UDMA(33)
hda:<4>hda: dma_timer_expiry: dma status == 0x21
hda: DMA timeout error
hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: drive not ready for command
ide0: reset timed-out, status=0x80
hda: status timeout: status=0x80 { Busy }
ide: failed opcode was: unknown
hda: drive not ready for command
ide0: reset timed-out, status=0x80
end_request: I/O error, dev hda, sector 0
Buffer I/O error on device hda, logical block 0
end_request: I/O error, dev hda, sector 0
Buffer I/O error on device hda, logical block 0
unable to read partition table
------------------------------------------------------------------------------------------------------------------------------
We have test two kinds of CF which are LEXAR Media 80x (2GB) and Sandisk Extreme 60MS/x UDMA (16GB). Specially, Sandisks(2EA) are new. CFs tested are same result. But CFs is worked well on Windows OS.
After boot, we have found /dev/hda such as the following.
------------------------------------------------------------------------------------------------------------------------------
root@192.168.0.243:~# ls -al /dev/hda
lrwxrwxrwx 1 root root 32 Feb 1 12:09 /dev/hda -> ide/host0/bus0/target0/lun0/disc
------------------------------------------------------------------------------------------------------------------------------
But. we can't format or mount. If we try format, error is prompted such as the following.
------------------------------------------------------------------------------------------------------------------------------
root@192.168.0.243:~# mkfs.ext2 /dev/hda
/dev/hda entire device, just not one partition
......
end_request: I/O error, dev hda, sector xxxxxxxx
......
------------------------------------------------------------------------------------------------------------------------------
We have searched google to find out reason. But we can't know about it very well. We guess that this is kernel problem or filesystem proble. Would you give me some information to solve it?
Thank you and BR.
Lee.