From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 12:26:30 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 8AFE81065673; Sun, 22 Mar 2009 12:26:30 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from mailbackup.inode.at (mailbackup.inode.at [213.229.60.24]) by mx1.freebsd.org (Postfix) with ESMTP id 47DB98FC0A; Sun, 22 Mar 2009 12:26:30 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from [62.99.145.22] (port=42937 helo=mx.inode.at) by mailbackup.inode.at with esmtp (Exim 4.67) (envelope-from ) id 1LlMHn-0007ra-Kr; Sun, 22 Mar 2009 12:56:15 +0100 Received: from [62.178.208.15] (port=12765 helo=[192.168.1.28]) by smartmx-20.inode.at with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1LlMHg-00055i-UX; Sun, 22 Mar 2009 12:56:09 +0100 In-Reply-To: <20090320043115.3b46177e.ota@j.email.ne.jp> References: <20090319223756.GF2118@citylink.fud.org.nz> <20090320043115.3b46177e.ota@j.email.ne.jp> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8C4A9CBD-486C-40E5-AE91-C2B281625C1B@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Tilman Linneweh Date: Sun, 22 Mar 2009 12:55:57 +0100 To: Yoshihiro Ota X-Mailer: Apple Mail (2.753.1) Cc: usb , current@freebsd.org Subject: Re: USBTODO 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, 22 Mar 2009 12:26:30 -0000 * Yoshihiro Ota [ Mar 20, 2009 (09:31 )]: >> >> Remember there is a page tracking the new USB stack to the 8.0 >> release. >> Please add any items/regressions or even better would be to pick up a >> task and work on it. >> >> http://wiki.freebsd.org/USBTODO > > Can I create an account and update the page freely or do I need > someone's > permission to do so? You can create an account and then ask a FreeBSD Developer to give editing permissions to this account. From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 13:13:19 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 421F51065688 for ; Sun, 22 Mar 2009 13:13:19 +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 E176A8FC13 for ; Sun, 22 Mar 2009 13:13:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MDBi5w042531 for ; Sun, 22 Mar 2009 07:11:44 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 07:12:20 -0600 (MDT) Message-Id: <20090322.071220.1447367564.imp@bsdimp.com> To: usb@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: Subject: Still wrong 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, 22 Mar 2009 13:13:19 -0000 ugen2.2: at usbus2 umass0: on usbus2 umass0: SCSI over Bulk-Only; quirks = 0x4480 umass0:2:0:-1: Attached to scbus2 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: < > Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present This is a cd player. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 13:16:10 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 992D4106566C for ; Sun, 22 Mar 2009 13:16:10 +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 45A348FC19 for ; Sun, 22 Mar 2009 13:16:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MDESVN042562 for ; Sun, 22 Mar 2009 07:14:29 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 07:15:04 -0600 (MDT) Message-Id: <20090322.071504.-726381019.imp@bsdimp.com> To: usb@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: Subject: usbdevs -v 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, 22 Mar 2009 13:16:11 -0000 So what's the new way to say usbdevs -v? usbconfig list doesn't list device IDs. And devinfo doesn't show a device unless it is attached to a driver. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 13:22:10 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 8C815106564A for ; Sun, 22 Mar 2009 13:22:10 +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 4965A8FC0A for ; Sun, 22 Mar 2009 13:22:10 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MDKtE6042638 for ; Sun, 22 Mar 2009 07:20:55 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 07:21:31 -0600 (MDT) Message-Id: <20090322.072131.-450937795.imp@bsdimp.com> To: usb@freebsd.org From: "M. Warner Losh" In-Reply-To: <20090322.071220.1447367564.imp@bsdimp.com> References: <20090322.071220.1447367564.imp@bsdimp.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: Subject: Re: Still wrong 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, 22 Mar 2009 13:22:11 -0000 In message: <20090322.071220.1447367564.imp@bsdimp.com> "M. Warner Losh" writes: : ugen2.2: at usbus2 : umass0: on usbus2 : umass0: SCSI over Bulk-Only; quirks = 0x4480 : umass0:2:0:-1: Attached to scbus2 : (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 : (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error : (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition : (probe0:umass-sim0:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0 : (probe0:umass-sim0:0:0:0): Medium not present : (probe0:umass-sim0:0:0:0): Unretryable error : da0 at umass-sim0 bus 0 target 0 lun 0 : da0: < > Removable Direct Access SCSI-2 device : da0: 40.000MB/s transfers : da0: Attempt to query device size failed: NOT READY, Medium not present : : This is a cd player. The MYSON HEDEN entry most likely can just be removed entirely. I don't think it is needed, and certainly isn't necessary for my device. Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 13:51:43 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 39F39106564A; Sun, 22 Mar 2009 13:51:43 +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 9CE868FC08; Sun, 22 Mar 2009 13:51:42 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=v4GjTP5sPAdw6d8QWq0A:9 a=N97cV5b-uisiCw9zNJEs5mpQWgYA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1216952078; Sun, 22 Mar 2009 14:51:41 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 22 Mar 2009 14:54:08 +0100 User-Agent: KMail/1.9.7 References: <20090322.071504.-726381019.imp@bsdimp.com> In-Reply-To: <20090322.071504.-726381019.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903221454.10594.hselasky@c2i.net> Cc: usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 13:51:43 -0000 On Sunday 22 March 2009, M. Warner Losh wrote: > So what's the new way to say usbdevs -v? usbconfig list doesn't list > device IDs. And devinfo doesn't show a device unless it is attached > to a driver. usbconfig dump_device_desc | grep id --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 13:51:43 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 39F39106564A; Sun, 22 Mar 2009 13:51:43 +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 9CE868FC08; Sun, 22 Mar 2009 13:51:42 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=v4GjTP5sPAdw6d8QWq0A:9 a=N97cV5b-uisiCw9zNJEs5mpQWgYA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1216952078; Sun, 22 Mar 2009 14:51:41 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 22 Mar 2009 14:54:08 +0100 User-Agent: KMail/1.9.7 References: <20090322.071504.-726381019.imp@bsdimp.com> In-Reply-To: <20090322.071504.-726381019.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903221454.10594.hselasky@c2i.net> Cc: usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 13:51:43 -0000 On Sunday 22 March 2009, M. Warner Losh wrote: > So what's the new way to say usbdevs -v? usbconfig list doesn't list > device IDs. And devinfo doesn't show a device unless it is attached > to a driver. usbconfig dump_device_desc | grep id --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 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 363BE106564A for ; Sun, 22 Mar 2009 13:52:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id C07B68FC12 for ; Sun, 22 Mar 2009 13:52:43 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=7Qk2ozbKAAAA:8 a=bMLLb4vesfaZj88XSt4A:9 a=Kjxu7VutNkFjFVZLsqkA:7 a=5OwocMIpasxNOudlYRZ6ZCL80aMA:4 a=LY0hPdMaydYA:10 a=cvZW9r6VXHAA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1214504234; Sun, 22 Mar 2009 14:52:42 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 22 Mar 2009 14:55:12 +0100 User-Agent: KMail/1.9.7 References: <20090322.071220.1447367564.imp@bsdimp.com> <20090322.072131.-450937795.imp@bsdimp.com> In-Reply-To: <20090322.072131.-450937795.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903221455.13414.hselasky@c2i.net> Cc: Subject: Re: Still wrong 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, 22 Mar 2009 13:52:44 -0000 On Sunday 22 March 2009, M. Warner Losh wrote: > In message: <20090322.071220.1447367564.imp@bsdimp.com> > > "M. Warner Losh" writes: > : ugen2.2: at usbus2 > : umass0: on usbus2 > : umass0: SCSI over Bulk-Only; quirks = 0x4480 > : umass0:2:0:-1: Attached to scbus2 > : (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > : (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > : (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > : (probe0:umass-sim0:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0 > : (probe0:umass-sim0:0:0:0): Medium not present > : (probe0:umass-sim0:0:0:0): Unretryable error > : da0 at umass-sim0 bus 0 target 0 lun 0 > : da0: < > Removable Direct Access SCSI-2 device > : da0: 40.000MB/s transfers > : da0: Attempt to query device size failed: NOT READY, Medium not present > : > : This is a cd player. > > The MYSON HEDEN entry most likely can just be removed entirely. I > don't think it is needed, and certainly isn't necessary for my > device. Maybe you can limit the entry by the revision ID ? It seems like multiple products are using the same vendor + product ID's. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 15:38:03 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 3E5091065676 for ; Sun, 22 Mar 2009 15:38:03 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id F2B9B8FC0A for ; Sun, 22 Mar 2009 15:38:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 2A08CFF32; Mon, 23 Mar 2009 04:38:02 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cGpVkCFhuDiS; Mon, 23 Mar 2009 04:37:58 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 23 Mar 2009 04:37:58 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 5F0801142F; Mon, 23 Mar 2009 04:37:57 +1300 (NZDT) Date: Sun, 22 Mar 2009 08:37:57 -0700 From: Andrew Thompson To: "M. Warner Losh" Message-ID: <20090322153757.GC50126@citylink.fud.org.nz> References: <20090322.071504.-726381019.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090322.071504.-726381019.imp@bsdimp.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 15:38:03 -0000 On Sun, Mar 22, 2009 at 07:15:04AM -0600, M. Warner Losh wrote: > So what's the new way to say usbdevs -v? usbconfig list doesn't list > device IDs. And devinfo doesn't show a device unless it is attached > to a driver. There is an open task on the todo to add usbdevs compat to usbconfig. Andrew From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 18:40:41 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 66D6F1065675 for ; Sun, 22 Mar 2009 18:40:41 +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 264098FC0C for ; Sun, 22 Mar 2009 18:40:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MIdmou046310; Sun, 22 Mar 2009 12:39:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 12:40:24 -0600 (MDT) Message-Id: <20090322.124024.1062686055.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200903221455.13414.hselasky@c2i.net> References: <20090322.071220.1447367564.imp@bsdimp.com> <20090322.072131.-450937795.imp@bsdimp.com> <200903221455.13414.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: Still wrong 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, 22 Mar 2009 18:40:41 -0000 In message: <200903221455.13414.hselasky@c2i.net> Hans Petter Selasky writes: : On Sunday 22 March 2009, M. Warner Losh wrote: : > In message: <20090322.071220.1447367564.imp@bsdimp.com> : > : > "M. Warner Losh" writes: : > : ugen2.2: at usbus2 : > : umass0: on usbus2 : > : umass0: SCSI over Bulk-Only; quirks = 0x4480 : > : umass0:2:0:-1: Attached to scbus2 : > : (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 : > : (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error : > : (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition : > : (probe0:umass-sim0:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0 : > : (probe0:umass-sim0:0:0:0): Medium not present : > : (probe0:umass-sim0:0:0:0): Unretryable error : > : da0 at umass-sim0 bus 0 target 0 lun 0 : > : da0: < > Removable Direct Access SCSI-2 device : > : da0: 40.000MB/s transfers : > : da0: Attempt to query device size failed: NOT READY, Medium not present : > : : > : This is a cd player. : > : > The MYSON HEDEN entry most likely can just be removed entirely. I : > don't think it is needed, and certainly isn't necessary for my : > device. : : Maybe you can limit the entry by the revision ID ? : : It seems like multiple products are using the same vendor + product ID's. Do we have the history about why the quirk was needed to start with? Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 19:16: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 99A081065700 for ; Sun, 22 Mar 2009 19:16:22 +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 58BF68FC1B for ; Sun, 22 Mar 2009 19:16:22 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MJFMd2046764; Sun, 22 Mar 2009 13:15:22 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 13:15:58 -0600 (MDT) Message-Id: <20090322.131558.114727889.imp@bsdimp.com> To: hselasky@c2i.net From: "M. Warner Losh" In-Reply-To: <200903221454.10594.hselasky@c2i.net> References: <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.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: usbdevs -v 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, 22 Mar 2009 19:16:23 -0000 In message: <200903221454.10594.hselasky@c2i.net> Hans Petter Selasky writes: : On Sunday 22 March 2009, M. Warner Losh wrote: : > So what's the new way to say usbdevs -v? usbconfig list doesn't list : > device IDs. And devinfo doesn't show a device unless it is attached : > to a driver. : : usbconfig dump_device_desc | grep id So the answer would basically be "no, there isn't a simple one": sudo usbconfig dump_device_desc | grep id idVendor = 0x0000 idProduct = 0x0000 idVendor = 0x0000 idProduct = 0x0000 idVendor = 0x0000 idProduct = 0x0000 idVendor = 0x04cf idProduct = 0x8818 idVendor = 0x0d49 idProduct = 0x7310 It is possible to find the info, but it is burried in a very verbose output. It is some cool very verbose output, granted, but still, it can take a while to find... Guess that's what they made emacs for... Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 19:43:59 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 6790810657CA for ; Sun, 22 Mar 2009 19:43:59 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3ED978FC1F for ; Sun, 22 Mar 2009 19:43:58 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 14437 invoked from network); 22 Mar 2009 19:17:16 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Mar 2009 19:17:16 -0000 Message-ID: <49C68EBB.8090306@telenix.org> Date: Sun, 22 Mar 2009 15:17:15 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Hans Petter Selasky References: <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.hselasky@c2i.net> In-Reply-To: <200903221454.10594.hselasky@c2i.net> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 19:44:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Petter Selasky wrote: > On Sunday 22 March 2009, M. Warner Losh wrote: >> So what's the new way to say usbdevs -v? usbconfig list doesn't list >> device IDs. And devinfo doesn't show a device unless it is attached >> to a driver. > > usbconfig dump_device_desc | grep id Is this usbconfig interface planned to be the only remaining tool? Having only those difficult to remember long form commands makes this tool quite user unfriendly. In my own system, I'm going to have to implement a shell shim, to help me out. Doesn't this seem hard to remember, to anyone else? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknGjrsACgkQz62J6PPcoOms6QCeJn6H3//84neYYT4blOpgHkfr Eo8Ani1aawuhT9VLRqIdes9v8TrX33hl =VRRs -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 19:43:59 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 61A1010657B4 for ; Sun, 22 Mar 2009 19:43:59 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3B03C8FC1E for ; Sun, 22 Mar 2009 19:43:58 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 14437 invoked from network); 22 Mar 2009 19:17:16 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Mar 2009 19:17:16 -0000 Message-ID: <49C68EBB.8090306@telenix.org> Date: Sun, 22 Mar 2009 15:17:15 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Hans Petter Selasky References: <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.hselasky@c2i.net> In-Reply-To: <200903221454.10594.hselasky@c2i.net> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 19:44:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Petter Selasky wrote: > On Sunday 22 March 2009, M. Warner Losh wrote: >> So what's the new way to say usbdevs -v? usbconfig list doesn't list >> device IDs. And devinfo doesn't show a device unless it is attached >> to a driver. > > usbconfig dump_device_desc | grep id Is this usbconfig interface planned to be the only remaining tool? Having only those difficult to remember long form commands makes this tool quite user unfriendly. In my own system, I'm going to have to implement a shell shim, to help me out. Doesn't this seem hard to remember, to anyone else? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknGjrsACgkQz62J6PPcoOms6QCeJn6H3//84neYYT4blOpgHkfr Eo8Ani1aawuhT9VLRqIdes9v8TrX33hl =VRRs -----END PGP SIGNATURE----- From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 20:08:19 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 A96DF10656C3; Sun, 22 Mar 2009 20:08:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 66E188FC0C; Sun, 22 Mar 2009 20:08:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id AAB4EFF38; Mon, 23 Mar 2009 09:08:18 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YVz-vsNu5nVK; Mon, 23 Mar 2009 09:08:15 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 23 Mar 2009 09:08:15 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 3C80B11432; Mon, 23 Mar 2009 09:08:15 +1300 (NZDT) Date: Sun, 22 Mar 2009 13:08:14 -0700 From: Andrew Thompson To: Chuck Robey Message-ID: <20090322200814.GA54381@citylink.fud.org.nz> References: <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.hselasky@c2i.net> <49C68EBB.8090306@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49C68EBB.8090306@telenix.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 20:08:20 -0000 On Sun, Mar 22, 2009 at 03:17:15PM -0400, Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hans Petter Selasky wrote: > > On Sunday 22 March 2009, M. Warner Losh wrote: > >> So what's the new way to say usbdevs -v? usbconfig list doesn't list > >> device IDs. And devinfo doesn't show a device unless it is attached > >> to a driver. > > > > usbconfig dump_device_desc | grep id > > Is this usbconfig interface planned to be the only remaining tool? Having only > those difficult to remember long form commands makes this tool quite user > unfriendly. In my own system, I'm going to have to implement a shell shim, to > help me out. Doesn't this seem hard to remember, to anyone else? As I have already said on this thread there is an open task to implement usbdevs compat to usbconfig. Once this is done the problem is moot :) Andrew From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 20:08:19 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 A96DF10656C3; Sun, 22 Mar 2009 20:08:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 66E188FC0C; Sun, 22 Mar 2009 20:08:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id AAB4EFF38; Mon, 23 Mar 2009 09:08:18 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YVz-vsNu5nVK; Mon, 23 Mar 2009 09:08:15 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 23 Mar 2009 09:08:15 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 3C80B11432; Mon, 23 Mar 2009 09:08:15 +1300 (NZDT) Date: Sun, 22 Mar 2009 13:08:14 -0700 From: Andrew Thompson To: Chuck Robey Message-ID: <20090322200814.GA54381@citylink.fud.org.nz> References: <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.hselasky@c2i.net> <49C68EBB.8090306@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49C68EBB.8090306@telenix.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 20:08:20 -0000 On Sun, Mar 22, 2009 at 03:17:15PM -0400, Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hans Petter Selasky wrote: > > On Sunday 22 March 2009, M. Warner Losh wrote: > >> So what's the new way to say usbdevs -v? usbconfig list doesn't list > >> device IDs. And devinfo doesn't show a device unless it is attached > >> to a driver. > > > > usbconfig dump_device_desc | grep id > > Is this usbconfig interface planned to be the only remaining tool? Having only > those difficult to remember long form commands makes this tool quite user > unfriendly. In my own system, I'm going to have to implement a shell shim, to > help me out. Doesn't this seem hard to remember, to anyone else? As I have already said on this thread there is an open task to implement usbdevs compat to usbconfig. Once this is done the problem is moot :) Andrew From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 20:16:55 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 C53B3106564A; Sun, 22 Mar 2009 20:16:55 +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 7EB918FC12; Sun, 22 Mar 2009 20:16:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MKG5rU047433; Sun, 22 Mar 2009 14:16:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 14:16:41 -0600 (MDT) Message-Id: <20090322.141641.1942082123.imp@bsdimp.com> To: chuckr@telenix.org From: "M. Warner Losh" In-Reply-To: <49C68EBB.8090306@telenix.org> References: <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.hselasky@c2i.net> <49C68EBB.8090306@telenix.org> 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, freebsd-usb@FreeBSD.org Subject: Re: usbdevs -v 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, 22 Mar 2009 20:16:56 -0000 In message: <49C68EBB.8090306@telenix.org> Chuck Robey writes: : -----BEGIN PGP SIGNED MESSAGE----- : Hash: SHA1 : : Hans Petter Selasky wrote: : > On Sunday 22 March 2009, M. Warner Losh wrote: : >> So what's the new way to say usbdevs -v? usbconfig list doesn't list : >> device IDs. And devinfo doesn't show a device unless it is attached : >> to a driver. : > : > usbconfig dump_device_desc | grep id : : Is this usbconfig interface planned to be the only remaining tool? Having only : those difficult to remember long form commands makes this tool quite user : unfriendly. In my own system, I'm going to have to implement a shell shim, to : help me out. Doesn't this seem hard to remember, to anyone else? I'd be happy with a 'usbconfig list -v' for this request. usbdevs does little more than that. That would make the usbdevs "program" #!/bin/sh exec usbconfig list $* (or is that list bit "$*", I forget). Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 20:16: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 C53B3106564A; Sun, 22 Mar 2009 20:16:55 +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 7EB918FC12; Sun, 22 Mar 2009 20:16:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MKG5rU047433; Sun, 22 Mar 2009 14:16:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 14:16:41 -0600 (MDT) Message-Id: <20090322.141641.1942082123.imp@bsdimp.com> To: chuckr@telenix.org From: "M. Warner Losh" In-Reply-To: <49C68EBB.8090306@telenix.org> References: <20090322.071504.-726381019.imp@bsdimp.com> <200903221454.10594.hselasky@c2i.net> <49C68EBB.8090306@telenix.org> 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, freebsd-usb@FreeBSD.org Subject: Re: usbdevs -v 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, 22 Mar 2009 20:16:56 -0000 In message: <49C68EBB.8090306@telenix.org> Chuck Robey writes: : -----BEGIN PGP SIGNED MESSAGE----- : Hash: SHA1 : : Hans Petter Selasky wrote: : > On Sunday 22 March 2009, M. Warner Losh wrote: : >> So what's the new way to say usbdevs -v? usbconfig list doesn't list : >> device IDs. And devinfo doesn't show a device unless it is attached : >> to a driver. : > : > usbconfig dump_device_desc | grep id : : Is this usbconfig interface planned to be the only remaining tool? Having only : those difficult to remember long form commands makes this tool quite user : unfriendly. In my own system, I'm going to have to implement a shell shim, to : help me out. Doesn't this seem hard to remember, to anyone else? I'd be happy with a 'usbconfig list -v' for this request. usbdevs does little more than that. That would make the usbdevs "program" #!/bin/sh exec usbconfig list $* (or is that list bit "$*", I forget). Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 20:28:20 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 242DD1065673; Sun, 22 Mar 2009 20:28:20 +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 D751E8FC18; Sun, 22 Mar 2009 20:28:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MKRAXV047587; Sun, 22 Mar 2009 14:27:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 14:27:46 -0600 (MDT) Message-Id: <20090322.142746.-364329192.imp@bsdimp.com> To: chuckr@telenix.org From: "M. Warner Losh" In-Reply-To: <20090322.141641.1942082123.imp@bsdimp.com> References: <200903221454.10594.hselasky@c2i.net> <49C68EBB.8090306@telenix.org> <20090322.141641.1942082123.imp@bsdimp.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: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 20:28:20 -0000 In message: <20090322.141641.1942082123.imp@bsdimp.com> "M. Warner Losh" writes: : In message: <49C68EBB.8090306@telenix.org> : Chuck Robey writes: : : -----BEGIN PGP SIGNED MESSAGE----- : : Hash: SHA1 : : : : Hans Petter Selasky wrote: : : > On Sunday 22 March 2009, M. Warner Losh wrote: : : >> So what's the new way to say usbdevs -v? usbconfig list doesn't list : : >> device IDs. And devinfo doesn't show a device unless it is attached : : >> to a driver. : : > : : > usbconfig dump_device_desc | grep id : : : : Is this usbconfig interface planned to be the only remaining tool? Having only : : those difficult to remember long form commands makes this tool quite user : : unfriendly. In my own system, I'm going to have to implement a shell shim, to : : help me out. Doesn't this seem hard to remember, to anyone else? : : I'd be happy with a 'usbconfig list -v' for this request. usbdevs : does little more than that. That would make the usbdevs "program" : : #!/bin/sh : exec usbconfig list $* : : (or is that list bit "$*", I forget). Oh, just ran the man page, and it is a little more than that... -f is the only hard one to implement... Warner From owner-freebsd-usb@FreeBSD.ORG Sun Mar 22 20:28:20 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 242DD1065673; Sun, 22 Mar 2009 20:28:20 +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 D751E8FC18; Sun, 22 Mar 2009 20:28:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2MKRAXV047587; Sun, 22 Mar 2009 14:27:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Mar 2009 14:27:46 -0600 (MDT) Message-Id: <20090322.142746.-364329192.imp@bsdimp.com> To: chuckr@telenix.org From: "M. Warner Losh" In-Reply-To: <20090322.141641.1942082123.imp@bsdimp.com> References: <200903221454.10594.hselasky@c2i.net> <49C68EBB.8090306@telenix.org> <20090322.141641.1942082123.imp@bsdimp.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: usb@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usbdevs -v 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, 22 Mar 2009 20:28:20 -0000 In message: <20090322.141641.1942082123.imp@bsdimp.com> "M. Warner Losh" writes: : In message: <49C68EBB.8090306@telenix.org> : Chuck Robey writes: : : -----BEGIN PGP SIGNED MESSAGE----- : : Hash: SHA1 : : : : Hans Petter Selasky wrote: : : > On Sunday 22 March 2009, M. Warner Losh wrote: : : >> So what's the new way to say usbdevs -v? usbconfig list doesn't list : : >> device IDs. And devinfo doesn't show a device unless it is attached : : >> to a driver. : : > : : > usbconfig dump_device_desc | grep id : : : : Is this usbconfig interface planned to be the only remaining tool? Having only : : those difficult to remember long form commands makes this tool quite user : : unfriendly. In my own system, I'm going to have to implement a shell shim, to : : help me out. Doesn't this seem hard to remember, to anyone else? : : I'd be happy with a 'usbconfig list -v' for this request. usbdevs : does little more than that. That would make the usbdevs "program" : : #!/bin/sh : exec usbconfig list $* : : (or is that list bit "$*", I forget). Oh, just ran the man page, and it is a little more than that... -f is the only hard one to implement... Warner From owner-freebsd-usb@FreeBSD.ORG Mon Mar 23 11:07:06 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 095621065672 for ; Mon, 23 Mar 2009 11:07:06 +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 E9A178FC1E for ; Mon, 23 Mar 2009 11:07:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NB75F8004185 for ; Mon, 23 Mar 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2NB751B004181 for freebsd-usb@FreeBSD.org; Mon, 23 Mar 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Mar 2009 11:07:05 GMT Message-Id: <200903231107.n2NB751B004181@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, 23 Mar 2009 11:07:06 -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/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 usb/129964 usb [newusb] disconnection of ugen devices isn't logged o bin/129963 usb [newusb] usbconfig(8) fails with misleading error when 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 o 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] cannot enable usb keyboard and mouse support in 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 [patch] [request] New driver for Sierra Wireless 3G US 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] FreeBSD fails to boot with usb legacy support e 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/120017 usb [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk 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/118686 usb [usbdevs] [patch] teach usbdevs / ubsa(4) about Huawei 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 s usb/110991 usb [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends o usb/110988 usb [umass] [patch] Handling of quirk IGNORE_RESIDUE is um 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 [patch] [request] new driver: add utoppy device from N 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 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/93408 usb [mouse] hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes 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 f usb/83677 usb [usb] [request] usb controller often not detected (Sun 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 [hang] Use of sound mixer causes system freeze with ua 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] 5.3-STABLE(2005 1/4) detect USB headset, But c 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 307 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Mar 23 13:13:30 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 32811106567D; Mon, 23 Mar 2009 13:13:30 +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 073FB8FC17; Mon, 23 Mar 2009 13:13:30 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NDDTCw091716; Mon, 23 Mar 2009 13:13:29 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2NDDTGh091712; Mon, 23 Mar 2009 13:13:29 GMT (envelope-from gavin) Date: Mon, 23 Mar 2009 13:13:29 GMT Message-Id: <200903231313.n2NDDTGh091712@freefall.freebsd.org> To: ota@j.email.ne.jp, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/132799: [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CACHE in its QUIRK 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, 23 Mar 2009 13:13:31 -0000 Synopsis: [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CACHE in its QUIRK State-Changed-From-To: open->patched State-Changed-By: gavin State-Changed-When: Mon Mar 23 13:13:07 UTC 2009 State-Changed-Why: Patched in HEAD http://www.freebsd.org/cgi/query-pr.cgi?pr=132799 From owner-freebsd-usb@FreeBSD.ORG Mon Mar 23 16:04:20 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 7D5B3106566B for ; Mon, 23 Mar 2009 16:04:20 +0000 (UTC) (envelope-from meslists@yahoo.fr) Received: from n21.bullet.mail.ukl.yahoo.com (n21.bullet.mail.ukl.yahoo.com [87.248.110.138]) by mx1.freebsd.org (Postfix) with SMTP id E02338FC16 for ; Mon, 23 Mar 2009 16:04:19 +0000 (UTC) (envelope-from meslists@yahoo.fr) Received: from [217.12.4.214] by n21.bullet.mail.ukl.yahoo.com with NNFMP; 23 Mar 2009 15:51:37 -0000 Received: from [87.248.110.114] by t1.bullet.ukl.yahoo.com with NNFMP; 23 Mar 2009 15:51:37 -0000 Received: from [127.0.0.1] by omp219.mail.ukl.yahoo.com with NNFMP; 23 Mar 2009 15:51:37 -0000 X-Yahoo-Newman-Id: 119147.65411.bm@omp219.mail.ukl.yahoo.com Received: (qmail 39897 invoked from network); 23 Mar 2009 15:51:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=prN5ln21dQxm/MF4Bpi6NVVV0kqJCXXlmqp3W45ps7e6Cz9c28U/Q6tLvaoQpo9cBkq1n7pNligKS2mv3lOr1CFhoy0MFjOPLkHtBXkJQCh8Co9THEJC3bLdOPD4eqpsN65Mk6VXPulvJwpBf1N8NGUlNrlPYqv2XUkEIbcc3Eg= ; Received: from unknown (HELO aodai.collidiamo.net) (meslists@151.49.237.32 with plain) by smtp103.mail.ukl.yahoo.com with SMTP; 23 Mar 2009 15:51:36 -0000 X-YMail-OSG: 8.3FAWIVM1kKDPGnyJ.w0McJkXDrhKUx0q89X1QsbaHSPmnc.BpD5IPqQYW0VgZ8oReE344J4w2yfBTBXmZ4UE.gfC_EXpWbV8fjQra3RjiUx3.zDQ0iqXeADLMdV0hsJ0oc.xHkKF5Sg1fxs2TgQZEk X-Yahoo-Newman-Property: ymail-3 Message-ID: <49C7AFFE.4060001@yahoo.fr> Date: Mon, 23 Mar 2009 16:51:26 +0100 From: dan User-Agent: Thunderbird 2.0.0.21 (X11/20090322) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: external DVD Rewriter 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, 23 Mar 2009 16:04:24 -0000 Hi ! I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 installation. ------- umass0: on uhub3 cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device ------- As soon as I installed the xorg + gnome 2 ports these `odd` messages started to continuously appear in ttyv0 : ------- umass0: Unsupported ATAPI command 0x4a - trying anyway umass0: Unsupported ATAPI command 0x4a - trying anyway umass0: Unsupported ATAPI command 0x46 - trying anyway umass0: Unsupported ATAPI command 0x4a - trying anyway [....] umass0: Unsupported ATAPI command 0x4a - trying anyway [....] ------- After investigating a bit, I suppose these messages are a kind of an answer from the umass driver to HAL inquiries ( ... disabling HAL the messages disappear). the doubts and questions are: ...is the command really an unsupported command or is it a bug ? In case it is a bug, to whom should I fill in a PR ? Thank you ! dan From owner-freebsd-usb@FreeBSD.ORG Mon Mar 23 16:47: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 6080010656D7 for ; Mon, 23 Mar 2009 16:47:07 +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 0F8FF8FC13 for ; Mon, 23 Mar 2009 16:47:06 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2NGk7J4068599; Mon, 23 Mar 2009 10:46:07 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 23 Mar 2009 10:46:41 -0600 (MDT) Message-Id: <20090323.104641.-75255559.imp@bsdimp.com> To: meslists@yahoo.fr From: "M. Warner Losh" In-Reply-To: <49C7AFFE.4060001@yahoo.fr> References: <49C7AFFE.4060001@yahoo.fr> 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: external DVD Rewriter 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, 23 Mar 2009 16:47:07 -0000 In message: <49C7AFFE.4060001@yahoo.fr> dan writes: : Hi ! : : I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 : installation. : : ------- : umass0: on uhub3 : cd0 at umass-sim0 bus 0 target 0 lun 0 : cd0: Removable CD-ROM SCSI-0 device : ------- : : As soon as I installed the xorg + gnome 2 ports these `odd` messages : started to continuously appear in ttyv0 : : : ------- : umass0: Unsupported ATAPI command 0x4a - trying anyway : umass0: Unsupported ATAPI command 0x4a - trying anyway : umass0: Unsupported ATAPI command 0x46 - trying anyway : umass0: Unsupported ATAPI command 0x4a - trying anyway : [....] : umass0: Unsupported ATAPI command 0x4a - trying anyway : [....] : ------- : : After investigating a bit, I suppose these messages are a kind of an : answer from the umass driver to HAL inquiries ( ... disabling HAL the : messages disappear). : : the doubts and questions are: ...is the command really an unsupported : command or is it a bug ? : : In case it is a bug, to whom should I fill in a PR ? Old usb printed this warning because of history. Originally it was an error because the thumb drives were stupid POS at the time and any command that they didn't understand would take an error path that hung the device. Bad kharma. In time, I got tired of adding each new command so that my dvd burner would work, so I just said "screw it, this is a warning now, and if somebody's drive fraks up, then so be it: they will know what's going on at least. Besides, people that try to burn a CD/DVD on their 256MB flash drive don't need that much protection: bad things happening to them isn't necessarily bad." Usb in 8.0 I think eliminated the warning. Warner From owner-freebsd-usb@FreeBSD.ORG Mon Mar 23 21:15:51 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 B3A98106568D; Mon, 23 Mar 2009 21:15:51 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 88DBB8FC17; Mon, 23 Mar 2009 21:15:51 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from freefall.freebsd.org (marius@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NLFpGa044061; Mon, 23 Mar 2009 21:15:51 GMT (envelope-from marius@freefall.freebsd.org) Received: (from marius@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2NLFpMA044057; Mon, 23 Mar 2009 21:15:51 GMT (envelope-from marius) Date: Mon, 23 Mar 2009 21:15:51 GMT Message-Id: <200903232115.n2NLFpMA044057@freefall.freebsd.org> To: freebsdusb@bindone.de, marius@FreeBSD.org, freebsd-usb@FreeBSD.org From: marius@FreeBSD.org Cc: Subject: Re: usb/110988: [umass] [patch] Handling of quirk IGNORE_RESIDUE is umass.c is broken 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, 23 Mar 2009 21:15:52 -0000 Synopsis: [umass] [patch] Handling of quirk IGNORE_RESIDUE is umass.c is broken State-Changed-From-To: open->closed State-Changed-By: marius State-Changed-When: Mon Mar 23 21:12:42 UTC 2009 State-Changed-Why: Close; IGNORE_RESIDUE was fixed as part of r189905 in head and in r190327 for stable/7. http://www.freebsd.org/cgi/query-pr.cgi?pr=110988 From owner-freebsd-usb@FreeBSD.ORG Mon Mar 23 21:19:55 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 9F5281065816; Mon, 23 Mar 2009 21:19:55 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7190D8FC12; Mon, 23 Mar 2009 21:19:55 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from freefall.freebsd.org (marius@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NLJtoQ044190; Mon, 23 Mar 2009 21:19:55 GMT (envelope-from marius@freefall.freebsd.org) Received: (from marius@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2NLJtWl044186; Mon, 23 Mar 2009 21:19:55 GMT (envelope-from marius) Date: Mon, 23 Mar 2009 21:19:55 GMT Message-Id: <200903232119.n2NLJtWl044186@freefall.freebsd.org> To: freebsdusb@bindone.de, marius@FreeBSD.org, freebsd-usb@FreeBSD.org From: marius@FreeBSD.org Cc: Subject: Re: usb/110991: [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends on usb/110988) 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, 23 Mar 2009 21:19:58 -0000 Synopsis: [usbdevs] [patch] QUIRK: Super Top IDE DEVICE (depends on usb/110988) State-Changed-From-To: suspended->closed State-Changed-By: marius State-Changed-When: Mon Mar 23 21:16:55 UTC 2009 State-Changed-Why: Close; a quirk for the Supertop IDE adapter was added in r189904, which was MFC'ed to stable/7 in r190311. http://www.freebsd.org/cgi/query-pr.cgi?pr=110991 From owner-freebsd-usb@FreeBSD.ORG Tue Mar 24 06:00:16 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 F40C3106567D for ; Tue, 24 Mar 2009 06:00:15 +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 C68EF8FC24 for ; Tue, 24 Mar 2009 06:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2O60FEq051702 for ; Tue, 24 Mar 2009 06:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2O60Fwp051701; Tue, 24 Mar 2009 06:00:15 GMT (envelope-from gnats) Date: Tue, 24 Mar 2009 06:00:15 GMT Message-Id: <200903240600.n2O60Fwp051701@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Dominic Fandrey Cc: Subject: Re: usb/122936: [ucom] [ubsa] Device does not receive interrupt X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dominic Fandrey List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 06:00:17 -0000 The following reply was made to PR usb/122936; it has been noted by GNATS. From: Dominic Fandrey To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de Cc: Subject: Re: usb/122936: [ucom] [ubsa] Device does not receive interrupt Date: Tue, 24 Mar 2009 06:59:40 +0100 U3G has made this not worth bothering. I suggest this be closed. Maybe strip support for the device from ubsa. It's just a lot more pleasant experience with u3g. From owner-freebsd-usb@FreeBSD.ORG Tue Mar 24 16:02: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 02E2D1065732 for ; Tue, 24 Mar 2009 16:02:30 +0000 (UTC) (envelope-from meslists@yahoo.fr) Received: from n20.bullet.mail.ukl.yahoo.com (n20.bullet.mail.ukl.yahoo.com [87.248.110.137]) by mx1.freebsd.org (Postfix) with SMTP id 624278FC20 for ; Tue, 24 Mar 2009 16:02:29 +0000 (UTC) (envelope-from meslists@yahoo.fr) Received: from [217.146.182.177] by n20.bullet.mail.ukl.yahoo.com with NNFMP; 24 Mar 2009 16:02:28 -0000 Received: from [87.248.110.118] by t3.bullet.ukl.yahoo.com with NNFMP; 24 Mar 2009 16:02:28 -0000 Received: from [127.0.0.1] by omp223.mail.ukl.yahoo.com with NNFMP; 24 Mar 2009 16:02:28 -0000 X-Yahoo-Newman-Id: 580504.84247.bm@omp223.mail.ukl.yahoo.com Received: (qmail 48965 invoked from network); 24 Mar 2009 16:02:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=beNDPQIIqj2Jm5gZopMJcdFkfUe3shI7SzkhCrPhzSgRTifwzs5JCOjiKh3ECMDJlfHYlbrF3yF68CfJqjrCRqxQhE5k7q/VEglsZVL8Wcj6pqkRNq3rBoZZTIMWjajqh7Woa5/Mc9oQJXDPokvaxDRXqMC6fYnMOt57udvhNpc= ; Received: from unknown (HELO aodai.collidiamo.net) (meslists@151.49.227.57 with plain) by smtp135.mail.ukl.yahoo.com with SMTP; 24 Mar 2009 16:02:28 -0000 X-YMail-OSG: 3TQij.MVM1n3STtZK.7pNUiZkK2IoCJHDGCRZExFPz8ON.mwvRa3gJFgQiK_05Pr8lC47yYkqoOyPHg1YSd9Vl3M204M9vcHqFWI6V8rlNiHK3lMZfYgWidFnO1ZOQUFPrr0ppqZvgwroDfVKWBCN_sJ8Xz280pDJspmTvHvivWXFmvl10_SXRin X-Yahoo-Newman-Property: ymail-3 Message-ID: <49C90409.8020308@yahoo.fr> Date: Tue, 24 Mar 2009 17:02:17 +0100 From: dan User-Agent: Thunderbird 2.0.0.21 (X11/20090322) MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <49C7AFFE.4060001@yahoo.fr> <20090323.104641.-75255559.imp@bsdimp.com> In-Reply-To: <20090323.104641.-75255559.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: external DVD Rewriter 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, 24 Mar 2009 16:02:32 -0000 Hi, thank you for the answer ! So, If I am not wrong, you are suggesting to forget about this warning and go on using the writer, right ? Hmmm ... I would be at least interested in understanding the nature of the problem, to be honest. And avoid that hundreds of these messages fill in the screen sometimes hiding important error messages :-) Any suggestion ? Thank you, dan M. Warner Losh wrote: > In message: <49C7AFFE.4060001@yahoo.fr> > dan writes: > : Hi ! > : > : I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 > : installation. > : > : ------- > : umass0: on uhub3 > : cd0 at umass-sim0 bus 0 target 0 lun 0 > : cd0: Removable CD-ROM SCSI-0 device > : ------- > : > : As soon as I installed the xorg + gnome 2 ports these `odd` messages > : started to continuously appear in ttyv0 : > : > : ------- > : umass0: Unsupported ATAPI command 0x4a - trying anyway > : umass0: Unsupported ATAPI command 0x4a - trying anyway > : umass0: Unsupported ATAPI command 0x46 - trying anyway > : umass0: Unsupported ATAPI command 0x4a - trying anyway > : [....] > : umass0: Unsupported ATAPI command 0x4a - trying anyway > : [....] > : ------- > : > : After investigating a bit, I suppose these messages are a kind of an > : answer from the umass driver to HAL inquiries ( ... disabling HAL the > : messages disappear). > : > : the doubts and questions are: ...is the command really an unsupported > : command or is it a bug ? > : > : In case it is a bug, to whom should I fill in a PR ? > > Old usb printed this warning because of history. Originally it was an > error because the thumb drives were stupid POS at the time and any > command that they didn't understand would take an error path that hung > the device. Bad kharma. In time, I got tired of adding each new > command so that my dvd burner would work, so I just said "screw it, > this is a warning now, and if somebody's drive fraks up, then so be > it: they will know what's going on at least. Besides, people that try > to burn a CD/DVD on their 256MB flash drive don't need that much > protection: bad things happening to them isn't necessarily bad." > > Usb in 8.0 I think eliminated the warning. > > Warner > > From owner-freebsd-usb@FreeBSD.ORG Tue Mar 24 16:32:27 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 66FB01065CA2 for ; Tue, 24 Mar 2009 16:32:27 +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 086CE8FC1C for ; Tue, 24 Mar 2009 16:32:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2OGV2uW094840; Tue, 24 Mar 2009 10:31:02 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 24 Mar 2009 10:31:38 -0600 (MDT) Message-Id: <20090324.103138.1359520009.imp@bsdimp.com> To: meslists@yahoo.fr From: "M. Warner Losh" In-Reply-To: <49C90409.8020308@yahoo.fr> References: <49C7AFFE.4060001@yahoo.fr> <20090323.104641.-75255559.imp@bsdimp.com> <49C90409.8020308@yahoo.fr> 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: external DVD Rewriter 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, 24 Mar 2009 16:32:33 -0000 In message: <49C90409.8020308@yahoo.fr> dan writes: : Hi, thank you for the answer ! : : So, If I am not wrong, you are suggesting to forget about this warning : and go on using the writer, right ? If it works, yes. Don't worry. Be happy! : Hmmm ... I would be at least interested in understanding the nature of : the problem, to be honest. And avoid that hundreds of these messages : fill in the screen sometimes hiding important error messages :-) The problem is with old Flash memory sticks. They wedge hard when certain commands are sent to them. The original filter was put in place to ensure a strict compliance to one of the scsi subsets that was used for the flash sticks. However, it caught more than just memory sticks in its net. so when the burning software sends the commands to query the state of the disk, set the burn speed, etc, you'll see these commands appear in the logs. : Any suggestion ? Did that help? Warner : Thank you, : : dan : : : M. Warner Losh wrote: : > In message: <49C7AFFE.4060001@yahoo.fr> : > dan writes: : > : Hi ! : > : : > : I recently added an external LG dvd rewriter to a clean FreeBSD 7.1 : > : installation. : > : : > : ------- : > : umass0: on uhub3 : > : cd0 at umass-sim0 bus 0 target 0 lun 0 : > : cd0: Removable CD-ROM SCSI-0 device : > : ------- : > : : > : As soon as I installed the xorg + gnome 2 ports these `odd` messages : > : started to continuously appear in ttyv0 : : > : : > : ------- : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : umass0: Unsupported ATAPI command 0x46 - trying anyway : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : [....] : > : umass0: Unsupported ATAPI command 0x4a - trying anyway : > : [....] : > : ------- : > : : > : After investigating a bit, I suppose these messages are a kind of an : > : answer from the umass driver to HAL inquiries ( ... disabling HAL the : > : messages disappear). : > : : > : the doubts and questions are: ...is the command really an unsupported : > : command or is it a bug ? : > : : > : In case it is a bug, to whom should I fill in a PR ? : > : > Old usb printed this warning because of history. Originally it was an : > error because the thumb drives were stupid POS at the time and any : > command that they didn't understand would take an error path that hung : > the device. Bad kharma. In time, I got tired of adding each new : > command so that my dvd burner would work, so I just said "screw it, : > this is a warning now, and if somebody's drive fraks up, then so be : > it: they will know what's going on at least. Besides, people that try : > to burn a CD/DVD on their 256MB flash drive don't need that much : > protection: bad things happening to them isn't necessarily bad." : > : > Usb in 8.0 I think eliminated the warning. : > : > Warner : > : > : : : From owner-freebsd-usb@FreeBSD.ORG Wed Mar 25 09:18: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 06C371065677; Wed, 25 Mar 2009 09:18:01 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id B8B668FC08; Wed, 25 Mar 2009 09:18:00 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so3050851rvb.43 for ; Wed, 25 Mar 2009 02:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mime-version:content-type :content-disposition:user-agent:organization:x-operation-sytem; bh=X33sMe++n6kL8+8g0JRCZ3OMwO4tF3vaWksZ2Qdciag=; b=WY04uYkb9RxlncaZwlacdFuFk4XiDRmrvzuH7czqqOsixmIp/EFV/Po9/JZhfP1jka O341tgIXOvCjMFdBMSEgNilnTCHpxx8vPXh8E6AIOumOExMVLH4isaKDnqREtcxx/62V QdU1sPa9x9y+wFW5pFg1Sl3z44Y/IpxZwHhb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mime-version :content-type:content-disposition:user-agent:organization :x-operation-sytem; b=k0olfNbHlMyoXpFJuUR0wfelQjTQQJuthU76d+M46rUXGgC5wPzS8QD6Z7jK5J6FY5 PVgbzB/WJSozYWj+td7N52SpCyyp4YcLLBQP16kD9MWYBdYFD8p/5I9Shp4Jzq1jGJWw z36LpZMkMaKXDB9t+e62m/Z0Yngvd+yO2CUao= Received: by 10.140.158.4 with SMTP id g4mr3471564rve.160.1237972680252; Wed, 25 Mar 2009 02:18:00 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id f21sm16408243rvb.45.2009.03.25.02.17.58 (version=SSLv3 cipher=RC4-MD5); Wed, 25 Mar 2009 02:17:59 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Wed, 25 Mar 2009 18:17:56 +0900 From: Weongyo Jeong Date: Wed, 25 Mar 2009 18:17:56 +0900 To: Hans Petter Selasky Message-ID: <20090325091756.GA14916@weongyo.cdnetworks.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: Sam Leffler , freebsd-usb@freebsd.org, Andrew Thompson Subject: q: Memory modified after free in usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 09:18:02 -0000 Hello Hans :), I think porting uath(4) to usb almost have done that it works well to associate with AP and for WPA but I'm suffered from a strange panic after detach as follows: Memory modified after free 0xc4da3600(508) val=24000000 @ 0xc4da3600 panic: Most recently used by USBdev cpuid = 0 KDB: enter: panic [thread pid 17 tid 100036 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why The detach step is like as follows: usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); ... uath_free_rx_data_list(sc); uath_free_tx_data_list(sc); uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); that I've checked all memory leaks or calls after freeing memory but it looks it's not a driver problem. To solve this problem I modified codes slightly like below: usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); usb2_pause_mtx(NULL, 5 * hz); ... uath_free_rx_data_list(sc); uath_free_tx_data_list(sc); uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); After adding it I couldn't see `Memory modified after free' messages anymore. My question is that I can't understand why adding usb2_pause_mtx() helps this symptom? regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Wed Mar 25 09:44:27 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 7DB56106564A; Wed, 25 Mar 2009 09:44:27 +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 8215D8FC2A; Wed, 25 Mar 2009 09:44:26 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=wI6x41arB10A:10 a=UKUsQkNdRSAA:10 a=9Yt7NY0kyk3sCSaNR-gA:9 a=NVB75EzmNUIsCWFwWjYA:7 a=q2hXpYEFkKBWlZdNLZs2WmbQkdYA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO [10.36.2.183]) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1112770658; Wed, 25 Mar 2009 10:44:24 +0100 From: Hans Petter Selasky To: Weongyo Jeong Date: Wed, 25 Mar 2009 10:46:54 +0100 User-Agent: KMail/1.9.7 References: <20090325091756.GA14916@weongyo.cdnetworks.kr> In-Reply-To: <20090325091756.GA14916@weongyo.cdnetworks.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903251046.55586.hselasky@c2i.net> Cc: Sam Leffler , freebsd-usb@freebsd.org, Andrew Thompson Subject: Re: q: Memory modified after free in usb2 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, 25 Mar 2009 09:44:27 -0000 On Wednesday 25 March 2009, Weongyo Jeong wrote: > Hello Hans :), > > I think porting uath(4) to usb almost have done that it works well to > associate with AP and for WPA but I'm suffered from a strange panic after > detach as follows: > > Memory modified after free 0xc4da3600(508) val=24000000 @ 0xc4da3600 > panic: Most recently used by USBdev > > cpuid = 0 > KDB: enter: panic > [thread pid 17 tid 100036 ] > Stopped at kdb_enter+0x3a: movl $0,kdb_why > > The detach step is like as follows: > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > ... > uath_free_rx_data_list(sc); > uath_free_tx_data_list(sc); > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > that I've checked all memory leaks or calls after freeing memory but it > looks it's not a driver problem. > > To solve this problem I modified codes slightly like below: > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > usb2_pause_mtx(NULL, 5 * hz); > ... > uath_free_rx_data_list(sc); > uath_free_tx_data_list(sc); > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > After adding it I couldn't see `Memory modified after free' messages > anymore. My question is that I can't understand why adding > usb2_pause_mtx() helps this symptom? Did you drain all the taskqueues before unsetup ? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Mar 25 17:47:34 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 1B5FF1065824; Wed, 25 Mar 2009 17:47:34 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C14A98FC08; Wed, 25 Mar 2009 17:47:33 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (brucec@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2PHlXUw046099; Wed, 25 Mar 2009 17:47:33 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2PHlXn0046095; Wed, 25 Mar 2009 17:47:33 GMT (envelope-from brucec) Date: Wed, 25 Mar 2009 17:47:33 GMT Message-Id: <200903251747.n2PHlXn0046095@freefall.freebsd.org> To: brucec@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: kern/99200: [bluetooth] SMP-Kernel crashes reliably when Bluetooth connection speeds up 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, 25 Mar 2009 17:47:39 -0000 Synopsis: [bluetooth] SMP-Kernel crashes reliably when Bluetooth connection speeds up Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: brucec Responsible-Changed-When: Wed Mar 25 17:46:56 UTC 2009 Responsible-Changed-Why: Looks like a usb bug. http://www.freebsd.org/cgi/query-pr.cgi?pr=99200 From owner-freebsd-usb@FreeBSD.ORG Thu Mar 26 01:49:43 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 5CEBB1065670; Thu, 26 Mar 2009 01:49:43 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 191048FC12; Thu, 26 Mar 2009 01:49:42 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so529646rvb.43 for ; Wed, 25 Mar 2009 18:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem; bh=CIXYiFzDvIS+W12LEn24xEuPM+h6F2JbYboPMhgby5U=; b=X9UO3wUkPcww2tvVrLrkHAIJDWZEJ4jol01QMzCo9QMdCF0SSWMrCXR+mpeL7fG+6Z mcawUNgb1dxnWWrEbE30zr4lUALOew7RjV9ZTD7d7ztBHObAc7+QQW7fPT0E80b2Zgeg r3lbV0LFteeClBY9opRp89BWXOKU8UVIByotY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :organization:x-operation-sytem; b=kws0HzLFoUl68azGzOp9vhqHAhF9uwyQvteYSHOy+484Fj8zre30EaZh1Y0kjHBweZ wfj0vXuqYS3lRt6chE67G6DMXoP9WfXyJuYE7dNS8nSmW9APCEJavv2Xxl6L2IC0KKWq jTPH+gqgTT/CRFzQ/Z5SBC2sDKNch61bf/j54= Received: by 10.141.29.14 with SMTP id g14mr130503rvj.232.1238032182571; Wed, 25 Mar 2009 18:49:42 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id g22sm17128115rvb.33.2009.03.25.18.49.40 (version=SSLv3 cipher=RC4-MD5); Wed, 25 Mar 2009 18:49:41 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Thu, 26 Mar 2009 10:49:38 +0900 From: Weongyo Jeong Date: Thu, 26 Mar 2009 10:49:38 +0900 To: Hans Petter Selasky Message-ID: <20090326014938.GB14916@weongyo.cdnetworks.kr> References: <20090325091756.GA14916@weongyo.cdnetworks.kr> <200903251046.55586.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903251046.55586.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: Sam Leffler , freebsd-usb@freebsd.org, Andrew Thompson Subject: Re: q: Memory modified after free in usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 01:49:43 -0000 On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: > On Wednesday 25 March 2009, Weongyo Jeong wrote: > > Hello Hans :), > > > > I think porting uath(4) to usb almost have done that it works well to > > associate with AP and for WPA but I'm suffered from a strange panic after > > detach as follows: > > > > Memory modified after free 0xc4da3600(508) val=24000000 @ 0xc4da3600 > > panic: Most recently used by USBdev > > > > cpuid = 0 > > KDB: enter: panic > > [thread pid 17 tid 100036 ] > > Stopped at kdb_enter+0x3a: movl $0,kdb_why > > > > The detach step is like as follows: > > > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > > ... > > uath_free_rx_data_list(sc); > > uath_free_tx_data_list(sc); > > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > > > that I've checked all memory leaks or calls after freeing memory but it > > looks it's not a driver problem. > > > > To solve this problem I modified codes slightly like below: > > > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > > usb2_pause_mtx(NULL, 5 * hz); > > ... > > uath_free_rx_data_list(sc); > > uath_free_tx_data_list(sc); > > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > > > After adding it I couldn't see `Memory modified after free' messages > > anymore. My question is that I can't understand why adding > > usb2_pause_mtx() helps this symptom? > > Did you drain all the taskqueues before unsetup ? Yes. All I used was two callouts that the driver currently doesn't use usb2_proc_create() and tried to drain its before calling usb2_transfer_unsetup() but it still encounters `Memory modified after free'. regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Thu Mar 26 07:36:23 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 3FE94106566C; Thu, 26 Mar 2009 07:36:23 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id F1C088FC25; Thu, 26 Mar 2009 07:36:22 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so728391rvb.43 for ; Thu, 26 Mar 2009 00:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem; bh=rGCV703ZAs5Ltk6MBLP2yy+Ev+vBZ4mPfe74rD1gOPE=; b=A1sHXAIMslefP0gTmgVvKxE/eQsyyh31YueKhQr05T1KlLGuI+cCpcfOan1a6DxzE8 +FEtE/+R/ClWe90YB9VasJKrnw5j9xw48wpqu3S7uS5yxCkpukiK1RnhMuS9MOwNcWM0 UouWOoC8qquX0Puue6P49hGCj/iaA8/5TCL7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :organization:x-operation-sytem; b=Z66SbKtQ3IsIq5D/H/Vuj/Mdk0q2u2RfsIfxeeAVzMCU5FkaIwfQJG8X5Xpt3SN71+ ngSePlaGdUhMIpjhsxAjwoo+P8hqqQ0dLb637A14QjyeFmCeKLEqDJtca/xvjpAS36Wc bDtYQBXKzrbEObxgrUMPAWD/MCL0fOQwiYoKU= Received: by 10.141.137.16 with SMTP id p16mr297590rvn.180.1238052982593; Thu, 26 Mar 2009 00:36:22 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id g22sm19360953rvb.23.2009.03.26.00.36.19 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Mar 2009 00:36:21 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Thu, 26 Mar 2009 16:36:16 +0900 From: Weongyo Jeong Date: Thu, 26 Mar 2009 16:36:16 +0900 To: Hans Petter Selasky Message-ID: <20090326073616.GA20088@weongyo.cdnetworks.kr> References: <20090325091756.GA14916@weongyo.cdnetworks.kr> <200903251046.55586.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903251046.55586.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: Sam Leffler , freebsd-usb@freebsd.org, Andrew Thompson Subject: Re: q: Memory modified after free in usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 07:36:23 -0000 On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: > On Wednesday 25 March 2009, Weongyo Jeong wrote: > > Hello Hans :), > > > > I think porting uath(4) to usb almost have done that it works well to > > associate with AP and for WPA but I'm suffered from a strange panic after > > detach as follows: > > > > Memory modified after free 0xc4da3600(508) val=24000000 @ 0xc4da3600 > > panic: Most recently used by USBdev > > > > cpuid = 0 > > KDB: enter: panic > > [thread pid 17 tid 100036 ] > > Stopped at kdb_enter+0x3a: movl $0,kdb_why > > > > The detach step is like as follows: > > > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > > ... > > uath_free_rx_data_list(sc); > > uath_free_tx_data_list(sc); > > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > > > that I've checked all memory leaks or calls after freeing memory but it > > looks it's not a driver problem. > > > > To solve this problem I modified codes slightly like below: > > > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > > usb2_pause_mtx(NULL, 5 * hz); > > ... > > uath_free_rx_data_list(sc); > > uath_free_tx_data_list(sc); > > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > > > After adding it I couldn't see `Memory modified after free' messages > > anymore. My question is that I can't understand why adding > > usb2_pause_mtx() helps this symptom? > > Did you drain all the taskqueues before unsetup ? It looks I found a problem that some tasks running by net80211 causes this problem. It looks calling usb2_transfer_unsetup() after ieee80211_ifdetach(ic) solves the problem. Thanks! regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Thu Mar 26 07:59: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 7873A106564A; Thu, 26 Mar 2009 07:59:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5D18FC1C; Thu, 26 Mar 2009 07:59:35 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=wI6x41arB10A:10 a=UKUsQkNdRSAA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=6I5d2MoRAAAA:8 a=jHXfM8ueyAAelytK-y8A:9 a=UUEy23ckvR0OrXzVecMA:7 a=_JuFFTwoK-IW--L0ivlD4OVn9tIA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1216513036; Thu, 26 Mar 2009 08:59:33 +0100 From: Hans Petter Selasky To: Weongyo Jeong Date: Thu, 26 Mar 2009 09:02:02 +0100 User-Agent: KMail/1.9.7 References: <20090325091756.GA14916@weongyo.cdnetworks.kr> <200903251046.55586.hselasky@c2i.net> <20090326014938.GB14916@weongyo.cdnetworks.kr> In-Reply-To: <20090326014938.GB14916@weongyo.cdnetworks.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903260902.04274.hselasky@c2i.net> Cc: Sam Leffler , freebsd-usb@freebsd.org, Andrew Thompson Subject: Re: q: Memory modified after free in usb2 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, 26 Mar 2009 07:59:36 -0000 On Thursday 26 March 2009, Weongyo Jeong wrote: > On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: > > > To solve this problem I modified codes slightly like below: > > > > > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > > > usb2_pause_mtx(NULL, 5 * hz); > > > ... > > > uath_free_rx_data_list(sc); > > > uath_free_tx_data_list(sc); > > > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > > > > > After adding it I couldn't see `Memory modified after free' messages > > > anymore. My question is that I can't understand why adding > > > usb2_pause_mtx() helps this symptom? > > > > Did you drain all the taskqueues before unsetup ? > > Yes. All I used was two callouts that the driver currently doesn't use > usb2_proc_create() and tried to drain its before calling > usb2_transfer_unsetup() but it still encounters `Memory modified after > free'. Hi, Is this the link to the complete code? http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/user/weongyo/wireless/src/sys/dev/usb/wlan/if_uath.c&REV=24 1) The manpage states: "This function MUST NOT be called while holding any locks ..." | UATH_LOCK(sc); | callout_drain(&sc->stat_ch); | callout_drain(&sc->watchdog_ch); 505: 159831 21 | UATH_UNLOCK(sc); callout_stop() is not callout_drain() ! Same sematics with USB2. transfer_stop()/transfer_drain() 2) Instead of copying the data twice, use the .ext_buffer=1 flag to instruct USB to not allocate its own buffer in "struct usb2_config", see "umass.c" for example, and the and usb2_set_frame_data(xfer, urb->transfer_buffer, 0); Before you start the hardware! Actually you can save alot of copying if you can exploit the multi-frame feature of the USB-stack for BULK transfers! Then you have to set "frames > 1" in usb2_config structure. For example you would then copy in the header to wMaxPacketSize bytes, and use the data pointer for the rest, given that the IP-packet is not that defragged. 3) There is a chicken egg problem at detach. I suspect that "uath_bulk_tx_callback()" is called with the USB_ERR_CANCELLED error. And here you seem to access freed memory. I think you need to re-think how you get that last node freed. Maybe it should be done by the if_stop() and not at cancelled, because according to detach, you will do if_stop() first and then cancel USB and unless you drain, you are not certain that the callback is complete! | default: | data = STAILQ_FIRST(&sc->sc_datatx_active); | if (data == NULL) | goto setup; 2605: 159735 3 | if (data->ni != NULL) { | ieee80211_free_node(data->ni); | data->ni = NULL; | ifp->if_oerrors++; | } 2610: 159733 1 | if (xfer->error != USB_ERR_CANCELLED) { | xfer->flags.stall_pipe = 1; | goto setup; | } I recommend that you do the usb2_transfer_unsetup() first at detach like in if_rum.c and the other WLAN drivers. That will solve your problem, and maybe you have to fix the datatx_active queue, so that the last "data" is not stuck there for ever ??? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Mar 26 13:41:29 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 83C49106564A; Thu, 26 Mar 2009 13:41:29 +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 595168FC08; Thu, 26 Mar 2009 13:41:29 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2QDfTDL076927; Thu, 26 Mar 2009 13:41:29 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2QDfTeP076917; Thu, 26 Mar 2009 13:41:29 GMT (envelope-from gavin) Date: Thu, 26 Mar 2009 13:41:29 GMT Message-Id: <200903261341.n2QDfTeP076917@freefall.freebsd.org> To: ivoras@FreeBSD.org, gavin@FreeBSD.org, freebsd-usb@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: usb/120017: [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk 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, 26 Mar 2009 13:41:29 -0000 Synopsis: [ehci] [patch] CS5536 (AMD Geode) USB 2.0 quirk State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Thu Mar 26 13:40:14 UTC 2009 State-Changed-Why: Fixed in HEAD and MFC'd http://www.freebsd.org/cgi/query-pr.cgi?pr=120017 From owner-freebsd-usb@FreeBSD.ORG Thu Mar 26 16:46:08 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 1D5B51065678 for ; Thu, 26 Mar 2009 16:46:08 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id C51888FC13 for ; Thu, 26 Mar 2009 16:46:07 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2QGYvEF053876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Mar 2009 09:34:57 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49CBAEB1.6080304@freebsd.org> Date: Thu, 26 Mar 2009 09:34:57 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Weongyo Jeong References: <20090325091756.GA14916@weongyo.cdnetworks.kr> <200903251046.55586.hselasky@c2i.net> <20090326073616.GA20088@weongyo.cdnetworks.kr> In-Reply-To: <20090326073616.GA20088@weongyo.cdnetworks.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-usb@freebsd.org, Andrew Thompson Subject: Re: q: Memory modified after free in usb2 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, 26 Mar 2009 16:46:08 -0000 Weongyo Jeong wrote: > On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: > >> On Wednesday 25 March 2009, Weongyo Jeong wrote: >> >>> Hello Hans :), >>> >>> I think porting uath(4) to usb almost have done that it works well to >>> associate with AP and for WPA but I'm suffered from a strange panic after >>> detach as follows: >>> >>> Memory modified after free 0xc4da3600(508) val=24000000 @ 0xc4da3600 >>> panic: Most recently used by USBdev >>> >>> cpuid = 0 >>> KDB: enter: panic >>> [thread pid 17 tid 100036 ] >>> Stopped at kdb_enter+0x3a: movl $0,kdb_why >>> >>> The detach step is like as follows: >>> >>> usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); >>> ... >>> uath_free_rx_data_list(sc); >>> uath_free_tx_data_list(sc); >>> uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); >>> >>> that I've checked all memory leaks or calls after freeing memory but it >>> looks it's not a driver problem. >>> >>> To solve this problem I modified codes slightly like below: >>> >>> usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); >>> usb2_pause_mtx(NULL, 5 * hz); >>> ... >>> uath_free_rx_data_list(sc); >>> uath_free_tx_data_list(sc); >>> uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); >>> >>> After adding it I couldn't see `Memory modified after free' messages >>> anymore. My question is that I can't understand why adding >>> usb2_pause_mtx() helps this symptom? >>> >> Did you drain all the taskqueues before unsetup ? >> > > It looks I found a problem that some tasks running by net80211 causes > this problem. It looks calling usb2_transfer_unsetup() after > ieee80211_ifdetach(ic) solves the problem. Thanks! > ieee80211_ifdetach may call back into the driver (e.g. if you're associated in sta mode and the state machine wants to notify the ap to disassociate). Reordering the calls is the right thing to do. Sam From owner-freebsd-usb@FreeBSD.ORG Fri Mar 27 01:59:52 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 95FD8106564A; Fri, 27 Mar 2009 01:59:52 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 517AD8FC0A; Fri, 27 Mar 2009 01:59:52 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so1279276rvb.43 for ; Thu, 26 Mar 2009 18:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem; bh=i1FWa5KXuKgC/bNQQcChsoYv+1fVavZFz16NEgQchYE=; b=yCB4pO+5X7ACNW7krLVcvHwI1RsQoYJqbR4MhxMXXhvl7BOO+3cDrAk1LXVzU51cis OKaiSWBmeAgOhleTQEHpPHByx48KqOpJ0gV+LuGM06xU2+/Tqq2a7zYDQviBTSgUpVxi GVVCcxk7avG5I+2vVOQ6WU9wBRk8y4brXP43c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :organization:x-operation-sytem; b=fPfkEr5Vn3rfd9137V6T7Qa/DMQrExkxXA2BCLbSE+DPtmX6bxCC36KOiXs17x1zbP Gp/BnCBJEFkwr9yqJqA9SdxGzhXMlAdRtOUBz5K3ytYnDc83Wfx9uETI57hH9ubB+hQ7 3hA0rxUNf/05KFtZaeSauu/IwYRnypsoOstQE= Received: by 10.141.42.10 with SMTP id u10mr785286rvj.241.1238119192060; Thu, 26 Mar 2009 18:59:52 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id g22sm2004010rvb.3.2009.03.26.18.59.48 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Mar 2009 18:59:50 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Fri, 27 Mar 2009 10:59:46 +0900 From: Weongyo Jeong Date: Fri, 27 Mar 2009 10:59:45 +0900 To: Hans Petter Selasky Message-ID: <20090327015945.GB19512@weongyo.cdnetworks.kr> References: <20090325091756.GA14916@weongyo.cdnetworks.kr> <200903251046.55586.hselasky@c2i.net> <20090326014938.GB14916@weongyo.cdnetworks.kr> <200903260902.04274.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903260902.04274.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: Sam Leffler , freebsd-usb@freebsd.org, Andrew Thompson Subject: Re: q: Memory modified after free in usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 01:59:52 -0000 On Thu, Mar 26, 2009 at 09:02:02AM +0100, Hans Petter Selasky wrote: > On Thursday 26 March 2009, Weongyo Jeong wrote: > > On Wed, Mar 25, 2009 at 10:46:54AM +0100, Hans Petter Selasky wrote: > > > > > To solve this problem I modified codes slightly like below: > > > > > > > > usb2_transfer_unsetup(sc->sc_xfer, UATH_N_XFERS); > > > > usb2_pause_mtx(NULL, 5 * hz); > > > > ... > > > > uath_free_rx_data_list(sc); > > > > uath_free_tx_data_list(sc); > > > > uath_free_cmd_list(sc, sc->sc_cmd, UATH_CMD_LIST_COUNT); > > > > > > > > After adding it I couldn't see `Memory modified after free' messages > > > > anymore. My question is that I can't understand why adding > > > > usb2_pause_mtx() helps this symptom? > > > > > > Did you drain all the taskqueues before unsetup ? > > > > Yes. All I used was two callouts that the driver currently doesn't use > > usb2_proc_create() and tried to drain its before calling > > usb2_transfer_unsetup() but it still encounters `Memory modified after > > free'. > > Hi, > > Is this the link to the complete code? > > http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/user/weongyo/wireless/src/sys/dev/usb/wlan/if_uath.c&REV=24 Yes. > 1) The manpage states: "This function MUST NOT be called while holding any > locks ..." > | UATH_LOCK(sc); > | callout_drain(&sc->stat_ch); > | callout_drain(&sc->watchdog_ch); > 505: 159831 21 | UATH_UNLOCK(sc); > > > callout_stop() is not callout_drain() ! > > Same sematics with USB2. transfer_stop()/transfer_drain() It looks it's my mistake to lock before going into callout_drain(9). > 2) Instead of copying the data twice, use the .ext_buffer=1 flag to instruct > USB to not allocate its own buffer in "struct usb2_config", see "umass.c" for > example, and the and > usb2_set_frame_data(xfer, > urb->transfer_buffer, 0); > > Before you start the hardware! > > Actually you can save alot of copying if you can exploit the multi-frame > feature of the USB-stack for BULK transfers! Then you have to set "frames > > 1" in usb2_config structure. For example you would then copy in the header to > wMaxPacketSize bytes, and use the data pointer for the rest, given that the > IP-packet is not that defragged. This is what I want! I'll apply it immediately. Thanks! :-) > 3) There is a chicken egg problem at detach. > > I suspect that "uath_bulk_tx_callback()" is called with the USB_ERR_CANCELLED > error. And here you seem to access freed memory. I think you need to re-think > how you get that last node freed. Maybe it should be done by the if_stop() > and not at cancelled, because according to detach, you will do if_stop() > first and then cancel USB and unless you drain, you are not certain that the > callback is complete! > > | default: > | data = STAILQ_FIRST(&sc->sc_datatx_active); > | if (data == NULL) > | goto setup; > 2605: 159735 3 | if (data->ni != NULL) { > | ieee80211_free_node(data->ni); > | data->ni = NULL; > | ifp->if_oerrors++; > | } > 2610: 159733 1 | if (xfer->error != USB_ERR_CANCELLED) { > | xfer->flags.stall_pipe = 1; > | goto setup; > | } > > I recommend that you do the usb2_transfer_unsetup() first at detach like in > if_rum.c and the other WLAN drivers. That will solve your problem, and maybe > you have to fix the datatx_active queue, so that the last "data" is not stuck > there for ever ??? Thank you for advice again. I'll try to do some more tests. It looks ordering is important when detaching and with looking other WLAN drivers it seems calling ieee80211_ifdetach(ic) should be moved before usb2_transfer_unsetup(9) including if_zyd.c, if_ural.c and if_ral.c regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Fri Mar 27 02:29:08 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 1DE421065701 for ; Fri, 27 Mar 2009 02:29:08 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id E137A8FC16 for ; Fri, 27 Mar 2009 02:29:07 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so1291425rvb.43 for ; Thu, 26 Mar 2009 19:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mime-version:content-type :content-disposition:user-agent:organization:x-operation-sytem; bh=wHoEf+hO71ntyas/KPgcAXkIF6BUqrPLawH0u67M/UE=; b=gefGH/hS1SGcbBu9j4UVTsKwgYTdu4HGn/zj2thjR7PJKHnFLMZp0W2sGRKGC9JlYG A3b+yzfdwPtN8UN6i2L1EeK/Tqus2mLXVR/FEMUvvpozpsfOdLCD4SCo2eJ3FOeINLcE OOCDGTCxua8uXBK5VaV1ptFja8q2KG536qT9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mime-version :content-type:content-disposition:user-agent:organization :x-operation-sytem; b=Pkom6w8OH/BWfqLJfM1wFZdlThENVMeuy4ZaRvN3Lk4aF1/+YOcpP3TjoNWz/XFx8Z k7GmlTwVUBdbliOBKt1A5jd2eRdwm6JuqAJDLKRODlLG9HYFISoxbwAKJnzEgb/nS1aY rF8IsScSU66Ymr6mqYo41GTXqPNNwyLWsiT0w= Received: by 10.142.153.8 with SMTP id a8mr660716wfe.94.1238120947598; Thu, 26 Mar 2009 19:29:07 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id l31sm1545176rvb.5.2009.03.26.19.29.05 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Mar 2009 19:29:06 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Fri, 27 Mar 2009 11:29:02 +0900 From: Weongyo Jeong Date: Fri, 27 Mar 2009 11:29:02 +0900 To: Hans Petter Selasky Message-ID: <20090327022902.GC19512@weongyo.cdnetworks.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-usb@freebsd.org Subject: q: a trivial question of usb2_transfer_unsetup() X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 02:29:08 -0000 Hello Hans, I have a simple question that is there a possibility for .mh.callback of usb2_config to be called after usb2_transfer_unsetup()? regards, Weongyo Jeong From owner-freebsd-usb@FreeBSD.ORG Fri Mar 27 07:34:26 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 8B02D106566B; Fri, 27 Mar 2009 07:34:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id E798E8FC17; Fri, 27 Mar 2009 07:34:25 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=n5aOCZHmuQwA:10 a=A9ufto_D_ZIA:10 a=j+k/Ze5hWUCaCztCgEjzDQ==:17 a=GcxpzOPHOozJcu6cbz4A:9 a=7nj3L2tNJo44QL4YC6kvW-f7D7kA:4 a=LY0hPdMaydYA:10 Received: from [81.191.55.181] (account mc467741@c2i.net HELO laptop) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1044030929; Fri, 27 Mar 2009 08:34:23 +0100 From: Hans Petter Selasky To: Weongyo Jeong Date: Fri, 27 Mar 2009 08:36:54 +0100 User-Agent: KMail/1.9.7 References: <20090327022902.GC19512@weongyo.cdnetworks.kr> In-Reply-To: <20090327022902.GC19512@weongyo.cdnetworks.kr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903270836.55005.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: q: a trivial question of usb2_transfer_unsetup() 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, 27 Mar 2009 07:34:26 -0000 On Friday 27 March 2009, Weongyo Jeong wrote: > Hello Hans, > > I have a simple question that is there a possibility for .mh.callback of > usb2_config to be called after usb2_transfer_unsetup()? Hi, usb2_transfer_unsetup() calls usb2_transfer_drain() which ensures that the callback has exited before returning. Even if you drop the private transfer lock in the callback and pick it up before returning. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Mar 27 18:27:46 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 585F61065822; Fri, 27 Mar 2009 18:27:46 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id F06968FC1A; Fri, 27 Mar 2009 18:27:45 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 4F8EFFF37; Sat, 28 Mar 2009 07:27:45 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J0cZ02VDkElO; Sat, 28 Mar 2009 07:27:40 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Sat, 28 Mar 2009 07:27:40 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 3432611432; Sat, 28 Mar 2009 07:27:40 +1300 (NZDT) Date: Fri, 27 Mar 2009 11:27:40 -0700 From: Andrew Thompson To: usb Message-ID: <20090327182740.GB26662@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) Cc: current@freebsd.org Subject: Proposed USB data buffer changes 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, 27 Mar 2009 18:27:47 -0000 Hi, I want the USB peripheral driver API to be solid before 8.0 so things dont bite us down the line. I have discussed this privately with Hans already and want to put it out for public consumption. With the new USB code the buffer management has been merged into the xfer structure and this dictates the layout of the usb drivers and how locking is performed. This uses a state machine (my attempt to show below) |-< |-< XFER <-| <-| | | | | --------- callback_fn --------- | | | | | -> SETUP (copyin) >-| | | | -> COMPLETE (copyout) >-| It can take an external buffer instead of the copyin/out but it doesnt really simplify things at all. The problems I see with this approach are 1. It is in contrast to other major operating systems, making porting drivers harder. Windows, Linux and oldUSB all use a URB style of data handling. 2. It greatly complicates locking as the xfer lock can not be dropped until the xfer is resubmitted. This requirement to hold the lock creates a big problem for get/put of data to another layer (eg TTY), to avoid lock order reversals the drivers are generally written to share the lock with the lower/upper layer (eg TTY). 3. In the general case data can not be directly queued on the xfer (must be "picked" up by the state machine callback). This limits the options for designing a driver and may require the driver to implement a queue. I think its vital that we separate out the data buffers from the xfer (its actually a pipe in usb speak). It should draw from the Linux API which is simple and I believe works quite well. The data buffer is represented as a usb URB which is allocated either at attach or on the fly and then queued on the xfer (pipe) for processing. An arbitrary number of URB buffers can be on the queue. As the buffer would only have a single reference it would not need explicit locking, the callback would not need the xfer lock to be held at all and this would make it _much_ easier to handoff the data without LOR. This reduction in locking means that the driver and the xfer do not need to share a lock either, something that is mandatory now. The xfer can have a private lock for enqueue/start/stop. Example functions could be, usb_alloc_urb - Creates a URB representing data and housekeeping, the data section can be allocated or passed in from say a mbuf. This can also perform the DMA foo. usb_submit_urb - Queues the URB on the usb pipe. I dont think this would take much work. The xfer callbacks would be changed to take a URB and a few changes to queuing. It was mentioned the reason for this approach was to preallocate and do DMA setup on attach but this can still easily be done with the above. Comments? cheers, Andrew From owner-freebsd-usb@FreeBSD.ORG Fri Mar 27 21:27:20 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 B32C510656BB for ; Fri, 27 Mar 2009 21:27:20 +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 8B8378FC08 for ; Fri, 27 Mar 2009 21:27:20 +0000 (UTC) (envelope-from mike@sentex.net) 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 n2RLQjIe052544; Fri, 27 Mar 2009 17:26:46 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200903272126.n2RLQjIe052544@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 27 Mar 2009 17:27:17 -0400 To: freebsd-usb@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: u3g panic 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, 27 Mar 2009 21:27:23 -0000 Hi, I was trying the u3g driver in FreeBSD on RELENG_7. The previous version from the webpage seemed to work ok, but the one MFC'd causes a panic if I load the driver and attach the stick Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x20:0xc357d71f stack pointer = 0x28:0xc2fccbc0 frame pointer = 0x28:0xc2fccbf4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 26 (irq19: uhci1) trap number = 12 panic: page fault cpuid = 0 Uptime: 2m39s Physical memory: 498 MB Dumping 42 MB: 27 11 (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc07198b7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc0719b89 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc09e495c in trap_fatal (frame=0xc2fccb80, eva=12) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc09e4be0 in trap_pfault (frame=0xc2fccb80, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc09e558c in trap (frame=0xc2fccb80) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc09c9c6b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc357d71f in u3gstub_BBB_cb (xfer=0xc3578600, priv=0x0, err=USBD_NORMAL_COMPLETION) at /usr/src/sys/modules/u3g/../../dev/usb/u3g.c:475 #8 0xc06950d5 in usb_transfer_complete (xfer=0xc3578600) at /usr/src/sys/dev/usb/usbdi.c:979 #9 0xc06879bb in uhci_transfer_complete (xfer=0xc3578600) at /usr/src/sys/dev/usb/uhci.c:2109 #10 0xc0687b07 in uhci_idone (ii=Variable "ii" is not available. ) at /usr/src/sys/dev/usb/uhci.c:1449 #11 0xc068800d in uhci_softintr (v=0xc319a000) at /usr/src/sys/dev/usb/uhci.c:1324 #12 0xc0690c72 in usb_schedsoftintr (bus=0xc319a000) at /usr/src/sys/dev/usb/usb.c:844 #13 0xc0688ce3 in uhci_intr1 (sc=0xc319a000) at /usr/src/sys/dev/usb/uhci.c:1224 #14 0xc0688fad in uhci_intr (arg=0xc319a000) at /usr/src/sys/dev/usb/uhci.c:1139 #15 0xc06f781b in ithread_loop (arg=0xc31a4000) at /usr/src/sys/kern/kern_intr.c:1088 #16 0xc06f4369 in fork_exit (callout=0xc06f7660 , arg=0xc31a4000, frame=0xc2fccd38) at /usr/src/sys/kern/kern_fork.c:810 #17 0xc09c9ce0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 (kgdb) On CURRENT, it shows and seems to work fine. Root mount waiting for: usbus1 ugen0.2: at usbus0 u3g0: on usbus0 u3g0: Found 2 ports. 0[freebsd-current2]# usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON 0[freebsd-current2]# cu -l /dev/cuaU0.0 Connected ati Manufacturer: Novatel Wireless Incorporated Model: Ovation MC950D Card Revision: 3.15.02.0-00 [2008-03-04 09:19:50] IMEI: 356846015465400 +GCAP: +CGSM,+DS,+ES OK -------------------------------------------------------------------- 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 Sat Mar 28 07:49:08 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 80BEB1065673 for ; Sat, 28 Mar 2009 07:49:08 +0000 (UTC) (envelope-from c.r.n.a@wanadoo.fr) Received: from smtp2c.orange.fr (smtp2c.orange.fr [80.12.242.153]) by mx1.freebsd.org (Postfix) with ESMTP id 44BDF8FC0A for ; Sat, 28 Mar 2009 07:49:07 +0000 (UTC) (envelope-from c.r.n.a@wanadoo.fr) Received: from smtp20.orange.fr (mwinf2011 [172.22.130.39]) by mwinf2c05.orange.fr (SMTP Server) with ESMTP id 94CD3C0218EA for ; Thu, 19 Mar 2009 16:20:41 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2011.orange.fr (SMTP Server) with ESMTP id 937042000052 for ; Thu, 19 Mar 2009 16:20:40 +0100 (CET) Received: from [192.168.1.96] (ABordeaux-157-1-104-249.w90-38.abo.wanadoo.fr [90.38.79.249]) by mwinf2011.orange.fr (SMTP Server) with ESMTP id 60D1820000AE for ; Thu, 19 Mar 2009 16:20:40 +0100 (CET) X-ME-UUID: 20090319152040396.60D1820000AE@mwinf2011.orange.fr Message-ID: <49C2627A.9070806@wanadoo.fr> Date: Thu, 19 Mar 2009 16:19:22 +0100 From: Nicolas User-Agent: Thunderbird 2.0.0.19 (X11/20090311) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: RE: "Big Problem" with removable media 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, 28 Mar 2009 07:49:08 -0000 Hi, I'm using FreeBSD 8-Current (as of today) and when i plug my samsung omnia, i have this message: ugen7.7: at usbus7 umass1: on usbus7 umass1: SCSI over Bulk-Only; quirks = 0x0000 umass1:3:1:-1: Attached to scbus3 da1 at umass-sim1 bus 1 target 0 lun 0 da1: < > Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 7680MB (15728640 512 byte sectors: 255H 63S/T 979C) GEOM: da1: partition 1 does not start on a track boundary. GEOM: da1: partition 1 does not end on a track boundary. (da1:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0 My computer frezees until i unplug the device. What's wrong ? Thanks in advance, Niko. From owner-freebsd-usb@FreeBSD.ORG Sat Mar 28 08:06: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 77EF9106566C for ; Sat, 28 Mar 2009 08:06:02 +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 D58598FC15 for ; Sat, 28 Mar 2009 08:06:01 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=VECs6VnS8qEA:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=6I5d2MoRAAAA:8 a=gvHnSkt9JSX1oXFSMEEA:9 a=eg6CjZZfyx31Bv_J7KMA:7 a=hkJ0p3OEz8GtF1Wuz3Gkm5WYbcgA:4 a=LY0hPdMaydYA:10 a=SV7veod9ZcQA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1220149933; Sat, 28 Mar 2009 09:05:59 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, phk@freebsd.org Date: Sat, 28 Mar 2009 09:08:29 +0100 User-Agent: KMail/1.9.7 References: <49C2627A.9070806@wanadoo.fr> In-Reply-To: <49C2627A.9070806@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903280908.30647.hselasky@c2i.net> Cc: Nicolas Subject: Re: "Big Problem" with removable media 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, 28 Mar 2009 08:06:02 -0000 On Thursday 19 March 2009, Nicolas wrote: > Hi, > > I'm using FreeBSD 8-Current (as of today) and when i plug my samsung > omnia, i have this message: > > ugen7.7: at usbus7 > umass1: on usbus7 > umass1: SCSI over Bulk-Only; quirks = 0x0000 > umass1:3:1:-1: Attached to scbus3 > da1 at umass-sim1 bus 1 target 0 lun 0 > da1: < > Removable Direct Access SCSI-0 device > da1: 40.000MB/s transfers > da1: 7680MB (15728640 512 byte sectors: 255H 63S/T 979C) > GEOM: da1: partition 1 does not start on a track boundary. > GEOM: da1: partition 1 does not end on a track boundary. > (da1:umass-sim1:1:0:0): Synchronize cache failed, status == 0x4, scsi > status == 0x0 You need a quirk for your mass storage device. See previous postings by Luigi Rizzo. > > My computer frezees until i unplug the device. > What's wrong ? Ask PHK, probably a GEOM issue. --HPS > > Thanks in advance, > Niko. > > _______________________________________________ > 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" From owner-freebsd-usb@FreeBSD.ORG Sat Mar 28 20:44:28 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 EDDED1065670 for ; Sat, 28 Mar 2009 20:44:27 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id B369C8FC13 for ; Sat, 28 Mar 2009 20:44:27 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 10B4678CD1; Sat, 28 Mar 2009 20:26:46 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n2SKQjwe011409; Sat, 28 Mar 2009 20:26:45 GMT (envelope-from phk@critter.freebsd.dk) To: Hans Petter Selasky From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 28 Mar 2009 09:08:29 +0100." <200903280908.30647.hselasky@c2i.net> Date: Sat, 28 Mar 2009 20:26:45 +0000 Message-ID: <11408.1238272005@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Nicolas , freebsd-usb@freebsd.org Subject: Re: "Big Problem" with removable media 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, 28 Mar 2009 20:44:28 -0000 In message <200903280908.30647.hselasky@c2i.net>, Hans Petter Selasky writes: >> My computer frezees until i unplug the device. >> What's wrong ? > >Ask PHK, probably a GEOM issue. The device driver fails to return an I/O request. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.