Re: 8.0-RC USB/FS problem
On Thursday 26 November 2009 08:30:52 Guojun Jin wrote: Most crash had the same back trace. This is also true when USB access hangs, then unplug the drive. I think from the backtrace that this is not an USB issue. It is a file-system issue. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/140883: axe(4) USB gigabit ethernet hangs after short period of traffic
On Thursday 26 November 2009 03:59:55 sub mesa wrote: Number: 140883 Category: usb Synopsis: axe(4) USB gigabit ethernet hangs after short period of traffic Confidential: no Severity: serious Priority: medium Responsible:freebsd-usb State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Thu Nov 26 03:00:11 UTC 2009 Closed-Date: Last-Modified: Originator: sub mesa Release:FreeBSD 8.0-RELEASE i386 Organization: Environment: FreeBSD gut 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Nov 25 14:30:17 CET 2009 x...@xor:/usr/obj/usr/src/sys/XOR i386 Description: I own a USB gigabit ethernet adapter with ASIX Electronics AX88178 chip supported by the axe(4) driver in FreeBSD 8.0. It works, but it 'freezes' or 'hangs' after some traffic, like downloading at ~50Mbps for 5-10 minutes will cause the device to freeze. This has been happening since a long time on 8.0, ever since i bought the device and was running one of the early beta's. Upgrading to the final release of 8.0 did not resolve the issue. Googling on the problem i found this mailinglist thread: http://lists.freebsd.org/pipermail/freebsd-current/2009-April/005738.html However, there doesn't seem to be a single conclusion. Even though my product (Belkin F5D5055) seems to be supported according to the axe(4) manpage, it doesn't get detected as such, rather with a vendor id. Quoting dmesg output: axe0: vendor 0x050d product 0x5055, rev 2.00/0.01, addr 2 on usbus4 axe0: PHYADDR 0xe0:0x01 miibus1: MII bus on axe0 ue0: USB Ethernet on axe0 May i suggest removing the Belkin F5D5055 from the supported devices list in the axe(4) manpage, until a fix has been committed? I specifically bought the device believing it would work since it was explicitly listed in the manpage. As of 8.0, it doesn't even get detected by name. It is of course possible my device is of a different revision. I would be happy to try any patches. Also see: http://forums.freebsd.org/showthread.php?t=8661 How-To-Repeat: Connect axe(4) gigabit ethernet device Send/receive packets using the ueX ethernet device Device will stop receiving/transmitting packets after a short while Fix: Workaround: re-plug device or use usbreset command. No fix known. Release-Note: Audit-Trail: Unformatted: You can try enabling debugging: sysctl hw.usb.axe.debug=15 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/140883: axe(4) USB gigabit ethernet hangs after short period of traffic
The following reply was made to PR usb/140883; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: freebsd-usb@freebsd.org Cc: sub mesa sub.m...@gmail.com, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/140883: axe(4) USB gigabit ethernet hangs after short period of traffic Date: Thu, 26 Nov 2009 09:32:43 +0100 On Thursday 26 November 2009 03:59:55 sub mesa wrote: Number: 140883 Category: usb Synopsis: axe(4) USB gigabit ethernet hangs after short period of traffic Confidential: no Severity: serious Priority: medium Responsible:freebsd-usb State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Thu Nov 26 03:00:11 UTC 2009 Closed-Date: Last-Modified: Originator: sub mesa Release:FreeBSD 8.0-RELEASE i386 Organization: Environment: FreeBSD gut 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Nov 25 14:30:17 CET 2009 x...@xor:/usr/obj/usr/src/sys/XOR i386 Description: I own a USB gigabit ethernet adapter with ASIX Electronics AX88178 chip supported by the axe(4) driver in FreeBSD 8.0. It works, but it 'freezes' or 'hangs' after some traffic, like downloading at ~50Mbps for 5-10 minutes will cause the device to freeze. This has been happening since a long time on 8.0, ever since i bought the device and was running one of the early beta's. Upgrading to the final release of 8.0 did not resolve the issue. Googling on the problem i found this mailinglist thread: http://lists.freebsd.org/pipermail/freebsd-current/2009-April/005738.html However, there doesn't seem to be a single conclusion. Even though my product (Belkin F5D5055) seems to be supported according to the axe(4) manpage, it doesn't get detected as such, rather with a vendor id. Quoting dmesg output: axe0: vendor 0x050d product 0x5055, rev 2.00/0.01, addr 2 on usbus4 axe0: PHYADDR 0xe0:0x01 miibus1: MII bus on axe0 ue0: USB Ethernet on axe0 May i suggest removing the Belkin F5D5055 from the supported devices list in the axe(4) manpage, until a fix has been committed? I specifically bought the device believing it would work since it was explicitly listed in the manpage. As of 8.0, it doesn't even get detected by name. It is of course possible my device is of a different revision. I would be happy to try any patches. Also see: http://forums.freebsd.org/showthread.php?t=8661 How-To-Repeat: Connect axe(4) gigabit ethernet device Send/receive packets using the ueX ethernet device Device will stop receiving/transmitting packets after a short while Fix: Workaround: re-plug device or use usbreset command. No fix known. Release-Note: Audit-Trail: Unformatted: You can try enabling debugging: sysctl hw.usb.axe.debug=15 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
RE: 8.0-RC USB/FS problem
Shall I fill a defect? or someone on this mailing list can take care of this problem before release. -Jin -Original Message- From: Hans Petter Selasky [mailto:hsela...@c2i.net] Sent: Thu 11/26/2009 12:20 AM To: Guojun Jin Cc: freebsd-usb@freebsd.org; b...@freebsd.org; freebsd-sta...@freebsd.org Subject: Re: 8.0-RC USB/FS problem On Thursday 26 November 2009 08:30:52 Guojun Jin wrote: Most crash had the same back trace. This is also true when USB access hangs, then unplug the drive. I think from the backtrace that this is not an USB issue. It is a file-system issue. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
RE: 8.0-R USB/FS problem
Be clear, the recent (last 5 days) tests are based on -RELEASE made on 21st, not RC any more, so I changed title now. Since this problem occurs on multiple machines (not just single one), with different USB drives, so I would like this to be fixed before the formal release if possible. -Original Message- From: Thomas Backman [mailto:seren...@exscape.org] Sent: Thu 11/26/2009 11:48 AM To: Guojun Jin Cc: Hans Petter Selasky; b...@freebsd.org; freebsd-stable; freebsd-usb@freebsd.org Subject: Re: 8.0-RC USB/FS problem On Nov 26, 2009, at 8:25 PM, Guojun Jin wrote: Shall I fill a defect? or someone on this mailing list can take care of this problem before release. -Jin 8.0 is halfway out already, you can download -RELEASE ISOs or upgrade using freebsd-update. The main announcement just hasn't been made yet. Regards, Thomas ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
usb/140923: Add support for new rev of USB Ethernet chip
Number: 140923 Category: usb Synopsis: Add support for new rev of USB Ethernet chip Confidential: no Severity: non-critical Priority: medium Responsible:freebsd-usb State: open Quarter: Keywords: Date-Required: Class: update Submitter-Id: current-users Arrival-Date: Fri Nov 27 06:00:11 UTC 2009 Closed-Date: Last-Modified: Originator: Brett Glass Release:8.0-RELEASE Organization: LARIAT Environment: Description: The ASIX AX88772A USB 2.0 Ethernet chip has replaced the ASIC AX88772. Unlike the original, it doesn't tend to corrupt its buffers. I just bought about a dozen inexpensive USB Ethernet adapters that use this chip, and discovered to my dismay that though there was driver support (axe(4)) for the older version, the driver would not recognize the newer one. I managed to get it working by patching two files. Please incorporate the changes into the tree. How-To-Repeat: Plug in a Sabrent (or similar) USB Ethernet adapter based on the AX88772A. FreeBSD 8.0-RELEASE won't recognize it. Fix: Patch file attached. I also recommend including options USB_VERBOSE in the GENERIC kernel configuration (it is not there currently). Otherwise, the vendor and device names won't be printed in the boot messages. Patch attached with submission follows: *** /sys/dev/usb/usbdevs.orig Thu Nov 26 17:00:13 2009 --- /sys/dev/usb/usbdevsThu Nov 26 18:43:33 2009 *** *** 894,897 --- 894,899 product ASIX AX88178 0x1780 AX88178 product ASIX AX88772 0x7720 AX88772 + /* Added by Brett Glass to support ASIX AX88772A, an updated AX88772 */ + product ASIX AX88772A 0x772a AX88772A USB 2.0 10/100 Ethernet /* ASUS products */ *** /sys/dev/usb/net/if_axe.c.orig Thu Nov 26 17:07:25 2009 --- /sys/dev/usb/net/if_axe.c Thu Nov 26 17:13:12 2009 *** *** 142,145 --- 142,147 {USB_VPI(USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88178, AXE_FLAG_178)}, {USB_VPI(USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772, AXE_FLAG_772)}, + /* Added by Brett Glass to support ASIX AX88772A, an updated AX88772 */ + {USB_VPI(USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772A, AXE_FLAG_772)}, {USB_VPI(USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC210T, 0)}, {USB_VPI(USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5D5055, AXE_FLAG_178)}, Release-Note: Audit-Trail: Unformatted: ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/140920: [install] USB based install fails on 8.0-RELEASE [regression]
Old Synopsis: USB based install fails on 8.0-RELEASE New Synopsis: [install] USB based install fails on 8.0-RELEASE [regression] Responsible-Changed-From-To: freebsd-bugs-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Fri Nov 27 06:45:40 UTC 2009 Responsible-Changed-Why: not sure if this is solely related to USB or not. http://www.freebsd.org/cgi/query-pr.cgi?pr=140920 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
usb/140928: ZTE CDMA2000 1X EV-DO (MG478/AC8700) is not working
Number: 140928 Category: usb Synopsis: ZTE CDMA2000 1X EV-DO (MG478/AC8700) is not working Confidential: no Severity: non-critical Priority: low Responsible:freebsd-usb State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Fri Nov 27 07:20:01 UTC 2009 Closed-Date: Last-Modified: Originator: Eimar Koort Release:8.0-RELEASE Organization: Environment: FreeBSD laptop 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Thu Nov 26 20:59:52 EET 2009 r...@laptop:/usr/obj/usr/src/sys/GENERIC amd64 Description: When attaching mentioned device /dev/ttyU*'s aren't appearing. So device is not usable. How-To-Repeat: Fix: Add patch. shell# /usr/src/sys/dev/usb/serial shell# patch /tmp/u3g.c.txt shell# patch u3g.c.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- u3g.c.bak 2009-11-27 08:59:04.0 +0200 |+++ u3g.c 2009-11-27 08:58:34.0 +0200 -- Patching file u3g.c using Plan A... Hunk #1 succeeded at 184. done After rebuilding kernel and reboot finally ttyU's are appearing at last. shell# dmesg /*/ ugen1.2: ZTE, Incorporated at usbus1 u3g0: Data Interface on usbus1 u3g0: Found 3 ports. /*/ shell# ls -la /dev/ttyU* crw--- 1 root wheel0, 122 27 nov 09:00 /dev/ttyU0.0 crw--- 1 root wheel0, 123 27 nov 09:11 /dev/ttyU0.0.init crw--- 1 root wheel0, 124 27 nov 09:11 /dev/ttyU0.0.lock crw--- 1 root wheel0, 128 27 nov 09:11 /dev/ttyU0.1 crw--- 1 root wheel0, 129 27 nov 09:11 /dev/ttyU0.1.init crw--- 1 root wheel0, 130 27 nov 09:11 /dev/ttyU0.1.lock crw--- 1 root wheel0, 134 27 nov 09:11 /dev/ttyU0.2 crw--- 1 root wheel0, 135 27 nov 09:11 /dev/ttyU0.2.init crw--- 1 root wheel0, 136 27 nov 09:11 /dev/ttyU0.2.lock Patch attached with submission follows: --- u3g.c.bak 2009-11-27 08:59:04.0 +0200 +++ u3g.c 2009-11-27 08:58:34.0 +0200 @@ -184,6 +184,7 @@ /* OEM: Qualcomm, Inc. */ U3G_DEV(QUALCOMMINC, ZTE_STOR, U3GFL_SCSI_EJECT), U3G_DEV(QUALCOMMINC, CDMA_MSM, U3GFL_SCSI_EJECT), + U3G_DEV(QUALCOMMINC, AC8700, 0), /* OEM: Huawei */ U3G_DEV(HUAWEI, MOBILE, U3GFL_HUAWEI_INIT), U3G_DEV(HUAWEI, E180V, U3GFL_HUAWEI_INIT), Release-Note: Audit-Trail: Unformatted: ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org