From owner-freebsd-usb@FreeBSD.ORG Sun Jul 30 07:59:40 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E88316A4DA; Sun, 30 Jul 2006 07:59:40 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 561EB43D49; Sun, 30 Jul 2006 07:59:40 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6U7xe1w098873; Sun, 30 Jul 2006 07:59:40 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6U7xeAY098869; Sun, 30 Jul 2006 07:59:40 GMT (envelope-from linimon) Date: Sun, 30 Jul 2006 07:59:40 GMT From: Mark Linimon Message-Id: <200607300759.k6U7xeAY098869@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org Cc: Subject: Re: usb/101043: [usbdevs] [patch] Add vendor "Sony Ericsson Mobile Comm. AB" to usbdevs 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: Sun, 30 Jul 2006 07:59:40 -0000 Old Synopsis: Add vendor "Sony Ericsson Mobile Comm. AB" to usbdevs New Synopsis: [usbdevs] [patch] Add vendor "Sony Ericsson Mobile Comm. AB" to usbdevs Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Sun Jul 30 07:59:11 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=101043 From owner-freebsd-usb@FreeBSD.ORG Sun Jul 30 14:22:51 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 903DF16A4DF for ; Sun, 30 Jul 2006 14:22:51 +0000 (UTC) (envelope-from lil_tux@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8CF143D4C for ; Sun, 30 Jul 2006 14:22:50 +0000 (GMT) (envelope-from lil_tux@web.de) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id D23FECCDC6F for ; Sun, 30 Jul 2006 16:22:49 +0200 (CEST) Received: from [195.71.190.177] (helo=[192.168.168.77]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1G7CBt-0008Gg-00 for freebsd-usb@freebsd.org; Sun, 30 Jul 2006 16:22:49 +0200 Mime-Version: 1.0 (Apple Message framework v752.2) To: freebsd-usb@freebsd.org Message-Id: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-15--131394637" From: Heiko Przybyl Date: Sun, 30 Jul 2006 16:24:23 +0200 Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) Sender: lil_tux@web.de X-Sender: lil_tux@web.de Subject: Logitech iFeel Mouseman USB - UN53B 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: Sun, 30 Jul 2006 14:22:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-15--131394637 Content-Type: multipart/mixed; boundary=Apple-Mail-14--131395050 --Apple-Mail-14--131395050 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi, I'm not quite sure if this is the right way to post a message to this list and/or to request a patch-review/-inclusion. Well, I have problems with the mouse mentioned in the subject. It is neither recognized in the normal boot-up nor when re-plugging it after the boot-up. Turning on USB_DEBUG has shown: "usbd_get_string: getting string failed, using 0". I have searched your list and the net, but without any success. Ok, there was a hint about commenting out the code, but I think this is not the way it is ment to be. So I decided to have a look into the sources under /usr/src/sys/dev/usb. In fact, there is already a Logitech iFeel Mouse under usbdevs, but with a different device id. The listed device is 0xc030 whilst mine is 0xc032. So I added a new entry "product LOGITECH UN53B 0xc032 iFeel MouseMan". Actually this did not solve the problem of failing recognition of the device :-) So I took a closer look on usbdi.c::usbd_get_string() which is the point of failure and found "if (dev->quirks->uq_flags & UQ_NO_STRINGS)" which in turn checks the device for being unable to provide the strings usbdi.c::usbd_get_string() wants to extract. So the next step was to add the newly created usbdevs entry to usb_quirks.c with UQ_NO_STRINGS as the corresponding quirk. Now the mouse is shown in usbdevs, works fine in moused and under Xorg. It is successfully recognized as /dev/ums0 4-button mouse with scroll wheel. Attached there are the patches of the changes I did. Hopefully they will find their way into the tree, since there seem to be a lot of people struggling with that (mouse') problem. Btw. system is: AthlonXP on VIAKT400A+ (VT82xxxxx UHCI USB) running 7.0-CURRENT-200607. Best regards, Heiko --Apple-Mail-14--131395050 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name=ifeel_mouseman_usb_quirks.c.patch Content-Disposition: attachment; filename=ifeel_mouseman_usb_quirks.c.patch --- sys/dev/usb/usb_quirks.c.orig Sun Jul 30 15:22:38 2006 +++ sys/dev/usb/usb_quirks.c Sun Jul 30 16:02:53 2006 @@ -110,6 +110,7 @@ ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2, ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_UN53B, ANY, { UQ_NO_STRINGS }}, { 0, 0, 0, { 0 } } }; --Apple-Mail-14--131395050 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name=ifeel_mouseman_usbdevs.patch Content-Disposition: attachment; filename=ifeel_mouseman_usbdevs.patch --- sys/dev/usb/usbdevs.orig Sun Jul 30 15:23:12 2006 +++ sys/dev/usb/usbdevs Sun Jul 30 16:00:51 2006 @@ -1166,6 +1166,7 @@ product LOGITECH WMMOUSE 0xc004 WingMan Gaming Mouse product LOGITECH BD58 0xc00c BD58 mouse product LOGITECH UN58A 0xc030 iFeel Mouse +product LOGITECH UN53B 0xc032 iFeel MouseMan product LOGITECH BB13 0xc401 USB-PS/2 Trackball product LOGITECH WMPAD 0xc208 WingMan GamePad Extreme product LOGITECH WMRPAD 0xc20a WingMan RumblePad --Apple-Mail-14--131395050-- --Apple-Mail-15--131394637 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEzMEbqrqqic7aKcsRAmu0AJ98yHo9uw4MV2eVQ/A3Q/o+GpVXBACeIYRB oMVHhEnxLjfG+kEBfIXcLlw= =FrCV -----END PGP SIGNATURE----- --Apple-Mail-15--131394637-- From owner-freebsd-usb@FreeBSD.ORG Sun Jul 30 17:18:31 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92EB816A4E7 for ; Sun, 30 Jul 2006 17:18:31 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44AEB43D60 for ; Sun, 30 Jul 2006 17:18:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FBC4.dip.t-dialin.net [84.165.251.196]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k6UH5O0A032905; Sun, 30 Jul 2006 19:05:25 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k6UHIS6P006578; Sun, 30 Jul 2006 19:18:30 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sun, 30 Jul 2006 19:20:05 +0200 From: Alexander Leidinger To: Heiko Przybyl Message-ID: <20060730192005.29e013cd@Magellan.Leidinger.net> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-usb@freebsd.org Subject: Re: Logitech iFeel Mouseman USB - UN53B 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: Sun, 30 Jul 2006 17:18:31 -0000 Quoting Heiko Przybyl (Sun, 30 Jul 2006 16:24:23 +0200): > Hi, > > I'm not quite sure if this is the right way to post a message to this > list and/or to request a patch-review/-inclusion. Patches which introduce a quirk need to go through our bug database so that we have a trace of the problem in case something changes in relevant code. So please submit a bug report. Making a copy&paste of your mail and adding the patches is enough. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-usb@FreeBSD.ORG Sun Jul 30 18:50:14 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7883D16A4E0 for ; Sun, 30 Jul 2006 18:50:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D87F343D49 for ; Sun, 30 Jul 2006 18:50:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6UIoDpL060702 for ; Sun, 30 Jul 2006 18:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6UIoDW4060701; Sun, 30 Jul 2006 18:50:13 GMT (envelope-from gnats) Resent-Date: Sun, 30 Jul 2006 18:50:13 GMT Resent-Message-Id: <200607301850.k6UIoDW4060701@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Heiko Przybyl Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C212A16A4E0 for ; Sun, 30 Jul 2006 18:48:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3110E43D6B for ; Sun, 30 Jul 2006 18:48:50 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6UImnfU004659 for ; Sun, 30 Jul 2006 18:48:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6UImnMj004658; Sun, 30 Jul 2006 18:48:49 GMT (envelope-from nobody) Message-Id: <200607301848.k6UImnMj004658@www.freebsd.org> Date: Sun, 30 Jul 2006 18:48:49 GMT From: Heiko Przybyl To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/101066: Logitech iFeel MouseMan USB - UN53B 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: Sun, 30 Jul 2006 18:50:14 -0000 >Number: 101066 >Category: usb >Synopsis: Logitech iFeel MouseMan USB - UN53B >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 30 18:50:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Heiko Przybyl >Release: 7.0-CURRENT-200607 >Organization: - >Environment: FreeBSD tormented-soul 7.0-CURRENT-200607 FreeBSD 7.0-CURRENT-200607 #5: Sun Jul 30 16:07:28 CEST 2006 root@tormented-soul:/usr/src/sys/i386/compile/HEIKO i386 >Description: Hi. After switching from Linux to FreeBSD yesterday, I encounter problems with the mouse mentioned in the subject. It is neither recognized in the normal boot-up nor when re-plugging it after the boot-up, which renders the device (my only mouse) completely useless. Turning on USB_DEBUG has shown: "usbd_get_string: getting string failed, using 0". So this beauty seems to not understand the string descriptor requests. I have searched the usb-list and the net, but without any success. Ok, there was a hint about commenting out the code, but I think this is not the way it is ment to be. So I decided to have a look into the sources under /usr/src/sys/dev/usb. In fact, there is already a Logitech iFeel Mouse in usbdevs, but with a different device id. The listed device is 0xc030 whilst mine is 0xc032. So I added a new entry "product LOGITECH UN53B 0xc032 iFeel MouseMan". Actually this did not solve the problem of failing recognition of the device :-) So I took a closer look on usbdi.c::usbd_get_string() which is the point of failure and found "if (dev->quirks->uq_flags & UQ_NO_STRINGS)" which in turn checks the device for being unable to provide the strings usbdi.c::usbd_get_string() wants to extract. So the next step was to add the newly created usbdevs entry to usb_quirks.c with UQ_NO_STRINGS as the corresponding quirk. Now the mouse is shown in command usbdevs, works fine in moused and under Xorg. It is successfully recognized as /dev/ums0 4-button mouse with scroll wheel. Attached there are the patches of the changes I did. Hopefully they will find their way into the tree, since there seem to be a lot of people struggling with that (mouse') problem. Btw. system is: AthlonXP on VIAKT400A+ (VT82xxxxx UHCI USB) running 7.0-CURRENT-200607. Best regards, Heiko >How-To-Repeat: restart the system plug out/in the mouse :-) >Fix: add "product LOGITECH UN53B 0xc032 iFeel MouseMan" to /usr/src/sys/dev/usb/usbdevs add "{ USB_VENDOR_LOGITECH, USB_PRODUCT_LOGITECH_UN53B, ANY, { UQ_NO_STRINGS }}," to /usr/src/sys/dev/usb/usb_quirks.c If needed, I am able to provided patches for those files. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Jul 31 11:04:18 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6168516A51A for ; Mon, 31 Jul 2006 11:04:18 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45EDC43DB4 for ; Mon, 31 Jul 2006 11:03:25 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6VB3Pbw051999 for ; Mon, 31 Jul 2006 11:03:25 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6VB3NjG051995 for freebsd-usb@freebsd.org; Mon, 31 Jul 2006 11:03:23 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 Jul 2006 11:03:23 GMT Message-Id: <200607311103.k6VB3NjG051995@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 31 Jul 2006 11:04:18 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/08/10] usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_ o [2006/01/11] usb/91629 usb usbd_abort_pipe() may result in infinite 2 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/07/19] usb/40792 usb signals lead to data loss on device ugen o [2002/12/10] usb/46176 usb [panic] umass causes kernel panic if devi o [2002/12/19] i386/46371 usb USB controller cannot be initialized on I f [2003/08/13] usb/55555 usb [ums] system freezes with access to /dev/ o [2003/09/26] bin/57255 usb usbd and multi-function devices o [2004/01/30] usb/62088 usb [usb] Logitech Cordless/Optical Mouse not o [2004/02/03] usb/62309 usb [ugen] [panic] panic: ugen(4) driver o [2004/03/01] usb/63621 usb [usb] USB MemoryStick Reader stalls/crash o [2004/07/13] usb/69006 usb [patch] Apple Cinema Display hangs USB po o [2004/08/30] usb/71155 usb [usb] misbehaving usb-printer hangs proce o [2004/10/30] usb/73307 usb [panic] Kernel panics on USB disconnect o [2004/12/06] usb/74771 usb [umass] mounting write-protected umass de o [2005/01/01] usb/75705 usb [panic] da0 attach / Optio S4 (with backt o [2005/01/04] usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, f [2005/01/13] usb/76204 usb panic while using usb attached modem o [2005/01/18] usb/76395 usb USB printer does not work, usbdevs says " f [2005/01/25] usb/76684 usb [hang] Toshiba PDR-M4 camera connected vi o [2005/02/06] usb/77184 usb kernel panic on USB device disconnect o [2005/02/09] usb/77294 usb ucom + ulpcom panic o [2005/02/23] usb/77940 usb [patch] [panic] insertion of usb keyboard f [2005/03/01] i386/78218 usb [kue] kue not detected on Sony PCG-F370 V o [2005/03/18] usb/78989 usb please add USB keyboard support to instal o [2005/03/22] usb/79140 usb WD Firewire/USB Combo hangs under load on o [2005/03/27] usb/79269 usb USB ohci da0 plug/unplug causes crashes a o [2005/03/27] usb/79287 usb UHCI hang after interrupt transfer o [2005/04/04] usb/79524 usb printing to Minolta PagePro 1[23]xxW via f [2005/04/07] usb/79656 usb [usb] RHSC interrupts lost o [2005/04/09] usb/79722 usb [usb] wrong alignments in ehci.h o [2005/04/17] usb/80040 usb [hang] Use of sound mixer causes system f f [2005/04/22] usb/80260 usb Travan USB tape drive fails to write o [2005/04/26] usb/80361 usb mounting of usb-stick fails o [2005/04/26] usb/80373 usb usb keyboard does not respond o [2005/05/09] usb/80829 usb possible panic when loading USB-modules o [2005/05/10] usb/80862 usb [patch] USB locking issues: missing some o [2005/05/20] usb/81308 usb [ugen] [patch] polling a ugen(4) control f [2005/06/13] usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 f [2005/06/15] usb/82272 usb Can not recognize Casio camera EX-Z40 as o [2005/06/17] usb/82350 usb [usb] null pointer dereference in USB sta o [2005/06/22] usb/82520 usb Reboot when USL101 connected o [2005/06/23] usb/82569 usb [usb] USB mass storage plug/unplug causes o [2005/06/26] usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o [2005/07/15] usb/83504 usb [usb] SpeedTouch USB stop working on rece o [2005/07/16] usb/83563 usb [panic] Page Fault while detaching Mpman o [2005/07/18] usb/83677 usb [usb] usb controller often not detected ( o [2005/07/19] usb/83756 usb Microsoft Intellimouse Explorer 4.0A does o [2005/07/24] usb/83977 usb [ucom] [panic] ucom1: open bulk out error o [2005/07/30] usb/84326 usb [umass] Panic trying to connect SCSI tape o [2005/07/30] usb/84336 usb [usb] [reboot] instant system reboot when o [2005/08/15] usb/84936 usb install - usb keyboard not recognized o [2005/09/12] usb/86031 usb need support usb nic rt2500 in my 5.4 STA o [2005/09/30] usb/86767 usb [usb] bogus "slice starts beyond end of t o [2005/10/08] usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not o [2005/10/16] usb/87519 usb [kbd] cannot install on USB-only system o [2005/10/17] usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS car o [2005/11/09] usb/88743 usb [hang] USB makes kernel hang at boot (reg o [2005/11/14] usb/88966 usb kldunload ucom.ko returns "Device busy" e o [2005/11/14] usb/89003 usb LaCie Firewire drive not properly support o [2005/11/18] usb/89218 usb flash disk o [2005/12/05] usb/89954 usb [usb] USB Disk driver race condition? f [2005/12/05] usb/89997 usb [umass] [panic] panic on iPod mini detach o [2005/12/09] usb/90162 usb [usb] [patch] Add support for the MS Wire o [2005/12/20] usb/90700 usb Kernel panic on connect/mount/use umass d o [2006/01/02] usb/91238 usb USB tape unit fails to write a second tap o [2006/01/03] usb/91263 usb [patch] USB quirk needed for Logitec USB o [2006/01/03] usb/91283 usb booting very slow with usb devices connec o [2006/01/09] usb/91538 usb Unable to print to EPSON CX3500 o [2006/01/17] usb/91906 usb FreeBSD hangs while booting with USB lega o [2006/01/20] usb/92052 usb usbd causes defunct process with busy fil o [2006/01/22] usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors fro o [2006/01/22] usb/92171 usb [panic] panic unplugging Vodafone Mobile o [2006/02/10] usb/93155 usb /dev/ulpt0: device busy USB printer doe o [2006/02/15] usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion ca f [2006/02/17] usb/93496 usb USB2.0 umass stalls on VIA o [2006/02/21] usb/93640 usb device ehci causes interrupt storm on thi o [2006/02/25] usb/93828 usb ohci causes panic on boot (HP Pavillion d o [2006/02/28] usb/93949 usb ugen(4)-related repeatable kernel panic i o [2006/03/07] usb/94166 usb btx halted with a flashcard plugged o [2006/03/12] usb/94384 usb kernel panic with usb2 hardware o [2006/03/20] usb/94717 usb Reading from /dev/ulpt can break work of o [2006/03/20] usb/94742 usb [umass] [patch] umass driver does not rec o [2006/03/21] usb/94813 usb mounting write-protected umass device fre o [2006/03/24] usb/94897 usb Kernel Panic when cleanly unmounting USB o [2006/03/30] usb/95131 usb Boot/setup process does not accept key st o [2006/04/05] usb/95348 usb USB keyboard unplug causes noise on scree o [2006/04/10] usb/95562 usb Write Stress in USB Mass drive cause: [v o [2006/04/11] usb/95636 usb [boot] 5 minute delay at boot when using o [2006/04/20] usb/96120 usb USB mouse not always detected o [2006/04/23] usb/96224 usb [usb] mount_msdosfs cause page fault in s o [2006/04/28] usb/96457 usb fatback on umass = reboot o [2006/05/15] usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doe o [2006/06/24] usb/99431 usb FreeBSD on MSI 6566E (Intel 845E motherbo o [2006/07/28] usb/100992 usb Support for Epson 4990 USB scanners 92 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/09/30] conf/30929 usb [usb] [patch] use usbd to initialize USB s [2001/12/09] usb/32653 usb Added patches to improve USB scanner supp o [2002/07/24] usb/40948 usb [usb] USB HP CDW8200 does not work f [2002/08/07] usb/41415 usb [usb] [patch] Some USB scanners cannot ta o [2003/02/16] usb/48342 usb [PATCH] usbd dynamic device list. o [2003/05/08] kern/51958 usb [usb] [patch] update for urio driver o [2003/05/10] kern/52026 usb [usb] feature request: umass driver suppo o [2003/06/08] usb/53025 usb [ugen] [patch] ugen does not allow O_NONB o [2003/08/28] usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fai o [2003/11/26] kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT co f [2003/12/15] usb/60248 usb [patch] Problem with USB printer HP Laser o [2004/01/12] usb/61234 usb [usb] [patch] usbhidaction(1) doesn't sup o [2004/03/06] usb/63837 usb [uhid] [patch] USB: hid_is_collection() o o [2004/04/19] kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops o [2004/05/11] kern/66547 usb [usb] Palm Tungsten T USB does not initia o [2004/06/23] usb/68232 usb [ugen] [patch] ugen(4) isochronous handli o [2004/06/27] usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB M o [2004/08/16] usb/70523 usb [usb] [patch] umct sending/receiving wron o [2004/08/25] usb/70942 usb [usb] Genius Wireless USB mouse: moused d o [2004/09/06] usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/06] usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) o [2004/09/07] usb/71455 usb [usb] Slow USB umass performance of 5.3 o [2004/09/11] usb/71605 usb [umass] [patch] umass doesn't recognize m o [2004/10/06] usb/72380 usb [usb] USB does not work [dual Celeron Abi o [2004/10/15] usb/72732 usb [patch] Kyocera 7135 quirk. o [2004/10/15] usb/72733 usb Kyocera 7135 Palm OS connection problem. o [2004/10/23] usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse n f [2004/11/05] usb/73553 usb [usb] Microsoft USB Internet Keyboard not o [2004/11/21] usb/74211 usb USB flash drive causes CAM status 0x4 on f [2004/11/25] usb/74358 usb [umass] unplugging at boot time an umass o [2004/11/27] usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R o [2004/11/30] usb/74557 usb imation 500mb usb key can only be written o [2004/12/02] usb/74609 usb [usb] [patch] allowing cdma modems to wor o [2004/12/08] usb/74849 usb [usb] [patch] Samsung SPH-i500 does not a o [2004/12/09] usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm o [2005/01/04] usb/75800 usb ucom1: init failed STALLED error in time o [2005/01/07] usb/75928 usb Cytronix SmartMedia card (SMC) reader has o [2005/01/19] usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4 o [2005/01/27] usb/76732 usb Mouse problems with USB KVM Switch f [2005/03/03] usb/78371 usb Philips Wearable Audio Player (128) fails f [2005/03/18] usb/78984 usb Creative MUVO umass failure o [2005/04/09] usb/79723 usb [usb] prepare for high speed isochronous o [2005/04/09] usb/79725 usb [usb] [patch] USB device speed is not dou o [2005/04/14] usb/79893 usb [umass] [patch] new usbdevs/umass quirks o [2005/04/16] usb/80010 usb [aue] [patch] add support for the AEI USB f [2005/04/27] usb/80420 usb atapicam stops iPod functionality f [2005/05/08] usb/80773 usb "usbd_get_string()" could have taken a le o [2005/05/08] usb/80774 usb have "usbd_find_desc" in line with the ot o [2005/05/08] usb/80776 usb [udav] UDAV device driver shouldn't use u o [2005/05/08] usb/80777 usb usb_rem_task() should wait for callback t o [2005/05/10] usb/80854 usb suggestion for new iface-no-probe mechani o [2005/05/12] usb/80935 usb uvisor.c is not work with CLIE TH55. o [2005/05/15] usb/81073 usb [umass] [patch] fix umass NO_GETMAXLUN qu o [2005/05/18] usb/81191 usb Support for Curitel HX-550C USB modem to f [2005/05/29] usb/81621 usb external hd hangs under load on ehci o [2005/06/20] usb/82436 usb [patch] USL101 Host-to-Host bridge suppor o [2005/07/05] usb/83022 usb ALI USB 2.0 EHCI Controller is not detect o [2005/07/21] usb/83863 usb Communication problem between opensc/open o [2005/08/18] usb/85067 usb Cannot attach ScanJet 4300C to usb device o [2005/09/11] usb/85992 usb [uhid] [patch] USB stops working when try o [2005/09/16] usb/86195 usb [patch] allow USB Ethernet Adaptor "ELECO o [2005/09/18] usb/86298 usb Known good USB mouse won't work with corr o [2005/09/21] usb/86438 usb Fix for non-working iPod over USB is in N o [2005/10/10] usb/87224 usb Cannot mount USB Zip750 o [2005/10/19] usb/87648 usb [mouse] Logitech USB-optical mouse proble o [2005/11/02] usb/88408 usb axe0 read PHY failed o [2005/11/13] usb/88939 usb Fix cheapy Myson USB-IDE adapter f [2005/11/15] usb/89087 usb usb external harddrive hangs with BBB res f [2006/01/01] usb/91191 usb HP LaserJet 1020 (USB printer) not recogn f [2006/01/08] usb/91516 usb [umass] umass0 problems, with Freecom Cla o [2006/01/09] usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone o [2006/01/15] usb/91811 usb Compact Flash in HP Photosmart 2610 retur o [2006/01/17] usb/91896 usb Serial Number of USB Memory Sticks is not o [2006/01/25] usb/92306 usb [quirk] [patch] Support for iRiver U10 US o [2006/01/27] usb/92403 usb [uplcom] uplcom.c needs new entry for 4.0 f [2006/01/28] usb/92462 usb [patch] Add support for Epson CX3500/3600 o [2006/02/05] usb/92852 usb Vertical scroll not working properly on A f [2006/02/08] usb/93011 usb HP ScanJet 6200C & uscanner problem o [2006/02/15] usb/93389 usb Digital Camera Pentax S60 don't work o [2006/02/17] usb/93484 usb [umass] [patch] QUIRK: Toshiba TransMemor o [2006/02/26] usb/93872 usb [patch] SCSI quirk required for ELTA 8061 o [2006/03/06] usb/94132 usb USB QUIRK for CENTURY EX35QUAT disk enclo f [2006/03/06] usb/94147 usb doesn't recognise my USB keyboard o [2006/03/06] usb/94148 usb Make if_cdce work with ARM linux handheld o [2006/03/11] usb/94311 usb [ugen][PATCH] allow interrupt IN transact o [2006/03/14] usb/94439 usb [patch] Add support for JNC MP3 Player o [2006/03/26] usb/94946 usb [uhub][patch] code dynamic status size fo o [2006/03/28] usb/95037 usb USB disk didnt recognized on hot-plug. o [2006/03/31] usb/95173 usb [usb] cannot mount external usb harddisk o [2006/04/02] usb/95241 usb Patch to add USB ID for OEM Pharos 360 GP p [2006/04/11] usb/95616 usb [patch] Add support for USB Acer 640BT sc o [2006/04/15] usb/95803 usb Add support for AnyData ADU-E100H o [2006/04/15] usb/95805 usb Add Support for Siemens ES75 modem o [2006/04/26] usb/96381 usb [patch] add a quirk table entry for a fla o [2006/04/30] usb/96546 usb [usb] [patch] Add support (quirk) for Eas o [2006/05/01] usb/96599 usb [patch] [usb] Sony Handycam DCR-HC32E mem o [2006/05/03] usb/96714 usb Update uvisor to support the Fossil Abacu o [2006/05/07] usb/96901 usb [patch] Add support for X-Micro Flash Dis o [2006/05/12] usb/97175 usb USB cardreader hangs system o [2006/05/18] usb/97472 usb [patch] add support for Olympus C150,D390 o [2006/05/20] usb/97512 usb add Motorola A41x/V32x USB phone support o [2006/05/26] usb/97948 usb [patch] CMOTECH CDMA USB modem support o [2006/06/02] usb/98343 usb BBB reset failed errors with Creative Muv o [2006/06/02] usb/98385 usb [patch] add support for libretto DVD Dock o [2006/06/08] usb/98713 usb QUIRK: Rekam USB Camera o [2006/06/24] usb/99419 usb external usb harddrive slow to accept o [2006/06/27] usb/99538 usb [kbd] while using USB keyboard default pa o [2006/07/07] usb/99887 usb Archos Multimedia Jukebox doesn't work o [2006/07/23] usb/100746 usb [kbd] system does not boot due to USB key o [2006/07/28] usb/100957 usb [usb] [patch] usbdevs entry and uscanner. o [2006/07/30] usb/101043 usb [usbdevs] [patch] Add vendor "Sony Ericss o [2006/07/30] usb/101066 usb Logitech iFeel MouseMan USB - UN53B 112 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jul 31 13:20:18 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8598416A4DF for ; Mon, 31 Jul 2006 13:20:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1555143D5A for ; Mon, 31 Jul 2006 13:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6VDKD8S066326 for ; Mon, 31 Jul 2006 13:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6VDKD76066325; Mon, 31 Jul 2006 13:20:13 GMT (envelope-from gnats) Resent-Date: Mon, 31 Jul 2006 13:20:13 GMT Resent-Message-Id: <200607311320.k6VDKD76066325@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pascal G. Hofstee" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4832216A580 for ; Mon, 31 Jul 2006 13:18:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id F308F43D45 for ; Mon, 31 Jul 2006 13:18:50 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6VDIoiw001648 for ; Mon, 31 Jul 2006 13:18:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6VDIoGN001645; Mon, 31 Jul 2006 13:18:50 GMT (envelope-from nobody) Message-Id: <200607311318.k6VDIoGN001645@www.freebsd.org> Date: Mon, 31 Jul 2006 13:18:50 GMT From: "Pascal G. Hofstee" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/101096: USB WLAN occasionally causes kernel-panics during large downloads 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: Mon, 31 Jul 2006 13:20:18 -0000 >Number: 101096 >Category: usb >Synopsis: USB WLAN occasionally causes kernel-panics during large downloads >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 31 13:20:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Pascal G. Hofstee >Release: FreeBSD/i386 6.1-RELEASE >Organization: >Environment: FreeBSD chekov.ufp.fli4l 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jul 29 19:29:11 CEST 2006 pascal@aragorn.alex:/usr/obj/usr/src/sys/CHEKOV i386 >Description: DUring downloads of large documentrs over my USB WLAN interface (if_ural driver) the system occasionally breaks down because of kernel-panics. Script started on Mon Jul 32 14:59:09 2006 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x4 fault code = supervisor read, page not present instruction pointer = 0x20:0xc077be82 stack pointer = 0x28:0xcc1b1bb4 frame pointer = 0x28:0xcc1b1bd4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 23 (irq10: pcm0 uhci0+) trap number = 12 panic: page fault Uptime: 1d1h7m46s Dumping 255 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 255MB (65276 pages) 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt full #0 doadump () at pcpu.h:165 No locals. #1 0xc06cdbd7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402 first_buf_printf = 1 #2 0xc06cdf19 in panic (fmt=0xc097a0bb "%s") at /usr/src/sys/kern/kern_shutdown.c:558 td = (struct thread *) 0xc253d300 bootopt = 260 newpanic = 0 ap = 0xc253d300 "" buf = "page fault", '\0' #3 0xc092b73c in trap_fatal (frame=0xcc1b1b74, eva=0) at /usr/src/sys/i386/i386/trap.c:836 code = 40 type = 12 ss = 40 esp = 0 softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1} msg = 0x0 #4 0xc092b412 in trap_pfault (frame=0xcc1b1b74, usermode=0, eva=4) at /usr/src/sys/i386/i386/trap.c:744 va = 0 vm = (struct vmspace *) 0x0 map = 0x1 rv = 1 ftype = 1 '\001' td = (struct thread *) 0xc253d300 p = (struct proc *) 0xc260d000 #5 0xc092afad in trap (frame= {tf_fs = -1066598392, tf_es = -1034747864, tf_ds = 40, tf_edi = -1033379840, tf_esi = 0, tf_ebp = -870638636, tf_isp = -870638688, tf_ebx = -1033376556, tf_edx = -1033606400, tf_ecx = -1033699328, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1065894270, tf_cs = 32, tf_eflags = 66182, tf_esp = -1033601280, tf_ss = -1033601248}) at /usr/src/sys/i386/i386/trap.c:434 td = (struct thread *) 0xc253d300 p = (struct proc *) 0xc260d000 sticks = 0 i = 0 ucode = 0 type = 12 code = 0 eva = 4 #6 0xc09174ba in calltrap () at /usr/src/sys/i386/i386/exception.s:139 No locals. #7 0xc077be82 in ieee80211_free_node (ni=0x0) at /usr/src/sys/net80211/ieee80211_node.c:1600 nt = (struct ieee80211_node_table *) 0xc267ecd4 __func__ = "ieee80211_free_node" #8 0xc0638575 in ural_txeof (xfer=0xc2749b00, priv=0xc267ecd4, status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_ural.c:887 data = (struct ural_tx_data *) 0xc267ecd4 sc = (struct ural_softc *) 0xc267e000 ifp = (struct ifnet *) 0xc269dc00 #9 0xc0655b83 in usb_transfer_complete (xfer=0xc2749b00) at /usr/src/sys/dev/usb/usbdi.c:863 pipe = 0xc27c7700 dmap = (usb_dma_t *) 0xc2749b3c sync = 0 erred = 0 repeat = 0 polling = 0 #10 0xc0644f25 in uhci_idone (ii=0x0) at /usr/src/sys/dev/usb/uhci.c:1499 xfer = 0xc2749b00 upipe = (struct uhci_pipe *) 0xc27c7700 std = (uhci_soft_td_t *) 0xc2646b00 status = 0 nstatus = 0 actlen = 120 #11 0xc0644dd8 in uhci_check_intr (sc=0xc2630000, ii=0xc2749b70) at /usr/src/sys/dev/usb/uhci.c:1374 std = (uhci_soft_td_t *) 0xc2630000 lstd = (uhci_soft_td_t *) 0xc2646b00 status = 0 #12 0xc0644cef in uhci_softintr (v=0xc2630000) at /usr/src/sys/dev/usb/uhci.c:1304 sc = (uhci_softc_t *) 0xc2630000 ii = (uhci_intr_info_t *) 0x0 nextii = (uhci_intr_info_t *) 0xc2721970 #13 0xc0652302 in usb_schedsoftintr (bus=0x0) at /usr/src/sys/dev/usb/usb.c:871 No locals. #14 0xc0644c9c in uhci_intr1 (sc=0xc2630000) at /usr/src/sys/dev/usb/uhci.c:1274 status = 1 ack = 1 #15 0xc0644a8d in uhci_intr (arg=0xc2630000) at /usr/src/sys/dev/usb/uhci.c:1189 sc = (uhci_softc_t *) 0xc2646b00 #16 0xc06b34c8 in ithread_execute_handlers (p=0xc260d000, ie=0xc2539800) at /usr/src/sys/kern/kern_intr.c:684 ih = (struct intr_handler *) 0xc262e600 ihn = (struct intr_handler *) 0xc264a8c0 #17 0xc06b3636 in ithread_loop (arg=0xc263b570) at /usr/src/sys/kern/kern_intr.c:767 intr_event = (struct intr_thread *) 0xc263b570 ie = (struct intr_event *) 0xc2539800 td = (struct thread *) 0xc253d300 p = (struct proc *) 0xc260d000 #18 0xc06b1f3f in fork_exit (callout=0xc06b35c0 , arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:805 p = (struct proc *) 0xc260d000 td = (struct thread *) 0xc2646b00 #19 0xc091751c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208 No locals. (kgdb) Script done on Mon Jul 31 14:59:41 2006 >How-To-Repeat: Usually downloading a rather large document through USB WLAN interface triggers the crashes, e.g. diablo-jdk15, firefox etc. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Jul 31 14:32:51 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCD6C16A4DF; Mon, 31 Jul 2006 14:32:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2B7743D45; Mon, 31 Jul 2006 14:32:50 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.217.36.186] (HELO [10.0.0.249]) by mailfe13.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 76434241; Mon, 31 Jul 2006 16:32:47 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 31 Jul 2006 16:32:55 +0200 User-Agent: KMail/1.7 References: <200607311318.k6VDIoGN001645@www.freebsd.org> In-Reply-To: <200607311318.k6VDIoGN001645@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607311632.56603.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, "Pascal G. Hofstee" Subject: Re: usb/101096: USB WLAN occasionally causes kernel-panics during large downloads 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: Mon, 31 Jul 2006 14:32:52 -0000 On Monday 31 July 2006 15:18, Pascal G. Hofstee wrote: > >Number: 101096 > >Category: usb > >Synopsis: USB WLAN occasionally causes kernel-panics during large > > downloads Confidential: no > >Severity: critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Mon Jul 31 13:20:13 GMT 2006 > >Closed-Date: > >Last-Modified: > >Originator: Pascal G. Hofstee > >Release: FreeBSD/i386 6.1-RELEASE > >Organization: > >Environment: > > FreeBSD chekov.ufp.fli4l 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jul 29 > 19:29:11 CEST 2006 pascal@aragorn.alex:/usr/obj/usr/src/sys/CHEKOV > i386 > > >Description: > > DUring downloads of large documentrs over my USB WLAN interface (if_ural > driver) the system occasionally breaks down because of kernel-panics. > > > Script started on Mon Jul 32 14:59:09 2006 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: > Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x4 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc077be82 > stack pointer = 0x28:0xcc1b1bb4 > frame pointer = 0x28:0xcc1b1bd4 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 23 (irq10: pcm0 uhci0+) > trap number = 12 > panic: page fault > Uptime: 1d1h7m46s > Dumping 255 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 255MB (65276 pages) 240 224 208 192 176 160 144 128 112 96 80 64 > 48 32 16 > > #0 doadump () at pcpu.h:165 > 165 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt full > #0 doadump () at pcpu.h:165 > No locals. > #1 0xc06cdbd7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402 > first_buf_printf = 1 > #2 0xc06cdf19 in panic (fmt=0xc097a0bb "%s") > at /usr/src/sys/kern/kern_shutdown.c:558 > td = (struct thread *) 0xc253d300 > bootopt = 260 > newpanic = 0 > ap = 0xc253d300 "" > buf = "page fault", '\0' > #3 0xc092b73c in trap_fatal (frame=0xcc1b1b74, eva=0) > at /usr/src/sys/i386/i386/trap.c:836 > code = 40 > type = 12 > ss = 40 > esp = 0 > softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, > ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, > ssd_gran = 1} > msg = 0x0 > #4 0xc092b412 in trap_pfault (frame=0xcc1b1b74, usermode=0, eva=4) > at /usr/src/sys/i386/i386/trap.c:744 > va = 0 > vm = (struct vmspace *) 0x0 > map = 0x1 > rv = 1 > ftype = 1 '\001' > td = (struct thread *) 0xc253d300 > p = (struct proc *) 0xc260d000 > #5 0xc092afad in trap (frame= > {tf_fs = -1066598392, tf_es = -1034747864, tf_ds = 40, tf_edi = > -1033379840, tf_esi = 0, tf_ebp = -870638636, tf_isp = -870638688, tf_ebx = > -1033376556, tf_edx = -1033606400, tf_ecx = -1033699328, tf_eax = 0, > tf_trapno = 12, tf_err = 0, tf_eip = -1065894270, tf_cs = 32, tf_eflags = > 66182, tf_esp = -1033601280, tf_ss = -1033601248}) at > /usr/src/sys/i386/i386/trap.c:434 td = (struct thread *) 0xc253d300 > p = (struct proc *) 0xc260d000 > sticks = 0 > i = 0 > ucode = 0 > type = 12 > code = 0 > eva = 4 > #6 0xc09174ba in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > No locals. > #7 0xc077be82 in ieee80211_free_node (ni=0x0) > at /usr/src/sys/net80211/ieee80211_node.c:1600 > nt = (struct ieee80211_node_table *) 0xc267ecd4 > __func__ = "ieee80211_free_node" > #8 0xc0638575 in ural_txeof (xfer=0xc2749b00, priv=0xc267ecd4, > status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_ural.c:887 > data = (struct ural_tx_data *) 0xc267ecd4 > sc = (struct ural_softc *) 0xc267e000 > ifp = (struct ifnet *) 0xc269dc00 > #9 0xc0655b83 in usb_transfer_complete (xfer=0xc2749b00) > at /usr/src/sys/dev/usb/usbdi.c:863 > pipe = 0xc27c7700 > dmap = (usb_dma_t *) 0xc2749b3c > sync = 0 > erred = 0 > repeat = 0 > polling = 0 > #10 0xc0644f25 in uhci_idone (ii=0x0) at /usr/src/sys/dev/usb/uhci.c:1499 > xfer = 0xc2749b00 > upipe = (struct uhci_pipe *) 0xc27c7700 > std = (uhci_soft_td_t *) 0xc2646b00 > status = 0 > nstatus = 0 > actlen = 120 > #11 0xc0644dd8 in uhci_check_intr (sc=0xc2630000, ii=0xc2749b70) > at /usr/src/sys/dev/usb/uhci.c:1374 > std = (uhci_soft_td_t *) 0xc2630000 > lstd = (uhci_soft_td_t *) 0xc2646b00 > status = 0 > #12 0xc0644cef in uhci_softintr (v=0xc2630000) > at /usr/src/sys/dev/usb/uhci.c:1304 > sc = (uhci_softc_t *) 0xc2630000 > ii = (uhci_intr_info_t *) 0x0 > nextii = (uhci_intr_info_t *) 0xc2721970 > #13 0xc0652302 in usb_schedsoftintr (bus=0x0) > at /usr/src/sys/dev/usb/usb.c:871 > No locals. > #14 0xc0644c9c in uhci_intr1 (sc=0xc2630000) > at /usr/src/sys/dev/usb/uhci.c:1274 > status = 1 > ack = 1 > #15 0xc0644a8d in uhci_intr (arg=0xc2630000) > at /usr/src/sys/dev/usb/uhci.c:1189 > sc = (uhci_softc_t *) 0xc2646b00 > #16 0xc06b34c8 in ithread_execute_handlers (p=0xc260d000, ie=0xc2539800) > at /usr/src/sys/kern/kern_intr.c:684 > ih = (struct intr_handler *) 0xc262e600 > ihn = (struct intr_handler *) 0xc264a8c0 > #17 0xc06b3636 in ithread_loop (arg=0xc263b570) > at /usr/src/sys/kern/kern_intr.c:767 > intr_event = (struct intr_thread *) 0xc263b570 > ie = (struct intr_event *) 0xc2539800 > td = (struct thread *) 0xc253d300 > p = (struct proc *) 0xc260d000 > #18 0xc06b1f3f in fork_exit (callout=0xc06b35c0 , arg=0x0, > frame=0x0) at /usr/src/sys/kern/kern_fork.c:805 > p = (struct proc *) 0xc260d000 > td = (struct thread *) 0xc2646b00 > #19 0xc091751c in fork_trampoline () at > /usr/src/sys/i386/i386/exception.s:208 No locals. > (kgdb) > Script done on Mon Jul 31 14:59:41 2006 > > >How-To-Repeat: > > Usually downloading a rather large document through USB WLAN interface > triggers the crashes, e.g. diablo-jdk15, firefox etc. > Hi, I think the new "if_ural" has this problem fixed, and a couple of others. Could you have tried the following: I recommend that you fetch all files from SVN. The SVN port is available from /usr/ports/devel/subversion . After Subversion is installed you run: svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install Follow the "make help" instructions. It might be a good idea to build all kernel modules. Before you build the kernel copy the following files into "/usr/src/sys/dev/usb/": i4b/trunk/i4b/src/sys/dev/usb/if_ural.c i4b/trunk/i4b/src/sys/dev/usb/if_uralreg.h i4b/trunk/i4b/src/sys/dev/usb/if_uralvar.h NOTE: the kernel build will most likely fail, unless you are using FreeBSD-7-current. If it fails because there are missing product ID defines, then just remove these lines from the "ural_devs" structure in "if_ural.c". If it fails because "IEEE80211_FEXT_SWBMISS" is not defined, then change the failing code to something like this: #ifdef IEEE80211_FEXT_SWBMISS /* enable SW bmiss handling in sta mode */ ic->ic_flags_ext |= IEEE80211_FEXT_SWBMISS; #endif Else please report the error, if you cannot resolve it. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jul 31 14:40:24 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECEBC16A4DE for ; Mon, 31 Jul 2006 14:40:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C83143D45 for ; Mon, 31 Jul 2006 14:40:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6VEeNnu075958 for ; Mon, 31 Jul 2006 14:40:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6VEeNGI075957; Mon, 31 Jul 2006 14:40:23 GMT (envelope-from gnats) Date: Mon, 31 Jul 2006 14:40:23 GMT Message-Id: <200607311440.k6VEeNGI075957@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/101096: USB WLAN occasionally causes kernel-panics during large downloads X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 14:40:24 -0000 The following reply was made to PR usb/101096; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: "Pascal G. Hofstee" , freebsd-gnats-submit@freebsd.org Subject: Re: usb/101096: USB WLAN occasionally causes kernel-panics during large downloads Date: Mon, 31 Jul 2006 16:32:55 +0200 On Monday 31 July 2006 15:18, Pascal G. Hofstee wrote: > >Number: 101096 > >Category: usb > >Synopsis: USB WLAN occasionally causes kernel-panics during large > > downloads Confidential: no > >Severity: critical > >Priority: medium > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Mon Jul 31 13:20:13 GMT 2006 > >Closed-Date: > >Last-Modified: > >Originator: Pascal G. Hofstee > >Release: FreeBSD/i386 6.1-RELEASE > >Organization: > >Environment: > > FreeBSD chekov.ufp.fli4l 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat Jul 29 > 19:29:11 CEST 2006 pascal@aragorn.alex:/usr/obj/usr/src/sys/CHEKOV > i386 > > >Description: > > DUring downloads of large documentrs over my USB WLAN interface (if_ural > driver) the system occasionally breaks down because of kernel-panics. > > > Script started on Mon Jul 32 14:59:09 2006 > [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: > Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd". > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x4 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc077be82 > stack pointer = 0x28:0xcc1b1bb4 > frame pointer = 0x28:0xcc1b1bd4 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 23 (irq10: pcm0 uhci0+) > trap number = 12 > panic: page fault > Uptime: 1d1h7m46s > Dumping 255 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 255MB (65276 pages) 240 224 208 192 176 160 144 128 112 96 80 64 > 48 32 16 > > #0 doadump () at pcpu.h:165 > 165 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt full > #0 doadump () at pcpu.h:165 > No locals. > #1 0xc06cdbd7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402 > first_buf_printf = 1 > #2 0xc06cdf19 in panic (fmt=0xc097a0bb "%s") > at /usr/src/sys/kern/kern_shutdown.c:558 > td = (struct thread *) 0xc253d300 > bootopt = 260 > newpanic = 0 > ap = 0xc253d300 "" > buf = "page fault", '\0' > #3 0xc092b73c in trap_fatal (frame=0xcc1b1b74, eva=0) > at /usr/src/sys/i386/i386/trap.c:836 > code = 40 > type = 12 > ss = 40 > esp = 0 > softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, > ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, > ssd_gran = 1} > msg = 0x0 > #4 0xc092b412 in trap_pfault (frame=0xcc1b1b74, usermode=0, eva=4) > at /usr/src/sys/i386/i386/trap.c:744 > va = 0 > vm = (struct vmspace *) 0x0 > map = 0x1 > rv = 1 > ftype = 1 '\001' > td = (struct thread *) 0xc253d300 > p = (struct proc *) 0xc260d000 > #5 0xc092afad in trap (frame= > {tf_fs = -1066598392, tf_es = -1034747864, tf_ds = 40, tf_edi = > -1033379840, tf_esi = 0, tf_ebp = -870638636, tf_isp = -870638688, tf_ebx = > -1033376556, tf_edx = -1033606400, tf_ecx = -1033699328, tf_eax = 0, > tf_trapno = 12, tf_err = 0, tf_eip = -1065894270, tf_cs = 32, tf_eflags = > 66182, tf_esp = -1033601280, tf_ss = -1033601248}) at > /usr/src/sys/i386/i386/trap.c:434 td = (struct thread *) 0xc253d300 > p = (struct proc *) 0xc260d000 > sticks = 0 > i = 0 > ucode = 0 > type = 12 > code = 0 > eva = 4 > #6 0xc09174ba in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > No locals. > #7 0xc077be82 in ieee80211_free_node (ni=0x0) > at /usr/src/sys/net80211/ieee80211_node.c:1600 > nt = (struct ieee80211_node_table *) 0xc267ecd4 > __func__ = "ieee80211_free_node" > #8 0xc0638575 in ural_txeof (xfer=0xc2749b00, priv=0xc267ecd4, > status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_ural.c:887 > data = (struct ural_tx_data *) 0xc267ecd4 > sc = (struct ural_softc *) 0xc267e000 > ifp = (struct ifnet *) 0xc269dc00 > #9 0xc0655b83 in usb_transfer_complete (xfer=0xc2749b00) > at /usr/src/sys/dev/usb/usbdi.c:863 > pipe = 0xc27c7700 > dmap = (usb_dma_t *) 0xc2749b3c > sync = 0 > erred = 0 > repeat = 0 > polling = 0 > #10 0xc0644f25 in uhci_idone (ii=0x0) at /usr/src/sys/dev/usb/uhci.c:1499 > xfer = 0xc2749b00 > upipe = (struct uhci_pipe *) 0xc27c7700 > std = (uhci_soft_td_t *) 0xc2646b00 > status = 0 > nstatus = 0 > actlen = 120 > #11 0xc0644dd8 in uhci_check_intr (sc=0xc2630000, ii=0xc2749b70) > at /usr/src/sys/dev/usb/uhci.c:1374 > std = (uhci_soft_td_t *) 0xc2630000 > lstd = (uhci_soft_td_t *) 0xc2646b00 > status = 0 > #12 0xc0644cef in uhci_softintr (v=0xc2630000) > at /usr/src/sys/dev/usb/uhci.c:1304 > sc = (uhci_softc_t *) 0xc2630000 > ii = (uhci_intr_info_t *) 0x0 > nextii = (uhci_intr_info_t *) 0xc2721970 > #13 0xc0652302 in usb_schedsoftintr (bus=0x0) > at /usr/src/sys/dev/usb/usb.c:871 > No locals. > #14 0xc0644c9c in uhci_intr1 (sc=0xc2630000) > at /usr/src/sys/dev/usb/uhci.c:1274 > status = 1 > ack = 1 > #15 0xc0644a8d in uhci_intr (arg=0xc2630000) > at /usr/src/sys/dev/usb/uhci.c:1189 > sc = (uhci_softc_t *) 0xc2646b00 > #16 0xc06b34c8 in ithread_execute_handlers (p=0xc260d000, ie=0xc2539800) > at /usr/src/sys/kern/kern_intr.c:684 > ih = (struct intr_handler *) 0xc262e600 > ihn = (struct intr_handler *) 0xc264a8c0 > #17 0xc06b3636 in ithread_loop (arg=0xc263b570) > at /usr/src/sys/kern/kern_intr.c:767 > intr_event = (struct intr_thread *) 0xc263b570 > ie = (struct intr_event *) 0xc2539800 > td = (struct thread *) 0xc253d300 > p = (struct proc *) 0xc260d000 > #18 0xc06b1f3f in fork_exit (callout=0xc06b35c0 , arg=0x0, > frame=0x0) at /usr/src/sys/kern/kern_fork.c:805 > p = (struct proc *) 0xc260d000 > td = (struct thread *) 0xc2646b00 > #19 0xc091751c in fork_trampoline () at > /usr/src/sys/i386/i386/exception.s:208 No locals. > (kgdb) > Script done on Mon Jul 31 14:59:41 2006 > > >How-To-Repeat: > > Usually downloading a rather large document through USB WLAN interface > triggers the crashes, e.g. diablo-jdk15, firefox etc. > Hi, I think the new "if_ural" has this problem fixed, and a couple of others. Could you have tried the following: I recommend that you fetch all files from SVN. The SVN port is available from /usr/ports/devel/subversion . After Subversion is installed you run: svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/FreeBSD.usb make S=../src package make install Follow the "make help" instructions. It might be a good idea to build all kernel modules. Before you build the kernel copy the following files into "/usr/src/sys/dev/usb/": i4b/trunk/i4b/src/sys/dev/usb/if_ural.c i4b/trunk/i4b/src/sys/dev/usb/if_uralreg.h i4b/trunk/i4b/src/sys/dev/usb/if_uralvar.h NOTE: the kernel build will most likely fail, unless you are using FreeBSD-7-current. If it fails because there are missing product ID defines, then just remove these lines from the "ural_devs" structure in "if_ural.c". If it fails because "IEEE80211_FEXT_SWBMISS" is not defined, then change the failing code to something like this: #ifdef IEEE80211_FEXT_SWBMISS /* enable SW bmiss handling in sta mode */ ic->ic_flags_ext |= IEEE80211_FEXT_SWBMISS; #endif Else please report the error, if you cannot resolve it. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jul 31 21:57:29 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E85016A4DD for ; Mon, 31 Jul 2006 21:57:29 +0000 (UTC) (envelope-from caelian@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8638B43D45 for ; Mon, 31 Jul 2006 21:57:28 +0000 (GMT) (envelope-from caelian@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so42678nfc for ; Mon, 31 Jul 2006 14:57:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=fgpAR+JH1l/BUVEsMzZlRdehhU+cNotTjYygcghLx8F+QPon0uj8Tu/rEoBU/L6kZtX7iinF3PYuwWe9avFcAKvDdLuFhaAikfGiZlwAo/iRsgxVXnVAe7K8vnkRDrQ89rgOxrz5zpyqzT2yakuuN+uENoxiWjuzdQisdO/9jcc= Received: by 10.49.8.1 with SMTP id l1mr2368nfi; Mon, 31 Jul 2006 14:57:27 -0700 (PDT) Received: from ?192.168.0.9? ( [84.129.224.231]) by mx.gmail.com with ESMTP id l21sm100298nfc.2006.07.31.14.57.26; Mon, 31 Jul 2006 14:57:27 -0700 (PDT) From: "Pascal G. Hofstee" To: Hans Petter Selasky In-Reply-To: <200607311632.56603.hselasky@c2i.net> References: <200607311318.k6VDIoGN001645@www.freebsd.org> <200607311632.56603.hselasky@c2i.net> Content-Type: text/plain Date: Mon, 31 Jul 2006 23:57:18 +0200 Message-Id: <1154383043.2466.3.camel@chekov.ufp.fli4l> Mime-Version: 1.0 X-Mailer: Evolution 2.7.90 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/101096: USB WLAN occasionally causes kernel-panics during large downloads 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: Mon, 31 Jul 2006 21:57:29 -0000 On Mon, 2006-07-31 at 16:32 +0200, Hans Petter Selasky wrote: > Hi, > > I think the new "if_ural" has this problem fixed, and a couple of others. > Could you have tried the following: > > I recommend that you fetch all files from SVN. The SVN port is available from > /usr/ports/devel/subversion . After Subversion is installed you run: > > svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b > > cd i4b/trunk/i4b/FreeBSD.usb > > make S=../src package > make install > > Follow the "make help" instructions. > > It might be a good idea to build all kernel modules. > > Before you build the kernel copy the following files into > "/usr/src/sys/dev/usb/": > > i4b/trunk/i4b/src/sys/dev/usb/if_ural.c > i4b/trunk/i4b/src/sys/dev/usb/if_uralreg.h > i4b/trunk/i4b/src/sys/dev/usb/if_uralvar.h > > NOTE: the kernel build will most likely fail, unless you are using > FreeBSD-7-current. If it fails because there are missing product ID defines, > then just remove these lines from the "ural_devs" structure in "if_ural.c". If > it fails because "IEEE80211_FEXT_SWBMISS" is not defined, then change the > failing code to something like this: > > #ifdef IEEE80211_FEXT_SWBMISS > /* enable SW bmiss handling in sta mode */ > ic->ic_flags_ext |= IEEE80211_FEXT_SWBMISS; > #endif > > Else please report the error, if you cannot resolve it. Well .. i had already updated my source-tree to RELENG_6 so i decided to follow the instructions provided and built/installed world and kernel entirely and am now on 6.1-STABLE. The kernel did build without problems ... however upon booting the new kernel i now get boatloads of acpi failure messages acpi: bad write to port 0xcf8 (32), val 0x80002084 acpi: bad read from port 0xcfc (32) The system does come up fully multi-user and appears to work normally though. I'll keep an eye out to see if the kernel panics are now resolved. -- Pascal Hofstee From owner-freebsd-usb@FreeBSD.ORG Mon Jul 31 22:00:40 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E44BC16A4DA for ; Mon, 31 Jul 2006 22:00:40 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7271643D4C for ; Mon, 31 Jul 2006 22:00:40 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6VM0eA3016736 for ; Mon, 31 Jul 2006 22:00:40 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6VM0eki016734; Mon, 31 Jul 2006 22:00:40 GMT (envelope-from gnats) Date: Mon, 31 Jul 2006 22:00:40 GMT Message-Id: <200607312200.k6VM0eki016734@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Pascal G. Hofstee" Cc: Subject: Re: usb/101096: USB WLAN occasionally causes kernel-panics during large downloads X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Pascal G. Hofstee" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 22:00:41 -0000 The following reply was made to PR usb/101096; it has been noted by GNATS. From: "Pascal G. Hofstee" To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/101096: USB WLAN occasionally causes kernel-panics during large downloads Date: Mon, 31 Jul 2006 23:57:18 +0200 On Mon, 2006-07-31 at 16:32 +0200, Hans Petter Selasky wrote: > Hi, > > I think the new "if_ural" has this problem fixed, and a couple of others. > Could you have tried the following: > > I recommend that you fetch all files from SVN. The SVN port is available from > /usr/ports/devel/subversion . After Subversion is installed you run: > > svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b > > cd i4b/trunk/i4b/FreeBSD.usb > > make S=../src package > make install > > Follow the "make help" instructions. > > It might be a good idea to build all kernel modules. > > Before you build the kernel copy the following files into > "/usr/src/sys/dev/usb/": > > i4b/trunk/i4b/src/sys/dev/usb/if_ural.c > i4b/trunk/i4b/src/sys/dev/usb/if_uralreg.h > i4b/trunk/i4b/src/sys/dev/usb/if_uralvar.h > > NOTE: the kernel build will most likely fail, unless you are using > FreeBSD-7-current. If it fails because there are missing product ID defines, > then just remove these lines from the "ural_devs" structure in "if_ural.c". If > it fails because "IEEE80211_FEXT_SWBMISS" is not defined, then change the > failing code to something like this: > > #ifdef IEEE80211_FEXT_SWBMISS > /* enable SW bmiss handling in sta mode */ > ic->ic_flags_ext |= IEEE80211_FEXT_SWBMISS; > #endif > > Else please report the error, if you cannot resolve it. Well .. i had already updated my source-tree to RELENG_6 so i decided to follow the instructions provided and built/installed world and kernel entirely and am now on 6.1-STABLE. The kernel did build without problems ... however upon booting the new kernel i now get boatloads of acpi failure messages acpi: bad write to port 0xcf8 (32), val 0x80002084 acpi: bad read from port 0xcfc (32) The system does come up fully multi-user and appears to work normally though. I'll keep an eye out to see if the kernel panics are now resolved. -- Pascal Hofstee From owner-freebsd-usb@FreeBSD.ORG Fri Aug 4 07:39:15 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 824A116A4E0 for ; Fri, 4 Aug 2006 07:39:15 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id C971B43D46 for ; Fri, 4 Aug 2006 07:39:14 +0000 (GMT) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id n15so1350044nfc for ; Fri, 04 Aug 2006 00:39:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=fhM0GI3j2lpFavZqf9fL1k5xmzvWsfD3VLuGRYNiLnr6WT83SpWPQjgLlSDsFEGQHzXDC8djecjjGAjc6knEqD4zU3w0fmXaMFeltQ6vg+RQRp2tUGwUkMpKGK/jVA9pJDE0AswekPbAuo0VXYFjHlXeXSB+eO8BWBMpjs6bbPQ= Received: by 10.49.10.3 with SMTP id n3mr4929074nfi; Fri, 04 Aug 2006 00:39:13 -0700 (PDT) Received: from ?131.155.68.207? ( [131.155.68.207]) by mx.gmail.com with ESMTP id l27sm2167646nfa.2006.08.04.00.39.12; Fri, 04 Aug 2006 00:39:13 -0700 (PDT) Message-ID: <44D2F99D.80306@gmail.com> Date: Fri, 04 Aug 2006 09:39:09 +0200 From: Rene Ladan User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Konrad.Jankowski@master.ether.net References: <200608031759.k73Hxi40002311@master.ether.net> In-Reply-To: <200608031759.k73Hxi40002311@master.ether.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: libusb-devel@lists.sourceforge.net, freebsd-usb@freebsd.org Subject: Re: [Libusb-devel] [PATCH] FreeBSD fix for usb_control_msg() 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: Fri, 04 Aug 2006 07:39:15 -0000 Konrad.Jankowski@master.ether.net schreef: > I don't know how Net- or Open- handle this, but > FreeBSD returns the number of transmited bytes in > req.ucr_actlen, not in req.ucr_request.wLength. > (/usr/include/dev/usb/usb.h:544: > int ucr_actlen; /* actual length transferred */ > > So then: > --- bsd.c Sat Mar 4 03:52:46 2006 > +++ ../../bsd.c Thu Aug 3 19:19:15 2006 > @@ -476,8 +476,11 @@ > if (ret < 0) > USB_ERROR_STR(-errno, "error sending control message: %s", > strerror(errno)); > - > +#ifdef __FreeBSD_kernel__ > + return req.ucr_actlen; > +#else > return UGETW(req.ucr_request.wLength); > +#endif > } > > int usb_os_find_busses(struct usb_bus **busses) > This seems correct, wLength is a uWord defined in usb_device_request_t (usb/usb.h:112). usb_device_request_t is included in usb_ctl_request (usb/usb.h:542), which is the structure in which ucr_actlen (int) is defined (usb/usb.h:546) I am cc'ing freebsd-usb@ since I'm not sure about this patch... Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-usb@FreeBSD.ORG Sat Aug 5 09:52:28 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C00F16A4DE for ; Sat, 5 Aug 2006 09:52:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9472443D4C for ; Sat, 5 Aug 2006 09:52:27 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.216.120.137] (HELO [10.0.0.249]) by mailfe03.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 254986270 for freebsd-usb@freebsd.org; Sat, 05 Aug 2006 11:52:25 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 5 Aug 2006 11:52:34 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608051152.35219.hselasky@c2i.net> Subject: Testers wanted (again) 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: Sat, 05 Aug 2006 09:52:28 -0000 Hi, I need testers for "ata-usb.c" and "if_aue.c". If you have such a device please install subversion, "/usr/ports/devel/subversion", and then run the following commands: svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b cd i4b/trunk/i4b/FreeBSD.usb make S=../src package # you can specify a destination directory, XXX, by using "make S=XXX install" make install Then copy the following files to "/usr/src/sys/dev/ata" (for example) i4b/trunk/i4b/src/sys/dev/ata/ata-usb.c Then copy the following files to "/usr/src/sys/dev/usb" (for example) i4b/trunk/i4b/src/sys/dev/usb/if_aue.c i4b/trunk/i4b/src/sys/dev/usb/if_auereg.h Compile a new kernel with modules. Hope it works. You need FreeBSD 6 or 7. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 5 14:44:25 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19F0416A4DF for ; Sat, 5 Aug 2006 14:44:25 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C110B43D46 for ; Sat, 5 Aug 2006 14:44:24 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.186.106]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J3J00DCA4XS9795@vms042.mailsrvcs.net> for freebsd-usb@freebsd.org; Sat, 05 Aug 2006 09:44:18 -0500 (CDT) Date: Sat, 05 Aug 2006 10:43:55 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <200608051152.35219.hselasky@c2i.net> To: Hans Petter Selasky Message-id: <1154789035.947.14.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <200608051152.35219.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Testers wanted (again) 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: Sat, 05 Aug 2006 14:44:25 -0000 On Sat, 2006-08-05 at 11:52 +0200, Hans Petter Selasky wrote: > Hi, > > I need testers for "ata-usb.c" and "if_aue.c". If you have such a device > please install subversion, "/usr/ports/devel/subversion", and then run the > following commands: > > svn --username anonsvn --password anonsvn checkout svn://svn.turbocat.net/i4b > > cd i4b/trunk/i4b/FreeBSD.usb > > make S=../src package > > # you can specify a destination directory, XXX, by using "make S=XXX install" > > make install > > Then copy the following files to > "/usr/src/sys/dev/ata" (for example) > > i4b/trunk/i4b/src/sys/dev/ata/ata-usb.c > > Then copy the following files to > "/usr/src/sys/dev/usb" (for example) > > i4b/trunk/i4b/src/sys/dev/usb/if_aue.c > i4b/trunk/i4b/src/sys/dev/usb/if_auereg.h > > Compile a new kernel with modules. > > Hope it works. > > You need FreeBSD 6 or 7. > > --HPS First, the disclaimer: this device normally would wedge my laptop solid and has been doing it for as long as I had it. With your stack it reports timeouts, but proceeds albeit at the very slow pace. Full dmesg is available at http://members.verizon.net/~akovalenko/Misc/messages relevant pieces are below: Aug 5 10:02:31 RabbitsDen kernel: FreeBSD 7.0-CURRENT #1: Sat Aug 5 08:49:20 EDT 2006 ... Aug 5 10:03:17 RabbitsDen kernel: uhci0: port 0xe400-0xe41f at device 16.0 on pci0 Aug 5 10:03:17 RabbitsDen kernel: usb0: on uhci0 Aug 5 10:03:17 RabbitsDen kernel: uhci1: port 0xe800-0xe81f at device 16.1 on pci0 Aug 5 10:03:17 RabbitsDen kernel: usb1: on uhci1 Aug 5 10:03:17 RabbitsDen kernel: uhci2: port 0xec00-0xec1f at device 16.2 on pci0 Aug 5 10:03:17 RabbitsDen kernel: usb2: on uhci2 Aug 5 10:03:17 RabbitsDen kernel: ehci0: mem 0xdfffff00-0xdfffffff at device 16.3 on pci0Aug 5 10:03:17 RabbitsDen kernel: usb3: EHCI version 1.0 Aug 5 10:03:17 RabbitsDen kernel: usb3: on ehci0 Aug 5 10:03:17 RabbitsDen kernel: usb0: USB revision 1.0 Aug 5 10:03:17 RabbitsDen kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 127 Aug 5 10:03:17 RabbitsDen kernel: uhub0: 2 ports with 2 removable, self powered Aug 5 10:03:17 RabbitsDen kernel: usb1: USB revision 1.0 Aug 5 10:03:18 RabbitsDen kernel: uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 127 Aug 5 10:03:18 RabbitsDen kernel: uhub1: 2 ports with 2 removable, self powered Aug 5 10:03:18 RabbitsDen kernel: usb2: USB revision 1.0 Aug 5 10:03:18 RabbitsDen kernel: uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 127 Aug 5 10:03:18 RabbitsDen kernel: uhub2: 2 ports with 2 removable, self powered Aug 5 10:03:18 RabbitsDen kernel: usb3: USB revision 2.0 Aug 5 10:03:21 RabbitsDen kernel: uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 127 Aug 5 10:03:21 RabbitsDen kernel: uhub3: 6 ports with 6 removable, self powered Aug 5 10:08:17 RabbitsDen kernel: umass0: SCSI over Bulk-Only; quirks = 0x008c Aug 5 10:08:17 RabbitsDen kernel: umass0:0:0:-1: Attached to scbus0 Aug 5 10:08:18 RabbitsDen kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Aug 5 10:08:18 RabbitsDen kernel: da0: Fixed Direct Access SCSI-0 device Aug 5 10:08:18 RabbitsDen kernel: da0: 40.000MB/s transfers Aug 5 10:08:18 RabbitsDen kernel: da0: 28615MB (58605120 512 byte sectors: 255H 63S/T 3648C) A ... Aug 5 10:16:06 RabbitsDen kernel: umass0: BBB bulk-in clear stall failed, USBD_TIMEOUT Aug 5 10:16:53 RabbitsDen kernel: umass0: BBB bulk-in clear stall failed, USBD_TIMEOUT ... Now, interesting thing is -- when I ran devinfo -t /dev/da0 there were visible stalls, but no USBD_TIMEOUT messages were reported. These started to appear when I did fsck /dev/da0s2a Kernel configuration is available at http://members.verizon.net/~akovalenko/Misc/AVERATEC If there is anything, I can turn on or look into, please, let me know. -- Alexandre Kovalenko (Олександр Коваленко) From owner-freebsd-usb@FreeBSD.ORG Sat Aug 5 15:45:56 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1DFB16A4DA for ; Sat, 5 Aug 2006 15:45:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4999543D53 for ; Sat, 5 Aug 2006 15:45:55 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.216.121.231] (HELO [10.0.0.249]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 228564943; Sat, 05 Aug 2006 17:45:53 +0200 From: Hans Petter Selasky To: "Alexandre \"Sunny\" Kovalenko" Date: Sat, 5 Aug 2006 17:46:02 +0200 User-Agent: KMail/1.7 References: <200608051152.35219.hselasky@c2i.net> <1154789035.947.14.camel@RabbitsDen> In-Reply-To: <1154789035.947.14.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608051746.03387.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Testers wanted (again) 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: Sat, 05 Aug 2006 15:45:56 -0000 Hi Alexandre, On Saturday 05 August 2006 16:43, Alexandre "Sunny" Kovalenko wrote: > On Sat, 2006-08-05 at 11:52 +0200, Hans Petter Selasky wrote: > > Hi, > > > > I need testers for "ata-usb.c" and "if_aue.c". If you have such a device > > please install subversion, "/usr/ports/devel/subversion", and then run > > the following commands: > > ... > > First, the disclaimer: this device normally would wedge my laptop solid > and has been doing it for as long as I had it. With your stack it > reports timeouts, but proceeds albeit at the very slow pace. > ... > If there is anything, I can turn on or look into, please, let me know. If you can wait till Christmas, there will be a rewritten "umass" driver. Maybe you can test again then. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 5 17:40:21 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E7F116A4DA for ; Sat, 5 Aug 2006 17:40:21 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C42E43D46 for ; Sat, 5 Aug 2006 17:40:21 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.186.106]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J3J00DX0D369A15@vms042.mailsrvcs.net> for freebsd-usb@freebsd.org; Sat, 05 Aug 2006 12:40:18 -0500 (CDT) Date: Sat, 05 Aug 2006 13:39:55 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <200608051746.03387.hselasky@c2i.net> To: Hans Petter Selasky Message-id: <1154799595.947.18.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <200608051152.35219.hselasky@c2i.net> <1154789035.947.14.camel@RabbitsDen> <200608051746.03387.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Testers wanted (again) 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: Sat, 05 Aug 2006 17:40:21 -0000 On Sat, 2006-08-05 at 17:46 +0200, Hans Petter Selasky wrote: > Hi Alexandre, > > On Saturday 05 August 2006 16:43, Alexandre "Sunny" Kovalenko wrote: > > On Sat, 2006-08-05 at 11:52 +0200, Hans Petter Selasky wrote: > > > Hi, > > > > > > I need testers for "ata-usb.c" and "if_aue.c". If you have such a device > > > please install subversion, "/usr/ports/devel/subversion", and then run > > > the following commands: > > > > > ... > > > > > First, the disclaimer: this device normally would wedge my laptop solid > > and has been doing it for as long as I had it. With your stack it > > reports timeouts, but proceeds albeit at the very slow pace. > > > > ... > > > If there is anything, I can turn on or look into, please, let me know. > > If you can wait till Christmas, there will be a rewritten "umass" driver. > Maybe you can test again then. > > --HPS I can certainly wait until Christmas. Just for my education -- what kind of devices did you want tested? -- Alexandre Kovalenko (Олександр Коваленко) From owner-freebsd-usb@FreeBSD.ORG Sat Aug 5 18:56:49 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E85FB16A4DA for ; Sat, 5 Aug 2006 18:56:49 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3334243D4C for ; Sat, 5 Aug 2006 18:56:48 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.217.133.106] (HELO [10.0.0.249]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 228640997; Sat, 05 Aug 2006 20:56:47 +0200 From: Hans Petter Selasky To: "Alexandre \"Sunny\" Kovalenko" Date: Sat, 5 Aug 2006 20:56:53 +0200 User-Agent: KMail/1.7 References: <200608051152.35219.hselasky@c2i.net> <200608051746.03387.hselasky@c2i.net> <1154799595.947.18.camel@RabbitsDen> In-Reply-To: <1154799595.947.18.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608052056.56407.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Testers wanted (again) 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: Sat, 05 Aug 2006 18:56:50 -0000 On Saturday 05 August 2006 19:39, Alexandre "Sunny" Kovalenko wrote: > On Sat, 2006-08-05 at 17:46 +0200, Hans Petter Selasky wrote: > > Hi Alexandre, > > > > On Saturday 05 August 2006 16:43, Alexandre "Sunny" Kovalenko wrote: > > > On Sat, 2006-08-05 at 11:52 +0200, Hans Petter Selasky wrote: > > > > Hi, > > > > > > > > I need testers for "ata-usb.c" and "if_aue.c". If you have such a > > > > device please install subversion, "/usr/ports/devel/subversion", and > > > > then run the following commands: > > > > ... > > > > > First, the disclaimer: this device normally would wedge my laptop solid > > > and has been doing it for as long as I had it. With your stack it > > > reports timeouts, but proceeds albeit at the very slow pace. > > > > ... > > > > > If there is anything, I can turn on or look into, please, let me know. > > > > If you can wait till Christmas, there will be a rewritten "umass" driver. > > Maybe you can test again then. > > > > --HPS > > I can certainly wait until Christmas. Just for my education -- what kind > of devices did you want tested? Today, just ADMtek AN986 Pegasus USB Ethernet devices and IDE mass storage devices, not "device umass", but "device atausb". But if you want, you can test USB functionality in general. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 5 23:11:16 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84AE116A4DA for ; Sat, 5 Aug 2006 23:11:16 +0000 (UTC) (envelope-from indigo23@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id E768143D46 for ; Sat, 5 Aug 2006 23:11:15 +0000 (GMT) (envelope-from indigo23@gmail.com) Received: by nf-out-0910.google.com with SMTP id g2so886457nfe for ; Sat, 05 Aug 2006 16:11:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LFN5+fuE358JKymxS8vflWVrXuPlszqxjJ+Z/gCoy8xYmpsrbxIkj7XVrzb0W4lTIt83iDE2kPqbgC06x+FkjOibU+tTOjO55ixwwXuEYiSYvoXNOHCSySmzuEV9DTtbA2jgP6qJGAaE3PsxYHJLuoE3zDxCaLKx9pyigAmU7fU= Received: by 10.49.29.3 with SMTP id g3mr6948225nfj; Sat, 05 Aug 2006 16:11:14 -0700 (PDT) Received: by 10.48.238.17 with HTTP; Sat, 5 Aug 2006 16:11:14 -0700 (PDT) Message-ID: <6f50eac40608051611n7744a00cy79eeae6d8f83cc92@mail.gmail.com> Date: Sat, 5 Aug 2006 19:11:14 -0400 From: "Indigo 23" To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Problems with Mitsumi 7-in-1 USB Card Reader/Floppy combo 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: Sat, 05 Aug 2006 23:11:16 -0000 Hello. I recently hooked up a Mitsumi 7-in-1 USB Card Reader/Floppy drive to my computer and ever since then, I cannot boot FreeBSD. I have an ASUS P5ND2-SLI motherboard (nForce 4), and the card reader is hooked up to the internal USB on the motherboard itself. Also, my machine has a dual core processor, therefore SMP is enabled in my kernel. When I try booting (from hard drive or install disc), I get the following error: "panic: ohci_add_done: addr 0x000d1c40 not found cpuid=0" After that error, all I can do is reboot. Also, of importance to note, if I disconnect the card reader, I can boot fine. I am not subscribed to this mailing list, so please CC all replies to my address. Thanks. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 5 23:20:19 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5ED2A16A4DE for ; Sat, 5 Aug 2006 23:20:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC5D43D45 for ; Sat, 5 Aug 2006 23:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k75NKIHM000990 for ; Sat, 5 Aug 2006 23:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k75NKIeM000989; Sat, 5 Aug 2006 23:20:18 GMT (envelope-from gnats) Date: Sat, 5 Aug 2006 23:20:18 GMT Message-Id: <200608052320.k75NKIeM000989@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: John Nielsen Cc: Subject: Re: usb/74880: [usb] [patch] Samsung N400 cellphone/acm fails to atach properly X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Nielsen List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 23:20:19 -0000 The following reply was made to PR usb/74880; it has been noted by GNATS. From: John Nielsen To: bug-followup@freebsd.org, jolly@thecoffinclub.com Cc: Subject: Re: usb/74880: [usb] [patch] Samsung N400 cellphone/acm fails to atach properly Date: Sat, 5 Aug 2006 19:19:51 -0400 This patch also allows my Samsung SPH-A660 to attach properly. Testing with cu works fine. Now if only gnokii or similar could actually do anything useful with it... :) It should work for data access over ppp, though. JN