Red Hat Bugzilla – Bug 466057
Compact Flash ATA/IDE via PCMCIA fails at insertion
Last modified: 2008-10-24 11:44:47 EDT
Created attachment 319701 [details]
/var/log/messages when CF card inserted at boot
Description of problem: A specific Compact Flash [storage device] card in a PC Card Adapter (PCMCIA) fails to be used as an IDE drive. The same hardware works under MS Windows, or when the CF card is connected via USB reader. The kernel logs show "error: -12" when attempting to read the "last" sector. The error recovery strategy is lame: try reading it again, a number of times. An additional strategy might be to back off 1, 2, 4, or 8 sectors from the end and try a few times (and then setting the device size appropriately.)
Version-Release number of selected component (if applicable):
How reproducible: always
Steps to Reproduce:
1. Insert 8GB compact flash card (15761088 sectors) before power-on, using PC Card adapter
Actual results: "Starting udev" takes 3 minutes instead of 20 seconds, and the device is not recognized: cannot be opened, and partitions+filesystems contained on the card are not available.
Expected results: "Starting udev" takes only a second or two longer, device is recognized, partitions+filesystems on the Compact Flash card are available.
Created attachment 319702 [details]
/var/log/messages for hot insertion of CF card
Created attachment 319703 [details]
/var/log/messages when using USB reader on CF card
Created attachment 319704 [details]
lspci; lspci -n; lspci -v
The machine is a notebook with PCMCIA slot. Here is the "lspci" of the hardware.
A different Compact Flash card with 503808 sectors (258 MB) works as expected using the same PC Card adapter and machine and kernel.
This was fixed in 188.8.131.52-46. A new kernel with this fix should be available soon.
Kernel-184.108.40.206-79.fc9 is released. Please try that.
kernel-220.127.116.11-79.fc9 works. Thank you.