From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 12:50:25 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6948B10656A5 for ; Sun, 9 Aug 2009 12:50:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3ED988FC23 for ; Sun, 9 Aug 2009 12:50:25 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n79CoPPk056397 for ; Sun, 9 Aug 2009 12:50:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n79CoPnt056393; Sun, 9 Aug 2009 12:50:25 GMT (envelope-from gnats) Date: Sun, 9 Aug 2009 12:50:25 GMT Message-Id: <200908091250.n79CoPnt056393@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Glen Barber Cc: Subject: Re: usb/113629: [ukbd] Dropped USB keyboard events on Dell Latitude D620 laptop X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Glen Barber List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2009 12:50:25 -0000 The following reply was made to PR usb/113629; it has been noted by GNATS. From: Glen Barber To: bug-followup@FreeBSD.org, chris@cjones.org Cc: Subject: Re: usb/113629: [ukbd] Dropped USB keyboard events on Dell Latitude D620 laptop Date: Sun, 9 Aug 2009 08:10:29 -0400 Chris, I'm curious if this problem still exists in more recent versions of FreeBSD, or with the latest version of x11/xorg. -- Glen Barber From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 16:23:35 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB69D106566C for ; Sun, 9 Aug 2009 16:23:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8D79D8FC1F; Sun, 9 Aug 2009 16:23:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n79GMmvH042876; Sun, 9 Aug 2009 10:22:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 09 Aug 2009 10:23:41 -0600 (MDT) Message-Id: <20090809.102341.2106235641.imp@bsdimp.com> To: hps@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org Subject: Performance issues 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, 09 Aug 2009 16:23:36 -0000 Hans, Just trying to do some stuff I used to be able to do with the USB stack on a recent (July 23rd) kernel. I've had some disappointing results. I have a 750GB disk that's attached via USB. Nothing fancy or special about it. I can stream up to about 18MB/s to it when things are going well. Older code works flawlessly with this device. I have one other device attached, a bluetooth dongle that's really just buit into my laptop. There's no bluetooth devices attached to the laptop via this dongle, but plenty of bluetooth in the general area... The bt stack is enabled. What I see is that from time to time the writes to the disk stop for seconds at a time. This can happen when I'm writing from DV streams (which are 25Mb/s or 4.1MB/s) as well as a dd from either /dev/zero or from a dvd I have in my laptop's DVD reader. The /dev/zero ones go at about 16-18MB/s, while the DVD reader is about 5MB/s. When it happens, the process hangs in wdrain. This makes it impossible to use umass devices for things like reading my DV camera to stream things to disk for later processing into DVDs. It also seems to make it impossible to burn DVDs, since this same hic-up is seen in read speed as well. If I remove the bluetooth dongle from the system, then I don't seem to see this problem. Any ideas how to track this down? Warner From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 16:40:53 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80CAE106566B for ; Sun, 9 Aug 2009 16:40:53 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 190498FC19 for ; Sun, 9 Aug 2009 16:40:52 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=hSDX1EG_3K7NmYaF37gA:9 a=qDBUnqhk9ghoLTTD4b8A:7 a=w0pp6RHJOMcATHwMDw4e1tGlCUgA:4 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1302558546; Sun, 09 Aug 2009 18:40:51 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 9 Aug 2009 18:40:53 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090809.102341.2106235641.imp@bsdimp.com> In-Reply-To: <20090809.102341.2106235641.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908091840.55000.hselasky@c2i.net> Cc: Subject: Re: Performance issues 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, 09 Aug 2009 16:40:53 -0000 On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: > Any ideas how to track this down? Hi, USB is only draining from "usbd_transfer_drain()" in /sys/dev/usb/usb_transfer.c . You could add a print including the backtrace and see if that function gets called when it freezes. Else I would try to compile a fresh kernel from USB P4. There are some patches there in relation to the recent newbus lock change, that might help. USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ? --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 16:58:01 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAEEA106566C for ; Sun, 9 Aug 2009 16:58:01 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9EB308FC19 for ; Sun, 9 Aug 2009 16:58:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n79GsEAk043105; Sun, 9 Aug 2009 10:54:14 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 09 Aug 2009 10:55:07 -0600 (MDT) Message-Id: <20090809.105507.-646227496.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200908091840.55000.hselasky@c2i.net> References: <20090809.102341.2106235641.imp@bsdimp.com> <200908091840.55000.hselasky@c2i.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Performance issues 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, 09 Aug 2009 16:58:02 -0000 In message: <200908091840.55000.hselasky@c2i.net> Hans Petter Selasky writes: : On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: : > Any ideas how to track this down? : : Hi, : : USB is only draining from "usbd_transfer_drain()" in : /sys/dev/usb/usb_transfer.c . You could add a print including the backtrace : and see if that function gets called when it freezes. Ummm. No. Adding a traceback print to a function that's called 60 times a second in steady state doesn't seem like a viable option. : Else I would try to compile a fresh kernel from USB P4. There are : some patches there in relation to the recent newbus lock change, : that might help. This kernel predates the newbus lock change. : USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ? Yes. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 17:38:51 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECF591065672 for ; Sun, 9 Aug 2009 17:38:51 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 75CE18FC0A for ; Sun, 9 Aug 2009 17:38:51 +0000 (UTC) Received: by fxm24 with SMTP id 24so2779388fxm.36 for ; Sun, 09 Aug 2009 10:38:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ibpYVkxNIIK3mGj6QMlgsxfPlhSNq9Xgwx65JQ9L7TI=; b=bCBxFWfH48/a8wK3uEbufr0Fyi1BNF2J73cXAKWxUJgD4EX+QoqUu8Mba0HpPK/fxd UyUcvaSuETp9wyz6WVEgEnhmzISKDdTEZ/N7w4Llc+stZBsz26FKn4YwV56zAvZ/yiX/ R6Uehwwe5b1lgD69S5l/mN4oWk4slpstlg854= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=MfgZZ3G1otm86Yru3XsUtnrFDrM5u36pSIxtghz4+WWZiGR4mjKM5c1MsVxXSCWCSR 1xJGmJ8oye/34Obi74d6BcckWaHZpyPclvAHg++ae8oFzDqOQ17WXvwIK84hCSaz68Zv qcRbKwb+s6vHVFg4iWrmTH8UD3uO4MpxL6zDI= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.112.77 with SMTP id v13mr271831fap.107.1249839530364; Sun, 09 Aug 2009 10:38:50 -0700 (PDT) In-Reply-To: <3bbf2fe10908091025t7f8d00dbw5b0589728cf400ad@mail.gmail.com> References: <20090809.102341.2106235641.imp@bsdimp.com> <200908091840.55000.hselasky@c2i.net> <20090809.105507.-646227496.imp@bsdimp.com> <3bbf2fe10908091025t7f8d00dbw5b0589728cf400ad@mail.gmail.com> Date: Sun, 9 Aug 2009 19:38:50 +0200 X-Google-Sender-Auth: adb884f57ee654b7 Message-ID: <3bbf2fe10908091038m3efb3612l2923d8b3238e111f@mail.gmail.com> From: Attilio Rao To: "M. Warner Losh" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Performance issues 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, 09 Aug 2009 17:38:52 -0000 2009/8/9 Attilio Rao : > 2009/8/9 M. Warner Losh : >> In message: <200908091840.55000.hselasky@c2i.net> >> Hans Petter Selasky writes: >> : On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: >> : > Any ideas how to track this down? >> : >> : Hi, >> : >> : USB is only draining from "usbd_transfer_drain()" in >> : /sys/dev/usb/usb_transfer.c . You could add a print including the backtrace >> : and see if that function gets called when it freezes. >> >> Ummm. No. Adding a traceback print to a function that's called 60 >> times a second in steady state doesn't seem like a viable option. >> >> : Else I would try to compile a fresh kernel from USB P4. There are >> : some patches there in relation to the recent newbus lock change, >> : that might help. >> >> This kernel predates the newbus lock change. >> >> : USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ? >> >> Yes. > > That's used by the buffer cache in order to reduce pressure of > asynchronous writes. It waits for other writes to complete before to > go on. Probabilly, I/O requests get stuck for another reasong starving > the asynchronous requests queue flushing. It would be also interesting to understand if the allowed requests are just lost or still pending and can be effectively flushed out. Can you please show the content of vm.runningbufspace ? However, keep in mind that as long as the buffer cache is global, if the bluethoot dongle breaks I/O requests, it can be the offending part, so USB may not be involved. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 17:50:29 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A0731065670 for ; Sun, 9 Aug 2009 17:50:29 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 1879E8FC31 for ; Sun, 9 Aug 2009 17:50:28 +0000 (UTC) Received: by fxm24 with SMTP id 24so2783527fxm.36 for ; Sun, 09 Aug 2009 10:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=4PJb3CGRp7Be+MLA9PXDZrBTmlFtAd02t2J9Wwd/FJ0=; b=pgqkbq+GPfhVj8lrKGx4vfho9QfOSiaoHwsJtReuLy+LPQJQ78ksrxmJbIUS5FHF64 ZvVkn4JsnVbjN+tLnPak0O9qQDtMTZzchVTZMvX04tJ0agMdgMqL5nxabe8gPG6arSi1 5oWJAtE4aaWN8aS28pq+qlONWS9pTz9psu5GE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=HWx9JYBuNC5f4LFaWuulTOj2hTACEH65CJ1M+MHnpPwUInNJQsYJuGjJn8ABDjgEu8 tBjLeU9+C0uIfkAlANG66+AA6EtzcZipQfVHm3qTeqf0EFfAbHseuDZNOSvKV1KV/inM 6EjfVUwbrp2mE6NRfTnqlq0nspJKj1G14axlY= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.103.133 with SMTP id k5mr670777fao.76.1249838744916; Sun, 09 Aug 2009 10:25:44 -0700 (PDT) In-Reply-To: <20090809.105507.-646227496.imp@bsdimp.com> References: <20090809.102341.2106235641.imp@bsdimp.com> <200908091840.55000.hselasky@c2i.net> <20090809.105507.-646227496.imp@bsdimp.com> Date: Sun, 9 Aug 2009 19:25:44 +0200 X-Google-Sender-Auth: b1fa9061a8f6b444 Message-ID: <3bbf2fe10908091025t7f8d00dbw5b0589728cf400ad@mail.gmail.com> From: Attilio Rao To: "M. Warner Losh" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Performance issues 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, 09 Aug 2009 17:50:29 -0000 2009/8/9 M. Warner Losh : > In message: <200908091840.55000.hselasky@c2i.net> > Hans Petter Selasky writes: > : On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: > : > Any ideas how to track this down? > : > : Hi, > : > : USB is only draining from "usbd_transfer_drain()" in > : /sys/dev/usb/usb_transfer.c . You could add a print including the backtrace > : and see if that function gets called when it freezes. > > Ummm. No. Adding a traceback print to a function that's called 60 > times a second in steady state doesn't seem like a viable option. > > : Else I would try to compile a fresh kernel from USB P4. There are > : some patches there in relation to the recent newbus lock change, > : that might help. > > This kernel predates the newbus lock change. > > : USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ? > > Yes. That's used by the buffer cache in order to reduce pressure of asynchronous writes. It waits for other writes to complete before to go on. Probabilly, I/O requests get stuck for another reasong starving the asynchronous requests queue flushing. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 17:56:30 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEFBF1065670; Sun, 9 Aug 2009 17:56:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 934328FC1E; Sun, 9 Aug 2009 17:56:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n79HtD24043635; Sun, 9 Aug 2009 11:55:14 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 09 Aug 2009 11:56:06 -0600 (MDT) Message-Id: <20090809.115606.1943337744.imp@bsdimp.com> To: attilio@freebsd.org From: "M. Warner Losh" In-Reply-To: <3bbf2fe10908091038m3efb3612l2923d8b3238e111f@mail.gmail.com> References: <20090809.105507.-646227496.imp@bsdimp.com> <3bbf2fe10908091025t7f8d00dbw5b0589728cf400ad@mail.gmail.com> <3bbf2fe10908091038m3efb3612l2923d8b3238e111f@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Performance issues 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, 09 Aug 2009 17:56:31 -0000 In message: <3bbf2fe10908091038m3efb3612l2923d8b3238e111f@mail.gmail.com> Attilio Rao writes: : 2009/8/9 Attilio Rao : : > 2009/8/9 M. Warner Losh : : >> In message: <200908091840.55000.hselasky@c2i.net> : >> Hans Petter Selasky writes: : >> : On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: : >> : > Any ideas how to track this down? : >> : : >> : Hi, : >> : : >> : USB is only draining from "usbd_transfer_drain()" in : >> : /sys/dev/usb/usb_transfer.c . You could add a print including the backtrace : >> : and see if that function gets called when it freezes. : >> : >> Ummm. No. Adding a traceback print to a function that's called 60 : >> times a second in steady state doesn't seem like a viable option. : >> : >> : Else I would try to compile a fresh kernel from USB P4. There are : >> : some patches there in relation to the recent newbus lock change, : >> : that might help. : >> : >> This kernel predates the newbus lock change. : >> : >> : USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ? : >> : >> Yes. : > : > That's used by the buffer cache in order to reduce pressure of : > asynchronous writes. It waits for other writes to complete before to : > go on. Probabilly, I/O requests get stuck for another reasong starving : > the asynchronous requests queue flushing. : : It would be also interesting to understand if the allowed requests are : just lost or still pending and can be effectively flushed out. Can you : please show the content of vm.runningbufspace ? The writes eventually happen, it is just stalled. I'll run the experiment again and see if I can give you that info... : However, keep in mind that as long as the buffer cache is global, if : the bluethoot dongle breaks I/O requests, it can be the offending : part, so USB may not be involved. I'm not sure I understand this statement. I think what is happening is a race between multiple devices. I also see problems when I have both a usb disk and a usb dvd burner attached. I didn't used to see that problem (I made hundreds of DVDs of my son's hockey games). Now, I can't even burn one disc to save my life... Besides, the bluetooth dongle isn't going to be doing any disk block requests, so how can that interfere with the buffer cache? Warner From owner-freebsd-usb@FreeBSD.ORG Sun Aug 9 18:16:30 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B546106564A for ; Sun, 9 Aug 2009 18:16:30 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id BAC108FC15 for ; Sun, 9 Aug 2009 18:16:29 +0000 (UTC) Received: by fxm24 with SMTP id 24so2793191fxm.36 for ; Sun, 09 Aug 2009 11:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=rX85xNVsv070ILqb6qoxX2XrItkmRrMmgXMvkTZOUDY=; b=UGIXHaYWTceJiY/Ba0DICYUdY0Uw8Ylku9+zXJ55BqupIb8A9r8Iuz9oGTyvpqMxDE 7+ZFTmVzlkzqbBEh2WEDWw4dk9U8RMiO5Zo1rdC8UkYaRUPPx+K4+XaWf9bNHQyjXf/V 6Qkgx1tXUkI03ftgrR/OqKetFiw+Qd6hilJTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=E2v1Ca879AbDmaN7nI9ZcOCsFxspguSO2Hh3AdCfHuAouOpmwALpBlU9np2feiMPCA FOvIsd7lOqBEdWdh2GxgvdEL2PV2wYxTykKBoD5HMURa483vkZl0Kcxl0x7409wf5m6d ToOYK5B3+rjhYYY+LzUHC7Jzdsazi4ujpEbIk= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.119.207 with SMTP id a15mr703632far.11.1249841788736; Sun, 09 Aug 2009 11:16:28 -0700 (PDT) In-Reply-To: <20090809.115606.1943337744.imp@bsdimp.com> References: <20090809.105507.-646227496.imp@bsdimp.com> <3bbf2fe10908091025t7f8d00dbw5b0589728cf400ad@mail.gmail.com> <3bbf2fe10908091038m3efb3612l2923d8b3238e111f@mail.gmail.com> <20090809.115606.1943337744.imp@bsdimp.com> Date: Sun, 9 Aug 2009 20:16:28 +0200 X-Google-Sender-Auth: 09a54e7556d0ca23 Message-ID: <3bbf2fe10908091116x3ac66e63t4b34174f492a4bce@mail.gmail.com> From: Attilio Rao To: "M. Warner Losh" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: Performance issues 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, 09 Aug 2009 18:16:30 -0000 2009/8/9 M. Warner Losh : > In message: <3bbf2fe10908091038m3efb3612l2923d8b3238e111f@mail.gmail.com> > Attilio Rao writes: > : 2009/8/9 Attilio Rao : > : > 2009/8/9 M. Warner Losh : > : >> In message: <200908091840.55000.hselasky@c2i.net> > : >> Hans Petter Selasky writes: > : >> : On Sunday 09 August 2009 18:23:41 M. Warner Losh wrote: > : >> : > Any ideas how to track this down? > : >> : > : >> : Hi, > : >> : > : >> : USB is only draining from "usbd_transfer_drain()" in > : >> : /sys/dev/usb/usb_transfer.c . You could add a print including the backtrace > : >> : and see if that function gets called when it freezes. > : >> > : >> Ummm. No. Adding a traceback print to a function that's called 60 > : >> times a second in steady state doesn't seem like a viable option. > : >> > : >> : Else I would try to compile a fresh kernel from USB P4. There are > : >> : some patches there in relation to the recent newbus lock change, > : >> : that might help. > : >> > : >> This kernel predates the newbus lock change. > : >> > : >> : USB uses uppercase "WDRAIN". Is your printout lowercase "wdrain" ? > : >> > : >> Yes. > : > > : > That's used by the buffer cache in order to reduce pressure of > : > asynchronous writes. It waits for other writes to complete before to > : > go on. Probabilly, I/O requests get stuck for another reasong starving > : > the asynchronous requests queue flushing. > : > : It would be also interesting to understand if the allowed requests are > : just lost or still pending and can be effectively flushed out. Can you > : please show the content of vm.runningbufspace ? > > The writes eventually happen, it is just stalled. I'll run the > experiment again and see if I can give you that info... > > : However, keep in mind that as long as the buffer cache is global, if > : the bluethoot dongle breaks I/O requests, it can be the offending > : part, so USB may not be involved. > > I'm not sure I understand this statement. I think what is happening > is a race between multiple devices. I also see problems when I have > both a usb disk and a usb dvd burner attached. I didn't used to see > that problem (I made hundreds of DVDs of my son's hockey games). Now, > I can't even burn one disc to save my life... > > Besides, the bluetooth dongle isn't going to be doing any disk block > requests, so how can that interfere with the buffer cache? Ok, so it should not. Can you compile a KTR kernel with KTR_BUF and monitor the buffer cache activity? Please just stop it collecting points early otherwise we could loose many interesting informations due to KTR buffer entries replacements politique. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-usb@FreeBSD.ORG Mon Aug 10 06:00:12 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C79B21065673 for ; Mon, 10 Aug 2009 06:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9DBD58FC52 for ; Mon, 10 Aug 2009 06:00:12 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7A60CJ9047695 for ; Mon, 10 Aug 2009 06:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7A60Cc7047694; Mon, 10 Aug 2009 06:00:12 GMT (envelope-from gnats) Resent-Date: Mon, 10 Aug 2009 06:00:12 GMT Resent-Message-Id: <200908100600.n7A60Cc7047694@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, Yoshikazu GOTO Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A775E106564A for ; Mon, 10 Aug 2009 05:53:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7CA098FC26 for ; Mon, 10 Aug 2009 05:53:10 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7A5rA3Y006373 for ; Mon, 10 Aug 2009 05:53:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7A5r9cZ006372; Mon, 10 Aug 2009 05:53:09 GMT (envelope-from nobody) Message-Id: <200908100553.n7A5r9cZ006372@www.freebsd.org> Date: Mon, 10 Aug 2009 05:53:09 GMT From: Yoshikazu GOTO To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/137616: [usbdevs] [patch]: usbdevs update: Please add JMicron's entry 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, 10 Aug 2009 06:00:13 -0000 >Number: 137616 >Category: usb >Synopsis: [usbdevs] [patch]: usbdevs update: Please add JMicron's entry >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 10 06:00:12 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Yoshikazu GOTO >Release: 7.2-RELEASE >Organization: >Environment: >Description: I get a HDD case that is connected to PC using USB2.0 and to HDD using S-ATA. This case is used JMicron chip named JM20337. Japanese Web page is here. http://www.century.co.jp/products/pc/hdd-case/cps35u2.html The output of usbdevs on 7.2-STABLE are as follows: $ usbdevs -d addr 1: UHCI root hub, Intel uhub0 addr 1: UHCI root hub, Intel uhub1 addr 1: EHCI root hub, Intel uhub2 addr 1: UHCI root hub, Intel uhub3 addr 1: UHCI root hub, Intel uhub4 addr 1: UHCI root hub, Intel uhub5 addr 1: EHCI root hub, Intel uhub6 addr 2: USB Mass Storage Device, Myson Century, Inc. umass0 addr 3: USB to ATA/ATAPI Bridge, JMicron umass1 $ usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: USB Mass Storage Device, Myson Century, Inc. addr 3: USB to ATA/ATAPI Bridge, JMicron >How-To-Repeat: >Fix: I have 2 patches for 8-current. Patch attached with submission follows: --- /usr/src/sys/dev/usb/usbdevs.orig 2009-08-01 01:44:03.541985314 +0900 +++ /usr/src/sys/dev/usb/usbdevs 2009-08-10 14:22:07.816658498 +0900 @@ -598,6 +598,7 @@ vendor PLANEX3 0x14ea Planex Communications vendor SILICONPORTALS 0x1527 Silicon Portals vendor UBIQUAM 0x1529 UBIQUAM Co., Ltd. +vendor JMICRON 0x152d JMicron vendor UBLOX 0x1546 U-blox vendor PNY 0x154b PNY vendor OQO 0x1557 OQO @@ -1539,6 +1540,9 @@ /* Jaton products */ product JATON EDA 0x5704 Ethernet +/* JMicron products */ +product JMICRON JM20337 0x2338 USB to ATA/ATAPI Bridge + /* JVC products */ product JVC GR_DX95 0x000a GR-DX95 product JVC MP_PRX1 0x3008 MP-PRX1 Ethernet --- /usr/src/sys/dev/usb/storage/umass.c.orig 2009-06-27 06:47:37.000000000 +0900 +++ /usr/src/sys/dev/usb/storage/umass.c 2009-08-10 14:21:54.625561430 +0900 @@ -553,6 +553,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_TEST_UNIT_READY }, + {USB_VENDOR_JMICRON, USB_PRODUCT_JMICRON_JM20337, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_SYNCHRONIZE_CACHE + }, {USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_FINECAM_L3, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_INQUIRY >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Mon Aug 10 11:07:07 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24934106566C for ; Mon, 10 Aug 2009 11:07:07 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 125FB8FC25 for ; Mon, 10 Aug 2009 11:07:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7AB77u5025343 for ; Mon, 10 Aug 2009 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7AB765P025339 for freebsd-usb@FreeBSD.org; Mon, 10 Aug 2009 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Aug 2009 11:07:06 GMT Message-Id: <200908101107.n7AB765P025339@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org 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, 10 Aug 2009 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/137616 usb [usbdevs] [patch]: usbdevs update: Please add JMicron' o usb/137377 usb Support for Huawei E180 o usb/137341 usb driver if_rum doesn't work at all and throws panics o usb/137226 usb [patch] quirk for Philips extern USB disk o usb/137191 usb [usb][patch] export ums(4) output report parser data t o usb/137190 usb [usb][patch] inhibit spurious button releases for some o usb/137189 usb [usb][patch] create and use sysctl nodes for HID repor o usb/137188 usb [usb][patch] correctly handle USB report descriptors w o usb/137138 usb [umass] [patch] QUIRK: ASUS PDA Flash disk emulation o usb/137129 usb SteelSeries Ikari USB laser mouse not attaching o usb/137035 usb Sony cyber-shot DSC-P72 not accessible - cam quirks o usb/136761 usb [usbdevs] [patch] Teach usbdevs / u3g(4) about Huawei o usb/135938 usb [aue] aue driver only passes traffic in promisc mode o usb/135857 usb RTL8187 Wireless Adapter o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135372 usb Quirk report for Teclast TL-C300 usb media player o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134476 usb [usb2] [umass] [quirk] Add quirk for Cypress xx6830xx o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt f usb/133545 usb [usb] [panic] Kernel crash in usb2_intr_schedule_adjus o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] Kernel panic after NOMEM caused by rum c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c f usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o docs/129962 usb [newusb] usbconfig(8) refers to non-existant usb2_core o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive f usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o kern/127222 usb [ohci]: Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c f usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [umass] [patch] Problems with connection of the umass o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff s usb/113977 usb [request] Need a way to set mode of USB disk's write c o usb/113672 usb [ehci] [panic] Kernel panic with AEWIN CB6971 s usb/113629 usb [ukbd] Dropped USB keyboard events on Dell Latitude D6 o usb/113432 usb [ucom] WARNING: attempt to net_add_domain(netgraph) af a usb/113060 usb [usbdevs] [patch] Samsung printer not working in bidir o usb/112944 usb [ulpt] [patch] Bi-directional access to HP LaserJet 10 o usb/112640 usb [usb] [hang] Kernel freezes when writing a file to an o usb/112631 usb [panic] Problem with SONY DSC-S80 camera on umount s usb/112568 usb [umass] [request] USB mode may wrong when mounting Pla o usb/112463 usb [umass] problem with Samsung USB DVD writer, libscg an o usb/112461 usb [ehci] [request] ehci USB 2.0 doesn't work on nforce4 o usb/111753 usb [uhid] [panic] Replicable system panic involving UHID o usb/110856 usb [ugen] [patch] interrupt in msgs are truncated when bu o usb/110197 usb [umass] Sony PSP umass device does not detach from EHC o usb/109397 usb [panic] on boot from USB flash o usb/109274 usb [usb] MCP55 USB Controller fails to attach in AMD64 Cu o usb/108513 usb [umass] Creative MuVo TX FM fails in 6.2-RELEASE [regr s usb/108344 usb [panic] kernel with atausb panics when unplugging USB o usb/108056 usb [ohci] Mouse gets powered off during device probe when o usb/107935 usb [uplcom] [panic] panic while accessing /dev/cuaU0 o usb/107924 usb [patch] usbd(8) does not call detach o usb/107848 usb [umass] [request] cannot access Samsung flash disk o usb/107827 usb [ohci] [panic] ohci_add_done addr not found o usb/107496 usb [uhub] USB device problem on RELENG_6_2 (SHORT_XFER) [ o usb/107388 usb [new driver] [patch] add utoppy device from NetBSD o usb/107248 usb [umass] [patch] scsi_da.c quirk for Cowon iAUDIO X5 MP o usb/107243 usb [cam] [patch] Apacer USB Flash Drive quirk o usb/106861 usb [usbdevs] [patch]: usbdevs update: Add product ACER Ze s usb/106832 usb [usb] USB HP printer is not detected by kernel when AC o usb/106648 usb [umass] [hang] USB Floppy on D1950 10 min Hang on Inse o usb/106621 usb [axe] [patch] DLINK DUB-E100 support broken o usb/106615 usb [uftdi] uftdi module does not automatically load with o usb/106041 usb [usb] [request] FreeBSD does not recognise Mustek Bear o usb/105361 usb [panic] Kernel panic during unmounting mass storage (C o usb/105186 usb [ehci] [panic] USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 c o usb/105065 usb [ata] [usb] SATA - USB Bridge o usb/104830 usb [umass] system crashes when copying data to umass devi o usb/104645 usb [umass] [request] Rave C-201 MP3 player does not commu o usb/104352 usb [ural] [patch] ural driver doesnt work o usb/104292 usb [umass] [hang] system lockup on forced umount of usb-s o usb/104290 usb [umass] [patch] quirk: TOSHIBA DVD-RAM drive (libretto o usb/103917 usb [uhub] USB driver reports "Addr 0 should never happen" o usb/103418 usb usbhidctl(1): [patch] [request] usbhidctl: add ability o usb/103289 usb [request] USB 2.0 problems on AMD LX-800 CPU and CS-55 o usb/103046 usb [ulpt] [patch] ulpt event driven I/O with select(2) an o usb/103025 usb [uhub] [panic] wrong detection of USB device for FreeB o usb/102976 usb [panic] Casio Exilim Digital Camera causes panic on in o usb/102678 usb [keyboard] Dell PowerEdge DRAC5 USB Keyboard does not o usb/102066 usb [ukbd] usb keyboard and multimedia keys don't work o usb/101775 usb [libusbhid] [patch] possible error in report descripto o usb/101761 usb [usb] [patch] [request] usb.h: increase maximal size o o usb/101752 usb [umass] [panic] 6.1-RELEASE kernel panic on usb device o usb/101448 usb [ohci] FBSD 6.1-STABLE/AMD64 crashes under heavy USB/O o usb/101096 usb [ural] [panic] USB WLAN occasionally causes kernel-pan o usb/100746 usb [keyboard] system does not boot due to USB keyboard pr o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 334 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 10 18:50:05 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48FC81065672 for ; Mon, 10 Aug 2009 18:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 383198FC35 for ; Mon, 10 Aug 2009 18:50:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7AIo4No091243 for ; Mon, 10 Aug 2009 18:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7AIo48R091242; Mon, 10 Aug 2009 18:50:04 GMT (envelope-from gnats) Date: Mon, 10 Aug 2009 18:50:04 GMT Message-Id: <200908101850.n7AIo48R091242@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "O.Herold" Cc: Subject: Re: usb/137341: driver if_rum doesn't work at all and throws panics X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "O.Herold" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2009 18:50:05 -0000 The following reply was made to PR usb/137341; it has been noted by GNATS. From: "O.Herold" To: bug-followup@FreeBSD.org, oliver@akephalos.de Cc: Subject: Re: usb/137341: driver if_rum doesn't work at all and throws panics Date: Mon, 10 Aug 2009 20:48:26 +0200 Well I cannot provide anything anymore because too many panics destroyed my slice. Well after much grief I installed just out of curiosity FBSD 7.2R and guess what? Apart from some performance drops it works like a charm. I restarted the network several times without any problems, I just pulled the stick from the usb port within some data transfers etc. - no panic :-) FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 In my opinion the new usb stack isn't ready for prime time or FreeBSD 8 release should wait until it's fixed - maybe March 2009. I do know such up- and downturn in Linux only ... until today. Cheers Oliver From owner-freebsd-usb@FreeBSD.ORG Mon Aug 10 18:53:40 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85D46106564A for ; Mon, 10 Aug 2009 18:53:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8CB8FC1E for ; Mon, 10 Aug 2009 18:53:39 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=5J9bzSSjSGIA:10 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=6I5d2MoRAAAA:8 a=2uQvSG0IQ9KQKuBvBpMA:9 a=8F0uLqcdOTV2pzRVewOjKIWninwA:4 a=VgWGNTQkVdAA:10 a=pez5DOLNnpUA:10 a=SV7veod9ZcQA:10 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1303095710; Mon, 10 Aug 2009 20:53:38 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, "O.Herold" Date: Mon, 10 Aug 2009 20:53:41 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <200908101850.n7AIo48R091242@freefall.freebsd.org> In-Reply-To: <200908101850.n7AIo48R091242@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908102053.43479.hselasky@c2i.net> Cc: Subject: Re: usb/137341: driver if_rum doesn't work at all and throws panics 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, 10 Aug 2009 18:53:40 -0000 On Monday 10 August 2009 20:50:04 O.Herold wrote: > The following reply was made to PR usb/137341; it has been noted by GNATS. > > From: "O.Herold" > To: bug-followup@FreeBSD.org, oliver@akephalos.de > Cc: > Subject: Re: usb/137341: driver if_rum doesn't work at all and throws > panics > Date: Mon, 10 Aug 2009 20:48:26 +0200 > > Well I cannot provide anything anymore because too many panics destroyed > my slice. Well after much grief I installed just out of curiosity FBSD > 7.2R and guess what? Apart from some performance drops it works like a > charm. I restarted the network several times without any problems, I just > pulled the stick from the usb port within some data transfers etc. - no > panic :-) > > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 > root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > In my opinion the new usb stack isn't ready for prime time or FreeBSD 8 > release should wait until it's fixed - maybe March 2009. I do know such > up- and downturn in Linux only ... until today. > Hi, I will try to reproduce if I get a chance. Most likely what you are seeing is not an USB issue, but rather a WLAN issue. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 10 19:00:12 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FC601065697 for ; Mon, 10 Aug 2009 19:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CA7828FC4D for ; Mon, 10 Aug 2009 19:00:11 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7AJ0Bn8098198 for ; Mon, 10 Aug 2009 19:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7AJ0B53098194; Mon, 10 Aug 2009 19:00:11 GMT (envelope-from gnats) Date: Mon, 10 Aug 2009 19:00:11 GMT Message-Id: <200908101900.n7AJ0B53098194@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/137341: driver if_rum doesn't work at all and throws panics 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, 10 Aug 2009 19:00:13 -0000 The following reply was made to PR usb/137341; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: usb/137341: driver if_rum doesn't work at all and throws panics Date: Mon, 10 Aug 2009 20:57:41 +0200 On Monday 10 August 2009 20:50:04 O.Herold wrote: > The following reply was made to PR usb/137341; it has been noted by GNATS. > > From: "O.Herold" > To: bug-followup@FreeBSD.org, oliver@akephalos.de > Cc: > Subject: Re: usb/137341: driver if_rum doesn't work at all and throws > panics > Date: Mon, 10 Aug 2009 20:48:26 +0200 > > Well I cannot provide anything anymore because too many panics destroyed > my slice. Well after much grief I installed just out of curiosity FBSD > 7.2R and guess what? Apart from some performance drops it works like a > charm. I restarted the network several times without any problems, I just > pulled the stick from the usb port within some data transfers etc. - no > panic :-) > > FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 > root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > In my opinion the new usb stack isn't ready for prime time or FreeBSD 8 > release should wait until it's fixed - maybe March 2009. I do know such > up- and downturn in Linux only ... until today. > Hi, I will try to reproduce if I get a chance. Most likely what you are seeing is not an USB issue, but rather a WLAN issue. I've seen something similar, that if you issue the network interface commands too quickly then the WLAN code will panic. Putting a sleep 1 in between the commands is a temporary solution. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 10 19:30:04 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2852E106567B for ; Mon, 10 Aug 2009 19:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F1BB58FC33 for ; Mon, 10 Aug 2009 19:30:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7AJU3NE020652 for ; Mon, 10 Aug 2009 19:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7AJU3Sm020649; Mon, 10 Aug 2009 19:30:03 GMT (envelope-from gnats) Date: Mon, 10 Aug 2009 19:30:03 GMT Message-Id: <200908101930.n7AJU3Sm020649@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "O.Herold" Cc: Subject: Re: usb/137341: driver if_rum doesn't work at all and throws panics X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "O.Herold" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2009 19:30:04 -0000 The following reply was made to PR usb/137341; it has been noted by GNATS. From: "O.Herold" To: bug-followup@FreeBSD.org, oliver@akephalos.de Cc: Subject: Re: usb/137341: driver if_rum doesn't work at all and throws panics Date: Mon, 10 Aug 2009 21:23:01 +0200 Yes but this doesn't explain why it's okay in FreeBSD 7.2R? It wasn't okay in 7.1R. So I didn't expect anything new, but I'm really surprised to see it work in 7.2R. Sorry if I'm not of any further help, but if I cannot use my network in FreeBSD 8 current I can hardly use it at all. Cheers Oliver From owner-freebsd-usb@FreeBSD.ORG Tue Aug 11 13:40:46 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAA97106564A; Tue, 11 Aug 2009 13:40:46 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B22C28FC15; Tue, 11 Aug 2009 13:40:46 +0000 (UTC) Received: from freefall.freebsd.org (pjd@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7BDek6C014654; Tue, 11 Aug 2009 13:40:46 GMT (envelope-from pjd@freefall.freebsd.org) Received: (from pjd@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7BDek9R014650; Tue, 11 Aug 2009 13:40:46 GMT (envelope-from pjd) Date: Tue, 11 Aug 2009 13:40:46 GMT Message-Id: <200908111340.n7BDek9R014650@freefall.freebsd.org> To: pjd@FreeBSD.org, freebsd-geom@FreeBSD.org, freebsd-usb@FreeBSD.org From: pjd@FreeBSD.org Cc: Subject: Re: kern/124130: [usb] gmirror fails to start usb devices that were present at boot time X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 13:40:47 -0000 Old Synopsis: [gmirror] [usb] gmirror fails to start usb devices that were present at boot time New Synopsis: [usb] gmirror fails to start usb devices that were present at boot time Responsible-Changed-From-To: freebsd-geom->freebsd-usb Responsible-Changed-By: pjd Responsible-Changed-When: wto 11 sie 2009 13:38:31 UTC Responsible-Changed-Why: This is not gmirror nor GEOM problem. The disks presented by umass cannot be properly accessed by GEOM classes, so they can't detect their metadata. http://www.freebsd.org/cgi/query-pr.cgi?pr=124130 From owner-freebsd-usb@FreeBSD.ORG Tue Aug 11 13:49:51 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9D68106568C; Tue, 11 Aug 2009 13:49:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 186EE8FC4B; Tue, 11 Aug 2009 13:49:50 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=kT2QXQnOTmMA:10 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=6I5d2MoRAAAA:8 a=N2hf1HuK3qciJLiS8PYA:9 a=B6DOpzN12PcwHgp_O8oA:7 a=1ZleBvba2Bezc0WzgACjkCNsxG4A:4 a=SV7veod9ZcQA:10 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1191792508; Tue, 11 Aug 2009 15:49:48 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 11 Aug 2009 15:49:52 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <200908111340.n7BDek9R014650@freefall.freebsd.org> In-Reply-To: <200908111340.n7BDek9R014650@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908111549.54441.hselasky@c2i.net> Cc: pjd@freebsd.org, freebsd-geom@freebsd.org Subject: Re: kern/124130: [usb] gmirror fails to start usb devices that were present at boot time X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 13:49:52 -0000 On Tuesday 11 August 2009 15:40:46 pjd@freebsd.org wrote: > Old Synopsis: [gmirror] [usb] gmirror fails to start usb devices that were > present at boot time New Synopsis: [usb] gmirror fails to start usb devices > that were present at boot time > > Responsible-Changed-From-To: freebsd-geom->freebsd-usb > Responsible-Changed-By: pjd > Responsible-Changed-When: wto 11 sie 2009 13:38:31 UTC > Responsible-Changed-Why: > This is not gmirror nor GEOM problem. The disks presented by umass cannot > be properly accessed by GEOM classes, so they can't detect their metadata. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=124130 Is this related to the recent introduction of newbus_lock() ? --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 11 13:58:50 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD68B1065678; Tue, 11 Aug 2009 13:58:50 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id DD5118FC42; Tue, 11 Aug 2009 13:58:49 +0000 (UTC) Received: by fxm24 with SMTP id 24so4107267fxm.36 for ; Tue, 11 Aug 2009 06:58:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=zhR4kyW4xhp2fqe77ml1iULwllALAAs/Owsz8GKKF9Y=; b=vWRRVTYf0eipkROtkLrotZwI5ATsW0pQaL+WilfWF6lE1XFJfeEkDU+AnjjF5ie5f4 L+cILmMh6R8PRw0hY8mm6hGwuWpdGQDiNkLoD+o8yBA0wbbe1LpsKCv5RTddmnPZt9jS R5uXNq8f9hdB+OELBLt2aiEIowsQYDr69DPvI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=RSohqwMgF2EQoPHTBlDaaF9J9z0yC+3FpLMKTHRxwBaZ6ChCfLjO2RTLSAUrA1+FJa 1p4WJ3m3ak0eE2HCW7e5ZaNcb2hQ8PkirTJnZg8i+E2X49s77EKKg359yXTxOqrddUUj AtVX7zxUpvTYZROPTOJ760KTp5L3fzf1NQYRY= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.113.3 with SMTP id y3mr1268002fap.71.1249999128600; Tue, 11 Aug 2009 06:58:48 -0700 (PDT) In-Reply-To: <200908111549.54441.hselasky@c2i.net> References: <200908111340.n7BDek9R014650@freefall.freebsd.org> <200908111549.54441.hselasky@c2i.net> Date: Tue, 11 Aug 2009 15:58:48 +0200 X-Google-Sender-Auth: 6c8db6d571d08672 Message-ID: <3bbf2fe10908110658t139df585q2613977d07d2bca8@mail.gmail.com> From: Attilio Rao To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: pjd@freebsd.org, freebsd-usb@freebsd.org, freebsd-geom@freebsd.org Subject: Re: kern/124130: [usb] gmirror fails to start usb devices that were present at boot time X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 13:58:51 -0000 2009/8/11 Hans Petter Selasky : > On Tuesday 11 August 2009 15:40:46 pjd@freebsd.org wrote: >> Old Synopsis: [gmirror] [usb] gmirror fails to start usb devices that were >> present at boot time New Synopsis: [usb] gmirror fails to start usb devices >> that were present at boot time >> >> Responsible-Changed-From-To: freebsd-geom->freebsd-usb >> Responsible-Changed-By: pjd >> Responsible-Changed-When: wto 11 sie 2009 13:38:31 UTC >> Responsible-Changed-Why: >> This is not gmirror nor GEOM problem. The disks presented by umass cannot >> be properly accessed by GEOM classes, so they can't detect their metadata. >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=124130 > > Is this related to the recent introduction of newbus_lock() ? Of course it is not as long as it is submitted in May 30. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-usb@FreeBSD.ORG Tue Aug 11 14:31:58 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23231106564A for ; Tue, 11 Aug 2009 14:31:58 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id F3C708FC16 for ; Tue, 11 Aug 2009 14:31:57 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mas8H-0002Mv-W3 for freebsd-usb@freebsd.org; Tue, 11 Aug 2009 07:15:21 -0700 Message-ID: <24918508.post@talk.nabble.com> Date: Tue, 11 Aug 2009 07:15:21 -0700 (PDT) From: vishalu93 To: freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vishalu93@gmail.com Subject: FreeBSD USB driver Documents? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 14:31:58 -0000 I am trying to understand FreeBSD USB driver stack. The code is not commented and hence it is difficult/time consuming to understand the code. Are there any documents available describing different functions of USB driver. -- View this message in context: http://www.nabble.com/FreeBSD-USB-driver-Documents--tp24918508p24918508.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Tue Aug 11 14:45:50 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7318D106564A; Tue, 11 Aug 2009 14:45:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE0E8FC3D; Tue, 11 Aug 2009 14:45:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=kT2QXQnOTmMA:10 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=8kQB0OdkAAAA:8 a=6I5d2MoRAAAA:8 a=fcB3E633jmGGUIVasxUA:9 a=qHvSiVgtnDGVEWqBgj8A:7 a=4HXrXeTojDPFLpomQ7Mwad4_BRcA:4 a=9aOQ2cSd83gA:10 a=SV7veod9ZcQA:10 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1292781270; Tue, 11 Aug 2009 16:45:47 +0200 From: Hans Petter Selasky To: Attilio Rao Date: Tue, 11 Aug 2009 16:45:52 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <200908111340.n7BDek9R014650@freefall.freebsd.org> <200908111549.54441.hselasky@c2i.net> <3bbf2fe10908110658t139df585q2613977d07d2bca8@mail.gmail.com> In-Reply-To: <3bbf2fe10908110658t139df585q2613977d07d2bca8@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908111645.54028.hselasky@c2i.net> Cc: pjd@freebsd.org, freebsd-usb@freebsd.org, freebsd-geom@freebsd.org Subject: Re: kern/124130: [usb] gmirror fails to start usb devices that were present at boot time X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 14:45:50 -0000 On Tuesday 11 August 2009 15:58:48 Attilio Rao wrote: > 2009/8/11 Hans Petter Selasky : > > On Tuesday 11 August 2009 15:40:46 pjd@freebsd.org wrote: > >> Old Synopsis: [gmirror] [usb] gmirror fails to start usb devices that > >> were present at boot time New Synopsis: [usb] gmirror fails to start usb > >> devices that were present at boot time > >> > >> Responsible-Changed-From-To: freebsd-geom->freebsd-usb > >> Responsible-Changed-By: pjd > >> Responsible-Changed-When: wto 11 sie 2009 13:38:31 UTC > >> Responsible-Changed-Why: > >> This is not gmirror nor GEOM problem. The disks presented by umass > >> cannot be properly accessed by GEOM classes, so they can't detect their > >> metadata. > >> > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=124130 > > > > Is this related to the recent introduction of newbus_lock() ? > > Of course it is not as long as it is submitted in May 30. > This PR looks like FreeBSD 7 and not FreeBSD 8. Ignore my comment. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 11 16:12:30 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0C8F1065672 for ; Tue, 11 Aug 2009 16:12:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.tele2.se [212.247.155.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4AFDA8FC40 for ; Tue, 11 Aug 2009 16:12:29 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=b_0KrcHZN14A:10 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=RUznCDcU4CJuBdVyfdsA:9 a=tlobjgVwhKJSYmanHzIA:7 a=PeTUp5Du5THylGknP_09zR3eZQcA:4 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe09.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 944916306; Tue, 11 Aug 2009 18:12:28 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 11 Aug 2009 18:12:33 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <24918508.post@talk.nabble.com> In-Reply-To: <24918508.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908111812.34545.hselasky@c2i.net> Cc: vishalu93 Subject: Re: FreeBSD USB driver Documents? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 16:12:30 -0000 On Tuesday 11 August 2009 16:15:21 vishalu93 wrote: > I am trying to understand FreeBSD USB driver stack. The code is not > commented and hence it is difficult/time consuming to understand the code. > Are there any documents available describing different functions of USB > driver. There is /usr/src/tools/kerneldoc/ man 3 usb man 4 usb man libusb Else look at already existing drivers. No books from O'reilly available yet :-) --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Aug 12 15:08:32 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DAC01065675; Wed, 12 Aug 2009 15:08:32 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4427C8FC70; Wed, 12 Aug 2009 15:08:32 +0000 (UTC) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7CF8WoU021853; Wed, 12 Aug 2009 15:08:32 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7CF8WJw021849; Wed, 12 Aug 2009 15:08:32 GMT (envelope-from gavin) Date: Wed, 12 Aug 2009 15:08:32 GMT Message-Id: <200908121508.n7CF8WJw021849@freefall.freebsd.org> To: bruce@cran.org.uk, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org, gavin@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: docs/129962: [newusb] usbconfig(8) refers to non-existant usb2_core(4) 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: Wed, 12 Aug 2009 15:08:32 -0000 Synopsis: [newusb] usbconfig(8) refers to non-existant usb2_core(4) State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Wed Aug 12 15:07:15 UTC 2009 State-Changed-Why: Fixed in HEAD by thompsa, not applicable to other branches Responsible-Changed-From-To: freebsd-usb->gavin Responsible-Changed-By: gavin Responsible-Changed-When: Wed Aug 12 15:07:15 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=129962 From owner-freebsd-usb@FreeBSD.ORG Wed Aug 12 16:52:22 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3010106568F for ; Wed, 12 Aug 2009 16:52:21 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id CC47E8FC49 for ; Wed, 12 Aug 2009 16:52:21 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MbH3l-0004kv-0b for freebsd-usb@freebsd.org; Wed, 12 Aug 2009 09:52:21 -0700 Message-ID: <24940604.post@talk.nabble.com> Date: Wed, 12 Aug 2009 09:52:21 -0700 (PDT) From: vishalu93 To: freebsd-usb@freebsd.org In-Reply-To: <200908111812.34545.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vishalu93@gmail.com References: <24918508.post@talk.nabble.com> <200908111812.34545.hselasky@c2i.net> Subject: Re: FreeBSD USB driver Documents? 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: Wed, 12 Aug 2009 16:52:22 -0000 I am using FreeBSD version 6.0. Are there any documentation available for that version? Hans Petter Selasky wrote: > > On Tuesday 11 August 2009 16:15:21 vishalu93 wrote: >> I am trying to understand FreeBSD USB driver stack. The code is not >> commented and hence it is difficult/time consuming to understand the >> code. >> Are there any documents available describing different functions of USB >> driver. > > There is /usr/src/tools/kerneldoc/ > > man 3 usb > man 4 usb > man libusb > > Else look at already existing drivers. No books from O'reilly available > yet > :-) > > --HPS > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/FreeBSD-USB-driver-Documents--tp24918508p24940604.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Thu Aug 13 13:51:02 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E12C106566B; Thu, 13 Aug 2009 13:51:02 +0000 (UTC) (envelope-from mih@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 08DB18FC16; Thu, 13 Aug 2009 13:51:01 +0000 (UTC) Received: from [10.0.0.43] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id AAEEBC4264; Thu, 13 Aug 2009 15:32:33 +0200 (CEST) Message-ID: <4A841697.2080909@semihalf.com> Date: Thu, 13 Aug 2009 15:35:19 +0200 From: Michal Hajduk User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: hselasky@c2i.net, freebsd-usb@freebsd.org, freebsd-current@freebsd.org, freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Mounting rootfs from USB - problem. 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: Thu, 13 Aug 2009 13:51:02 -0000 Hello Hans, I've observed problem with mounting root filesystem from USB device at ARM platform. In my case the da0 device has showed too late (after Manual root filesystem specification). I've read the previous threads about USB booting problem but there was no final solution for this issue. http://www.nabble.com/new-usb-stack---boot-problem-from-usb-hdd-td23100089.html Maybe you know the best way how to deal with it ? or somebody is trying to fix it? Thanks for help. Best regards, MichaƂ Hajduk From owner-freebsd-usb@FreeBSD.ORG Thu Aug 13 13:52:44 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62D7F106566C for ; Thu, 13 Aug 2009 13:52:44 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1AEFD8FC56 for ; Thu, 13 Aug 2009 13:52:43 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n7DDnbow055488; Thu, 13 Aug 2009 09:49:38 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200908131349.n7DDnbow055488@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 13 Aug 2009 09:52:24 -0400 To: freebsd-usb@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Verizon Novatel U760 (u3g) 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: Thu, 13 Aug 2009 13:52:44 -0000 Some notes for the archives in case anyone else gets one of these evdo USB sticks with FreeBSD (in this case, RELENG_7) I had to make this small addition to u3g.c in order to get the device to work. Note, you still have to do a camcontrol eject pass0 --- u3g.c.orig 2009-08-11 09:25:47.000000000 -0400 +++ u3g.c 2009-08-11 09:26:37.000000000 -0400 @@ -144,6 +144,7 @@ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, U3GSP_HSPA, U3GINIT_HUAWEI }, /* OEM: Novatel */ {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_CDMA_MODEM }, U3GSP_CDMA, U3GINIT_EJECT }, + {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U760 }, U3GSP_CDMA, U3GINIT_EJECT }, {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_ES620 }, U3GSP_UMTS, U3GINIT_EJECT }, // XXX {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MC950D }, U3GSP_HSUPA, U3GINIT_EJECT }, {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U720 }, U3GSP_UMTS, U3GINIT_EJECT }, // XXX before and after camcontrol eject pass0 full speed, power 500 mA, config 1, Novatel Wireless CDMA(0x6000), Novatel Wireless Inc.(0x1410), rev 0.00 full speed, power 500 mA, config 1, Novatel Wireless CDMA(0x5030), Novatel Wireless Inc.(0x1410), rev 0.00 Also, not sure if its an "activation" thing or not, but we had to run the device once on a windows machine, otherwise we would get 0.0.0.0 as the IP address assigned. It might also be peculiar to Verizon, but we also needed to add deny chap to our ppp.conf stanza. evdo2: set device /dev/cuaU0.0 set speed 115200 #set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ # \"\" AT OK-AT-OK ATZ OK AT\$QCMDR=3 OK \\dATDT\\T TIMEOUT 50 CONNECT" set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATZ OK \\dATDT\\T TIMEOUT 50 CONNECT" set phone "#777" # The authname and authkey are meaningless, but you need to have them set. # Verizon's servers don't seem to care what you auth as. #set authname "notneeded@vzw3g.com" #set authkey "vzw" disable vjcomp disable acfcomp disable chap disable pap deny chap disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route disable dns ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-usb@FreeBSD.ORG Thu Aug 13 14:21:55 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C16471065674; Thu, 13 Aug 2009 14:21:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id CD45C8FC55; Thu, 13 Aug 2009 14:21:54 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=dlwttS5sZ5EA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=9I5xiGouAAAA:8 a=qxxMOkJawPEcHz25rw0A:9 a=aIh_f17IdQCX5QTYh5UICmK5DJ0A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 553092958; Thu, 13 Aug 2009 16:21:53 +0200 From: Hans Petter Selasky To: Michal Hajduk , Andrew Thompson Date: Thu, 13 Aug 2009 16:21:58 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A841697.2080909@semihalf.com> In-Reply-To: <4A841697.2080909@semihalf.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908131622.00203.hselasky@c2i.net> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Mounting rootfs from USB - problem. 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: Thu, 13 Aug 2009 14:21:56 -0000 On Thursday 13 August 2009 15:35:19 Michal Hajduk wrote: > Hello Hans, > > I've observed problem with mounting root filesystem from USB device at > ARM platform. In my case the da0 device has showed too late > (after Manual root filesystem specification). > > I've read the previous threads about USB booting problem but > there was no final solution for this issue. > > http://www.nabble.com/new-usb-stack---boot-problem-from-usb-hdd-td23100089. >html > > > Maybe you know the best way how to deal with it ? or somebody > is trying to fix it? Hi, The problem is in: src/sys/kern/vfs_mount.c I have suggested a solution where the mount root code is polling for the given device until it arrives. The current device behaviour is the opposite: To wait until all devices are present until mounting anything. I'm currently not involved in any work on this. I would not recommend adding more delay during startup to catch all kinds of USB devices enumerating. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Aug 13 21:49:39 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F0891065690 for ; Thu, 13 Aug 2009 21:49:39 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp113-58.static.internode.on.net [150.101.113.58]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7628FC62 for ; Thu, 13 Aug 2009 21:49:37 +0000 (UTC) Received: by k7.mavetju.org (Postfix, from userid 1001) id 91A9C45116; Fri, 14 Aug 2009 07:41:35 +1000 (EST) Date: Fri, 14 Aug 2009 07:41:35 +1000 From: Edwin Groothuis To: freebsd-usb@FreeBSD.org Message-ID: <20090813214135.GA89900@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: freebsd-mobile@freebsd.org Subject: Verizon Novatel U760 (u3g) 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: Thu, 13 Aug 2009 21:49:39 -0000 (cc to -mobile) > Also, not sure if its an "activation" thing or not, but we had to run > the device once on a windows machine, otherwise we would get 0.0.0.0 > as the IP address assigned. We had the same with the Huawei E220 (http://www.mavetju.org/weblog/html/00192.html): And dial: $ ppp three ppp> dial Ppp> PPp> That's not good, there should be three capital P's... Going through the PPP log, you will see that the IPCP layer doesn't get initialized properly. Why? No idea. How to resolve it? Put your USB modem in a windows machine, run it once there and put it back into your FreeBSD machine. Why? No idea. It works. The USB modem didn't work with under MacOS/X neither until I did this trick. Why? No idea. It works. With my adventures with the E169 (http://www.mavetju.org/weblog/html/00278.html) on which I had the same issue but couldn't get it resolved with the Windows trick I found out that unless I first got a manually picked the carrier and COPS code: AT+COPS=1,2,"50502",2 OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"VirginBroadband\\\" OK \ I got a CONNECT string back instead of a CONNECT 7200000. With the CONNECT string I got the IPCP layer failure, with the CONNECT 7200000 the PPP session got setup properly. Lots of magic happening in the air :-) Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-usb@FreeBSD.ORG Thu Aug 13 21:54:36 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CC031065672 for ; Thu, 13 Aug 2009 21:54:36 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp113-58.static.internode.on.net [150.101.113.58]) by mx1.freebsd.org (Postfix) with ESMTP id 2E53B8FC3D for ; Thu, 13 Aug 2009 21:54:35 +0000 (UTC) Received: by k7.mavetju.org (Postfix, from userid 1001) id 582824511A; Fri, 14 Aug 2009 07:32:52 +1000 (EST) Date: Fri, 14 Aug 2009 07:32:52 +1000 From: Edwin Groothuis To: freebsd-usb@freebsd.org Message-ID: <20090813213252.GG50832@mavetju.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: u3g driver sometimes loses the Huawei E169 modem after upgrade to 8.0BETA2 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: Thu, 13 Aug 2009 21:54:36 -0000 Hello, On 7.x this never happened, but on 8.x now and then (once or twice every traintrip) the E169 modem gets lost: You see the kernel messages that the device disappeared, /dev/cua0.0 disappears and thus PPP stops etc. Please let me know what kind of tests you want me to do to determine to root-cause and a possible fix. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-usb@FreeBSD.ORG Fri Aug 14 07:40:35 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECF3310656C8 for ; Fri, 14 Aug 2009 07:40:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 8485C8FC4F for ; Fri, 14 Aug 2009 07:40:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=-1wY1lKfchIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=byuRESWkj3PHt6eqEaUA:9 a=4xBpYDdZVGkyH43Y-viuqSZBMiwA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1122287065; Fri, 14 Aug 2009 09:40:33 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 14 Aug 2009 09:40:39 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090813213252.GG50832@mavetju.org> In-Reply-To: <20090813213252.GG50832@mavetju.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908140940.41000.hselasky@c2i.net> Cc: Edwin Groothuis Subject: Re: u3g driver sometimes loses the Huawei E169 modem after upgrade to 8.0BETA2 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, 14 Aug 2009 07:40:36 -0000 On Thursday 13 August 2009 23:32:52 Edwin Groothuis wrote: > Hello, > > On 7.x this never happened, but on 8.x now and then (once or twice > every traintrip) the E169 modem gets lost: You see the kernel > messages that the device disappeared, /dev/cua0.0 disappears and > thus PPP stops etc. > > Please let me know what kind of tests you want me to do to determine > to root-cause and a possible fix. How much traffic is being passed when the modem stops? If the device just disappears it is a sign of a crash on the modem side, and there is not so much we can do about it. You could try: sysctl hw.usb.ehci.no_hs=1 Before plugging the device. This will limit the speed to FULL speed only. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Aug 14 11:50:02 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 543B410656B1 for ; Fri, 14 Aug 2009 11:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 14ADC8FC15 for ; Fri, 14 Aug 2009 11:50:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7EBo1BQ058608 for ; Fri, 14 Aug 2009 11:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7EBo1Mu058607; Fri, 14 Aug 2009 11:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 14 Aug 2009 11:50:01 GMT Resent-Message-Id: <200908141150.n7EBo1Mu058607@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, "Rick E." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D4BF106568B for ; Fri, 14 Aug 2009 11:46:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7C57F8FC15 for ; Fri, 14 Aug 2009 11:46:37 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7EBkbSb097551 for ; Fri, 14 Aug 2009 11:46:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7EBkbl5097550; Fri, 14 Aug 2009 11:46:37 GMT (envelope-from nobody) Message-Id: <200908141146.n7EBkbl5097550@www.freebsd.org> Date: Fri, 14 Aug 2009 11:46:37 GMT From: "Rick E." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/137763: Logitech wireless keyboard media keys not working 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, 14 Aug 2009 11:50:02 -0000 >Number: 137763 >Category: usb >Synopsis: Logitech wireless keyboard media keys 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 Aug 14 11:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Rick E. >Release: 7.2-RELEASE >Organization: N/A >Environment: FreeBSD R-1.local. 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I can't seem to be able to get my Logitech Wireless Keyboard media keys to work, and they show nothing whatsoever in `xev`. I'm using the Wave keyboard. I'm not sure what driver "hackage" this would entail, but I figured I'd throw the PR out there and maybe someone could hack some patch up or something. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Aug 14 21:26:50 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19545106568B for ; Fri, 14 Aug 2009 21:26:50 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id A06C18FC59 for ; Fri, 14 Aug 2009 21:26:49 +0000 (UTC) Received: from [95.109.201.182] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 251617604 for freebsd-usb@freebsd.org; Fri, 14 Aug 2009 23:26:45 +0300 Message-ID: <4A85C878.5090007@FreeBSD.org> Date: Fri, 14 Aug 2009 23:26:32 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: False positive uipaq probe 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, 14 Aug 2009 21:26:50 -0000 Hi. USB-connected WM6 communicators are able to operate in two main comm modes: serial and RNDIS. That two modes reported with different device IDs. I have noticed that my HTC Prophet WM6 communicator started to behave wrong on recent CURRENT: uipaq0: on usbus3 device_attach: uipaq0 attach returned 6 uipaq0: on usbus3 device_attach: uipaq0 attach returned 6 As soon as uipaq is a kind of serial driver, it should not attach to RNDIS device. -- Alexander Motin From owner-freebsd-usb@FreeBSD.ORG Sat Aug 15 06:40:08 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0C141065692 for ; Sat, 15 Aug 2009 06:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 969978FC59 for ; Sat, 15 Aug 2009 06:40:08 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7F6e8RB042320 for ; Sat, 15 Aug 2009 06:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7F6e8uL042319; Sat, 15 Aug 2009 06:40:08 GMT (envelope-from gnats) Date: Sat, 15 Aug 2009 06:40:08 GMT Message-Id: <200908150640.n7F6e8uL042319@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Dan Naumov Cc: Subject: Re: kern/124130: [usb] gmirror fails to start usb devices that were present at boot time X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Naumov List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2009 06:40:08 -0000 The following reply was made to PR kern/124130; it has been noted by GNATS. From: Dan Naumov To: bug-followup@FreeBSD.org, kena@vodka-pomme.net Cc: Subject: Re: kern/124130: [usb] gmirror fails to start usb devices that were present at boot time Date: Sat, 15 Aug 2009 09:33:39 +0300 "This is not gmirror nor GEOM problem. The disks presented by umass cannot be properly accessed by GEOM classes, so they can't detect their metadata." Err, what? If GEOM classes cannot properly access disks presented by umass, it's precisely a GEOM problem. - Sincerely, Dan Naumov From owner-freebsd-usb@FreeBSD.ORG Sat Aug 15 06:50:05 2009 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BC7D106568D for ; Sat, 15 Aug 2009 06:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 19C0A8FC4B for ; Sat, 15 Aug 2009 06:50:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7F6o4N0049234 for ; Sat, 15 Aug 2009 06:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7F6o4PR049233; Sat, 15 Aug 2009 06:50:04 GMT (envelope-from gnats) Resent-Date: Sat, 15 Aug 2009 06:50:04 GMT Resent-Message-Id: <200908150650.n7F6o4PR049233@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, OISHI Masakuni Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0770A1065672 for ; Sat, 15 Aug 2009 06:44:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EAD3C8FC43 for ; Sat, 15 Aug 2009 06:44:36 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7F6iack043040 for ; Sat, 15 Aug 2009 06:44:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7F6iaar043039; Sat, 15 Aug 2009 06:44:36 GMT (envelope-from nobody) Message-Id: <200908150644.n7F6iaar043039@www.freebsd.org> Date: Sat, 15 Aug 2009 06:44:36 GMT From: OISHI Masakuni To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/137789: Add quirks for EeePC 901 SD card reader 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, 15 Aug 2009 06:50:05 -0000 >Number: 137789 >Category: usb >Synopsis: Add quirks for EeePC 901 SD card reader >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: Sat Aug 15 06:50:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: OISHI Masakuni >Release: FreeBSD 8.0-BETA2 i386 >Organization: >Environment: >Description: When I use ZFS, "Synchronize cache failed" error occurs repeatedly. > (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 >How-To-Repeat: >Fix: Add quirks NO_TEST_UNIT_READY and NO_SYNCHRONIZE_CACHE. Patch attached with submission follows: --- sys/dev/usb/storage/umass.c.orig 2009-06-27 06:47:37.000000000 +0900 +++ sys/dev/usb/storage/umass.c 2009-08-15 15:15:24.427911742 +0900 @@ -412,6 +412,10 @@ UMASS_PROTO_DEFAULT, NO_SYNCHRONIZE_CACHE }, + {USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_SDCR_6335, RID_WILDCARD, + UMASS_PROTO_DEFAULT, + NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE + }, {USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_AU6390, RID_WILDCARD, UMASS_PROTO_DEFAULT, NO_SYNCHRONIZE_CACHE --- sys/dev/usb/usbdevs.orig 2009-07-31 03:53:06.000000000 +0900 +++ sys/dev/usb/usbdevs 2009-08-15 15:15:24.408907930 +0900 @@ -820,6 +820,7 @@ /* Alcor Micro, Inc. products */ product ALCOR2 KBD_HUB 0x2802 Kbd Hub +product ALCOR SDCR_6335 0x6335 SD/MMC Card Reader product ALCOR TRANSCEND 0x6387 Transcend JetFlash Drive product ALCOR MA_KBD_HUB 0x9213 MacAlly Kbd Hub product ALCOR AU9814 0x9215 AU9814 Hub >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Aug 15 09:44:54 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7969106568B for ; Sat, 15 Aug 2009 09:44:54 +0000 (UTC) (envelope-from sanpei@sanpei.org) Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 7BD2F8FC3F for ; Sat, 15 Aug 2009 09:44:54 +0000 (UTC) Received: from cherry.sanpei.org (j069113.ppp.asahi-net.or.jp [61.213.69.113]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 80FA072D54 for ; Sat, 15 Aug 2009 18:44:53 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by cherry.sanpei.org (8.14.3/8.13.8) with ESMTP id n7F9ipaC001693; Sat, 15 Aug 2009 18:44:51 +0900 (JST) (envelope-from sanpei@sanpei.org) Date: Sat, 15 Aug 2009 18:44:51 +0900 (JST) Message-Id: <20090815.184451.98918234.sanpei@sanpei.org> To: freebsd-usb@freebsd.org From: MIHIRA Sanpei Yoshiro X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (cherry.sanpei.org [127.0.0.1]); Sat, 15 Aug 2009 18:44:52 +0900 (JST) Subject: [8-current] kernel panic at boot time with some USB device 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, 15 Aug 2009 09:44:54 -0000 Hi. I tested 8-current(csup's at 2009.08.15.00.00.00). kernel panic at boot time with some USB device. ugen0.2: at usbus0 uaudio0: on usbus0 panic: lock (sleep mutex) Giant not locked @ /usr/src-8-2/sys/dev/usb/usb_request.c:312 cpuid = 0 KDB: enter:panic [thread pid 16 tid 100036 ] Stpped at kdb_enter+0x3a: movl $0, kdb_why jasmine# kldstat Id Refs Address Size Name 1 29 0xc0400000 cfefd0 kernel 2 1 0xc10ff000 11c00 if_bge.ko 3 1 0xc1111000 f6b8 snd_uaudio.ko 4 3 0xc1121000 61f98 sound.ko 5 1 0xc1184000 bb44 ipmi.ko 6 2 0xc1190000 2d0c smbus.ko 7 1 0xc1193000 d90c cpufreq.ko --- MIHIRA, Sanpei Yoshiro Tokyo, Japan. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 15 10:29:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 862D1106568B; Sat, 15 Aug 2009 10:29:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id E82578FC41; Sat, 15 Aug 2009 10:29:23 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=wurzP_8Jm_WT8ewGRSgA:9 a=GrPDdoBDmyKx93Vi0IAY380kxeQA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1294553550; Sat, 15 Aug 2009 12:29:22 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 15 Aug 2009 12:29:31 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A85C878.5090007@FreeBSD.org> In-Reply-To: <4A85C878.5090007@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908151229.32582.hselasky@c2i.net> Cc: Alexander Motin Subject: Re: False positive uipaq probe 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, 15 Aug 2009 10:29:24 -0000 On Friday 14 August 2009 22:26:32 Alexander Motin wrote: > Hi. > > USB-connected WM6 communicators are able to operate in two main comm > modes: serial and RNDIS. That two modes reported with different device > IDs. I have noticed that my HTC Prophet WM6 communicator started to > behave wrong on recent CURRENT: > > uipaq0: on usbus3 > device_attach: uipaq0 attach returned 6 > uipaq0: on usbus3 > device_attach: uipaq0 attach returned 6 > > As soon as uipaq is a kind of serial driver, it should not attach to > RNDIS device. Can you provide output from "usbconfig -u XXX -a YYY dump_device_desc dump_curr_config_desc" in the Serial and RNDIS case? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 15 10:35:50 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4465D106568C; Sat, 15 Aug 2009 10:35:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id A4B9A8FC52; Sat, 15 Aug 2009 10:35:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=hXHmkSuXx_wA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=RzcdTfU7KN4euSH0JYYA:9 a=fOniZUWuBR7Ar4gOMp4A:7 a=XLOo4hrMXqbh6T_XVspedYCiSogA:4 a=8lpxN3C1YW8A:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1305732263; Sat, 15 Aug 2009 12:35:47 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, alfred@freebsd.org Date: Sat, 15 Aug 2009 12:35:55 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090815.184451.98918234.sanpei@sanpei.org> In-Reply-To: <20090815.184451.98918234.sanpei@sanpei.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908151235.56319.hselasky@c2i.net> Cc: MIHIRA Sanpei Yoshiro Subject: Re: [8-current] kernel panic at boot time with some USB device 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, 15 Aug 2009 10:35:50 -0000 On Saturday 15 August 2009 11:44:51 MIHIRA Sanpei Yoshiro wrote: > Hi. > > I tested 8-current(csup's at 2009.08.15.00.00.00). > > kernel panic at boot time with some USB device. > > ugen0.2: at usbus0 > uaudio0: 1.10/1.00, addr 2> on usbus0 panic: lock (sleep mutex) Giant not locked @ > /usr/src-8-2/sys/dev/usb/usb_request.c:312 cpuid = 0 > KDB: enter:panic > [thread pid 16 tid 100036 ] > Stpped at kdb_enter+0x3a: movl $0, kdb_why > Hi, This issue should have been solved, but it looks like not committed to 8- current yet. Try fetching latest uaudio.c from USB P4: http://perforce.freebsd.org/chv.cgi?CH=167030 http://perforce.freebsd.org/chv.cgi?CH=167032 --HPS