From owner-freebsd-bugs Thu May 16 0:30:21 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 736DF37B407 for ; Thu, 16 May 2002 00:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4G7U1D02970; Thu, 16 May 2002 00:30:01 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 4A45C37B401 for ; Thu, 16 May 2002 00:28:46 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4G7SfhG071777 for ; Thu, 16 May 2002 00:28:41 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g4G7SfjK071776; Thu, 16 May 2002 00:28:41 -0700 (PDT) Message-Id: <200205160728.g4G7SfjK071776@www.freebsd.org> Date: Thu, 16 May 2002 00:28:41 -0700 (PDT) From: "Wolfram A. Kraushaar" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/38139: no carrier after kernel rebuild Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38139 >Category: kern >Synopsis: no carrier after kernel rebuild >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 16 00:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Wolfram A. Kraushaar >Release: 4.6 Prerelease / 4.5 Stable >Organization: n/a >Environment: FreeBSD my.host.name 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #2: Thu May 16 08:50:52 CEST 2002 me@my.host.name:/usr/obj/usr/src/sys/MYKERNEL i386 >Description: After compiling a new kernel (this happens on 4.5 Stable and on 4.6 Prerelease) I have to unplug the network cable and plug it in again, before the nic goes from state "no carrier" to "active". This happens after each reboot. Think is has to do with the autonegotiation between the rl interface and the 3com superstack Switch although I added "media 100baseTX mediaopt full-duplex" to the ifconfig-line in rc.conf. What I am wondering about is, that this doesn't happen with the GENERIC kernel... attached you'll find a dmesg printout and the contents of MYKERNEL 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.6-PRERELEASE #2: Thu May 16 08:50:52 CEST 2002 me@my.host.name:/usr/obj/usr/src/sys/MYKERNEL Timecounter "i8254" frequency 1193182 Hz CPU: Pentium 4 (1700.03-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf12 Stepping = 2 Features=0x3febfbff,ACC> real memory = 536805376 (524224K bytes) config> q avail memory = 518832128 (506672K bytes) Preloaded elf kernel "kernel" at 0xc036d000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc036d09c. Preloaded elf module "linux.ko" at 0xc036d0ec. Preloaded elf module "agp.ko" at 0xc036d18c. VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc02e2b82 (1000022) VESA: ATI RADEON netsmb_dev: loaded md0: Malloc disk Using $PIR table, 12 entries at 0xc00fdea0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 10 pcib2: at device 30.0 on pci0 pci2: on pcib2 rl0: port 0xa000-0xa0ff mem 0xee000000-0xee0000ff irq 11 at device 9.0 on pci2 rl0: Ethernet address: 00:20:ed:1a:6f:75 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xa400-0xa43f irq 5 at device 10.0 on pci2 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2443) at 31.3 irq 11 orm0: