From: Matthias Andree <matthias.andree@gmx.de>
To: Andrew Morton <akpm@osdl.org>
Cc: Matthias Andree <matthias.andree@gmx.de>, netdev@oss.sgi.com
Subject: Re: 2.6.8-rc2-mm1 breaks PPPoE for me (was: 2.6.8-rc2-mm1)
Date: Tue, 3 Aug 2004 02:03:54 +0200 [thread overview]
Message-ID: <20040803000354.GA5327@merlin.emma.line.org> (raw)
In-Reply-To: <20040802142706.46100c6d.akpm@osdl.org>
On Mon, 02 Aug 2004, Andrew Morton wrote:
> 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?
It happens in 2.6.8-rc2-mm2, too.
The strace is inconclusive.
Setup description:
I am running pppd 2.4.1 (SuSE 8.2 RPM) with the PPPOE plugin tied to eth1:
PCI: Enabling device 0000:00:0b.0 (0004 -> 0005)
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
0000:00:0b.0: 3Com PCI 3c905 Boomerang 100baseTx at 0xd400. Vers LK1.1.19
eth1: Dropping NETIF_F_SG since no checksum feature.
I am starting pppd via DJB's daemontools
(http://cr.yp.to/daemontools.html), with this run file:
#! /bin/sh
exec strace -ff -F -o /tmp/dump-pppd /usr/sbin/pppd call pppoe
Starting pppd from a bash (in an xterm, only thing I've tried) works, I
get a connection. Writing such a pppd command into inittab yields
ENOENT rather than ENOTTY and fails as well.
The strace looks unhelpful to me, the only occurrence of ENOTTY is:
readlink("/proc/self/fd/0", "/dev/null", 511) = 9
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff700) = -1 ENOTTY (Inappropriate ioctl for device)
ltrace reveals this happens inside getlogin() - and pppd appears to fall
back to getpwuid.
I'd think this is unrelated for I have the same lines with a working
kernel as well.
Using rp-pppoe as pty (instead of the plugin) doesn't work either, the
PPP link is negotiated properly but my log is full of "martian address"
log entries as though it was receiving its own packets externally. How
strange. I wonder if this is an strace artifact...
No useful debugging information. I hope someone can reproduce this. :-(
--
Matthias Andree
Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)
prev parent reply other threads:[~2004-08-03 0:03 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 ` 2.6.8-rc2-mm1 breaks PPPoE for me (was: 2.6.8-rc2-mm1) Andrew Morton
2004-08-03 0:03 ` Matthias Andree [this message]
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=20040803000354.GA5327@merlin.emma.line.org \
--to=matthias.andree@gmx.de \
--cc=akpm@osdl.org \
--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).