[svlug] serial port irq reset to wrong value

Erik Steffl steffl at bigfoot.com
Sat Apr 29 19:13:30 PDT 2000


  I have debian (unstable) system, internal modem acting as /dev/ttyS2,
the /etc/serial.conf has correct values for serial ports (/dev/ttyS2 has
irq 11). during boot I see messages when the kernel set the serial ports
to default values (/dev/ttyS2 is set to 4), later on setserial is called
an the /dev/ttyS2 irq is set to correct value (11).

  after boot-up is completed, the internal modem (which is /dev/ttyS2)
works fine, I can connect to internet.

  however, if I disconnect and try to reconnect again, kernel resets the
irq of /dev/ttyS2 to incorrect value 4 and the modem does not work. if I
run setserial manually, everything works fine again.

  IIRC this only happens during last few days (after one of the
automatic updates?). any ideas what's going on?

  here you can see end of pppd exit, then unsuccessfull start of pppd
(and kernel setting irq of /dev/ttyS2 to incorrect vlaue!), and then me
doing su (I ran setserial /dev/ttyS2 irq 11) and then successfull start
on pppd.

---------------------------- console output
Apr 29 18:51:09 jojda pppd[11608]: Exit.
Apr 29 18:58:13 jojda pppd[11800]: pppd 2.3.11 started by erik, uid 1000
Apr 29 18:58:14 jojda kernel: Serial driver version 4.27 with no serial
options enabled
Apr 29 18:58:14 jojda kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Apr 29 18:58:14 jojda kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Apr 29 18:58:14 jojda kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A
Apr 29 18:58:34 jojda pppd[11800]: Exit.
Apr 29 18:59:08 jojda su[11816]: + pts/0 erik-root 
Apr 29 18:59:08 jojda PAM_unix[11816]: (su) session opened for user root
by erik(uid=1000)
Apr 29 18:59:22 jojda pppd[11819]: pppd 2.3.11 started by erik, uid 1000
Apr 29 18:59:59 jojda pppd[11819]: Serial connection established.
Apr 29 18:59:59 jojda pppd[11819]: Using interface ppp0
----------------------------- end of console output

  thanks in advance

	erik






More information about the svlug mailing list