From owner-freebsd-current Thu Feb 20 10:44:28 2003 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 8AFC537B401 for ; Thu, 20 Feb 2003 10:44:24 -0800 (PST) Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62ECE43FCB for ; Thu, 20 Feb 2003 10:44:23 -0800 (PST) (envelope-from jschlesn@emmi.physik.TU-Berlin.DE) Received: from emmi.physik.TU-Berlin.DE (localhost.physik.TU-Berlin.DE [127.0.0.1]) by emmi.physik.TU-Berlin.DE (8.12.6/8.11.6) with ESMTP id h1KIiIMD004481 for ; Thu, 20 Feb 2003 19:44:18 +0100 (CET) (envelope-from jschlesn@emmi.physik.TU-Berlin.DE) Received: (from jschlesn@localhost) by emmi.physik.TU-Berlin.DE (8.12.6/8.12.3/Submit) id h1KIiIB0004480 for freebsd-current@freebsd.org; Thu, 20 Feb 2003 19:44:18 +0100 (CET) Date: Thu, 20 Feb 2003 19:44:17 +0100 From: Jan Schlesner To: freebsd-current@freebsd.org Subject: Re: Ethernet (xl) will not transmit or receive Message-ID: <20030220184417.GA3743@physik.TU-Berlin.DE> Mail-Followup-To: freebsd-current@freebsd.org References: <20030220161905.BBA6D5D04@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Url: X-PGP-Key: X-Operating-System: FreeBSD 4.7-RELEASE-p2, i386 X-Mailer: Mutt 1.4i ( i386 FreeBSD 4.7-RELEASE-p2 ) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, On Thu, Feb 20, 2003 at 11:32:04AM -0500, Andrew R. Reiter wrote: > I experienced similar issues yesterday when just installing release 5 from > ftp (floppy boot). I essentially had to ifconfig the device down and then > back up and it then seemed to continue ok... but I think there most likely > something odd going on :/ > > On Thu, 20 Feb 2003, Kevin Oberman wrote: > :I updated my 5.0 system built in late January to RELENG_5_0 on Sunday > :and the Ethernet was not working. I tried again last night with no > :change in behavior. > : > :The system is an AMD K6-2 on an ASUS P5A mobo. I have a 3Com 3c905B > :Ethernet which had been working fine on a kernel built in late > :January. > : > :The dmesg is not too meaningful, but the system shows no errors. It > :simply never receives a packet. ARPs are all incomplete and no packets > :are transmitted although netstat -in indicates that they are. The > :packets never actually reach the wire, though. > : > :I can't believe that no one else has this card, but I didn't find > :anything in the archives on it. > : > :Any idea what needs to be rolled back and how far? I'm suspicious that > :it might be an mii problem. Maybe even an interrupt issue. I an > :suspicious of the second, empty xlphy0: line in the dmesg, but the > :reported MAC is right and my old kernel that works seems to generate a > :similar empty line. I have had the same problem with a "3Com 3c905B-COMBO". But the system was a 4.7-RELEASE. If you used the the media-Option in /etc/rc.conf it doesn't work. It was necessary to boot the system with a wrong media type, mark the interface down and mark the interface up with the correct media type. Than it works. But at that time I had no time to analyse this behaviour. Jan Here are the old boot messages (no errors): FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: AMD Duron(tm) Processor (756.74-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x631 Stepping = 1 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> real memory = 134135808 (130992K bytes) avail memory = 125349888 (122412K bytes) Preloaded elf kernel "kernel" at 0xc050f000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc050f09c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00f1720 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb400-0xb41f irq 9 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xb000-0xb01f irq 9 at device 4.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 uhub2: 4 ports with 4 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 4.4 xl0: <3Com 3c905B-COMBO Fast Etherlink XL> port 0x9400-0x947f mem 0xdd000000-0xdd00007f irq 5 at device 10.0 on pci0 xl0: Ethernet address: 00:01:02:2f:42:0a miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci1: port 0x7800-0x783f,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 mem 0xdc800000-0xdc81ffff irq 10 at device 17.0 on pci0 ata2: at 0x9000 on atapci1 ata3: at 0x8400 on atapci1 pcib1: on motherboard pci2: on pcib1 orm0: