Date: Thu, 16 May 2002 00:28:41 -0700 (PDT) From: "Wolfram A. Kraushaar" <wak@xtweb.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/38139: no carrier after kernel rebuild Message-ID: <200205160728.g4G7SfjK071776@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,<b28>,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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82845 Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 agp0: <Intel 82845 host to AGP bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <ATI model 5144 graphics accelerator> at 0.0 irq 10 pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 pci2: <PCI bus> on pcib2 rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem 0xee000000-0xee0000ff irq 11 at device 9.0 on pci2 rl0: Ethernet address: 00:20:ed:1a:6f:75 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: <Creative CT5880-C> port 0xa400-0xa43f irq 5 at device 10.0 on pci2 isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH2 ATA100 controller> port 0xf000-0xf00f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 11 orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ad0: 43979MB <IBM-DTLA-307045> [89355/16/63] at ata0-master UDMA100 ad2: 4172MB <FUJITSU MPA3043ATU> [9042/15/63] at ata1-master UDMA33 acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-106S 0122> at ata0-slave PIO4 acd1: CD-RW <4X4X32> at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s3a drm0: <ATI Radeon QD (AGP)> port 0x9000-0x90ff mem 0xed000000-0xed07ffff,0xe0000000-0xe7ffffff irq 10 at device 0.0 on pci1 info: [drm] AGP at 0xe8000000 64MB info: [drm] Initialized radeon 1.1.1 20010405 on minor 0 machine i386 cpu I686_CPU options CPU_ENABLE_SSE options USER_LDT ident MYKERNEL maxusers 0 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device options SMBFS options NTFS options NETSMB options NETSMBCRYPTO options LIBMCHAIN options LIBICONV options QUOTA options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev device isa device pci device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? options VESA pseudo-device splash device sc0 at isa? flags 0x100 device npx0 at nexus? port IO_NPX irq 13 device apm0 at nexus? disable flags 0x20 # Advanced Power Management device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device device scbus device da device vpo device miibus # MII bus support device rl # RealTek 8129/8139 pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device bpf #Berkeley packet filter device pcm >How-To-Repeat: reboot my machine ;-) >Fix: Currently only unplugging and plugging in again helps. would appreciate any conclusion. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205160728.g4G7SfjK071776>