compact flash stops working 2.6.3/8 -> 2.6.15.4
Peter T. Breuer
ptb at inv.it.uc3m.es
Fri Mar 24 16:18:21 EST 2006
"Also sprach ptb:"
> After shifting to kernel 2.6.15.4, my SD and compact flash cards are no
> longer detected on my IBM TP X24. Switch back to an earlier kernel and
> all works fine!
Solved.
The debian init.d script starts cardmgr unless the kernel release is
one of an excepted few. The few runs to 2.6.12 and not beyond. I am
running 2.6.15.4.
BTW, this is not reliable folks ... the kernel version can be any
string! One wants to test capabilities, not release strings.
The init.d/pcmcia script contained
pcmciautils_supported_kernel()
{
case $KERNEL_VERSION in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.1[012]|2.6.1[012][!0-9]*) return 1 ;;
esac
return 0
}
Change the bottom row with s/012/0-9/g and restart the script. Voila.
pcmcia: registering new device pcmcia1.0
Probing IDE interface ide2...
hde: Memory Card Adapter, CFA DISK drive
ide2 at 0x4100-0x4107,0x410e on irq 3
hde: max request size: 128KiB
hde: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32
hde: cache flushes not supported
hde: hde1
ide-cs: hde: Vcc = 3.3, Vpp = 0.0
hde: hde1
Peter
More information about the linux-pcmcia
mailing list