A major:minor collision in 2.6.15

Alon Keren alon.keren at gmail.com
Mon Feb 13 14:30:55 EST 2006


Hello everyone,

I have the following setup:
Kernel: 2.6.15
pcmciautils-012
PCMCIA-card: Advantech's COMpad-32/85

For some reason, my card seems to be in conflict with another card (an
old V.34 modem) for the same major:minor numbers - 4:65.

Inserting the modem and then the COMpad gives the following:
dmesg | tail -7:
	pccard: PCMCIA card inserted into slot 1
	pcmcia: registering new device pcmcia1.0
	1.0: ttyS1 at I/O 0x43f8 (irq = 3) is a 16550A
	pccard: PCMCIA card inserted into slot 0
	pcmcia: registering new device pcmcia0.0
	0.0: ttyS3 at I/O 0x4330 (irq = 4) is a 16550A
	serial_cs: serial8250_register_port() at 0x4338, irq 4 failed

Doing it the other way around (First the COMpad, and then the modem) gives:
COMpad, then modem, dmesg | tail -7:
	pccard: PCMCIA card inserted into slot 0
	pcmcia: registering new device pcmcia0.0
	0.0: ttyS3 at I/O 0x4330 (irq = 3) is a 16550A
	0.0: ttyS1 at I/O 0x4338 (irq = 3) is a 16550A
	pccard: PCMCIA card inserted into slot 1
	pcmcia: registering new device pcmcia1.0
	serial_cs: serial8250_register_port() at 0x43f8, irq 4 failed

For both of the above:
ls -la /dev/ttyS1: /dev/ttyS3:
        crw-rw----  1 root root 4, 65 Feb 13 19:15 /dev/ttyS1
        crw-rw----  1 root root 4, 67 Feb 13 19:17 /dev/ttyS3


With the same hardware, but using Kernel 2.6.11 and pcmcia-cs-3.8.2,
there are no 'collisions' in either order of insertion.
Inserting first the COMpad, and then the modem:
dmesg | tail -3:
	tttyS12 at I/O 0x330 (irq = 3) is a 16550A
	ttyS13 at I/O 0x338 (irq = 3) is a 16550A
	ttyS1 at I/O 0x2f8 (irq = 5) is a 16550A

ls -la /dev/ttyS{1,12,13}:
	crw-rw----  1 root dialout 4, 65 Feb 13 19:44 /dev/ttyS1
	crw-rw----  1 root dialout 4, 76 Feb 13 19:44 /dev/ttyS12
	crw-rw----  1 root dialout 4, 77 Feb 13 19:44 /dev/ttyS13


- Alon

P.S. I'm not on this list, so please CC me.



More information about the linux-pcmcia mailing list