linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PPP Modem connection impossible with 2.5.73-bk2
@ 2003-06-25 19:06 Flameeyes
  2003-06-26 17:52 ` Diego Calleja García
  0 siblings, 1 reply; 8+ messages in thread
From: Flameeyes @ 2003-06-25 19:06 UTC (permalink / raw)
  To: linux-kernel

Hi,
After the upgrade from 2.5.73-bk1 to bk2 the pppd daemon is killed, so
the ppp connection is impossible.
After the reverse of the patch I can connect.
I also applied the bk2-bk3 patch (without the bk2), and I have no
problems.
So the problem is in bk2.
-- 
Flameeyes <dgp85@users.sf.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PPP Modem connection impossible with 2.5.73-bk2
  2003-06-25 19:06 PPP Modem connection impossible with 2.5.73-bk2 Flameeyes
@ 2003-06-26 17:52 ` Diego Calleja García
  2003-06-26 23:41   ` Stephen Hemminger
  0 siblings, 1 reply; 8+ messages in thread
From: Diego Calleja García @ 2003-06-26 17:52 UTC (permalink / raw)
  To: Flameeyes; +Cc: linux-kernel

On 25 Jun 2003 21:06:18 +0200
Flameeyes <dgp85@users.sourceforge.net> wrote:

> Hi,
> After the upgrade from 2.5.73-bk1 to bk2 the pppd daemon is killed, so
> the ppp connection is impossible.
> After the reverse of the patch I can connect.
> I also applied the bk2-bk3 patch (without the bk2), and I have no
> problems.
> So the problem is in bk2.


I can confirm it.
Jun 25 00:11:09 estel chat[13737]:  -- got it 
Jun 25 00:11:09 estel chat[13737]: send (\d)
Jun 25 00:11:10 estel pppd[13734]: Serial connection established.
Jun 25 00:11:10 estel pppd[13734]: using channel 8
Jun 25 00:11:10 estel pppd[13734]: Using interface ppp0
Jun 25 00:11:10 estel pppd[13734]: Connect: ppp0 <--> /dev/ttyS1
Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magi
c 0x54b41996> <pcomp> <accomp>]
Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap
 0x0> <auth chap MD5> <magic 0xf1833c0e> <mrru 1514> <endpoint [null]>]
Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfRej id=0x1 <mrru 1514>]
Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfRej id=0x1 <pcomp>]
Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magi
c 0x54b41996> <accomp>]
Jun 25 00:11:11 estel pppd[13734]: Modem hangup
Jun 25 00:11:11 estel pppd[13734]: Connection terminated.
Jun 25 00:11:12 estel pppd[13734]: tcsetattr: Invalid argument
Jun 25 00:11:12 estel pppd[13734]: Exit.


Plain 2.5.73 works.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PPP Modem connection impossible with 2.5.73-bk2
  2003-06-26 17:52 ` Diego Calleja García
@ 2003-06-26 23:41   ` Stephen Hemminger
  2003-06-27  0:28     ` Diego Calleja García
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Hemminger @ 2003-06-26 23:41 UTC (permalink / raw)
  To: Diego Calleja García; +Cc: dgp85, linux-kernel

On Thu, 26 Jun 2003 19:52:38 +0200
Diego Calleja García <diegocg@teleline.es> wrote:

> On 25 Jun 2003 21:06:18 +0200
> Flameeyes <dgp85@users.sourceforge.net> wrote:
> 
> > Hi,
> > After the upgrade from 2.5.73-bk1 to bk2 the pppd daemon is killed, so
> > the ppp connection is impossible.
> > After the reverse of the patch I can connect.
> > I also applied the bk2-bk3 patch (without the bk2), and I have no
> > problems.
> > So the problem is in bk2.
> 
> 
> I can confirm it.
> Jun 25 00:11:09 estel chat[13737]:  -- got it 
> Jun 25 00:11:09 estel chat[13737]: send (\d)
> Jun 25 00:11:10 estel pppd[13734]: Serial connection established.
> Jun 25 00:11:10 estel pppd[13734]: using channel 8
> Jun 25 00:11:10 estel pppd[13734]: Using interface ppp0
> Jun 25 00:11:10 estel pppd[13734]: Connect: ppp0 <--> /dev/ttyS1
> Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magi
> c 0x54b41996> <pcomp> <accomp>]
> Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap
>  0x0> <auth chap MD5> <magic 0xf1833c0e> <mrru 1514> <endpoint [null]>]
> Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfRej id=0x1 <mrru 1514>]
> Jun 25 00:11:11 estel pppd[13734]: rcvd [LCP ConfRej id=0x1 <pcomp>]
> Jun 25 00:11:11 estel pppd[13734]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magi
> c 0x54b41996> <accomp>]
> Jun 25 00:11:11 estel pppd[13734]: Modem hangup
> Jun 25 00:11:11 estel pppd[13734]: Connection terminated.
> Jun 25 00:11:12 estel pppd[13734]: tcsetattr: Invalid argument
> Jun 25 00:11:12 estel pppd[13734]: Exit.
> 
> 
> Plain 2.5.73 works.

What is your ppp configuration, anything special? 
Is serial line fat or slow? Is this on SMP or UP system?

I can't reproduce this over a null modem cable so trying to see what could
be different.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PPP Modem connection impossible with 2.5.73-bk2
  2003-06-26 23:41   ` Stephen Hemminger
@ 2003-06-27  0:28     ` Diego Calleja García
  2003-06-27 20:20       ` Matthew Harrell
  0 siblings, 1 reply; 8+ messages in thread
From: Diego Calleja García @ 2003-06-27  0:28 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dgp85, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 4874 bytes --]

On Thu, 26 Jun 2003 16:41:16 -0700
Stephen Hemminger <shemminger@osdl.org> wrote:

> What is your ppp configuration, anything special? 

Nothing strange that i know of;
hide-password 
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS1
#200000
115200
#460800
defaultroute
noipdefault 
user XXXXXXXXXXXXX
remotename provider
ipparam provider


> Is serial line fat or slow? Is this on SMP or UP system?

It's a external serial (ttyS1) 56k modem (Supraexpress 56e).
It's a SMP system.

> 
> I can't reproduce this over a null modem cable so trying to see what could
> be different.

I reverted your changeset and everything works again.
pppd version is 2.4.1 (debian sid environment)
Config is attached.

This is the dmesg output when it works:
Jun 27 02:17:29 estel kernel: PPP generic driver version 2.4.2
Jun 27 02:17:29 estel modprobe: FATAL: Module ipv6 not found. 
Jun 27 02:17:29 estel pppd[405]: pppd 2.4.1 started by diego, uid 1234
Jun 27 02:17:30 estel chat[407]: abort on (BUSY)
Jun 27 02:17:30 estel chat[407]: abort on (NO CARRIER)
Jun 27 02:17:30 estel chat[407]: abort on (VOICE)
Jun 27 02:17:30 estel chat[407]: abort on (NO DIALTONE)
Jun 27 02:17:30 estel chat[407]: abort on (NO DIAL TONE)
Jun 27 02:17:30 estel chat[407]: abort on (NO ANSWER)
Jun 27 02:17:30 estel chat[407]: abort on (DELAYED)
Jun 27 02:17:30 estel chat[407]: send (ATZ^M)
Jun 27 02:17:31 estel chat[407]: expect (OK)
Jun 27 02:17:31 estel chat[407]: ATZ^M^M
Jun 27 02:17:31 estel chat[407]: OK
Jun 27 02:17:31 estel chat[407]:  -- got it 
Jun 27 02:17:31 estel chat[407]: send (ATDTXXXXXXXXX^M)
Jun 27 02:17:31 estel chat[407]: expect (CONNECT)
Jun 27 02:17:31 estel chat[407]: ^M
Jun 27 02:17:50 estel chat[407]: ATDTXXXXXXXXX^M^M
Jun 27 02:17:50 estel chat[407]: CONNECT
Jun 27 02:17:50 estel chat[407]:  -- got it 
Jun 27 02:17:50 estel chat[407]: send (\d)
Jun 27 02:17:51 estel pppd[405]: Serial connection established.
Jun 27 02:17:51 estel pppd[405]: using channel 1
Jun 27 02:17:51 estel pppd[405]: Using interface ppp0
Jun 27 02:17:51 estel pppd[405]: Connect: ppp0 <--> /dev/ttyS1
Jun 27 02:17:52 estel pppd[405]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xf6e73be2> <pcomp> <accomp>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfReq id=0x1 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0xdc4f946b> <mrru 1514> <endpoint [null]>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfRej id=0x1 <mrru 1514>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfRej id=0x1 <pcomp>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xf6e73be2> <accomp>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfReq id=0x2 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0xdc4f946b>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfAck id=0x2 <mru 1514> <asyncmap 0x0> <auth chap MD5> <magic 0xdc4f946b>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfRej id=0x2 <accomp>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0xf6e73be2>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0xf6e73be2>]
Jun 27 02:17:53 estel pppd[405]: sent [LCP EchoReq id=0x0 magic=0xf6e73be2]
Jun 27 02:17:53 estel pppd[405]: rcvd [CHAP Challenge id=0x3 <a00f1ece659797d59f6d87302c8bf0cf>, name = "Hiper"]
Jun 27 02:17:53 estel pppd[405]: sent [CHAP Response id=0x3 <a8d6954791920082eed78270fe8d0342>, name = "XXXXXXXXXXXXXXX"]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP EchoRep id=0x0 magic=0xdc4f946b]
Jun 27 02:17:53 estel pppd[405]: rcvd [CHAP Success id=0x3 "\000"]
Jun 27 02:17:53 estel pppd[405]: Remote message: ^@
Jun 27 02:17:53 estel pppd[405]: kernel does not support PPP filtering
Jun 27 02:17:53 estel pppd[405]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 0f 01>]
Jun 27 02:17:53 estel kernel: PPP BSD Compression module registered
Jun 27 02:17:53 estel kernel: PPP Deflate Compression module registered
Jun 27 02:17:53 estel pppd[405]: sent [CCP ConfReq id=0x1 <deflate 14> <deflate(old#) 14> <bsd v1 15>]
Jun 27 02:17:53 estel pppd[405]: rcvd [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 80.58.197.167>]
Jun 27 02:17:53 estel pppd[405]: sent [IPCP ConfAck id=0x4 <compress VJ 0f 01> <addr 80.58.197.167>]
Jun 27 02:17:53 estel pppd[405]: rcvd [IPCP ConfNak id=0x1 <addr 81.42.135.126>]
Jun 27 02:17:53 estel pppd[405]: sent [IPCP ConfReq id=0x2 <addr 81.42.135.126> <compress VJ 0f 01>]
Jun 27 02:17:53 estel pppd[405]: rcvd [LCP ProtRej id=0x5 80 fd 01 01 00 0f 1a 04 68 00 18 04 68 00 15 03 2f]
Jun 27 02:17:53 estel pppd[405]: rcvd [IPCP ConfAck id=0x2 <addr 81.42.135.126> <compress VJ 0f 01>]
Jun 27 02:17:53 estel pppd[405]: Cannot determine ethernet address for proxy ARP
Jun 27 02:17:53 estel pppd[405]: local  IP address 81.42.135.126
Jun 27 02:17:53 estel pppd[405]: remote IP address 80.58.197.167



Any suggestion...patch....i'm fully available :)

[-- Attachment #2: config.gz --]
[-- Type: application/octet-stream, Size: 5446 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PPP Modem connection impossible with 2.5.73-bk2
  2003-06-27  0:28     ` Diego Calleja García
@ 2003-06-27 20:20       ` Matthew Harrell
  2003-06-27 20:57         ` Flameeyes
  0 siblings, 1 reply; 8+ messages in thread
From: Matthew Harrell @ 2003-06-27 20:20 UTC (permalink / raw)
  To: diegocg, Kernel List


I've got this exact same problem on 2.5.73-bk5.  Connection gets dropped 
just after a connection.  When I switch back to a previous kernel everything
works fine.  Setup is

        PAP authentication
        56K v.92 modem connection over USB serial connection
        UP kernel on P4 1.8 GHz

Let me know if there's anything else I can check.

-- 
  Matthew Harrell                          Never raise your hand to your 
  Bit Twiddlers, Inc.                       children - it leaves your
  mharrell@bittwiddlers.com                 midsection unprotected.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PPP Modem connection impossible with 2.5.73-bk2
  2003-06-27 20:20       ` Matthew Harrell
@ 2003-06-27 20:57         ` Flameeyes
  2003-06-27 21:51           ` Diego Calleja García
  0 siblings, 1 reply; 8+ messages in thread
From: Flameeyes @ 2003-06-27 20:57 UTC (permalink / raw)
  To: Matthew Harrell; +Cc: diegocg, Kernel List

On Fri, 2003-06-27 at 22:20, Matthew Harrell wrote:
> Let me know if there's anything else I can check.
The only way I found is to take the drivers/net/ppp_generic.c from the
original 2.5.73.
Neither the patch sent me by Diego Calleja García works :/
-- 
Flameeyes <dgp85@users.sf.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PPP Modem connection impossible with 2.5.73-bk2
  2003-06-27 20:57         ` Flameeyes
@ 2003-06-27 21:51           ` Diego Calleja García
  2003-06-27 22:06             ` Flameeyes
  0 siblings, 1 reply; 8+ messages in thread
From: Diego Calleja García @ 2003-06-27 21:51 UTC (permalink / raw)
  To: Flameeyes; +Cc: mharrell-dated-1057177236.425fdb, linux-kernel

On 27 Jun 2003 22:57:21 +0200
Flameeyes <daps_mls@libero.it> wrote:

> Neither the patch sent me by Diego Calleja García works :/

It was Stephen Hemminger <shemminger@osdl.org>; i never sent any patch.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: PPP Modem connection impossible with 2.5.73-bk2
  2003-06-27 21:51           ` Diego Calleja García
@ 2003-06-27 22:06             ` Flameeyes
  0 siblings, 0 replies; 8+ messages in thread
From: Flameeyes @ 2003-06-27 22:06 UTC (permalink / raw)
  To: Diego Calleja García; +Cc: mharrell-dated-1057177236.425fdb, linux-kernel

On Fri, 2003-06-27 at 23:51, Diego Calleja García wrote:
> It was Stephen Hemminger <shemminger@osdl.org>; i never sent any patch.
sorry I need a copy&paste smarter than me



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-06-27 21:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-25 19:06 PPP Modem connection impossible with 2.5.73-bk2 Flameeyes
2003-06-26 17:52 ` Diego Calleja García
2003-06-26 23:41   ` Stephen Hemminger
2003-06-27  0:28     ` Diego Calleja García
2003-06-27 20:20       ` Matthew Harrell
2003-06-27 20:57         ` Flameeyes
2003-06-27 21:51           ` Diego Calleja García
2003-06-27 22:06             ` Flameeyes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).