2005-03-10 00:06:10

by Steven Cole

[permalink] [raw]
Subject: Problem with PPPD on dialup with 2.6.11-bk1 and later; 2.6.11 is OK

Earlier today, I reported "PPPD fails on recent 2.6.11-bk". I've narrowed
the problem down to between 2.6.11 and 2.6.11-bk1.

I get this with 2.6.11-bk1: (two attempts)

Mar 9 16:34:32 spc pppd[1142]: pppd 2.4.1 started by steven, uid 501
Mar 9 16:34:32 spc pppd[1142]: Using interface ppp0
Mar 9 16:34:32 spc pppd[1142]: Connect: ppp0 <--> /dev/ttyS1
Mar 9 16:34:56 spc pppd[1142]: Hangup (SIGHUP)
Mar 9 16:34:56 spc pppd[1142]: Modem hangup
Mar 9 16:34:56 spc pppd[1142]: Connection terminated.
Mar 9 16:34:56 spc pppd[1142]: Exit.
Mar 9 16:35:44 spc pppd[1143]: pppd 2.4.1 started by steven, uid 501
Mar 9 16:35:44 spc pppd[1143]: Using interface ppp0
Mar 9 16:35:44 spc pppd[1143]: Connect: ppp0 <--> /dev/ttyS1
Mar 9 16:36:08 spc pppd[1143]: Hangup (SIGHUP)
Mar 9 16:36:08 spc pppd[1143]: Modem hangup
Mar 9 16:36:08 spc pppd[1143]: Connection terminated.
Mar 9 16:36:08 spc pppd[1143]: Exit.

2.6.11 works fine:

Mar 9 16:40:03 spc pppd[1106]: pppd 2.4.1 started by steven, uid 501
Mar 9 16:40:03 spc pppd[1106]: Using interface ppp0
Mar 9 16:40:03 spc pppd[1106]: Connect: ppp0 <--> /dev/ttyS1
Mar 9 16:40:03 spc pppd[1106]: kernel does not support PPP filtering
Mar 9 16:40:04 spc pppd[1106]: local IP address 216.31.65.65
Mar 9 16:40:04 spc pppd[1106]: remote IP address 216.31.65.1
Mar 9 16:40:04 spc pppd[1106]: primary DNS address 216.234.192.92
Mar 9 16:40:04 spc pppd[1106]: secondary DNS address 216.234.213.130

Steven


2005-03-10 02:40:21

by Steven Cole

[permalink] [raw]
Subject: Re: Problem with PPPD on dialup with 2.6.11-bk1 and later; 2.6.11 is OK

Today at 04:57:37 pm, I wrote:
>Earlier today, I reported "PPPD fails on recent 2.6.11-bk". I've narrowed
>the problem down to between 2.6.11 and 2.6.11-bk1.
>
>I get this with 2.6.11-bk1: (two attempts)
>
>Mar 9 16:34:32 spc pppd[1142]: pppd 2.4.1 started by steven, uid 501
>Mar 9 16:34:32 spc pppd[1142]: Using interface ppp0
>Mar 9 16:34:32 spc pppd[1142]: Connect: ppp0 <--> /dev/ttyS1
>Mar 9 16:34:56 spc pppd[1142]: Hangup (SIGHUP)
>Mar 9 16:34:56 spc pppd[1142]: Modem hangup
>Mar 9 16:34:56 spc pppd[1142]: Connection terminated.
>Mar 9 16:34:56 spc pppd[1142]: Exit.

Searching lkml archive, I found:
http://marc.theaimsgroup.com/?l=linux-kernel&m=111031501416334&w=2

I also found that reverting that patch made the problem go away for 2.6.11-bk1.

The bookmarkable link for this changeset is here:
http://linus.bkbits.net:8080/linux-2.5/cset@4228d0d83vitxwMSdjDcnjt90uXocg?nav=index.html|ChangeSet@-8w

Stephen Hemminger also wrote: (Someting's busted with serial in 2.6.11 latest)
>Some checkin since 2.6.11 has caused the serial driver to
>drop characters. Console output is chopped and messages are garbled.
>Even the shell prompt gets truncated.

Hope this helps,
Steven

2005-03-10 21:25:11

by Stephen Hemminger

[permalink] [raw]
Subject: Re: Problem with PPPD on dialup with 2.6.11-bk1 and later; 2.6.11 is OK

> Stephen Hemminger also wrote: (Someting's busted with serial in 2.6.11 latest)
> >Some checkin since 2.6.11 has caused the serial driver to
> >drop characters. Console output is chopped and messages are garbled.
> >Even the shell prompt gets truncated.

> Searching lkml archive, I found:
> http://marc.theaimsgroup.com/?l=linux-kernel&m=111031501416334&w=2
>
> I also found that reverting that patch made the problem go away for 2.6.11-bk1.


Yes, this patch is the problem. A fix showed up today.
Current kernels work fine, thanks.

2005-03-11 20:17:39

by Bill Davidsen

[permalink] [raw]
Subject: Re: Problem with PPPD on dialup with 2.6.11-bk1 and later; 2.6.11 is OK

Stephen Hemminger wrote:
>>Stephen Hemminger also wrote: (Someting's busted with serial in 2.6.11 latest)
>>
>>>Some checkin since 2.6.11 has caused the serial driver to
>>>drop characters. Console output is chopped and messages are garbled.
>>>Even the shell prompt gets truncated.
>
>
>>Searching lkml archive, I found:
>>http://marc.theaimsgroup.com/?l=linux-kernel&m=111031501416334&w=2
>>
>>I also found that reverting that patch made the problem go away for 2.6.11-bk1.
>
>
>
> Yes, this patch is the problem. A fix showed up today.
> Current kernels work fine, thanks.

Could someone who has the patch broken out send it to -stable? Serial
not working is a non-trivial issue given the number of people who use
dialup either full time or as a fallback connection.

--
-bill davidsen ([email protected])
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me

2005-03-12 00:54:16

by Steven Cole

[permalink] [raw]
Subject: Re: Problem with PPPD on dialup with 2.6.11-bk1 and later; 2.6.11 is OK

On Friday 11 March 2005 01:13 pm, Bill Davidsen wrote:
> Stephen Hemminger wrote:
> >>Stephen Hemminger also wrote: (Someting's busted with serial in 2.6.11 latest)
> >>
> >>>Some checkin since 2.6.11 has caused the serial driver to
> >>>drop characters. Console output is chopped and messages are garbled.
> >>>Even the shell prompt gets truncated.
> >
> >
> >>Searching lkml archive, I found:
> >>http://marc.theaimsgroup.com/?l=linux-kernel&m=111031501416334&w=2
> >>
> >>I also found that reverting that patch made the problem go away for 2.6.11-bk1.
> >
> >
> >
> > Yes, this patch is the problem. A fix showed up today.
> > Current kernels work fine, thanks.
>
> Could someone who has the patch broken out send it to -stable? Serial
> not working is a non-trivial issue given the number of people who use
> dialup either full time or as a fallback connection.
>
The fix is in:
http://linus.bkbits.net:8080/linux-2.5/cset@422db58ceIvopUVZvMGAN6mhZZ3nPQ?nav=index.html|src/|src/drivers|src/drivers/serial|related/drivers/serial/8250.c

Since the breakage which this fix is for didn't appear until after 2.6.11,
a patch to 2.6.11.x is not required.

Steven