From owner-freebsd-usb@FreeBSD.ORG Tue Mar 20 11:07:09 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 179D216A402 for ; Tue, 20 Mar 2007 11:07:09 +0000 (UTC) (envelope-from piso@newluxor.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.freebsd.org (Postfix) with ESMTP id 812E113C45B for ; Tue, 20 Mar 2007 11:07:08 +0000 (UTC) (envelope-from piso@newluxor.wired.org) Received: from newluxor.wired.org (ip-115-132.sn1.eutelia.it [62.94.115.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oltrelinux.com (Postfix) with ESMTP id E7AC811B1DF for ; Tue, 20 Mar 2007 11:44:13 +0100 (CET) Received: (from piso@localhost) by newluxor.wired.org (8.13.8/8.13.8/Submit) id l2KAi9aT001690 for freebsd-usb@freebsd.org; Tue, 20 Mar 2007 11:44:09 +0100 (CET) (envelope-from piso) Date: Tue, 20 Mar 2007 11:44:09 +0100 From: Paolo Pisati To: freebsd-usb@freebsd.org Message-ID: <20070320104409.GA1562@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Subject: Axe adapter and 6.x: read PHY failed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 11:07:09 -0000 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@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 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: 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: on acpi0 acpi_throttle0: on cpu0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0xe742c000-0xe742cfff irq 5 at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0xe7423000-0xe7423fff irq 12 at device 10.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci0: at device 13.0 (no driver attached) uhci0: port 0xc400-0xc41f irq 5 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] 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 0xc800-0xc81f irq 12 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] 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 uhci2: port 0xcc00-0xcc1f irq 7 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: 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: 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: on axe0 bmtphy0: 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: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 17.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 17.5 (no driver attached) vr0: port 0xdc00-0xdcff mem 0xe742a000-0xe742a0ff irq 5 at device 18.0 on pci0 miibus1: on vr0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:40:63:df:91:79 atapci1: port 0xe000-0xe03f,0xe400-0xe40f,0xe800-0xe87f mem 0xe742b000-0xe742bfff,0xe7400000-0xe741ffff irq 12 at device 20.0 on pci0 ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ata5: 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: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] Timecounter "TSC" frequency 1199794235 Hz quality 800 Timecounters tick every 1.000 msec ath0: 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 at ata0-master UDMA100 ad4: 305245MB at ata2-master SATA150 ad10: 305245MB at ata5-master SATA150 ar0: 305245MB 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.