A number of observations...
1. When I upgraded the kernel to 2.2.5, IRQ 9 stopped appearing in
/proc/interrupts and so card services got itself in a mess when
it attempted to place a card at that address. I don't remember
that happening in 2.0.36 even though pcmcia starts before the
sound driver is loaded (though perhaps it's that I never booted
with two cards inserted, and the first card gets IRQ 3 which is
fine). This isn't pcmcia's fault, of course, but TP380 owners
will probably want to add "exclude irq 9" to the config file.
FWIW, here is /proc/interrupts from 2.0.36:
0: 17845 timer
1: 133 keyboard
2: 0 cascade
5: 1 SoundPort
8: 1 + rtc
9: 2 mpu401
11: 0 i82365
12: 0 PS/2 Mouse
13: 1 math error
14: 12029 + ide0
and here is /proc/interrupts from 2.2.5:
CPU0
0: 187941 XT-PIC timer
1: 6570 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 28 XT-PIC Crystal audio controller
8: 1 XT-PIC rtc
12: 32232 XT-PIC PS/2 Mouse
13: 1 XT-PIC fpu
14: 21163 XT-PIC ide0
NMI: 0
(lsmod shows that a "uart401" module is loaded - but then again maybe
it's not set up right as I don't use the hardware MIDI device - the doc
for the CS4232 OSS driver claims it doesn't work anyway).
2. PCMCIA card services breaks my sound driver! This has been going on for a
while - probably since version 3.0.0. It depends on the order in which
things are initialised. If the sound is already up when pcmcia is started
then it breaks. This results in...
$ cat -v < /dev/audio
Apr 9 18:25:09 starbright kernel: Sound: DMA (input) timed out - IRQ/DRQ config
error?
Apr 9 18:25:10 starbright last message repeated 2 times
cat: -: Input/output error
which can be fixed by removing and re-inserting the sound module (the
cs4232 module for 2.2 kernels). If pcmcia is initialised before the
sound module is inserted then there is no problem. This does of
course mean that you can't compile the sound driver into the kernel.
Incidentally it's compiled as a module because doing an apm suspend also
breaks the sound driver and the fix is the same.
3. I have a CompactFlash card from a digital camera which pretends to be
an IDE disk. If I don't "cardctl eject" this before shutting card services
down then I get this.
Shutting down PCMCIA services: cardmgr modulesrmmod: ds is in use
rmmod: i82365: Device or resource busy
rmmod: pcmcia_core is in use
.
This is probably harmless when it happens during machine shutdown but
if I try to start it up again after that it gets confused.
imc