From owner-freebsd-current@FreeBSD.ORG Fri Jul 23 23:02:05 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4023716A4CE for ; Fri, 23 Jul 2004 23:02:05 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2DAF43D46 for ; Fri, 23 Jul 2004 23:02:04 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (pD9E1E87D.dip.t-dialin.net [217.225.232.125]) 70DB435D4E for ; Sat, 24 Jul 2004 01:02:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id CDA6CB9E9E for ; Sat, 24 Jul 2004 01:02:02 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25617-04 for ; Sat, 24 Jul 2004 01:02:01 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 51) id 3D59DB8E44; Sat, 24 Jul 2004 02:07:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 1715CC5887; Fri, 23 Jul 2004 22:08:14 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19465-04-3; Fri, 23 Jul 2004 22:08:13 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 3D9B3C5884; Fri, 23 Jul 2004 22:08:13 +0200 (CEST) To: Max Laier In-Reply-To: <200407231750.32302.max@love2party.net> (Max Laier's message of "Fri, 23 Jul 2004 17:50:24 +0200") References: <200407231750.32302.max@love2party.net> From: Matthias Andree Date: Fri, 23 Jul 2004 22:08:13 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at m2a2.dyndns.org cc: freebsd-current@freebsd.org Subject: Re: xl(4) autonegotiation trouble - ng_pppoe related? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 23:02:05 -0000 Max Laier writes: > Well, if your DSL-modem does not do autonegotiation you have to set > the media type manually. No I don't. In the absense of auto-negotiation on one side, the other will "read" the link beat, set the speed accordingly and pick half-duplex. This has always worked and still works, the link followed all speeds I configured on a Linux peer, whether the Linux machine offered autonegotiate or not. > It's quite obvious that you can't do pppoEthernet w/o a working > ethernet link. The link IS working: if I use rp-pppoe, a user-space PPPoE driver, it works on the same interface where ppp (with ng_pppoe) fails. ppp.conf contains these: tdsl: set device PPPoE:xl1 ... tdsl-rp: set device "!/usr/local/sbin/pppoe -U -I xl1" tdsl-rp works, tdsl does not. With disabling autoselect, the speed and duplex reading remains the same in "ifconfig", 10baseT/UTP *without* tag, but without autoselect, tdsl also works. > Anyhow, from reading the (long) PR audit trail it seems that some of > the newer xl(4) changes broke autonegotiation. Would be very helpful > if you could narrow it down somemore i.e. give a last working version. Ah well, the oldest version that compiled for me was if_xl.c 1.170. That one was broken already. The problem need not necessarily be in if_xl.c though, have there been ng_pppoe or ng_ether changes recently? Haven't had the time to check yet as it is a cumbersome process. -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)