From owner-freebsd-usb@freebsd.org Sun Feb 5 21:00:25 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E264BCD1ED3 for ; Sun, 5 Feb 2017 21:00:25 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0E801637 for ; Sun, 5 Feb 2017 21:00:25 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v15L01gZ016582 for ; Sun, 5 Feb 2017 21:00:25 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201702052100.v15L01gZ016582@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-usb@FreeBSD.org Subject: Problem reports for freebsd-usb@FreeBSD.org that need special attention Date: Sun, 05 Feb 2017 21:00:25 +0000 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2017 21:00:26 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 213877 | xhci reset causes panic on SuperMicro A1SRi-2758F 1 problems total for which you should take action. From owner-freebsd-usb@freebsd.org Wed Feb 8 17:18:28 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D3C4CD6555 for ; Wed, 8 Feb 2017 17:18:28 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id EFBCB127C for ; Wed, 8 Feb 2017 17:18:27 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id CD3583C45DAC for ; Wed, 8 Feb 2017 08:58:28 -0800 (PST) Date: Wed, 8 Feb 2017 10:18:27 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486574307023-6166271.post@n6.nabble.com> Subject: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 17:18:28 -0000 As of now, I'm rebuilding system with a GENERIC kernel, what should I do to provide as much as possible useful debug? I think the problem only manifested itself after I've switched to much faster internal SSD, that would explain why some mitigate it by throttling USB speed. -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Wed Feb 8 17:30:48 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF114CD69C3 for ; Wed, 8 Feb 2017 17:30:48 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 994671A41 for ; Wed, 8 Feb 2017 17:30:48 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5828E1FE104; Wed, 8 Feb 2017 18:30:42 +0100 (CET) Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. To: Jakub Lach , freebsd-usb@freebsd.org References: <1486574307023-6166271.post@n6.nabble.com> From: Hans Petter Selasky Message-ID: Date: Wed, 8 Feb 2017 18:30:03 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1486574307023-6166271.post@n6.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 17:30:48 -0000 On 02/08/17 18:18, Jakub Lach wrote: > As of now, I'm rebuilding system with a GENERIC kernel, what > should I do to provide as much as possible useful debug? > > I think the problem only manifested itself after I've switched to > much faster internal SSD, that would explain why some mitigate > it by throttling USB speed. > Hi, Some suggestions: 1) UMASS has a set of debug knobs under hw.usb.umass.debug 2) Stress test a fresh disk, which you don't have any data on with /usr/src/tools/tools/usbtest to ensure it is 100% compatible with FreeBSD. 3) usbdump can be used to capture the USB traffic and identify failing commands. --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 17:32:22 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C0CFCD6AF8 for ; Wed, 8 Feb 2017 17:32:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B5371C23 for ; Wed, 8 Feb 2017 17:32:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E87981FE104; Wed, 8 Feb 2017 18:32:16 +0100 (CET) Subject: Re: mount USB device To: Chris Hellberg , freebsd-usb@freebsd.org References: <1485637315.32561.862669136.6A6031BC@webmail.messagingengine.com> From: Hans Petter Selasky Message-ID: Date: Wed, 8 Feb 2017 18:31:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1485637315.32561.862669136.6A6031BC@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 17:32:22 -0000 On 01/28/17 22:01, Chris Hellberg wrote: > Hi, > > I have a freebsd guest in a VM that receives a USB controller via PCI > passthrough. There was a USB drive inserted in the port when the host > and freebsd guest were booted. I'd like to be able to mount that drive. > The device is detected with usbdevs: > > root@NYCD-5K% usbdevs > addr 1: UHCI root hub, Intel > addr 1: EHCI root hub, Intel > addr 2: product 0x0020, vendor 0x8087 > addr 3: B-READE, GENERICU > root@NYCD-5K% > > However the kernel does not detect the drive (normally there would be > /dev/da0s1 present as well as the block device): > > root@NYCD-5K% ls -la /dev/da* > crw-r----- 1 root operator 0, 73 Jan 27 23:30 /dev/da0 > root@NYCD-5K% > > Fdisk can't get at the device: > > root@NYCD-QFX5100-48S-2:RE:0% fdisk /dev/da0 > fdisk: cannot open disk /dev/da0: Device not configured > root@NYCD-QFX5100-48S-2:RE:0% > > Unfortunately the system does not have the camcontrol binary nor lsusb > nor gpart. There is /usr/sbin/usbd installed on the system but I don't > know if that helps. And unfortunately the system only allows signed > binaries so it's essentially a locked environment from the perspective > of installing any other binaries. > > Any ideas how I can get at the disk. I can easily get everything working > fine if I pull out and reinsert the USB drive. Hi, Some formats don't have a partition label. Did you try to mount /dev/da0 directly ? Are you expecting labels to be present? --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 17:34:22 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C809CD6B2A for ; Wed, 8 Feb 2017 17:34:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 373E81C99 for ; Wed, 8 Feb 2017 17:34:21 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 290711FE104; Wed, 8 Feb 2017 18:34:17 +0100 (CET) Subject: Re: USB device not working on FreeBSD To: Mike Tancsa , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> From: Hans Petter Selasky Message-ID: <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> Date: Wed, 8 Feb 2017 18:33:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 17:34:22 -0000 On 01/24/17 18:12, Mike Tancsa wrote: > The daemon does attach to it, and it sort of reads some of the info (as > before adding the quirk) Hi, Does this device work with apcaccess under Linux? Have you tried contacting the maintainers about this? usbdump'ing the traffic, from before you attach the device, might give you some ideas what is going on. --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 17:38:44 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69F87CD6CF8 for ; Wed, 8 Feb 2017 17:38:44 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EA251F75 for ; Wed, 8 Feb 2017 17:38:43 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v18Hcf9T046192 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 8 Feb 2017 12:38:42 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v18HceC0038936; Wed, 8 Feb 2017 12:38:40 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: USB device not working on FreeBSD To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> From: Mike Tancsa Organization: Sentex Communications Message-ID: <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> Date: Wed, 8 Feb 2017 12:38:40 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 17:38:44 -0000 On 2/8/2017 12:33 PM, Hans Petter Selasky wrote: > On 01/24/17 18:12, Mike Tancsa wrote: >> The daemon does attach to it, and it sort of reads some of the info (as >> before adding the quirk) > > Hi, > > Does this device work with apcaccess under Linux? > > Have you tried contacting the maintainers about this? > > usbdump'ing the traffic, from before you attach the device, might give > you some ideas what is going on. Hi, It works without issue on Linux. What information from usbdump would be helpful from usbdump ? Bus 001 Device 005: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x051d American Power Conversion idProduct 0x0002 Uninterruptible Power Supply bcdDevice 0.90 iManufacturer 1 American Power Conversion iProduct 2 Back-UPS NS 650M1 FW:929.a5 .D USB F iSerial 3 4B1630P12329 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 34 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 2mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 0 None iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.00 bCountryCode 33 US bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 1049 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 100 Device Status: 0x0001 Self Powered # apcaccess APC : 001,037,0922 DATE : 2017-01-24 09:29:10 -0500 HOSTNAME : loadb06 VERSION : 3.14.12 (29 March 2014) debian UPSNAME : loadb06 CABLE : USB Cable DRIVER : USB UPS Driver UPSMODE : Stand Alone STARTTIME: 2017-01-24 09:25:13 -0500 MODEL : Back-UPS NS 650M1 STATUS : ONLINE LINEV : 118.0 Volts LOADPCT : 0.0 Percent BCHARGE : 96.0 Percent TIMELEFT : 429.9 Minutes MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds SENSE : Medium LOTRANS : 92.0 Volts HITRANS : 139.0 Volts ALARMDEL : 30 Seconds BATTV : 13.5 Volts LASTXFER : Low line voltage NUMXFERS : 1 XONBATT : 2017-01-24 09:27:37 -0500 TONBATT : 0 Seconds CUMONBATT: 33 Seconds XOFFBATT : 2017-01-24 09:28:10 -0500 SELFTEST : OK STATFLAG : 0x05000008 SERIALNO : 4B1630P12329 BATTDATE : 2016-07-27 NOMINV : 120 Volts NOMBATTV : 12.0 Volts NOMPOWER : 360 Watts FIRMWARE : 929.a5 .D USB FW:a5 END APC : 2017-01-24 09:29:44 -0500 On FreeBSD ugen0.8: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (2mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0022 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00e0 bMaxPower = 0x0001 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x09, 0x21, 0x00, 0x01, 0x21, 0x01, 0x22, 0x19, 0x08 | 0x04 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0064 bRefresh = 0x0000 bSynchAddress = 0x0000 ugen0.8: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (2mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x051d idProduct = 0x0002 bcdDevice = 0x0090 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 > > --HPS > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-usb@freebsd.org Wed Feb 8 17:55:54 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33B5DCD6523 for ; Wed, 8 Feb 2017 17:55:54 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F10FBD5D for ; Wed, 8 Feb 2017 17:55:53 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 021581FE104; Wed, 8 Feb 2017 18:55:48 +0100 (CET) Subject: Re: USB device not working on FreeBSD To: Mike Tancsa , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> From: Hans Petter Selasky Message-ID: <8045756a-be33-4ad3-658c-10545a251772@selasky.org> Date: Wed, 8 Feb 2017 18:55:10 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 17:55:54 -0000 On 02/08/17 18:38, Mike Tancsa wrote: > Hi, > It works without issue on Linux. > What information from usbdump would be helpful from usbdump ? Hi, If there are any transaction errors, like non successful USB transfers. --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 17:58:35 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7816FCD65A6 for ; Wed, 8 Feb 2017 17:58:35 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 67B4CEE1 for ; Wed, 8 Feb 2017 17:58:34 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id AD3F33C469CD for ; Wed, 8 Feb 2017 09:38:35 -0800 (PST) Date: Wed, 8 Feb 2017 10:58:34 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486576714123-6166280.post@n6.nabble.com> In-Reply-To: References: <1486574307023-6166271.post@n6.nabble.com> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 17:58:35 -0000 Thanks for a reply. Currently both of them are empty, usbtest looks promising, I will look into it. usbdump might be too much for me. As of now, I've hoped to take a disk dumps via USB, but it doesn't look possible. Smaller writes (<50 G) are sometimes ok. Devices in question- ugen6.2: at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) (it's internally a ) ugen7.2: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (0mA), (it's a HGST HTS721010A9E630 using internally a USB bridge [0x4971:0x1023 (0x100)]) -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166280.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Wed Feb 8 18:08:56 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A7D0CD698E for ; Wed, 8 Feb 2017 18:08:56 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 152C91730 for ; Wed, 8 Feb 2017 18:08:56 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v18I8spl049281 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 8 Feb 2017 13:08:55 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v18I8q66039037; Wed, 8 Feb 2017 13:08:53 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: USB device not working on FreeBSD To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> <8045756a-be33-4ad3-658c-10545a251772@selasky.org> From: Mike Tancsa Organization: Sentex Communications Message-ID: <64baf2ce-b9f7-7efa-9172-0c88c0cee02c@sentex.net> Date: Wed, 8 Feb 2017 13:08:53 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <8045756a-be33-4ad3-658c-10545a251772@selasky.org> X-Scanned-By: MIMEDefang 2.78 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:08:56 -0000 On 2/8/2017 12:55 PM, Hans Petter Selasky wrote: > On 02/08/17 18:38, Mike Tancsa wrote: >> Hi, >> It works without issue on Linux. >> What information from usbdump would be helpful from usbdump ? > > Hi, > > If there are any transaction errors, like non successful USB transfers. Hi, This is with UQ_NO_STRINGS set. I start the dump, start up apcupsd, when a couple of seconds then do an apcaccess to query the daemon ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-usb@freebsd.org Wed Feb 8 18:12:12 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F00E2CD6D9E for ; Wed, 8 Feb 2017 18:12:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DFB3E1BB5 for ; Wed, 8 Feb 2017 18:12:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v18ICCJL048931 for ; Wed, 8 Feb 2017 18:12:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 196624] [patch] wsp.c toggle for one finger tap when integrated button is detected. Date: Wed, 08 Feb 2017 18:12:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dor.bsd@fastmail.fm X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:12:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196624 David O'Rourke changed: What |Removed |Added ---------------------------------------------------------------------------- Version|10.1-RELEASE |10.3-RELEASE --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Feb 8 18:12:37 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DA4FCD6F0F for ; Wed, 8 Feb 2017 18:12:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D49E1C45 for ; Wed, 8 Feb 2017 18:12:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v18ICbls053184 for ; Wed, 8 Feb 2017 18:12:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 196624] [patch] wsp.c toggle for one finger tap when integrated button is detected. Date: Wed, 08 Feb 2017 18:12:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dor.bsd@fastmail.fm X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:12:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196624 David O'Rourke changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Feb 8 18:14:02 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D135CD6FF5 for ; Wed, 8 Feb 2017 18:14:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 783B81DD8 for ; Wed, 8 Feb 2017 18:14:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v18IE2qA010377 for ; Wed, 8 Feb 2017 18:14:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 196624] [patch] wsp.c toggle for one finger tap when integrated button is detected. Date: Wed, 08 Feb 2017 18:14:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dor.bsd@fastmail.fm X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:14:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196624 David O'Rourke changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #151509|0 |1 is obsolete| | --- Comment #11 from David O'Rourke --- Created attachment 179770 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179770&action= =3Dedit wsp.c one finger tap One finger tap patch updated for 10.3 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Feb 8 18:14:49 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C46C2CD60F6 for ; Wed, 8 Feb 2017 18:14:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3B711EDC for ; Wed, 8 Feb 2017 18:14:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v18IEnxM039504 for ; Wed, 8 Feb 2017 18:14:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 196624] [patch] wsp.c toggle for one finger tap when integrated button is detected. Date: Wed, 08 Feb 2017 18:14:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dor.bsd@fastmail.fm X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:14:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196624 David O'Rourke changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #151510|0 |1 is obsolete| | --- Comment #12 from David O'Rourke --- Created attachment 179771 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179771&action= =3Dedit wsp.4 man page update Updated man page for 10.3. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Feb 8 18:15:48 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 095D8CD617E for ; Wed, 8 Feb 2017 18:15:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E1CCA1FC1 for ; Wed, 8 Feb 2017 18:15:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v18IFlDB068783 for ; Wed, 8 Feb 2017 18:15:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 196624] [patch] wsp.c toggle for one finger tap when integrated button is detected. Date: Wed, 08 Feb 2017 18:15:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dor.bsd@fastmail.fm X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:15:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196624 --- Comment #13 from David O'Rourke --- This feature has now been updated for 10.3. I'll be looking at FreeBSD 11 shortly and providing a new patch if needed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Feb 8 19:16:58 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0B51CD58AE for ; Wed, 8 Feb 2017 19:16:58 +0000 (UTC) (envelope-from chris@chrishellberg.com) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C63E815C1 for ; Wed, 8 Feb 2017 19:16:58 +0000 (UTC) (envelope-from chris@chrishellberg.com) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 9A9EB20B27; Wed, 8 Feb 2017 14:16:57 -0500 (EST) Received: from web4 ([10.202.2.214]) by compute5.internal (MEProxy); Wed, 08 Feb 2017 14:16:57 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=chrishellberg.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=gMIA+IVpw/eJxURQkFJ0ZMb8XO Q=; b=fzpG7YRDaHJkdYt/d4SEHLcbr6P+xb/PEPzYnpNDhAG5zYPSadzNXAGFBl tnI5MaKpAZwU8HN87oZF3RjbWF/7By6EKotq2mGJIr+E5s1Q8drD6gmY1+GJobAY UQAWQPXWYjgVATPY8+Dp7ZDi/cBd94/IKS8b0n+IZTCuJ+fXA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=gM IA+IVpw/eJxURQkFJ0ZMb8XOQ=; b=Q3b8W1cOxqnL6UsOdd4F+43qxy6rx5QkJl 3mXPjcRvM1ZrfmickVpXV4q5GYrSUtE+Vlum7UJYMfaWcpU93mtEPDBnYKZ7yAI8 m66kvhOYe+0gIkFVZKbIIlKFqgpXLrsC9d1TbPxkm0hUu6Jr0czS/Y7b1NZDvD0d P4ILaQ+iE= X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 78455BAB4B; Wed, 8 Feb 2017 14:16:57 -0500 (EST) Message-Id: <1486581417.283211.874723496.617E209D@webmail.messagingengine.com> From: Chris Hellberg To: Hans Petter Selasky , freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-4a450d19 References: <1485637315.32561.862669136.6A6031BC@webmail.messagingengine.com> Date: Wed, 08 Feb 2017 19:16:57 +0000 In-Reply-To: Subject: Re: mount USB device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 19:16:59 -0000 On Wed, Feb 8, 2017, at 17:31, Hans Petter Selasky wrote: > > Hi, > > Some formats don't have a partition label. Did you try to mount /dev/da0 > directly ? Are you expecting labels to be present? > > --HPS > I tried to mount da0 directly, but no success and expecting slices to be present. I guess slices are analogous to labels? Here is the behavior (refering to da0). <===== Without the drive inserted, da0 isn't present: root@NYCD-MX480-2-re0:/dev # ls | grep da ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 root@NYCD-MX480-2-re0:/dev # <==== Inserting the drive root@NYCD-MX480-2-re0:/dev # ls | grep da Inserting th ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 da0 da0p1 <=== slice da0p2 <=== slice root@NYCD-MX480-2-re0:/dev # <=== reboot the system with the drive inserted. The block device is present (da0) root@NYCD-MX480-2-re0:/dev # ls | grep da ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 da0 root@NYCD-MX480-2-re0:/dev # But mounting fails and no slices present: root@NYCD-MX480-2-re0:/dev # mount /dev/da0 /mnt/usb mount: /dev/da0: Device not configured root@NYCD-MX480-2-re0:/dev # I tried sending an exit code of 0 (true isn't installed on this system) to the block device as some other threads have suggested but it still doesn't detect the device: root@NYCD-MX480-2-re0:/dev # /bin/csh -i 'exit 0' > /dev/da0 root@NYCD-MX480-2-re0:/dev # ls | grep da ada0 ada0p1 ada0p2 ada0p3 ada1 ada1p1 ada1p2 da0 root@NYCD-MX480-2-re0:/dev # I have managed get usbconfig on there but usbconfig power_off / power_on doesn't change anything. Thanks, Chris From owner-freebsd-usb@freebsd.org Wed Feb 8 19:21:15 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4609CD5C02 for ; Wed, 8 Feb 2017 19:21:15 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F5B6190C for ; Wed, 8 Feb 2017 19:21:15 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 8ED991FE104; Wed, 8 Feb 2017 20:21:11 +0100 (CET) Subject: Re: USB device not working on FreeBSD To: Mike Tancsa , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> <8045756a-be33-4ad3-658c-10545a251772@selasky.org> <64baf2ce-b9f7-7efa-9172-0c88c0cee02c@sentex.net> From: Hans Petter Selasky Message-ID: Date: Wed, 8 Feb 2017 20:20:32 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <64baf2ce-b9f7-7efa-9172-0c88c0cee02c@sentex.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 19:21:15 -0000 On 02/08/17 19:08, Mike Tancsa wrote: > On 2/8/2017 12:55 PM, Hans Petter Selasky wrote: >> On 02/08/17 18:38, Mike Tancsa wrote: >>> Hi, >>> It works without issue on Linux. >>> What information from usbdump would be helpful from usbdump ? >> >> Hi, >> >> If there are any transaction errors, like non successful USB transfers. > Hi, > This is with UQ_NO_STRINGS set. I start the dump, start up apcupsd, > when a couple of seconds then do an apcaccess to query the daemon > > ---Mike > Hi, After your device receives the following control endpoint request it becomes unrecoverable: > 13:05:50.860195 usbus0.4 SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 > frame[0] WRITE 8 bytes > 0000 A1 01 52 03 00 00 03 00 -- -- -- -- -- -- -- -- |..R..... | ^^ USB read interface class (A1) ^^ GET_REPORT (01) ^^ feature (03) ^^ length (3 bytes) > frame[1] READ 3 bytes > 13:05:50.860938 usbus0.4 DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=0,IVAL=0,ERR=IOERROR > frame[0] WRITE 8 bytes > frame[1] READ 0 bytes Can you disable devd, and launch the apcupsd manually? Can you figure out which application is doing this request? If you don't start apcupsd, is this request then issued? If you stop other daemons like hald, webcamd ... ? Is the request still there when you plug the device? Are you using the latest version of apcupsd ? BTW: The manufacturer should be let aware of this issue. It's like a zero-day to stop the device from working properly. --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 19:22:13 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31DDBCD5CCF for ; Wed, 8 Feb 2017 19:22:13 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0A621B7F for ; Wed, 8 Feb 2017 19:22:12 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 777AF1FE104; Wed, 8 Feb 2017 20:22:08 +0100 (CET) Subject: Re: mount USB device To: Chris Hellberg , freebsd-usb@freebsd.org References: <1485637315.32561.862669136.6A6031BC@webmail.messagingengine.com> <1486581417.283211.874723496.617E209D@webmail.messagingengine.com> From: Hans Petter Selasky Message-ID: Date: Wed, 8 Feb 2017 20:21:29 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1486581417.283211.874723496.617E209D@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 19:22:13 -0000 On 02/08/17 20:16, Chris Hellberg wrote: > I have managed get usbconfig on there but usbconfig power_off / power_on > doesn't change anything. usbconfig -d X.Y reset where X.Y is the numbers after ugenX.Y Does it change anything? --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 19:44:59 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B89CCD6747 for ; Wed, 8 Feb 2017 19:44:59 +0000 (UTC) (envelope-from chris@chrishellberg.com) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D47810E5 for ; Wed, 8 Feb 2017 19:44:58 +0000 (UTC) (envelope-from chris@chrishellberg.com) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EF489209DB; Wed, 8 Feb 2017 14:44:57 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 08 Feb 2017 14:44:57 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=chrishellberg.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:subject:to:x-me-sender:x-me-sender :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=moc4hgIO/Ob5Vx3i5+Mwsy4BNbo =; b=Pm7YAQXcwexyf9aGxqgW4c8AohrixLsW+bReU4xOMINo3Lna/r8RUh1AkSS j09LrhT+v6RxHkH48mWKcHa+H9FmCEaUYNHlBcn0ZAqkLtduONE9Dp2hdV0N6V4H rznTKEy4ODe07JUs41h/gbAO57jRnVXv8/0MA7ffXbBL6JyY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=mo c4hgIO/Ob5Vx3i5+Mwsy4BNbo=; b=BBexJiwXTuH+NPrax80DYk7vWXqeP8b+9o K5XUixResfFS2KhWuD0+XetrXTR7do+ZjRIBOPmO3K0nA2aat2gZlSrpOShhAl6Q ijYnxlkZYEpI5yY23irFmfNUF6iH/JYG91WUmaJ6NiYKwh8vhcgYH4G2KyL0LtKI UAGG4wH1I= X-ME-Sender: X-Sasl-enc: ZNDfu8J9dVmg9/fsgeNy5y5Tn3Wc9dAuJoDYRXzdzTOI 1486583097 Received: from [33.252.253.140] (unknown [172.56.34.32]) by mail.messagingengine.com (Postfix) with ESMTPA id 987087E650; Wed, 8 Feb 2017 14:44:57 -0500 (EST) Date: Wed, 08 Feb 2017 14:44:54 -0500 Subject: Re: mount USB device From: Chris Hellberg To: Hans Petter Selasky , "freebsd-usb@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Message-Id: <20170208194457.987087E650@mailuser.nyi.internal> X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 19:44:59 -0000 CsKgIE9yaWdpbmFsIE1lc3NhZ2UgwqAKRnJvbTogaHBzQHNlbGFza3kub3JnClNlbnQ6IDggRmVi cnVhcnkgMjAxNyAyOjIyIFBNClRvOiBjaHJpc0BjaHJpc2hlbGxiZXJnLmNvbTsgZnJlZWJzZC11 c2JAZnJlZWJzZC5vcmcKU3ViamVjdDogUmU6IG1vdW50IFVTQiBkZXZpY2UKCk9uIDAyLzA4LzE3 IDIwOjE2LCBDaHJpcyBIZWxsYmVyZyB3cm90ZToKPiBJIGhhdmUgbWFuYWdlZCBnZXQgdXNiY29u ZmlnIG9uIHRoZXJlIGJ1dCB1c2Jjb25maWcgcG93ZXJfb2ZmIC8gcG93ZXJfb24KPiBkb2Vzbid0 IGNoYW5nZSBhbnl0aGluZy4KCj51c2Jjb25maWcgLWQgWC5ZIHJlc2V0Cj4KPndoZXJlIFguWSBp cyB0aGUgbnVtYmVycyBhZnRlciB1Z2VuWC5ZCj4KPkRvZXMgaXQgY2hhbmdlIGFueXRoaW5nPwo+ Cj50aGFua3MgCj4tLUhQUwoKYWxzbyB0cmllZCB0aGlzLiBJIGdldCBzeXNsb2cgbWVzc2FnZXMg YWJvdXQgdGhlIGRldmljZSByZXNldCBidXQgbm8gY2hhbmdlIHVuZm9ydHVuYXRlbHkuCgpUaGFu a3MsCgpDaHJpcw== From owner-freebsd-usb@freebsd.org Wed Feb 8 20:05:37 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC5B3CD6C06 for ; Wed, 8 Feb 2017 20:05:37 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 795731B4E for ; Wed, 8 Feb 2017 20:05:37 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v18K5ZgH060939 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 8 Feb 2017 15:05:35 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v18K5X66041008; Wed, 8 Feb 2017 15:05:33 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: USB device not working on FreeBSD To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> <8045756a-be33-4ad3-658c-10545a251772@selasky.org> <64baf2ce-b9f7-7efa-9172-0c88c0cee02c@sentex.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: <4dbede56-cb85-a8cc-8fc0-5e7ae8742c43@sentex.net> Date: Wed, 8 Feb 2017 15:05:34 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.78 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 20:05:37 -0000 On 2/8/2017 2:20 PM, Hans Petter Selasky wrote: > > Hi, > > After your device receives the following control endpoint request it > becomes unrecoverable: > >> 13:05:50.860195 usbus0.4 >> SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 >> frame[0] WRITE 8 bytes >> 0000 A1 01 52 03 00 00 03 00 -- -- -- -- -- -- -- -- >> |..R..... | > ^^ USB read interface class (A1) > ^^ GET_REPORT (01) > ^^ feature (03) > ^^ length (3 bytes) >> frame[1] READ 3 bytes >> 13:05:50.860938 usbus0.4 >> DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=0,IVAL=0,ERR=IOERROR >> frame[0] WRITE 8 bytes >> frame[1] READ 0 bytes > > Can you disable devd, and launch the apcupsd manually? > > Can you figure out which application is doing this request? > > If you don't start apcupsd, is this request then issued? If you stop > other daemons like hald, webcamd ... ? Is the request still there when > you plug the device? I disabled devd, but I dont have anything else like hald or webcamd running. I also disconnected all usb devices. I powered off the unit, disconnected, then reconnected it to the box and started usbdump. I didnt see the above sequence. I started apcupsd and it seems to be the one sending that sequence to it. > > Are you using the latest version of apcupsd ? Yes. > > BTW: The manufacturer should be let aware of this issue. It's like a > zero-day to stop the device from working properly. I can try. I dont have any contacts there, but I will bcc' one of the developers of apcupsd to see what he thinks. I attached the output of truss and the usbdump to see if that sheds any light on the issue and why FreeBSD is crashing the device and not Linux. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-usb@freebsd.org Wed Feb 8 20:10:43 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9844CD6CE8 for ; Wed, 8 Feb 2017 20:10:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 836E71D44 for ; Wed, 8 Feb 2017 20:10:43 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 43C2E1FE104; Wed, 8 Feb 2017 21:10:38 +0100 (CET) Subject: Re: USB device not working on FreeBSD To: Mike Tancsa , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> <8045756a-be33-4ad3-658c-10545a251772@selasky.org> <64baf2ce-b9f7-7efa-9172-0c88c0cee02c@sentex.net> <4dbede56-cb85-a8cc-8fc0-5e7ae8742c43@sentex.net> From: Hans Petter Selasky Message-ID: <9256f48e-30bb-edae-2c89-a4bd38e49aab@selasky.org> Date: Wed, 8 Feb 2017 21:09:59 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <4dbede56-cb85-a8cc-8fc0-5e7ae8742c43@sentex.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 20:10:43 -0000 On 02/08/17 21:05, Mike Tancsa wrote: > > I can try. I dont have any contacts there, but I will bcc' one of the > developers of apcupsd to see what he thinks. I attached the output of > truss and the usbdump to see if that sheds any light on the issue and > why FreeBSD is crashing the device and not Linux. > > ---Mike Hi, You can also try connecting the device w/ or w/o a USB HUB. --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 20:33:17 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B6F6CD6643 for ; Wed, 8 Feb 2017 20:33:17 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 569D0109E for ; Wed, 8 Feb 2017 20:33:17 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v18KXGcd063651 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 8 Feb 2017 15:33:16 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v18KXD7i041062; Wed, 8 Feb 2017 15:33:13 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: USB device not working on FreeBSD To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> <8045756a-be33-4ad3-658c-10545a251772@selasky.org> <64baf2ce-b9f7-7efa-9172-0c88c0cee02c@sentex.net> <4dbede56-cb85-a8cc-8fc0-5e7ae8742c43@sentex.net> <9256f48e-30bb-edae-2c89-a4bd38e49aab@selasky.org> From: Mike Tancsa Organization: Sentex Communications Message-ID: <27fe79d0-b1ef-8bc2-bb67-8d8a78052a96@sentex.net> Date: Wed, 8 Feb 2017 15:33:14 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <9256f48e-30bb-edae-2c89-a4bd38e49aab@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 20:33:17 -0000 On 2/8/2017 3:09 PM, Hans Petter Selasky wrote: > > You can also try connecting the device w/ or w/o a USB HUB. I tried with a HUB, but it does not make a difference. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-usb@freebsd.org Wed Feb 8 20:41:28 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31C65CD69BB for ; Wed, 8 Feb 2017 20:41:28 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 214E2174C for ; Wed, 8 Feb 2017 20:41:27 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id B45FB3C49367 for ; Wed, 8 Feb 2017 12:21:27 -0800 (PST) Date: Wed, 8 Feb 2017 13:41:27 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486586486956-6166339.post@n6.nabble.com> In-Reply-To: <1486576714123-6166280.post@n6.nabble.com> References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 20:41:28 -0000 Hello again, Any more pointers on how to test the devices thoroughly? http://pastebin.ca/3765422 touro s http://pastebin.ca/3765426 samsung -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166339.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Wed Feb 8 20:43:24 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CB1CCD69F4 for ; Wed, 8 Feb 2017 20:43:24 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 069C51878 for ; Wed, 8 Feb 2017 20:43:23 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v18KhM7a064672 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 8 Feb 2017 15:43:23 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v18KhKZb041069; Wed, 8 Feb 2017 15:43:20 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: USB device not working on FreeBSD To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <7ebf8e83-4dad-5035-83a6-f11c59d7fcbe@selasky.org> <3a733012-3bca-e262-0e25-f9f3607af80d@sentex.net> <8abcf130-bf80-a922-a9d0-1d1e8b5d0a74@selasky.org> <3540190e-c51a-d706-14c4-a0093d7e6571@sentex.net> <8045756a-be33-4ad3-658c-10545a251772@selasky.org> <64baf2ce-b9f7-7efa-9172-0c88c0cee02c@sentex.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: <3ba0cdd2-10b5-923a-3528-14cb59cf0d9f@sentex.net> Date: Wed, 8 Feb 2017 15:43:21 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 20:43:24 -0000 On 2/8/2017 2:20 PM, Hans Petter Selasky wrote: > Hi, > > After your device receives the following control endpoint request it > becomes unrecoverable: > >> 13:05:50.860195 usbus0.4 >> SUBM-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 >> frame[0] WRITE 8 bytes >> 0000 A1 01 52 03 00 00 03 00 -- -- -- -- -- -- -- -- >> |..R..... | > ^^ USB read interface class (A1) > ^^ GET_REPORT (01) > ^^ feature (03) > ^^ length (3 bytes) >> frame[1] READ 3 bytes >> 13:05:50.860938 usbus0.4 >> DONE-CTRL-EP=00000080,SPD=FULL,NFR=2,SLEN=0,IVAL=0,ERR=IOERROR >> frame[0] WRITE 8 bytes >> frame[1] READ 0 bytes > I had a look at an older apc 650, and it works just fine after getting that command 15:40:40.803562 usbus0.4 SUBM-CTRL-EP=00000080,SPD=LOW,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 0000 A1 01 01 03 00 00 02 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 2 bytes 15:40:40.804886 usbus0.4 DONE-CTRL-EP=00000080,SPD=LOW,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 0000 01 01 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |.. | 15:40:40.805048 usbus0.4 SUBM-CTRL-EP=00000080,SPD=LOW,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 4 bytes 15:40:40.806959 usbus0.4 DONE-CTRL-EP=00000080,SPD=LOW,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... | 15:40:40.807114 usbus0.4 SUBM-CTRL-EP=00000080,SPD=LOW,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 4 bytes 15:40:40.809126 usbus0.4 DONE-CTRL-EP=00000080,SPD=LOW,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... | ugen0.4: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (2mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x051d idProduct = 0x0002 bcdDevice = 0x0106 iManufacturer = 0x0003 iProduct = 0x0001 iSerialNumber = 0x0002 <4B1640P41654 > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-usb@freebsd.org Wed Feb 8 20:54:46 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E898BCD6E58 for ; Wed, 8 Feb 2017 20:54:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1B2C1DDD for ; Wed, 8 Feb 2017 20:54:46 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D116D1FE104; Wed, 8 Feb 2017 21:54:41 +0100 (CET) Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. To: Jakub Lach , freebsd-usb@freebsd.org References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> From: Hans Petter Selasky Message-ID: <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> Date: Wed, 8 Feb 2017 21:54:04 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1486586486956-6166339.post@n6.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 20:54:47 -0000 On 02/08/17 21:41, Jakub Lach wrote: > Hello again, > > Any more pointers on how to test the devices > thoroughly? > > http://pastebin.ca/3765422 touro s > > http://pastebin.ca/3765426 samsung > 13) Set test duration: <60> seconds Set it to 3600 for one hour and see if the DERR or RST OR ERR counters increase. --HPS From owner-freebsd-usb@freebsd.org Wed Feb 8 21:40:18 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71A4ACD695F for ; Wed, 8 Feb 2017 21:40:18 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6023913DF for ; Wed, 8 Feb 2017 21:40:17 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 196A13C4A336 for ; Wed, 8 Feb 2017 13:20:18 -0800 (PST) Date: Wed, 8 Feb 2017 14:40:17 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486590017635-6166351.post@n6.nabble.com> In-Reply-To: <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 21:40:18 -0000 Will do, I've found your recommendation in another thread, but only after I've posted. I will probably leave both drives overnight. Thanks! -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166351.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Thu Feb 9 08:19:19 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 902A8CD774B for ; Thu, 9 Feb 2017 08:19:19 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3B969B for ; Thu, 9 Feb 2017 08:19:18 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 9AEBF3C52930 for ; Wed, 8 Feb 2017 23:59:15 -0800 (PST) Date: Thu, 9 Feb 2017 01:19:18 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486628358271-6166438.post@n6.nabble.com> In-Reply-To: <1486590017635-6166351.post@n6.nabble.com> References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> <1486590017635-6166351.post@n6.nabble.com> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 08:19:19 -0000 http://pastebin.ca/3765605 samsung/jmicron It disconnected itself? ERR=03, RST=13, DERR=0 went to ERR=17, RST=27, DERR=0 http://pastebin.ca/3765608 touro s ERR=14, RST=24, DERR=0 went to ERR=27, RST=37, DERR=0 starting point: https://s24.postimg.org/oo95be9d1/2017_02_09_012128_1440x900_scrot.png -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166438.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Thu Feb 9 20:05:15 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C376DCD8B54 for ; Thu, 9 Feb 2017 20:05:15 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id B137B1917 for ; Thu, 9 Feb 2017 20:05:14 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 51F483C5E374 for ; Thu, 9 Feb 2017 11:45:08 -0800 (PST) Date: Thu, 9 Feb 2017 13:05:14 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486670714530-6166615.post@n6.nabble.com> In-Reply-To: <1486628358271-6166438.post@n6.nabble.com> References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> <1486590017635-6166351.post@n6.nabble.com> <1486628358271-6166438.post@n6.nabble.com> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 20:05:15 -0000 For some reason, samsung/jmicron one is prone to disconnecting itself, which could explain some errors, as in usbdump. However, under GENERIC, I was able to use dump twice time on touro s without problems (4h+ of disk writes). _BUT_ as soon as I've returned to my usual kernel config, the problem reappeared. http://pastebin.ca/3765981 So I blame kernel config now. Is it possible that usb related modules behave differently than in kernel default ones? -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166615.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Thu Feb 9 22:15:43 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20DE5CD89E3 for ; Thu, 9 Feb 2017 22:15:43 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 0DE331E89 for ; Thu, 9 Feb 2017 22:15:41 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 2F80B3C6032E for ; Thu, 9 Feb 2017 13:55:34 -0800 (PST) Date: Thu, 9 Feb 2017 15:15:41 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486678541074-6166651.post@n6.nabble.com> In-Reply-To: <1486670714530-6166615.post@n6.nabble.com> References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> <1486590017635-6166351.post@n6.nabble.com> <1486628358271-6166438.post@n6.nabble.com> <1486670714530-6166615.post@n6.nabble.com> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2017 22:15:43 -0000 I've added to my config options USB_DEBUG and turned on hw.usb.debug: 1 and hw.usb.umass.debug: 1 This time the dump finished. DUMP: 95.35% done, finished in 0:03 at Thu Feb 9 23:06:21 2017 DUMP: 99.23% done, finished in 0:00 at Thu Feb 9 23:08:19 2017 DUMP: DUMP: 99117484 tape blocks DUMP: finished in 4916 seconds, throughput 20162 KBytes/sec DUMP: DUMP IS DONE and log filled with- Feb 9 22:39:43 Thinkpad kernel: usbd_pipe_enter: enter Feb 9 22:39:43 Thinkpad kernel: usbd_pipe_start: start Feb 9 22:39:43 Thinkpad kernel: usbd_transfer_done: err=USB_ERR_NORMAL_COMPLETION Feb 9 22:39:43 Thinkpad kernel: usbd_callback_wrapper_sub: xfer=0xfffffe000140c868 endpoint=0xfffff8005fdbb968 sts=0 alen=65536, slen=65536, afrm=1, nfrm=1 Feb 9 22:39:43 Thinkpad kernel: usbd_transfer_submit: xfer=0xfffffe000140cac8, endpoint=0xfffff8005fdbb800, nframes=1, dir=read Feb 9 22:39:43 Thinkpad kernel: usb_dump_endpoint: endpoint=0xfffff8005fdbb800 edesc=0xfffff8005fa7b692 isoc_next=0 toggle_next=0 bEndpointAddress=0x81 Feb 9 22:39:43 Thinkpad kernel: usb_dump_queue: endpoint=0xfffff8005fdbb800 xfer: Feb 9 22:39:43 Thinkpad kernel: usbd_pipe_enter: enter Feb 9 22:39:43 Thinkpad kernel: usbd_pipe_start: start Feb 9 22:39:43 Thinkpad kernel: usbd_transfer_done: err=USB_ERR_NORMAL_COMPLETION I wonder if this is due to slightly reduced throughput? Will try again without logging. -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166651.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Fri Feb 10 00:06:31 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36A6ECD8EC2 for ; Fri, 10 Feb 2017 00:06:31 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 22E9A788 for ; Fri, 10 Feb 2017 00:06:29 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 038813C61872 for ; Thu, 9 Feb 2017 15:46:21 -0800 (PST) Date: Thu, 9 Feb 2017 17:06:28 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486685188434-6166666.post@n6.nabble.com> In-Reply-To: <1486678541074-6166651.post@n6.nabble.com> References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> <1486590017635-6166351.post@n6.nabble.com> <1486628358271-6166438.post@n6.nabble.com> <1486670714530-6166615.post@n6.nabble.com> <1486678541074-6166651.post@n6.nabble.com> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 00:06:31 -0000 Once again, DUMP: 67.52% done, finished in 0:21 at Fri Feb 10 01:02:38 2017 DUMP: 75.50% done, finished in 0:16 at Fri Feb 10 01:02:12 2017 DUMP: 83.32% done, finished in 0:11 at Fri Feb 10 01:01:59 2017 DUMP: 91.31% done, finished in 0:05 at Fri Feb 10 01:01:41 2017 DUMP: 97.26% done, finished in 0:01 at Fri Feb 10 01:02:48 2017 DUMP: DUMP: 99186741 tape blocks DUMP: finished in 4141 seconds, throughput 23952 KBytes/sec DUMP: DUMP IS DONE without logging this time. Is it possible that adding USB_DEBUG changes something? -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166666.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@freebsd.org Fri Feb 10 08:43:57 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 860F1CD93A7 for ; Fri, 10 Feb 2017 08:43:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E14B1C34 for ; Fri, 10 Feb 2017 08:43:56 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 9C6371FE104; Fri, 10 Feb 2017 09:43:47 +0100 (CET) Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. To: Jakub Lach , freebsd-usb@freebsd.org References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> <1486590017635-6166351.post@n6.nabble.com> <1486628358271-6166438.post@n6.nabble.com> <1486670714530-6166615.post@n6.nabble.com> From: Hans Petter Selasky Message-ID: Date: Fri, 10 Feb 2017 09:43:12 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1486670714530-6166615.post@n6.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 08:43:57 -0000 On 02/09/17 21:05, Jakub Lach wrote: > For some reason, samsung/jmicron one is prone to disconnecting > itself, which could explain some errors, as in usbdump. > > However, under GENERIC, I was able to use dump twice time > on touro s without problems (4h+ of disk writes). > > _BUT_ as soon as I've returned to my usual kernel config, the > problem reappeared. > > http://pastebin.ca/3765981 > > So I blame kernel config now. Is it possible that usb related modules > behave differently than in kernel default ones? > Hi, What options are different between these two kernel configurations? There is also: hw.usb.umass.throttle to throttle USB UMASS traffic. --HPS From owner-freebsd-usb@freebsd.org Fri Feb 10 09:12:11 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11986CD9DAB for ; Fri, 10 Feb 2017 09:12:11 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id EA67CDA6 for ; Fri, 10 Feb 2017 09:12:09 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 2B1803C66E23 for ; Fri, 10 Feb 2017 00:51:59 -0800 (PST) Date: Fri, 10 Feb 2017 02:12:09 -0700 (MST) From: Jakub Lach To: freebsd-usb@freebsd.org Message-ID: <1486717929246-6166729.post@n6.nabble.com> In-Reply-To: References: <1486574307023-6166271.post@n6.nabble.com> <1486576714123-6166280.post@n6.nabble.com> <1486586486956-6166339.post@n6.nabble.com> <69849996-b3a0-8a3f-1647-f7b49b3455dc@selasky.org> <1486590017635-6166351.post@n6.nabble.com> <1486628358271-6166438.post@n6.nabble.com> <1486670714530-6166615.post@n6.nabble.com> Subject: Re: I'm experiencing g_vfs_done() error = 5 with more than one USB/HDD storage device on 11-STABLE when heavy writing. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 09:12:11 -0000 Adding back "options USB_DEBUG # enable debug msgs" to my STRIPPED config (as I had it commented out lately) was what restored the behaviour to GENERIC (working one) (sic!). Finishing now 4th? dump. http://pastebin.ca/3766145 -- View this message in context: http://freebsd.1045724.x6.nabble.com/I-m-experiencing-g-vfs-done-error-5-with-more-than-one-USB-HDD-storage-device-on-11-STABLE-when-heav-tp6166271p6166729.html Sent from the freebsd-usb mailing list archive at Nabble.com.