Axe adapter and 6.x: read PHY failed

Paolo Pisati piso at freebsd.org
Tue Mar 20 11:07:09 UTC 2007


Hi,

since yesterday i'm using a D-Link DUB-E 100 usb<->ethernet adapter
on a 6.x box, and i'm experiencing a lot of problems cause after
a bit of traffic, the kernel spits:

kernel: axe0: read PHY failed

then axe0 becomes inoperative, and the only way to ressurect it is
to reboot the box (really annoying...).

I found a PR about axe
(http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/88408), suggesting to
play with media and mediaopt, but setting 10/100 or half/full duplex
didn't help at all.

Any ideas? Am i the only axe user out there?

%kldstat 
Id Refs Address    Size     Name
 1   23 0xc0400000 335848   kernel
 2    1 0xc0736000 101f8    geom_eli.ko
 3    3 0xc0747000 1b0cc    crypto.ko
 4    2 0xc0763000 bd04     zlib.ko
 5    1 0xc076f000 11dd4    if_ath.ko
 6    2 0xc0781000 45bc     ath_rate.ko
 7    3 0xc0786000 23124    wlan.ko
 8    3 0xc07aa000 2ec28    ath_hal.ko
 9    1 0xc07d9000 53cc     if_axe.ko
10    3 0xc07df000 1d2a0    miibus.ko
11    2 0xc07fd000 246d0    usb.ko
12    1 0xc0822000 6b74     if_vr.ko
13    1 0xc0829000 15ef4    ataraid.ko
14    1 0xc083f000 481c     padlock.ko
15    1 0xc0844000 65a60    acpi.ko
16    2 0xc4e15000 e000     ipfw.ko
17    1 0xc4e32000 4000     ipdivert.ko

dmesg:
Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #4: Tue Mar 20 01:21:25 CET 2007
    root at southcross.wired.org:/usr/obj/usr/src/sys/SOUTHCROSS
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: VIA C3 Nehemiah+RNG+AES (1199.79-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x698  Stepping = 8
  Features=0x381b83f<FPU,VME,DE,PSE,TSC,MSR,SEP,MTRR,PGE,CMOV,PAT,MMX,FXSR,SSE>
real memory  = 1056899072 (1007 MB)
avail memory = 1025241088 (977 MB)
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
PadLock: HW support loaded for AES-CBC.
acpi0: <VT9174 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
cbb0: <RF5C476 PCI-CardBus Bridge> mem 0xe742c000-0xe742cfff irq 5 at device 10.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <RF5C476 PCI-CardBus Bridge> mem 0xe7423000-0xe7423fff irq 12 at device 10.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci0: <serial bus, FireWire> at device 13.0 (no driver attached)
uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 5 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 12 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> 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
uhci2: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 7 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xe7429000-0xe74290ff irq 9 at device 16.3 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <VIA VT6202 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
axe0: vendor 0x2001 product 0x1a00, rev 2.00/0.01, addr 2
miibus0: <MII bus> on axe0
bmtphy0: <BCM5221 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
axe0: Ethernet address: 00:40:05:8f:20:8c
axe0: if_start running deferred for Giant
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <multimedia, audio> at device 17.5 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xdc00-0xdcff mem 0xe742a000-0xe742a0ff irq 5 at device 18.0 on pci0
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:40:63:df:91:79
atapci1: <Promise PDC20318 SATA150 controller> port 0xe000-0xe03f,0xe400-0xe40f,0xe800-0xe87f mem 0xe742b000-0xe742bfff,0xe7400000-0xe741ffff irq 12 at device 20.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
ata4: <ATA channel 2> on atapci1
ata5: <ATA channel 3> on atapci1
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
Timecounter "TSC" frequency 1199794235 Hz quality 800
Timecounters tick every 1.000 msec
ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 5 at device 0.0 on cardbus0
ath0: Ethernet address: 00:14:78:75:e4:af
ath0: mac 7.9 phy 4.5 radio 5.6
ad0: 157066MB <HDS722516VLAT20 V34OA6MA> at ata0-master UDMA100
ad4: 305245MB <MAXTOR STM3320620AS 3.AAE> at ata2-master SATA150
ad10: 305245MB <MAXTOR STM3320620AS 3.AAE> at ata5-master SATA150
ar0: 305245MB <Promise Fasttrak RAID1> status: READY
ar0: disk0 READY (master) using ad4 at ata2-master
ar0: disk1 READY (mirror) using ad10 at ata5-master
Trying to mount root from ufs:/dev/ad0s1a
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging disabled
GEOM_ELI: Device ar0.eli created.
GEOM_ELI: Encryption: AES-CBC 128
GEOM_ELI:     Crypto: hardware

bye,
P.


More information about the freebsd-usb mailing list