On Tue, 3 Aug 1999, Malte Thoma wrote:

|Clifford Kite wrote:
|
|> On Sat, 31 Jul 1999, Malte Thoma wrote:
|>
|> |Clifford Kite wrote:
|> |>
|> |> tcgetattr almost always means that there is another process besides
|> |> pppd that is contending for the modem IRQ.  Some examples are (1) an
|> |> ethernet card that used the same IRQ as the modem, (2) a misconfigured
|> |> ppp script that launched pppd twice, and (3) a mingetty that somehow
|> |> had been configured for call-in.
|> |>
|> |
|> |But I have nothing changed exept the kernel image:
|> |(1) No extra pcmcia card (on my Laptop)
|> |(2) The same ppp script as for the 2.0.36 kernel
|> |(3) mindgetty is not installed
|>
|> Look for something using the IRQ configured for the /dev/ttySx or /dev/cua0
|> that your modem uses.  One way is "cat /proc/interrupts" which will show
|> the active IRQs. It's conceivable that a new kernel might configure a
|> device with a different IRQ than the old kernel did.
|
|cat /proc/interrupts gives
|
|           CPU0
|  0:    2557985          XT-PIC  timer
|  1:     103221          XT-PIC  keyboard
|  2:          0          XT-PIC  cascade
|  3:     164815          XT-PIC  pcnet_cs
|  5:         28          XT-PIC  soundblaster
|  8:          2          XT-PIC  rtc
| 10:          5          XT-PIC  i82365
| 12:     281917          XT-PIC  PS/2 Mouse
| 13:          1          XT-PIC  fpu
| 14:    3345730          XT-PIC  ide0
|NMI:          0
|
|/dev/modem is linked to /dev/ttyS0

"setserial /dev/ttyS0" shows what IRQ is configured for ttyS0.  Is it one
of those above?  There is no "serial" device above so the modem wasn't
being used, and if the IRQ configured for ttyS0 appears in the list then
that would identify a device that's at cross-purposes with the modem.  BTW
setserial also configures the device files at boot-up, /etc/rc.d/rc.serial
is a popular boot file for this.

Note that the IRQ configured for ttyS0 must also be the IRQ that the modem
actually uses.  You should be sure that they are the same before switching
any hardware IRQ settings. 

I should add that I'm not familiar with laptops or special hardware that
they may use, including anything that might be different about a laptop
modem.  And, just in case you have PnP devices, the only advice I can give
for PnP cards is that some people have used the programs isapnp and pnpdump
to configure them in Linux. 

---
Clifford Kite                                               Not a guru. (tm)




-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to