Date: Sat, 20 Sep 2003 18:10:09 -0000 From: Mike Meyer <mwm@mired.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/57036: No media detected by 3c905b-tx on 4.9-release Message-ID: <20010827010248.670.qmail@mired.org> Resent-Message-ID: <200309201810.h8KIA6dm072466@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57036 >Category: kern >Synopsis: No media detected by 3c905b-tx on 4.9-release >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 20 11:10:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 4.8-PRERELEASE i386 >Organization: Meyer Consulting >Environment: FreeBSD eve.mired.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #20: Sat Sep 20 11:14:56 CDT 2003 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/EVE i386 >Description: The exphy driver is failing to detect connected media. >How-To-Repeat: Install the driver on a system with a dmesg sufficiently like the one attached below. Boot, and observe that the xl network isn't there. The dmesg shows xlphy0 reporting "no media present". Booting a 4.8-PRERELEASE kernel on the same hardware gets this dmesg output: guru% ssh eve dmesg | grep xl xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xeb000000-0xeb00007f irq 5 at device 10.0 on pci0 xl0: Ethernet address: 00:50:04:84:ac:f1 miibus0: <MII bus> on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Trying a bit of debugging, the PHY_READ at line 196 (just before the test of sc->mii_capabilities) returns a 0. --- dmesg begins here --- Copyright (c) 1992-2003 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.9-PRERELEASE #20: Sat Sep 20 11:14:56 CDT 2003 mwm@guru.mired.org:/sharetmp/obj/usr/src/sys/EVE Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (551.25-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> AMD Features=0x80000800<SYSCALL,3DNow!> real memory = 268369920 (262080K bytes) avail memory = 257806336 (251764K bytes) Preloaded elf kernel "kernel" at 0xc034d000. K6-family MTRR support enabled (2 registers) Using $PIR table, 8 entries at 0xc00fdf10 apm0: <APM BIOS> on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib2 pci1: <ATI Rage128-RF graphics accelerator> at 0.0 irq 11 isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C596 ATA66 controller> port 0xe000-0xe00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <VIA 83C572 USB controller> at 7.2 irq 10 pci0: <unknown card> (vendor=0x1106, dev=0x3050) at 7.3 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xeb000000-0xeb00007f irq 5 at device 10.0 on pci0 xl0: Ethernet address: 00:50:04:84:ac:f1 miibus0: <MII bus> on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: no media present pcm0: <AudioPCI ES1370> port 0xec00-0xec3f irq 7 at device 11.0 on pci0 pcib1: <Host to PCI bridge> on motherboard pci2: <PCI bus> on pcib1 orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0 pmtimer0 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 Generic PS/2 mouse, 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 IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to deny, unlimited logging ad0: DMA limited to UDMA33, non-ATA66 cable or device ad0: 9765MB <Maxtor 91024U4> [19841/16/63] at ata0-master UDMA33 ad1: 19541MB <Maxtor 92049U3> [39704/16/63] at ata0-slave UDMA66 acd0: DVD-ROM <LITEON DVD-ROM LTD163D> at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s2a --- end of dmesg --- >Fix: Not got one. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010827010248.670.qmail>