Mark Lord wrote:Oh crap. I did test it a couple of months ago, but my boot/root drive
is libata not IDE -- so no panic on boot with it. After booting, it worked
just fine talking to PC-CARD CF devices using the polling.
Ok, no problem. I recompiled the kernel with libata (but without the libata pcmcia support), and made legacy ide (only ide-core and ide-cs) modular.
This allowed me to boot my PATA HDD with libata, and when I plugged in the PCMCIA card it picked it up automatically with the legacy ide drivers.
Jun 10 02:40:06 localhost kernel: pccard: PCMCIA card inserted into slot 0
Jun 10 02:40:07 localhost kernel: cs: memory probe 0xe8000000-0xefffffff: excluding 0xe8000000-0xefffffff
Jun 10 02:40:07 localhost kernel: cs: memory probe 0xc0200000-0xcfffffff: excluding 0xc0200000-0xc11fffff 0xc1a00000-0xc21fffff 0xc2a00000-0xc31fffff 0xc3a00000-0xcc1fffff 0xcca00000-0xcd1fffff 0xcda00000-0xce1fffff 0xcea00000-0xcf1fffff 0xcfa00000-0xd01fffff
Jun 10 02:40:07 localhost kernel: pcmcia: registering new device pcmcia0.0
Jun 10 02:40:07 localhost kernel: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Jun 10 02:40:07 localhost kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jun 10 02:40:07 localhost kernel: hda: Memory Card Adapter, CFA DISK drive
Jun 10 02:40:08 localhost kernel: ide0 at 0x4100-0x4107,0x410e on irq 3
Jun 10 02:40:08 localhost kernel: ide-cs: hda: Vpp = 0.0
Jun 10 02:40:08 localhost udevd-event[2630]: udev_rules_apply_format: unknown format variable '$modalias'
At this point I noticed no /dev/hda* devices existed, so I created them manually with mknod. But regardless I was not able to actually mount a filesystem, getting an error from mount that the device did not exist.
When pulling the card I also got the following....
Jun 10 02:41:53 localhost kernel: [ INFO: soft-safe -> soft-unsafe lock order detected ]..