From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 03:41:31 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3C1EC9C5 for ; Sun, 20 Jan 2013 03:41:31 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7B8E8B for ; Sun, 20 Jan 2013 03:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:Message-ID:Subject:To:From:Date; bh=6gPeoQsTwoK3DzlRDu8iqNr2fKpUrtXg96lVn2HnuTU=; b=A4KZEd/CAbr27z1tYRZpIws7fDanouBr+DF3uSAiUIfksLAYtZzytZ31tbZ0j2DPOmxfOSsivAcAperGq7HcT0HHhWC4NNigpF0idwDiEv8ROItucCz4uCX5sapsuFDK; Received: from [122.129.203.50] (port=33910 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1Twlmj-003i5a-Gl for freebsd-usb@freebsd.org; Sat, 19 Jan 2013 20:41:30 -0700 Date: Sun, 20 Jan 2013 10:41:25 +0700 From: Erich Dollansky To: freebsd-usb@freebsd.org Subject: Bad contact on USB connection --> system hangs Message-ID: <20130120104125.7a46aa1e@X220.ovitrap.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 03:41:31 -0000 Hi, I consider this more a side note for the developers working on USB. The machine: uname -a FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #21: Thu Jan 10 19:08:05 WIT 2013 erich@X220.ovitrap.com:/usr/obj/usr/src/sys/X220 amd64 I have a contact problem with at least one USB hard disk. So, when I move the notebook, the connection between disk and notebook gets interrrupted. As long as the disk is not in use, nothing more happens. This is different when the machine is writing to the device. It hangs randomly the machine. Most of the time, I will get error messages that the write did not succedd but also these hangs. I have not seen the hang during a read yet. I have not seen error messages on xconsole when the machine hangs but I see the disconnected messages in all other cases. As I am travelling, I have only the notebook with me. So, all I can say that the machine does not react to anything anymore. I have to power if off. I hope this this gives some hints to the developers. I know how hard it is to find errors like this. Erich PS: This are the only relevant entries from /var/log/messages: ... Jan 20 08:44:38 X220 kernel: GEOM_ELI: Encryption: AES-XTS 256 Jan 20 08:44:38 X220 kernel: GEOM_ELI: Crypto: software Jan 20 09:48:49 X220 syslogd: kernel boot file is /boot/kernel/kernel Jan 20 09:48:49 X220 kernel: Copyright (c) 1992-2012 The FreeBSD Project. ... From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 07:06:33 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CFB2617D; Sun, 20 Jan 2013 07:06:33 +0000 (UTC) (envelope-from bland@bbnest.net) Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 4364C2EC; Sun, 20 Jan 2013 07:06:32 +0000 (UTC) Received: from eee.bbnest.net (w133033.ppp.asahi-net.or.jp [121.1.133.33]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 2F99118AC6; Sun, 20 Jan 2013 16:06:30 +0900 (JST) Received: from nest.bbnest.net (w133033.ppp.asahi-net.or.jp [121.1.133.33]) (authenticated bits=0) by eee.bbnest.net (8.14.6/8.14.5) with ESMTP id r0K768Xp009354 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 20 Jan 2013 16:06:09 +0900 (JST) (envelope-from bland@bbnest.net) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: ZFS + usb in trouble? From: Alexander Nedotsukov In-Reply-To: Date: Sun, 20 Jan 2013 16:06:09 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <69A7081B-B50A-440F-8DA2-A1E29AB728D6@bbnest.net> References: To: FreeBSD Current X-Mailer: Apple Mail (2.1499) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Sun Jan 20 16:06:30 2013 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 50fb977693551021314089 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 07:06:33 -0000 Borrowed USB stick today and did same excersize as below (# zpool create = tank raidz da5{d,e,f}) with exactly same outcome. On 19.01.2013, at 23:26, Alexander Nedotsukov wrote: > Hi All, >=20 > Just a note that after catch up with -current my zfs pool kissed good = bye. I'll omit details about its last days and go strait to the final = state: >=20 > Creating pool from scratch: >=20 > #zpool create tank raidz da{1..3} > #zpool status > pool: tank > state: ONLINE > scan: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > raidz1-0 ONLINE 0 0 0 > da1 ONLINE 0 0 0 > da2 ONLINE 0 0 0 > da3 ONLINE 0 0 0 >=20 > errors: No known data errors > #zfs list > NAME USED AVAIL REFER MOUNTPOINT > tank 140K 3,56T 40,0K /tank >=20 > Let's use some space out of it. >=20 > #dd if=3D/dev/zero of=3D/tank/foo > ^C250939+0 records in > 250938+0 records out > 128480256 bytes transferred in 30.402453 secs (4225983 bytes/sec) >=20 > Oops... >=20 > #zpool status > pool: tank > state: ONLINE > status: One or more devices has experienced an unrecoverable error. = An > attempt was made to correct the error. Applications are = unaffected. > action: Determine if the device needs to be replaced, and clear the = errors > using 'zpool clear' or replace the device with 'zpool replace'. > see: http://illumos.org/msg/ZFS-8000-9P > scan: scrub repaired 5K in 0h0m with 0 errors on Sat Jan 19 23:11:20 = 2013 > config: >=20 > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > raidz1-0 ONLINE 0 0 0 > da1 ONLINE 0 0 1 > da2 ONLINE 0 0 0 > da3 ONLINE 0 0 1 >=20 > At some state (more data copied) it is enough to do another scrub run = to trigger new cksum errors / unrecoverable file loss. > I do not see any error messages from kernel and smartctl output has = zero error counters. > Full memtest cycle seems to be all right. > Kernel built with gcc is suffering from same sympthoms. > Tried to create raidz pool out of files and it worked fine (even = placed one chunk to UFS made out of da0).=20 >=20 > Any idea what it can be? >=20 > Last kernel which did work was back from October 2012. >=20 > Thanks, > Alexander. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 08:06:52 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BA5D98D0 for ; Sun, 20 Jan 2013 08:06:52 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from z.umatar.com (z.umatar.com [66.135.39.87]) by mx1.freebsd.org (Postfix) with ESMTP id 742B8686 for ; Sun, 20 Jan 2013 08:06:52 +0000 (UTC) Received: from z.umatar.com (localhost [127.0.0.1]) by z.umatar.com (8.14.5/8.14.3) with ESMTP id r0K86ppb035251 for ; Sun, 20 Jan 2013 00:06:51 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) Received: (from uzimac@localhost) by z.umatar.com (8.14.5/8.14.3/Submit) id r0K86pmC035250 for freebsd-usb@freebsd.org; Sun, 20 Jan 2013 00:06:51 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) X-Authentication-Warning: z.umatar.com: uzimac set sender to uzimac@da3m0n8t3r.com using -f From: "Waitman Gobble" Subject: SDDR-289 slo-mo reboot To: freebsd-usb@freebsd.org Message-Id: <1358669211.35245@da3m0n8t3r.com> X-Originating-IP: 75.36.150.58 X-Mailer: Usermin 1.510 Date: Sun, 20 Jan 2013 00:06:51 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1358669211" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 08:06:52 -0000 This is a multi-part message in MIME format. --bound1358669211 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Hi, I have a SanDisk SDDR-289 hooked up through a pci-e interface card w/ VIA VL800 chipset With it plugged it, when I reboot it takes 5-6 minutes to shut down and 15 to come back up. Jan 18 20:58:20 kamira kernel: ugen0.4 (: at usbus0 Jan 18 20:58:20 kamira kernel: umass2: on usbus0 Jan 18 20:58:20 kamira kernel: umass2: SCSI over Bulk-Only; quirks = 0x4000 Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7 Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun 0 Jan 18 20:58:20 kamira kernel: da2: Removable Direct Access SCSI-0 I don't see this model listed in sys/dev/usb/usbdevs, or sys/dev/usb/quirk/usb_quirk.c ..not sure if the 'quirks = 0x4000' refers to something. (?) I have a hunch the problem is related to missing quirks, but I'm not sure. # uname -a FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r245537M: Sat Jan 19 13:41:28 PST 2013 root@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 Any help/suggestions appreciated! Thank you, -- Waitman Gobble San Jose California USA --bound1358669211-- From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 13:11:14 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9986E558 for ; Sun, 20 Jan 2013 13:11:14 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 2B651223 for ; Sun, 20 Jan 2013 13:11:13 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 368821443; Sun, 20 Jan 2013 14:06:03 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: SDDR-289 slo-mo reboot Date: Sun, 20 Jan 2013 14:07:25 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <1358669211.35245@da3m0n8t3r.com> In-Reply-To: <1358669211.35245@da3m0n8t3r.com> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 13:11:14 -0000 On Sunday 20 January 2013 09:06:51 Waitman Gobble wrote: > Hi, > > I have a SanDisk SDDR-289 hooked up through a pci-e interface card w/ VIA > VL800 chipset With it plugged it, when I reboot it takes 5-6 minutes to > shut down and 15 to come back up. > > Jan 18 20:58:20 kamira kernel: ugen0.4 (: at usbus0 > Jan 18 20:58:20 kamira kernel: umass2: on > usbus0 Jan 18 20:58:20 kamira kernel: umass2: SCSI over Bulk-Only; quirks > = 0x4000 Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7 > Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun > 0 Jan 18 20:58:20 kamira kernel: da2: > Removable Direct Access SCSI-0 > > I don't see this model listed in sys/dev/usb/usbdevs, or > sys/dev/usb/quirk/usb_quirk.c ..not sure if the 'quirks = 0x4000' refers > to something. (?) I have a hunch the problem is related to missing quirks, > but I'm not sure. > > # uname -a > FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r245537M: Sat > Jan 19 13:41:28 PST 2013 > root@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 There is currently some automagic detection of quirks. You can try to add your device to the quirklist in sys/dev/usb/quirk/usb_quirk.c --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 16:18:59 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A6B59A79 for ; Sun, 20 Jan 2013 16:18:59 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from z.umatar.com (z.umatar.com [66.135.39.87]) by mx1.freebsd.org (Postfix) with ESMTP id 83ACFA37 for ; Sun, 20 Jan 2013 16:18:59 +0000 (UTC) Received: from z.umatar.com (localhost [127.0.0.1]) by z.umatar.com (8.14.5/8.14.3) with ESMTP id r0KGIsFi018421; Sun, 20 Jan 2013 08:18:54 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) Received: (from uzimac@localhost) by z.umatar.com (8.14.5/8.14.3/Submit) id r0KGIswR018419; Sun, 20 Jan 2013 08:18:54 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) X-Authentication-Warning: z.umatar.com: uzimac set sender to uzimac@da3m0n8t3r.com using -f From: "Waitman Gobble" Subject: Re: SDDR-289 slo-mo reboot To: Hans Petter Selasky Message-Id: <1358698733.18413@da3m0n8t3r.com> X-Originating-IP: 75.36.150.58 X-Mailer: Usermin 1.510 In-Reply-To: <201301201407.25259.hselasky@c2i.net> Date: Sun, 20 Jan 2013 08:18:53 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1358698733" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 16:18:59 -0000 This is a multi-part message in MIME format. --bound1358698733 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Hans Petter Selasky wrote .. > On Sunday 20 January 2013 09:06:51 Waitman Gobble wrote: > > Hi, > > > > I have a SanDisk SDDR-289 hooked up through a pci-e interface card w/ VIA > > VL800 chipset With it plugged it, when I reboot it takes 5-6 minutes to > > shut down and 15 to come back up. > > > > Jan 18 20:58:20 kamira kernel: ugen0.4 (: at usbus0 > > Jan 18 20:58:20 kamira kernel: umass2: on > > usbus0 Jan 18 20:58:20 kamira kernel: umass2: SCSI over Bulk-Only; quirks > > = 0x4000 Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7 > > Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun > > 0 Jan 18 20:58:20 kamira kernel: da2: > > Removable Direct Access SCSI-0 > > > > I don't see this model listed in sys/dev/usb/usbdevs, or > > sys/dev/usb/quirk/usb_quirk.c ..not sure if the 'quirks = 0x4000' refers > > to something. (?) I have a hunch the problem is related to missing quirks, > > but I'm not sure. > > > > # uname -a > > FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r245537M: Sat > > Jan 19 13:41:28 PST 2013 > > root@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 > > There is currently some automagic detection of quirks. You can try to add your > device to the quirklist in sys/dev/usb/quirk/usb_quirk.c > > --HPS Hi, Thanks. I did try just to see what happens, but it seems i need to have the device listed in usbdev and I wasn't sure how to list it. for example, an older product with the same brand name, but conceivably a different architecture: in usb_quirk.c USB_QUIRK(ONSPEC2, IMAGEMATE_SDDR55, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_GETMAXLUN), and usbdevs product ONSPEC2 IMAGEMATE_SDDR55 0xa103 ImageMate SDDR55 i'm not sure where i get this number:0xa103 and if that's all that is needed? # usbconfig -u 0 -a 4 dump_curr_config_desc ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x002c bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0004 bmAttributes = 0x0080 bMaxPower = 0x0064 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0005 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0002 wMaxPacketSize = 0x0400 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x06, 0x30, 0x03, 0x00, 0x00, 0x00 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0002 wMaxPacketSize = 0x0400 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x06, 0x30, 0x03, 0x00, 0x00, 0x00 # usbconfig -u 0 -a 4 dump_device_desc ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0009 idVendor = 0x0781 idProduct = 0xb6ba bcdDevice = 0x0124 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <11150005027> bNumConfigurations = 0x0001 Thank you, -- Waitman Gobble San Jose California USA --bound1358698733-- From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 16:37:33 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CD6FBFD9 for ; Sun, 20 Jan 2013 16:37:33 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from z.umatar.com (z.umatar.com [66.135.39.87]) by mx1.freebsd.org (Postfix) with ESMTP id 93712AC5 for ; Sun, 20 Jan 2013 16:37:33 +0000 (UTC) Received: from z.umatar.com (localhost [127.0.0.1]) by z.umatar.com (8.14.5/8.14.3) with ESMTP id r0KGbSLb019339; Sun, 20 Jan 2013 08:37:28 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) Received: (from uzimac@localhost) by z.umatar.com (8.14.5/8.14.3/Submit) id r0KGbSBi019338; Sun, 20 Jan 2013 08:37:28 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) X-Authentication-Warning: z.umatar.com: uzimac set sender to uzimac@da3m0n8t3r.com using -f From: "Waitman Gobble" Subject: Re: SDDR-289 slo-mo reboot To: Hans Petter Selasky Message-Id: <1358699848.19332@da3m0n8t3r.com> X-Originating-IP: 75.36.150.58 X-Mailer: Usermin 1.510 In-Reply-To: <1358698733.18413@da3m0n8t3r.com> Date: Sun, 20 Jan 2013 08:37:28 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1358699848" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 16:37:33 -0000 This is a multi-part message in MIME format. --bound1358699848 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Waitman Gobble wrote .. > Hans Petter Selasky wrote .. > > On Sunday 20 January 2013 09:06:51 Waitman Gobble wrote: > > > Hi, > > > > > > I have a SanDisk SDDR-289 hooked up through a pci-e interface card w/ VIA > > > VL800 chipset With it plugged it, when I reboot it takes 5-6 minutes to > > > shut down and 15 to come back up. > > > > > > Jan 18 20:58:20 kamira kernel: ugen0.4 (: at usbus0 > > > Jan 18 20:58:20 kamira kernel: umass2: on > > > usbus0 Jan 18 20:58:20 kamira kernel: umass2: SCSI over Bulk-Only; quirks > > > = 0x4000 Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7 > > > Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun > > > 0 Jan 18 20:58:20 kamira kernel: da2: > > > Removable Direct Access SCSI-0 > > > > > > I don't see this model listed in sys/dev/usb/usbdevs, or > > > sys/dev/usb/quirk/usb_quirk.c ..not sure if the 'quirks = 0x4000' refers > > > to something. (?) I have a hunch the problem is related to missing quirks, > > > but I'm not sure. > > > > > > # uname -a > > > FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r245537M: Sat > > > Jan 19 13:41:28 PST 2013 > > > root@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 > > > > There is currently some automagic detection of quirks. You can try to add your > > device to the quirklist in sys/dev/usb/quirk/usb_quirk.c > > > > --HPS > > Hi, > > Thanks. I did try just to see what happens, but it seems i need to have the device > listed in usbdev and I wasn't sure how to list it. > > for example, an older product with the same brand name, but conceivably a different > architecture: > > in usb_quirk.c > > USB_QUIRK(ONSPEC2, IMAGEMATE_SDDR55, 0x0000, 0xffff, > UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_GETMAXLUN), > > and usbdevs > product ONSPEC2 IMAGEMATE_SDDR55 0xa103 ImageMate SDDR55 > > i'm not sure where i get this number:0xa103 > and if that's all that is needed? > > > # usbconfig -u 0 -a 4 dump_curr_config_desc > ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) > pwr=ON > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x002c > bNumInterfaces = 0x0001 > bConfigurationValue = 0x0001 > iConfiguration = 0x0004 > bmAttributes = 0x0080 > bMaxPower = 0x0064 > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0002 > bInterfaceClass = 0x0008 > bInterfaceSubClass = 0x0006 > bInterfaceProtocol = 0x0050 > iInterface = 0x0005 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0001 > bmAttributes = 0x0002 > wMaxPacketSize = 0x0400 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Additional Descriptor > > bLength = 0x06 > bDescriptorType = 0x30 > bDescriptorSubType = 0x03 > RAW dump: > 0x00 | 0x06, 0x30, 0x03, 0x00, 0x00, 0x00 > > > Endpoint 1 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0082 > bmAttributes = 0x0002 > wMaxPacketSize = 0x0400 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Additional Descriptor > > bLength = 0x06 > bDescriptorType = 0x30 > bDescriptorSubType = 0x03 > RAW dump: > 0x00 | 0x06, 0x30, 0x03, 0x00, 0x00, 0x00 > > > > # usbconfig -u 0 -a 4 dump_device_desc > ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) > pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0300 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0009 > idVendor = 0x0781 > idProduct = 0xb6ba > bcdDevice = 0x0124 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 <11150005027> > bNumConfigurations = 0x0001 > > > Thank you, > > > -- > Waitman Gobble > San Jose California USA OOPs, I think I answered my own question.. I put this in usbdevs, based on the output of usbconfig above. product SANDISK IMAGEMATE_SDDR289 0xb6ba ImageMate SDDR-289 then in usb_quirk.c USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY | UQ_MSC_NO_GETMAXLUN), Not sure if it's correct but I think maybe a starting point to experiment. Thanks, -- Waitman Gobble San Jose California USA --bound1358699848-- From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 17:05:50 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9BADC63C for ; Sun, 20 Jan 2013 17:05:50 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from z.umatar.com (z.umatar.com [66.135.39.87]) by mx1.freebsd.org (Postfix) with ESMTP id 789CABF8 for ; Sun, 20 Jan 2013 17:05:50 +0000 (UTC) Received: from z.umatar.com (localhost [127.0.0.1]) by z.umatar.com (8.14.5/8.14.3) with ESMTP id r0KH5ks4065913; Sun, 20 Jan 2013 09:05:46 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) Received: (from uzimac@localhost) by z.umatar.com (8.14.5/8.14.3/Submit) id r0KH5kSk065912; Sun, 20 Jan 2013 09:05:46 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) X-Authentication-Warning: z.umatar.com: uzimac set sender to uzimac@da3m0n8t3r.com using -f From: "Waitman Gobble" Subject: Re: SDDR-289 slo-mo reboot To: Hans Petter Selasky Message-Id: <1358701546.65907@da3m0n8t3r.com> X-Originating-IP: 75.36.150.58 X-Mailer: Usermin 1.510 In-Reply-To: <1358699848.19332@da3m0n8t3r.com> Date: Sun, 20 Jan 2013 09:05:46 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1358701546" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 17:05:50 -0000 This is a multi-part message in MIME format. --bound1358701546 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Waitman Gobble wrote .. > Waitman Gobble wrote .. > > Hans Petter Selasky wrote .. > > > On Sunday 20 January 2013 09:06:51 Waitman Gobble wrote: > > > > Hi, > > > > > > > > I have a SanDisk SDDR-289 hooked up through a pci-e interface card w/ VIA > > > > VL800 chipset With it plugged it, when I reboot it takes 5-6 minutes to > > > > shut down and 15 to come back up. > > > > > > > > Jan 18 20:58:20 kamira kernel: ugen0.4 (: at usbus0 > > > > Jan 18 20:58:20 kamira kernel: umass2: on > > > > usbus0 Jan 18 20:58:20 kamira kernel: umass2: SCSI over Bulk-Only; quirks > > > > = 0x4000 Jan 18 20:58:20 kamira kernel: umass2:7:2:-1: Attached to scbus7 > > > > Jan 18 20:58:20 kamira kernel: da2 at umass-sim2 bus 2 scbus7 target 0 lun > > > > 0 Jan 18 20:58:20 kamira kernel: da2: > > > > Removable Direct Access SCSI-0 > > > > > > > > I don't see this model listed in sys/dev/usb/usbdevs, or > > > > sys/dev/usb/quirk/usb_quirk.c ..not sure if the 'quirks = 0x4000' refers > > > > to something. (?) I have a hunch the problem is related to missing quirks, > > > > but I'm not sure. > > > > > > > > # uname -a > > > > FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r245537M: Sat > > > > Jan 19 13:41:28 PST 2013 > > > > root@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 > > > > > > There is currently some automagic detection of quirks. You can try to add your > > > device to the quirklist in sys/dev/usb/quirk/usb_quirk.c > > > > > > --HPS > > > > Hi, > > > > Thanks. I did try just to see what happens, but it seems i need to have the device > > listed in usbdev and I wasn't sure how to list it. > > > > for example, an older product with the same brand name, but conceivably a different > > architecture: > > > > in usb_quirk.c > > > > USB_QUIRK(ONSPEC2, IMAGEMATE_SDDR55, 0x0000, 0xffff, > > UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_GETMAXLUN), > > > > and usbdevs > > product ONSPEC2 IMAGEMATE_SDDR55 0xa103 ImageMate SDDR55 > > > > i'm not sure where i get this number:0xa103 > > and if that's all that is needed? > > > > > > # usbconfig -u 0 -a 4 dump_curr_config_desc > > ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) > > pwr=ON > > > > > > Configuration index 0 > > > > bLength = 0x0009 > > bDescriptorType = 0x0002 > > wTotalLength = 0x002c > > bNumInterfaces = 0x0001 > > bConfigurationValue = 0x0001 > > iConfiguration = 0x0004 > > bmAttributes = 0x0080 > > bMaxPower = 0x0064 > > > > Interface 0 > > bLength = 0x0009 > > bDescriptorType = 0x0004 > > bInterfaceNumber = 0x0000 > > bAlternateSetting = 0x0000 > > bNumEndpoints = 0x0002 > > bInterfaceClass = 0x0008 > > bInterfaceSubClass = 0x0006 > > bInterfaceProtocol = 0x0050 > > iInterface = 0x0005 > > > > Endpoint 0 > > bLength = 0x0007 > > bDescriptorType = 0x0005 > > bEndpointAddress = 0x0001 > > bmAttributes = 0x0002 > > wMaxPacketSize = 0x0400 > > bInterval = 0x0000 > > bRefresh = 0x0000 > > bSynchAddress = 0x0000 > > > > Additional Descriptor > > > > bLength = 0x06 > > bDescriptorType = 0x30 > > bDescriptorSubType = 0x03 > > RAW dump: > > 0x00 | 0x06, 0x30, 0x03, 0x00, 0x00, 0x00 > > > > > > Endpoint 1 > > bLength = 0x0007 > > bDescriptorType = 0x0005 > > bEndpointAddress = 0x0082 > > bmAttributes = 0x0002 > > wMaxPacketSize = 0x0400 > > bInterval = 0x0000 > > bRefresh = 0x0000 > > bSynchAddress = 0x0000 > > > > Additional Descriptor > > > > bLength = 0x06 > > bDescriptorType = 0x30 > > bDescriptorSubType = 0x03 > > RAW dump: > > 0x00 | 0x06, 0x30, 0x03, 0x00, 0x00, 0x00 > > > > > > > > # usbconfig -u 0 -a 4 dump_device_desc > > ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) > > pwr=ON > > > > bLength = 0x0012 > > bDescriptorType = 0x0001 > > bcdUSB = 0x0300 > > bDeviceClass = 0x0000 > > bDeviceSubClass = 0x0000 > > bDeviceProtocol = 0x0000 > > bMaxPacketSize0 = 0x0009 > > idVendor = 0x0781 > > idProduct = 0xb6ba > > bcdDevice = 0x0124 > > iManufacturer = 0x0001 > > iProduct = 0x0002 > > iSerialNumber = 0x0003 <11150005027> > > bNumConfigurations = 0x0001 > > > > > > Thank you, > > > > > > -- > > Waitman Gobble > > San Jose California USA > > > OOPs, I think I answered my own question.. > > I put this in usbdevs, based on the output of usbconfig above. > > > product SANDISK IMAGEMATE_SDDR289 0xb6ba ImageMate SDDR-289 > > > then in > usb_quirk.c > > USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, > UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY | UQ_MSC_NO_GETMAXLUN), > > > Not sure if it's correct but I think maybe a starting point to experiment. > > Thanks, > > > > The UQ_MSC_NO_INQUIRY makes it crash bad, but removing NO_INQUIRY from the quirk works though - and totally solves the reboot problem, yay. I submitted a pr. Thanks so much, -- Waitman Gobble San Jose California USA --bound1358701546-- From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 17:10:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0F89D6EE for ; Sun, 20 Jan 2013 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D257CC1B for ; Sun, 20 Jan 2013 17:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0KHA0CS033380 for ; Sun, 20 Jan 2013 17:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0KHA0HZ033375; Sun, 20 Jan 2013 17:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 20 Jan 2013 17:10:00 GMT Resent-Message-Id: <201301201710.r0KHA0HZ033375@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Waitman Gobble Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BB4E860F for ; Sun, 20 Jan 2013 17:02:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AC9DBBDF for ; Sun, 20 Jan 2013 17:02:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0KH2g5O059756 for ; Sun, 20 Jan 2013 17:02:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0KH2gr1059755; Sun, 20 Jan 2013 17:02:42 GMT (envelope-from nobody) Message-Id: <201301201702.r0KH2gr1059755@red.freebsd.org> Date: Sun, 20 Jan 2013 17:02:42 GMT From: Waitman Gobble To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/175454: update usbdevs and usb_quirk.c for SanDisk SDDR-289 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 17:10:01 -0000 >Number: 175454 >Category: usb >Synopsis: update usbdevs and usb_quirk.c for SanDisk SDDR-289 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jan 20 17:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Waitman Gobble >Release: FreeBSD 9.1-RELEASE >Organization: Waitman Gobble >Environment: FreeBSD kamira.waitman.net 9.1-RELEASE FreeBSD 9.1-RELEASE #5 r245537M: Sun Jan 20 08:45:56 PST 2013 root@kamira.waitman.net:/usr/obj/usr/src/sys/BURPLEX amd64 >Description: With a SanDisk ImageMate SDDR-289 usb 3.0 card reader attached to the computer, a reboot takes over 20 minutes. Shutdown is about 5 minutes, boot up is about 15. Adding the device to usbdevs and updating the quirks totally solves the reboot issue. # usbconfig -u 0 -a 4 dump_device_desc ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0009 idVendor = 0x0781 idProduct = 0xb6ba bcdDevice = 0x0124 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <11150005027> bNumConfigurations = 0x0001 >How-To-Repeat: >Fix: 1) add to sys/dev/usb/usbdevs: product SANDISK IMAGEMATE_SDDR289 0xb6ba ImageMate SDDR-289 2) add to sys/dev/usb/quirk/usb_quirk.c USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_GETMAXLUN), thank you. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 20:52:09 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B835CBE3 for ; Sun, 20 Jan 2013 20:52:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 35B4334B for ; Sun, 20 Jan 2013 20:52:08 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50,UPPERCASE_50_75 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 368899390; Sun, 20 Jan 2013 21:52:06 +0100 From: Hans Petter Selasky To: "Waitman Gobble" Subject: Re: SDDR-289 slo-mo reboot Date: Sun, 20 Jan 2013 21:53:26 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <1358701546.65907@da3m0n8t3r.com> In-Reply-To: <1358701546.65907@da3m0n8t3r.com> X-Face: ?p&W)c( =?iso-8859-1?q?+80hU=3B=27=7B=2E=245K+zq=7BoC6y=7C=0A=09/D=27an*6mw?=>j'f:eBsex\Gi, Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 20:52:09 -0000 On Sunday 20 January 2013 18:05:46 Waitman Gobble wrote: > > USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, > > > > UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY | UQ_MSC_NO_GETMAXLUN), Can you try this: USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, UQ_MSC_NO_INQUIRY, UQ_MSC_NO_GETMAXLUN), There should be a "," and not "|". --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Jan 20 21:15:40 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A00C2E84 for ; Sun, 20 Jan 2013 21:15:40 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from z.umatar.com (z.umatar.com [66.135.39.87]) by mx1.freebsd.org (Postfix) with ESMTP id 6449C61A for ; Sun, 20 Jan 2013 21:15:39 +0000 (UTC) Received: from z.umatar.com (localhost [127.0.0.1]) by z.umatar.com (8.14.5/8.14.3) with ESMTP id r0KLFZbP058887; Sun, 20 Jan 2013 13:15:35 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) Received: (from uzimac@localhost) by z.umatar.com (8.14.5/8.14.3/Submit) id r0KLFZom058886; Sun, 20 Jan 2013 13:15:35 -0800 (PST) (envelope-from uzimac@da3m0n8t3r.com) X-Authentication-Warning: z.umatar.com: uzimac set sender to uzimac@da3m0n8t3r.com using -f From: "Waitman Gobble" Subject: Re: SDDR-289 slo-mo reboot To: Hans Petter Selasky Message-Id: <1358716535.58881@da3m0n8t3r.com> X-Originating-IP: 75.36.150.58 X-Mailer: Usermin 1.510 In-Reply-To: <201301202153.26071.hselasky@c2i.net> Date: Sun, 20 Jan 2013 13:15:35 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1358716535" Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 21:15:40 -0000 This is a multi-part message in MIME format. --bound1358716535 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Hans Petter Selasky wrote .. > On Sunday 20 January 2013 18:05:46 Waitman Gobble wrote: > > > USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, > > > > > > UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY | UQ_MSC_NO_GETMAXLUN), > > Can you try this: > > USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, UQ_MSC_NO_INQUIRY, > UQ_MSC_NO_GETMAXLUN), > > There should be a "," and not "|". > > --HPS Hi, I noticed that on another line and thought it was valid. For example, a different device in sys/dev/usb/quirk/usb_quirk.c: USB_QUIRK(ONSPEC, UCF100, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_INQUIRY | UQ_MSC_NO_GETMAXLUN), Anyway, I removed the UQ_MSC_NO_INQUIRY from the SDDR189 quirk and it seems to work, at least the boot problem is solved. Thank you, -- Waitman Gobble San Jose California USA --bound1358716535-- From owner-freebsd-usb@FreeBSD.ORG Mon Jan 21 07:08:38 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 71959591 for ; Mon, 21 Jan 2013 07:08:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id E6A04E88 for ; Mon, 21 Jan 2013 07:08:37 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 373102595; Mon, 21 Jan 2013 08:03:27 +0100 From: Hans Petter Selasky To: "Waitman Gobble" Subject: Re: SDDR-289 slo-mo reboot Date: Mon, 21 Jan 2013 08:04:47 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <1358716535.58881@da3m0n8t3r.com> In-Reply-To: <1358716535.58881@da3m0n8t3r.com> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 07:08:38 -0000 On Sunday 20 January 2013 22:15:35 Waitman Gobble wrote: > Hans Petter Selasky wrote .. > > > On Sunday 20 January 2013 18:05:46 Waitman Gobble wrote: > > > > USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, > > > > > > > > UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY | > > > > UQ_MSC_NO_GETMAXLUN), > > > > Can you try this: > > > > USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, UQ_MSC_NO_INQUIRY, > > UQ_MSC_NO_GETMAXLUN), > > > > There should be a "," and not "|". > > > > --HPS > > Hi, > I noticed that on another line and thought it was valid. > > For example, a different device in sys/dev/usb/quirk/usb_quirk.c: > > USB_QUIRK(ONSPEC, UCF100, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, > UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_INQUIRY | > UQ_MSC_NO_GETMAXLUN), > > > Anyway, I removed the UQ_MSC_NO_INQUIRY from the SDDR189 quirk and it seems > to work, at least the boot problem is solved. > > Thank you, I see, so basically that quirk is disabling the default MSC tester. I think you need a few more quirks! http://svnweb.freebsd.org/changeset/base/245725 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jan 21 07:10:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 50C565C1 for ; Mon, 21 Jan 2013 07:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 27DF8E91 for ; Mon, 21 Jan 2013 07:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0L7A1CJ005947 for ; Mon, 21 Jan 2013 07:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0L7A1lS005945; Mon, 21 Jan 2013 07:10:01 GMT (envelope-from gnats) Date: Mon, 21 Jan 2013 07:10:01 GMT Message-Id: <201301210710.r0L7A1lS005945@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/175454: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 07:10:01 -0000 The following reply was made to PR usb/175454; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/175454: commit references a PR Date: Mon, 21 Jan 2013 07:02:52 +0000 (UTC) Author: hselasky Date: Mon Jan 21 07:02:41 2013 New Revision: 245725 URL: http://svnweb.freebsd.org/changeset/base/245725 Log: Add new quirk and correct old one. PR: usb/175454 MFC after: 1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/quirk/usb_quirk.c ============================================================================== --- head/sys/dev/usb/quirk/usb_quirk.c Mon Jan 21 07:02:21 2013 (r245724) +++ head/sys/dev/usb/quirk/usb_quirk.c Mon Jan 21 07:02:41 2013 (r245725) @@ -302,7 +302,7 @@ static struct usb_quirk_entry usb_quirks UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_INQUIRY), USB_QUIRK(ONSPEC, READER, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_SCSI), USB_QUIRK(ONSPEC, UCF100, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, - UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_INQUIRY | UQ_MSC_NO_GETMAXLUN), + UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_INQUIRY, UQ_MSC_NO_GETMAXLUN), USB_QUIRK(ONSPEC2, IMAGEMATE_SDDR55, 0x0000, 0xffff, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_NO_GETMAXLUN), USB_QUIRK(PANASONIC, KXL840AN, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, @@ -338,6 +338,8 @@ static struct usb_quirk_entry usb_quirks UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_IGNORE_RESIDUE), USB_QUIRK(SANDISK, SDDR31, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_READ_CAP_OFFBY1), + USB_QUIRK(SANDISK, IMAGEMATE_SDDR289, 0x0000, 0xffff, + UQ_MSC_NO_SYNC_CACHE, UQ_MSC_NO_GETMAXLUN), USB_QUIRK(SCANLOGIC, SL11R, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_ATAPI, UQ_MSC_NO_INQUIRY), USB_QUIRK(SHUTTLE, EUSB, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_CBI_I, Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Mon Jan 21 07:02:21 2013 (r245724) +++ head/sys/dev/usb/usbdevs Mon Jan 21 07:02:41 2013 (r245725) @@ -3561,6 +3561,7 @@ product SANDISK SDDR75 0x0810 ImageMate product SANDISK SDCZ2_256 0x7104 Cruzer Mini 256MB product SANDISK SDCZ4_128 0x7112 Cruzer Micro 128MB product SANDISK SDCZ4_256 0x7113 Cruzer Micro 256MB +product SANDISK IMAGEMATE_SDDR289 0xb6ba ImageMate SDDR-289 /* Sanwa Electric Instrument Co., Ltd. products */ product SANWA KB_USB2 0x0701 KB-USB2 multimeter cable _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Jan 21 07:20:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3E619BB8 for ; Mon, 21 Jan 2013 07:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 157E6EFA for ; Mon, 21 Jan 2013 07:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0L7K0pm008484 for ; Mon, 21 Jan 2013 07:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0L7K05T008480; Mon, 21 Jan 2013 07:20:00 GMT (envelope-from gnats) Date: Mon, 21 Jan 2013 07:20:00 GMT Message-Id: <201301210720.r0L7K05T008480@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/174814: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 07:20:01 -0000 The following reply was made to PR usb/174814; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/174814: commit references a PR Date: Mon, 21 Jan 2013 07:10:35 +0000 (UTC) Author: hselasky Date: Mon Jan 21 07:10:27 2013 New Revision: 245727 URL: http://svnweb.freebsd.org/changeset/base/245727 Log: MFC r244837 and r245427: Add new USB IDs. PR: usb/174814 Submitted by: Andy Balholm, Lowell Gilbert Modified: stable/9/sys/dev/usb/serial/u3g.c stable/9/sys/dev/usb/usbdevs Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/usb/serial/u3g.c ============================================================================== --- stable/9/sys/dev/usb/serial/u3g.c Mon Jan 21 07:03:13 2013 (r245726) +++ stable/9/sys/dev/usb/serial/u3g.c Mon Jan 21 07:10:27 2013 (r245727) @@ -342,6 +342,7 @@ static const STRUCT_USB_HOST_ID u3g_devs U3G_DEV(NOVATEL, MC760, 0), U3G_DEV(NOVATEL, MC547, 0), U3G_DEV(NOVATEL, MC950D, 0), + U3G_DEV(NOVATEL, MIFI2200, U3GINIT_SCSIEJECT), U3G_DEV(NOVATEL, U720, 0), U3G_DEV(NOVATEL, U727, 0), U3G_DEV(NOVATEL, U727_2, 0), @@ -355,6 +356,7 @@ static const STRUCT_USB_HOST_ID u3g_devs U3G_DEV(NOVATEL, V740, 0), U3G_DEV(NOVATEL, X950D, 0), U3G_DEV(NOVATEL, XU870, 0), + U3G_DEV(MOTOROLA2, MB886, U3GINIT_SCSIEJECT), U3G_DEV(OPTION, E6500, 0), U3G_DEV(OPTION, E6501, 0), U3G_DEV(OPTION, E6601, 0), Modified: stable/9/sys/dev/usb/usbdevs ============================================================================== --- stable/9/sys/dev/usb/usbdevs Mon Jan 21 07:03:13 2013 (r245726) +++ stable/9/sys/dev/usb/usbdevs Mon Jan 21 07:10:27 2013 (r245727) @@ -2936,6 +2936,7 @@ product MOTOROLA2 A41XV32X 0x2a22 A41x/V product MOTOROLA2 E398 0x4810 E398 Mobile Phone product MOTOROLA2 USBLAN 0x600c USBLAN product MOTOROLA2 USBLAN2 0x6027 USBLAN +product MOTOROLA2 MB886 0x710f MB886 Mobile Phone (Atria HD) product MOTOROLA4 RT2770 0x9031 RT2770 product MOTOROLA4 RT3070 0x9032 RT3070 @@ -3055,6 +3056,7 @@ product NOVATEL U727 0x4100 Merlin U727 product NOVATEL MC950D 0x4400 Novatel MC950D HSUPA product NOVATEL ZEROCD 0x5010 Novatel ZeroCD product NOVATEL ZEROCD2 0x5030 Novatel ZeroCD +product NOVATEL MIFI2200 0x5041 Novatel MiFi 2200 CDMA product NOVATEL U727_2 0x5100 Merlin U727 CDMA product NOVATEL U760 0x6000 Novatel U760 product NOVATEL MC760 0x6002 Novatel MC760 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Jan 21 07:20:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2CA4CBB9 for ; Mon, 21 Jan 2013 07:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 08A61EFB for ; Mon, 21 Jan 2013 07:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0L7K1ru008494 for ; Mon, 21 Jan 2013 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0L7K1Fh008493; Mon, 21 Jan 2013 07:20:01 GMT (envelope-from gnats) Date: Mon, 21 Jan 2013 07:20:01 GMT Message-Id: <201301210720.r0L7K1Fh008493@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/174963: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 07:20:02 -0000 The following reply was made to PR usb/174963; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/174963: commit references a PR Date: Mon, 21 Jan 2013 07:16:42 +0000 (UTC) Author: hselasky Date: Mon Jan 21 07:16:29 2013 New Revision: 245729 URL: http://svnweb.freebsd.org/changeset/base/245729 Log: MFC r245047: Fix for "run0: wcid=xx out of range" error message. PR: usb/174963 Submitted by: PseudoCylon Modified: stable/9/sys/dev/usb/wlan/if_run.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/usb/wlan/if_run.c ============================================================================== --- stable/9/sys/dev/usb/wlan/if_run.c Mon Jan 21 07:14:06 2013 (r245728) +++ stable/9/sys/dev/usb/wlan/if_run.c Mon Jan 21 07:16:29 2013 (r245729) @@ -2019,7 +2019,8 @@ run_key_set_cb(void *arg) wcid = 0; /* NB: update WCID0 for group keys */ base = RT2860_SKEY(RUN_VAP(vap)->rvp_id, k->wk_keyix); } else { - wcid = RUN_AID2WCID(associd); + wcid = (vap->iv_opmode == IEEE80211_M_STA) ? + 1 : RUN_AID2WCID(associd); base = RT2860_PKEY(wcid); } @@ -2374,9 +2375,12 @@ run_newassoc(struct ieee80211_node *ni, struct run_softc *sc = ic->ic_ifp->if_softc; uint8_t rate; uint8_t ridx; - uint8_t wcid = RUN_AID2WCID(ni->ni_associd); + uint8_t wcid; int i, j; + wcid = (vap->iv_opmode == IEEE80211_M_STA) ? + 1 : RUN_AID2WCID(ni->ni_associd); + if (wcid > RT2870_WCID_MAX) { device_printf(sc->sc_dev, "wcid=%d out of range\n", wcid); return; @@ -3044,8 +3048,12 @@ run_tx(struct run_softc *sc, struct mbuf txd->flags = qflags; txwi = (struct rt2860_txwi *)(txd + 1); txwi->xflags = xflags; - txwi->wcid = IEEE80211_IS_MULTICAST(wh->i_addr1) ? - 0 : RUN_AID2WCID(ni->ni_associd); + if (IEEE80211_IS_MULTICAST(wh->i_addr1)) { + txwi->wcid = 0; + } else { + txwi->wcid = (vap->iv_opmode == IEEE80211_M_STA) ? + 1 : RUN_AID2WCID(ni->ni_associd); + } /* clear leftover garbage bits */ txwi->flags = 0; txwi->txop = 0; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Jan 21 07:33:06 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9E88C457; Mon, 21 Jan 2013 07:33:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 780DFF87; Mon, 21 Jan 2013 07:33:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0L7X5qV011654; Mon, 21 Jan 2013 07:33:05 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0L7X4cX011650; Mon, 21 Jan 2013 07:33:04 GMT (envelope-from linimon) Date: Mon, 21 Jan 2013 07:33:04 GMT Message-Id: <201301210733.r0L7X4cX011650@freefall.freebsd.org> To: hselasky@c2i.net, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: usb/175297: Re: [PATCH] disable fake CD mount for Atria HD phone X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 07:33:06 -0000 Synopsis: Re: [PATCH] disable fake CD mount for Atria HD phone State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Mon Jan 21 07:32:23 UTC 2013 State-Changed-Why: Misfiled followup to usb/175296; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jan 21 07:32:23 UTC 2013 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=175297 From owner-freebsd-usb@FreeBSD.ORG Mon Jan 21 07:34:53 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C95EA5CD; Mon, 21 Jan 2013 07:34:53 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BB09DF9A; Mon, 21 Jan 2013 07:34:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0L7Yr5P011720; Mon, 21 Jan 2013 07:34:53 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0L7YroZ011716; Mon, 21 Jan 2013 07:34:53 GMT (envelope-from linimon) Date: Mon, 21 Jan 2013 07:34:53 GMT Message-Id: <201301210734.r0L7YroZ011716@freefall.freebsd.org> To: freebsd-bug-local@be-well.ilk.org, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, hps@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: usb/175296: [PATCH] disable fake CD mount for Atria HD phone X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 07:34:53 -0000 Synopsis: [PATCH] disable fake CD mount for Atria HD phone State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Mon Jan 21 07:33:12 UTC 2013 State-Changed-Why: >From misfiled PR usb/175297: Date: Mon, 14 Jan 2013 18:43:30 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Lowell Gilbert Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: [PATCH] disable fake CD mount for Atria HD phone On Monday 14 January 2013 18:06:58 Lowell Gilbert wrote: > Lowell Gilbert http://svnweb.freebsd.org/changeset/base/245427 --HPS Responsible-Changed-From-To: freebsd-usb->hps Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jan 21 07:33:12 UTC 2013 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=175296 From owner-freebsd-usb@FreeBSD.ORG Mon Jan 21 11:06:54 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AC66BCBC for ; Mon, 21 Jan 2013 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD84738 for ; Mon, 21 Jan 2013 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0LB6scO054254 for ; Mon, 21 Jan 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0LB6sNX054252 for freebsd-usb@FreeBSD.org; Mon, 21 Jan 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Jan 2013 11:06:54 GMT Message-Id: <201301211106.r0LB6sNX054252@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 Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 11:06:54 -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/175454 usb update usbdevs and usb_quirk.c for SanDisk SDDR-289 o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb XHCI driver bug after suspend to ram (ACPI S3 mode) o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM 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/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 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/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics 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/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o 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/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c 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 kern/124130 usb [usb] gmirror fails to start usb devices that were pre 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/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa 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/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/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s 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 f 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 conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. 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/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/119509 usb [usb] USB flaky on Dell Optiplex 755 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/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 [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a 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/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 conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff 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/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 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/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/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 f 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/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? 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. f 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 o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent 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. 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 f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device 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/75764 usb [umass] [patch] "umass0: Phase Error" - no device for 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/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/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports 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 s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver 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 285 problems total. From owner-freebsd-usb@FreeBSD.ORG Thu Jan 24 22:20:00 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BAEAA353 for ; Thu, 24 Jan 2013 22:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2CDA7C for ; Thu, 24 Jan 2013 22:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0OMK0Is016910 for ; Thu, 24 Jan 2013 22:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0OMK0bj016909; Thu, 24 Jan 2013 22:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 24 Jan 2013 22:20:00 GMT Resent-Message-Id: <201301242220.r0OMK0bj016909@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Harald Langner Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7BCB516C for ; Thu, 24 Jan 2013 22:11:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5BDA21 for ; Thu, 24 Jan 2013 22:11:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0OMBmlU032374 for ; Thu, 24 Jan 2013 22:11:48 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0OMBmZm032367; Thu, 24 Jan 2013 22:11:48 GMT (envelope-from nobody) Message-Id: <201301242211.r0OMBmZm032367@red.freebsd.org> Date: Thu, 24 Jan 2013 22:11:48 GMT From: Harald Langner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 22:20:00 -0000 >Number: 175551 >Category: usb >Synopsis: Seagate 2TB USB extern hard disk have errors with freeBSD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 24 22:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Harald Langner >Release: 9.1 Release >Organization: >Environment: FreeBSD haraldlangner.de 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Wed Jan 9 18:13:51 CET 2013 root@haraldlangner.de:/usr/obj/usr/src/sys/GENERIC i386 >Description: it seems to be a driver sw-bug I had tried to use an external Seagate 2 TB USB 3.0 hard disk, and want to format the third partition on it with FreeBSD. But I had have no look. So I step to the forum to get help. But no help was possible. It seems to be a hardware problem between this Seagate Plus Desktop Drive: http://www.seagate.com/external-hard-drives/desktop-hard-drives/backup-plus-desk/ and freeBSD. The last poster in the forum http://forums.freebsd.org/showthread.php?t=36938 commend me to post a problem report - so I want to do here. I had try different things (see the post above). Everey time the USB-Disk hangs up. On Windows I got no problems with this Seagate USB drive. I have tried serval time to format a bevore created partition with freeBSD - no look: # newfs /dev/da0s3 /dev/da0s3: 267264.0MB (547356656 sectors) block size 32768, fragment size 4096 using 362 cylinder groups of 740.00MB, 23680 blks, 47360 inodes. super-block backups (for fsck -b #) at: 192, 1515712, 3031232, 4546752, 6062272, 7577792, 9093312, 10608832, 12124352, 13639872, 15155392, 16670912, 18186432, 19701952, 21217472, 22732992, 24248512, 25764032, 27279552, 28795072, 30310592, 31826112, 33341632, 34857152, 36372672, 37888192, 39403712, 40919232, 42434752, 43950272, 45465792, 46981312, 48496832, 50012352, 51527872, 53043392, 54558912, 56074432, 57589952, 59105472, 60620992, ---Here it hangs - and I have to switch of the PC. I thing I give up with this Seagte USB device. I had also created a FAT32 partition (in the 3. Partition as described in the post) with a second Windows PC. Copy some data on it and try to mount it with the freeBSD PC. # mount -t msdosfs -o large /dev/da0s3 /mnt/bckup Same Problem - it hangs: Here are the error message that cames up, when it hangs, on console: (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error (da0:umass-sim0:0:0:0): Retrying command ugen0.2: at usbus0 (disconnected) umass0: at uhub0, port 1, addr 2 (disconnected) (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: Section Timeout (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: Section Timeout (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): lost device - 1 outstanding, 2 refs (da0:umass-sim0:0:0:0): outstanding 0 (pass3:da0:umass-sim0:0:0:0): passdevgonecb devfs entry is gone Here the system hang up. I have to press the power knobe for a new boot. I found in the sources cam.c where the messages seems to be made: http://svn.freebsd.org/base/user/eri/pf45/head/sys/cam/cam.c and this info: http://bintree.net/freebsd/de/de1/cam_8c.html. But i dislike to grubber deeper, what it could be. Maybe my information about the error will give the developer of cam.c (and code around) some ideas how Seagates hard disks can get to work with freeBSD. If there are any questions left, please ask me. Whish you all best Harald >How-To-Repeat: Take the "Seagate Plus Desktop Drive" - try to format it - or copy some data on it, use it. I have buyed this Seagate Plus Desktop because it should work also with MAC. And Mac kernel is a freeBSD System - right? But maybe MAC and Windows have different driver. Also it was written that the Seagate should be upwarts compatible. Because my old PC (freeBSD) has only USB 2.0 or USB 1.0. >Fix: take another USB drive >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Jan 25 22:31:28 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 960A9405; Fri, 25 Jan 2013 22:31:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id DBCA6E49; Fri, 25 Jan 2013 22:31:27 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 370325414; Fri, 25 Jan 2013 23:31:17 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD Date: Fri, 25 Jan 2013 23:32:32 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201301242211.r0OMBmZm032367@red.freebsd.org> In-Reply-To: <201301242211.r0OMBmZm032367@red.freebsd.org> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: freebsd-gnats-submit@freebsd.org, Harald Langner X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 22:31:28 -0000 On Thursday 24 January 2013 23:11:48 Harald Langner wrote: > >Number: 175551 > >Category: usb > >Synopsis: Seagate 2TB USB extern hard disk have errors with freeBSD > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Jan 24 22:20:00 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Harald Langner > >Release: 9.1 Release > >Organization: > > >Environment: > FreeBSD haraldlangner.de 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Wed Jan 9 > 18:13:51 CET 2013 root@haraldlangner.de:/usr/obj/usr/src/sys/GENERIC > i386 > > >Description: > it seems to be a driver sw-bug > > I had tried to use an external Seagate 2 TB USB 3.0 hard disk, and want to > format the third partition on it with FreeBSD. But I had have no look. So > I step to the forum to get help. But no help was possible. It seems to be > a hardware problem between this Seagate Plus Desktop Drive: > http://www.seagate.com/external-hard-drives/desktop-hard-drives/backup-plu > s-desk/ and freeBSD. > > The last poster in the forum > http://forums.freebsd.org/showthread.php?t=36938 commend me to post a > problem report - so I want to do here. > > I had try different things (see the post above). Everey time the USB-Disk > hangs up. On Windows I got no problems with this Seagate USB drive. > > I have tried serval time to format a bevore created partition with freeBSD > - no look: > > # newfs /dev/da0s3 > /dev/da0s3: 267264.0MB (547356656 sectors) block size 32768, fragment size > 4096 using 362 cylinder groups of 740.00MB, 23680 blks, 47360 inodes. > super-block backups (for fsck -b #) at: > 192, 1515712, 3031232, 4546752, 6062272, 7577792, 9093312, 10608832, > 12124352, 13639872, 15155392, 16670912, 18186432, 19701952, 21217472, > 22732992, > 24248512, 25764032, 27279552, 28795072, 30310592, 31826112, 33341632, > 34857152, 36372672, 37888192, 39403712, 40919232, 42434752, 43950272, > 45465792, > 46981312, 48496832, 50012352, 51527872, 53043392, 54558912, 56074432, > 57589952, 59105472, 60620992, ---Here it hangs - and I have to switch of > the PC. > > > I thing I give up with this Seagte USB device. I had also created a FAT32 > partition (in the 3. Partition as described in the post) with a second > Windows PC. Copy some data on it and try to mount it with the freeBSD PC. > # mount -t msdosfs -o large /dev/da0s3 /mnt/bckup > Same Problem - it hangs: > > > Here are the error message that cames up, when it hangs, on console: > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error > (da0:umass-sim0:0:0:0): Retrying command > ugen0.2: at usbus0 (disconnected) > umass0: at uhub0, port 1, addr 2 (disconnected) > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error > (da0:umass-sim0:0:0:0): Retrying command > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: Section Timeout > (da0:umass-sim0:0:0:0): Retrying command > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: Section Timeout > (da0:umass-sim0:0:0:0): Retrying command > (da0:umass-sim0:0:0:0): lost device - 1 outstanding, 2 refs > (da0:umass-sim0:0:0:0): outstanding 0 > (pass3:da0:umass-sim0:0:0:0): passdevgonecb devfs entry is gone > > Here the system hang up. I have to press the power knobe for a new boot. > > I found in the sources cam.c where the messages seems to be made: > http://svn.freebsd.org/base/user/eri/pf45/head/sys/cam/cam.c and this > info: http://bintree.net/freebsd/de/de1/cam_8c.html. But i dislike to > grubber deeper, what it could be. Maybe my information about the error > will give the developer of cam.c (and code around) some ideas how Seagates > hard disks can get to work with freeBSD. > > If there are any questions left, please ask me. > > Whish you all best > Harald > > >How-To-Repeat: > Take the "Seagate Plus Desktop Drive" - try to format it - or copy some > data on it, use it. I have buyed this Seagate Plus Desktop because it > should work also with MAC. And Mac kernel is a freeBSD System - right? But > maybe MAC and Windows have different driver. Also it was written that the > Seagate should be upwarts compatible. Because my old PC (freeBSD) has only > USB 2.0 or USB 1.0. > > >Fix: > take another USB drive > Hi, 1) Does the drive have separate power connected? 2) Have you tried using the disk at USB 2.0 by disabling USB 3.0 in the BIOS 3) Have you tried setting "hw.usb.umass.throttle" to 1,4 or 16, which is available in 9-stable, when "options USB_DEBUG" is enable. The CAM layer hang you are experiencing is possibly fixed in 10-current. It is not a USB fault. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jan 25 22:40:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2C162642 for ; Fri, 25 Jan 2013 22:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 12A35EC0 for ; Fri, 25 Jan 2013 22:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0PMe0O0094355 for ; Fri, 25 Jan 2013 22:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0PMe0Gr094350; Fri, 25 Jan 2013 22:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 25 Jan 2013 22:40:00 GMT Resent-Message-Id: <201301252240.r0PMe0Gr094350@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Juan J Lopez Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0147D5E3 for ; Fri, 25 Jan 2013 22:34:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E7155E9D for ; Fri, 25 Jan 2013 22:34:22 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0PMYLcd076373 for ; Fri, 25 Jan 2013 22:34:21 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0PMYLth076372; Fri, 25 Jan 2013 22:34:21 GMT (envelope-from nobody) Message-Id: <201301252234.r0PMYLth076372@red.freebsd.org> Date: Fri, 25 Jan 2013 22:34:21 GMT From: Juan J Lopez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/175599: [usbdevs][patch]Liebert UPS PSI1000 being assigned uhid and not ugen X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 22:40:01 -0000 >Number: 175599 >Category: usb >Synopsis: [usbdevs][patch]Liebert UPS PSI1000 being assigned uhid and not ugen >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 25 22:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Juan J Lopez >Release: 9.1-RELEASE amd64 >Organization: EVSIS >Environment: FreeBSD bckp-3.in.evsis.com.ar 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Fri Jan 25 15:07:41 UTC 2013 root@bckp-3.in.evsis.com.ar:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Similar to detailed in usb/129251: Liebert PSI1000 UPSes are assigned a uhidN device node when connected via USB. Due to the way that nut/libusb work, they are expecting a ugenN device node to work with. >How-To-Repeat: Plug in Liebert PSI1000 UPS into usb port. >Fix: Add Liebert PSI1000 UPSes to /sys/dev/usb/usbdevs and /sys/dev/usb/quirk/usb_quirk.c (patch file attached) Patch attached with submission follows: diff -Naur usb.orig/quirk/usb_quirk.c usb/quirk/usb_quirk.c --- usb.orig/quirk/usb_quirk.c 2012-12-03 23:04:54.000000000 +0000 +++ usb/quirk/usb_quirk.c 2013-01-25 17:19:06.337846247 +0000 @@ -111,6 +111,7 @@ USB_QUIRK(ITUNERNET, USBLCD2X20, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(ITUNERNET, USBLCD4X20, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(LIEBERT, POWERSURE_PXT, 0x0000, 0xffff, UQ_HID_IGNORE), + USB_QUIRK(LIEBERT2, PSI1000, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(MGE, UPS1, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(MGE, UPS2, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(APPLE, IPHONE, 0x0000, 0xffff, UQ_HID_IGNORE), diff -Naur usb.orig/usbdevs usb/usbdevs --- usb.orig/usbdevs 2012-12-03 23:04:53.000000000 +0000 +++ usb/usbdevs 2013-01-25 17:18:45.774851088 +0000 @@ -567,6 +567,7 @@ vendor CURITEL 0x106c Curitel Communications Inc vendor SILABS2 0x10a6 SILABS2 vendor USI 0x10ab USI +vendor LIEBERT2 0x10af Liebert vendor PLX 0x10b5 PLX vendor ASANTE 0x10bd Asante vendor SILABS 0x10c4 Silicon Labs @@ -2072,6 +2073,7 @@ /* Liebert products */ product LIEBERT POWERSURE_PXT 0xffff PowerSure Personal XT +product LIEBERT2 PSI1000 0x0004 UPS PSI 1000 FW:08 /* Linksys products */ product LINKSYS MAUSB2 0x0105 Camedia MAUSB-2 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Fri Jan 25 22:40:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A452D643 for ; Fri, 25 Jan 2013 22:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 87742EC1 for ; Fri, 25 Jan 2013 22:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0PMe1RM094384 for ; Fri, 25 Jan 2013 22:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0PMe1q3094382; Fri, 25 Jan 2013 22:40:01 GMT (envelope-from gnats) Date: Fri, 25 Jan 2013 22:40:01 GMT Message-Id: <201301252240.r0PMe1q3094382@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Hans Petter Selasky Subject: Re: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 22:40:02 -0000 The following reply was made to PR usb/175551; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Harald Langner , freebsd-gnats-submit@freebsd.org Subject: Re: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD Date: Fri, 25 Jan 2013 23:32:32 +0100 On Thursday 24 January 2013 23:11:48 Harald Langner wrote: > >Number: 175551 > >Category: usb > >Synopsis: Seagate 2TB USB extern hard disk have errors with freeBSD > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Jan 24 22:20:00 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Harald Langner > >Release: 9.1 Release > >Organization: > > >Environment: > FreeBSD haraldlangner.de 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Wed Jan 9 > 18:13:51 CET 2013 root@haraldlangner.de:/usr/obj/usr/src/sys/GENERIC > i386 > > >Description: > it seems to be a driver sw-bug > > I had tried to use an external Seagate 2 TB USB 3.0 hard disk, and want to > format the third partition on it with FreeBSD. But I had have no look. So > I step to the forum to get help. But no help was possible. It seems to be > a hardware problem between this Seagate Plus Desktop Drive: > http://www.seagate.com/external-hard-drives/desktop-hard-drives/backup-plu > s-desk/ and freeBSD. > > The last poster in the forum > http://forums.freebsd.org/showthread.php?t=36938 commend me to post a > problem report - so I want to do here. > > I had try different things (see the post above). Everey time the USB-Disk > hangs up. On Windows I got no problems with this Seagate USB drive. > > I have tried serval time to format a bevore created partition with freeBSD > - no look: > > # newfs /dev/da0s3 > /dev/da0s3: 267264.0MB (547356656 sectors) block size 32768, fragment size > 4096 using 362 cylinder groups of 740.00MB, 23680 blks, 47360 inodes. > super-block backups (for fsck -b #) at: > 192, 1515712, 3031232, 4546752, 6062272, 7577792, 9093312, 10608832, > 12124352, 13639872, 15155392, 16670912, 18186432, 19701952, 21217472, > 22732992, > 24248512, 25764032, 27279552, 28795072, 30310592, 31826112, 33341632, > 34857152, 36372672, 37888192, 39403712, 40919232, 42434752, 43950272, > 45465792, > 46981312, 48496832, 50012352, 51527872, 53043392, 54558912, 56074432, > 57589952, 59105472, 60620992, ---Here it hangs - and I have to switch of > the PC. > > > I thing I give up with this Seagte USB device. I had also created a FAT32 > partition (in the 3. Partition as described in the post) with a second > Windows PC. Copy some data on it and try to mount it with the freeBSD PC. > # mount -t msdosfs -o large /dev/da0s3 /mnt/bckup > Same Problem - it hangs: > > > Here are the error message that cames up, when it hangs, on console: > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error > (da0:umass-sim0:0:0:0): Retrying command > ugen0.2: at usbus0 (disconnected) > umass0: at uhub0, port 1, addr 2 (disconnected) > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error > (da0:umass-sim0:0:0:0): Retrying command > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: Section Timeout > (da0:umass-sim0:0:0:0): Retrying command > (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 > (da0:umass-sim0:0:0:0): CAM status: Section Timeout > (da0:umass-sim0:0:0:0): Retrying command > (da0:umass-sim0:0:0:0): lost device - 1 outstanding, 2 refs > (da0:umass-sim0:0:0:0): outstanding 0 > (pass3:da0:umass-sim0:0:0:0): passdevgonecb devfs entry is gone > > Here the system hang up. I have to press the power knobe for a new boot. > > I found in the sources cam.c where the messages seems to be made: > http://svn.freebsd.org/base/user/eri/pf45/head/sys/cam/cam.c and this > info: http://bintree.net/freebsd/de/de1/cam_8c.html. But i dislike to > grubber deeper, what it could be. Maybe my information about the error > will give the developer of cam.c (and code around) some ideas how Seagates > hard disks can get to work with freeBSD. > > If there are any questions left, please ask me. > > Whish you all best > Harald > > >How-To-Repeat: > Take the "Seagate Plus Desktop Drive" - try to format it - or copy some > data on it, use it. I have buyed this Seagate Plus Desktop because it > should work also with MAC. And Mac kernel is a freeBSD System - right? But > maybe MAC and Windows have different driver. Also it was written that the > Seagate should be upwarts compatible. Because my old PC (freeBSD) has only > USB 2.0 or USB 1.0. > > >Fix: > take another USB drive > Hi, 1) Does the drive have separate power connected? 2) Have you tried using the disk at USB 2.0 by disabling USB 3.0 in the BIOS 3) Have you tried setting "hw.usb.umass.throttle" to 1,4 or 16, which is available in 9-stable, when "options USB_DEBUG" is enable. The CAM layer hang you are experiencing is possibly fixed in 10-current. It is not a USB fault. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jan 26 13:50:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6176C687 for ; Sat, 26 Jan 2013 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 36C246E for ; Sat, 26 Jan 2013 13:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0QDo1Ix067687 for ; Sat, 26 Jan 2013 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0QDo1pd067682; Sat, 26 Jan 2013 13:50:01 GMT (envelope-from gnats) Date: Sat, 26 Jan 2013 13:50:01 GMT Message-Id: <201301261350.r0QDo1pd067682@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: usb/175599: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2013 13:50:01 -0000 The following reply was made to PR usb/175599; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/175599: commit references a PR Date: Sat, 26 Jan 2013 13:44:32 +0000 (UTC) Author: hselasky Date: Sat Jan 26 13:44:24 2013 New Revision: 245947 URL: http://svnweb.freebsd.org/changeset/base/245947 Log: Add new USB quirk. PR: usb/175599 Submitted by: Juan J Lopez MFC after: 1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/quirk/usb_quirk.c ============================================================================== --- head/sys/dev/usb/quirk/usb_quirk.c Sat Jan 26 10:50:04 2013 (r245946) +++ head/sys/dev/usb/quirk/usb_quirk.c Sat Jan 26 13:44:24 2013 (r245947) @@ -111,6 +111,7 @@ static struct usb_quirk_entry usb_quirks USB_QUIRK(ITUNERNET, USBLCD2X20, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(ITUNERNET, USBLCD4X20, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(LIEBERT, POWERSURE_PXT, 0x0000, 0xffff, UQ_HID_IGNORE), + USB_QUIRK(LIEBERT2, PSI1000, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(MGE, UPS1, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(MGE, UPS2, 0x0000, 0xffff, UQ_HID_IGNORE), USB_QUIRK(APPLE, IPHONE, 0x0000, 0xffff, UQ_HID_IGNORE), Modified: head/sys/dev/usb/usbdevs ============================================================================== --- head/sys/dev/usb/usbdevs Sat Jan 26 10:50:04 2013 (r245946) +++ head/sys/dev/usb/usbdevs Sat Jan 26 13:44:24 2013 (r245947) @@ -581,6 +581,7 @@ vendor CCYU 0x1065 CCYU Technology vendor CURITEL 0x106c Curitel Communications Inc vendor SILABS2 0x10a6 SILABS2 vendor USI 0x10ab USI +vendor LIEBERT2 0x10af Liebert vendor PLX 0x10b5 PLX vendor ASANTE 0x10bd Asante vendor SILABS 0x10c4 Silicon Labs @@ -2426,6 +2427,7 @@ product LEXMARK S2450 0x0009 Optra S 24 /* Liebert products */ product LIEBERT POWERSURE_PXT 0xffff PowerSure Personal XT +product LIEBERT2 PSI1000 0x0004 UPS PSI 1000 FW:08 /* Link Instruments Inc. products */ product LINKINSTRUMENTS MSO19 0xf190 Link Instruments MSO-19 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Jan 26 16:11:03 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A028B29C for ; Sat, 26 Jan 2013 16:11:03 +0000 (UTC) (envelope-from olli@grabthar.secnetix.de) Received: from grabthar.secnetix.de (grabthar.secnetix.de [212.17.241.225]) by mx1.freebsd.org (Postfix) with ESMTP id E51E5686 for ; Sat, 26 Jan 2013 16:10:59 +0000 (UTC) Received: from grabthar.secnetix.de (localhost [127.0.0.1]) by grabthar.secnetix.de (8.14.5/8.14.5) with ESMTP id r0QForH4047188; Sat, 26 Jan 2013 16:50:53 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by grabthar.secnetix.de (8.14.5/8.14.5/Submit) id r0QForRC047187; Sat, 26 Jan 2013 16:50:53 +0100 (CET) (envelope-from olli) Date: Sat, 26 Jan 2013 16:50:53 +0100 (CET) Message-Id: <201301261550.r0QForRC047187@grabthar.secnetix.de> From: Oliver Fromme To: freebsd-usb@FreeBSD.ORG Subject: USB3 Ports not always recognized correctly X-Newsgroups: list.freebsd-usb User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (FreeBSD/9.1-PRERELEASE-20120811 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2013 16:11:03 -0000 I've got a mainboard with two USB3 ports (and a whole bunch of USB2 ports). But only the first USB3 port is recognized correctly. When I connect a USB3 device to that port, it works. It also works (albeit slower, of course) when using one of the USB2 ports. But when I connect the same device to the second USB3 port, it fails. The board is an "ASUS M4A88TD-V EVO/USB3", and I'm using FreeBSD stable/9 that's just a few days old (2013-01-22), including r245734. This is how the controllers and ports are probed: xhci0: mem 0xfe9fe000-0xfe9fffff irq 18 at device 0.0 on pci2 xhci0: 32 byte context size. usbus0 on xhci0 ohci0: mem 0xfe6fe000-0xfe6fefff irq 18 at device 18.0 on pci0 usbus1 on ohci0 ehci0: mem 0xfe6ff800-0xfe6ff8ff irq 17 at device 18.2 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 ohci1: mem 0xfe6fd000-0xfe6fdfff irq 18 at device 19.0 on pci0 usbus3 on ohci1 ehci1: mem 0xfe6ff400-0xfe6ff4ff irq 17 at device 19.2 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci1 ohci2: mem 0xfe6fc000-0xfe6fcfff irq 18 at device 20.5 on pci0 usbus5 on ohci2 ohci3: mem 0xfe6f3000-0xfe6f3fff irq 18 at device 22.0 on pci0 usbus6 on ohci3 ehci2: mem 0xfe6ff000-0xfe6ff0ff irq 17 at device 22.2 on pci0 usbus7: EHCI version 1.0 usbus7 on ehci2 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ugen0.1: <0x1033> at usbus0 uhub0: <0x1033 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01 uhub5: 2 ports with 2 removable, self powered uhub6: 4 ports with 4 removable, self powered uhub1: 5 ports with 5 removable, self powered uhub3: 5 ports with 5 removable, self powered uhub0: 4 ports with 4 removable, self powered uhub7: 4 ports with 4 removable, self powered uhub2: 5 ports with 5 removable, self powered uhub4: 5 ports with 5 removable, self powered For testing I'm using an external HDD ("HGST/Hitachi Touro Desk DX3 4TB"). On the first USB3 port it works fine with 80 MB/s sequential speed. It probes like this: 15:54:24 ugen0.2: at usbus0 15:54:24 umass0: on usbus0 15:54:24 umass0: SCSI over Bulk-Only; quirks = 0x4101 15:54:24 umass0:8:0:-1: Attached to scbus8 <6 seconds pause> 15:54:30 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0 15:54:30 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error 15:54:30 (probe0:umass-sim0:0:0:0): SCSI status: Check Condition 15:54:30 (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) 15:54:30 (probe0:umass-sim0:0:0:0): Error 22, Unretryable error <4 seconds pause> 15:54:34 da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 15:54:34 da0: Fixed Direct Access SCSI-6 device 15:54:34 da0: 400.000MB/s transfers 15:54:34 da0: 3815446MB (976754431 4096 byte sectors: 255H 63S/T 60800C) When connecting the same disk to the second USB3 ports, it fails in this way: 15:12:04 ugen2.3: at usbus2 15:12:04 umass0: on usbus2 15:12:04 umass0: SCSI over Bulk-Only; quirks = 0x4101 15:12:04 umass0:8:0:-1: Attached to scbus8 <73 seconds pause> 15:13:17 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 15:13:17 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error 15:13:17 (probe0:umass-sim0:0:0:0): Retrying command <74 seconds pause> 15:14:31 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 15:14:31 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error 15:14:31 (probe0:umass-sim0:0:0:0): Retrying command <74 seconds pause> 15:15:45 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 15:15:45 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error 15:15:45 (probe0:umass-sim0:0:0:0): Retrying command <74 seconds pause> 15:16:59 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 15:16:59 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error 15:16:59 (probe0:umass-sim0:0:0:0): Retrying command <74 seconds pause> 15:18:13 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0 15:18:13 (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error 15:18:13 (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted Of course, no device appears. I notice that it attaches to usbus2 that is only probed as "480Mbps High Speed USB v2.0" according to the boot messages above, even though this is a USB3 port. Just for comparison, when I connect the same disk to a "real" USB2 port, it is detected correctly with the following output: 15:20:47 ugen4.2: at usbus4 15:20:47 umass0: on usbus4 15:20:47 umass0: SCSI over Bulk-Only; quirks = 0x4101 15:20:47 umass0:8:0:-1: Attached to scbus8 <10 seconds pause> 15:20:57 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0 15:20:57 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error 15:20:57 (probe0:umass-sim0:0:0:0): SCSI status: Check Condition 15:20:57 (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) 15:20:57 (probe0:umass-sim0:0:0:0): Error 22, Unretryable error 15:20:57 da0 at umass-sim0 bus 0 scbus8 target 0 lun 0 15:20:57 da0: Fixed Direct Access SCSI-6 device 15:20:57 da0: 40.000MB/s transfers 15:20:57 da0: 3815446MB (976754431 4096 byte sectors: 255H 63S/T 60800C) By the way: This disk uses 4096 bytes per sector, so you cannot use fdisk, and my mainboard would probably be unable to boot from this disk (which is not a problem for me, because I don't intend to use this particular disk as a boot device). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Handelsregister: Amtsgericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsreg.: Amtsgericht München, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen/-Produkte + mehr: http://www.secnetix.de/bsd "The worst thing about Perl jokes is that next morning you can't understand why they seemed so funny." (from #protolol)