[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Upgrading pcmcia-* breaks ppp



After buying a pcmcia nic I thought that upgrading the pcmcia-* 
packages and recompiling the pcmcia modules would be a good 
idea. While I was at it, I upgraded modutils as well. Now I'm 
running:

pcmcia-cs_3.1.8-4.deb
pcmcia-source_3.1.8-4.deb
modutils_2.3.9-2.deb

I didn't even start to mess with the nic yet, because this broke
my ppp setup somehow. I have a 56K pcmcia modem, running as 
ttyS2 (pppd uses /dev/modem which is a symlink pointing to 
/dev/ttyS2). Now, whenever I fire up pppd I get:

Jan 15 19:16:30 sirius pppd[352]: pppd 2.3.5 started by lehman, uid 1001
Jan 15 19:16:30 sirius pppd[352]: tcgetattr: Input/output error(5)
Jan 15 19:16:31 sirius pppd[352]: Exit.

...just as if the modem wasn't inserted at all. But when 
inserting the modem, the output of cardmgr looks ok:

Jan 15 19:17:28 sirius cardmgr[109]: initializing socket 2
Jan 15 19:17:28 sirius cardmgr[109]: socket 2: Serial or Modem
Jan 15 19:17:28 sirius cardmgr[109]: executing: 'insmod
/lib/modules/2.2.9/pcmcia/serial_cs.o'
Jan 15 19:17:28 sirius kernel: tty02 at 0x17f8 (irq = 5) is a 16550A
Jan 15 19:17:28 sirius cardmgr[109]: executing: './serial start ttyS2'

And setserial says:

[lehman] ~>sudo setserial -a /dev/ttyS2
/dev/ttyS2, Line 2, UART: 16550A, Port: 0x17f8, IRQ: 5
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000, closing_wait2: infinte
        Flags: spd_normal skip_test

I checked /etc/pcmcia.conf and /etc/pcmcia/serial.opts and 
didn't find anything that looks offensive to me. What's 
going on here? I don't know how to track this down, any help 
appreciated...

TIA

-- 
Sent through Global Message Exchange - http://www.gmx.net


Reply to: