From: Andrew Morton <akpm@osdl.org>
To: Matthias Andree <matthias.andree@gmx.de>
Cc: netdev@oss.sgi.com
Subject: Re: 2.6.8-rc2-mm1 breaks PPPoE for me (was: 2.6.8-rc2-mm1)
Date: Mon, 2 Aug 2004 14:27:06 -0700 [thread overview]
Message-ID: <20040802142706.46100c6d.akpm@osdl.org> (raw)
In-Reply-To: <20040731100947.GA7453@merlin.emma.line.org>
Matthias Andree <matthias.andree@gmx.de> wrote:
>
> On Wed, 28 Jul 2004, Andrew Morton wrote:
>
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc2/2.6.8-rc2-mm1/
> ...
> > gcc35-pppoe.c.patch
> > gcc-3.5 fixes
>
> Andrew,
>
> I'm not sure if my problem is related to this patch, but in
> 2.6.8-rc2-mm1, PPPoE doesn't work for me, kernel compiled with gcc (GCC)
> 3.3.1 (SuSE Linux), a vanilla 2.6.7 is fine with the same compiler.
>
> pppd[5685]: Plugin /usr/lib/pppd/2.4.1/pppoe.so loaded.
> pppd[5685]: PPPoE Plugin Initialized
> pppd[5685]: pppd 2.4.1 started by root, uid 0
> pppd[5685]: Sending PADI
> pppd[5685]: HOST_UNIQ successful match
> pppd[5685]: Failed to negotiate PPPoE connection: 25 Inappropriate ioctl for device
> pppd[5685]: Exit.
>
> A successful pppd session start, with 2.6.7, looks like this:
>
> pppd[5070]: PPPoE Plugin Initialized
> pppd[5070]: pppd 2.4.1 started by root, uid 0
> pppd[5070]: Sending PADI
> pppd[5070]: HOST_UNIQ successful match
> pppd[5070]: HOST_UNIQ successful match
> pppd[5070]: Got connection: 164b
> pppd[5070]: Connecting PPPoE socket: 00:90:1a:XX:XX:XX 4b16 eth1 0x808a560
> /sbin/hotplug[5166]: INTERFACE=ppp0
> pppd[5070]: Using interface ppp0
> pppd[5070]: Connect: ppp0 <--> eth1
> pppd[5070]: Setting MTU to 1492.
> pppd[5070]: Couldn't increase MRU to 1500
> pppd[5070]: Setting MTU to 1492.
> pppd[5070]: local IP address 217.81.XXX.XXX
> pppd[5070]: remote IP address 217.5.XXX.XXX
> pppd[5070]: Script /etc/ppp/ip-up finished (pid 5180), status = 0x0
>
I'm a bit stumped by this - I'm not aware of any change which would have
caused the pppoe device to start returning -ENOTTY.
Is this still happening? Are you sure the relevant modules are loaded?
Could you capture an strace of pppd while it's happening?
next parent reply other threads:[~2004-08-02 21:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040728020444.4dca7e23.akpm@osdl.org>
[not found] ` <20040731100947.GA7453@merlin.emma.line.org>
2004-08-02 21:27 ` Andrew Morton [this message]
2004-08-03 0:03 ` 2.6.8-rc2-mm1 breaks PPPoE for me (was: 2.6.8-rc2-mm1) Matthias Andree
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040802142706.46100c6d.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=matthias.andree@gmx.de \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).