Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 15:15:24 Момчил Иванов wrote: At Tue, 27 Dec 2011 12:59:07 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 12:53:01 Momchil Ivanov wrote: At Tue, 27 Dec 2011 10:36:24 +0100, Hans Petter Selasky wrote: Have you tried to use the

Re: umass regression

2011-12-27 Thread Bartosz Fabianowski
Could you try to use a 10-current kernel with 9-stable? I just csup'd to 10-CURRENT, built a brand new kernel and rebooted using that kernel. The issues remain the same. The dmesg output I posted previously is unchanged and my two umass devices do not show up. What should I try next? -

Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 16:21:35 Момчил Иванов wrote: 16:13:27.509643 usbus6.2 DONE-BULK-EP=0081,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR= Hi, The timeout error means the USB host is not getting the expected data. To figure out who is guilty not transferring or receiving the data you need to

Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 16:48:48 Момчил Иванов wrote: At Tue, 27 Dec 2011 16:28:49 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 16:21:35 Момчил Иванов wrote: 16:13:27.509643 usbus6.2 DONE-BULK-EP=0081,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR= Hi, The timeout

Re: USB problems with 8.2

2011-12-27 Thread Момчил Иванов
At Tue, 27 Dec 2011 15:17:42 +0100, Hans Petter Selasky wrote: Did you check for errors in dmesg? Also have you tried setting: hw.usb.ehci.lostintrbug=1 in /boot/loader.conf There is nothing in dmesg, the most annoying thing is that some other applications get blocked while the drive

umass regression

2011-12-27 Thread Bartosz Fabianowski
Hi list I recently upgraded my amd64 box from 8-STABLE to 9-STABLE. I noticed that after the upgrade, two of my umass devices fail to attach. The first device is a 4th generation iPod running Rockbox. Under 8-STABLE, the iPod's 20GB had drive would show up as /dev/da1. Now, I get the

Re: umass regression

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 15:04:28 Bartosz Fabianowski wrote: ugen1.8: vendor 0x091e at usbus1 umass1: vendor 0x091e product 0x23c0, class 0/0, rev 1.10/5.09, addr 8 on usbus1 da1 at umass-sim1 bus 1 scbus4 target 0 lun 0 da1: Garmin GARMIN Flash 1.00 Removable Direct Access SCSI-5 device

Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 15:40:05 Момчил Иванов wrote: At Tue, 27 Dec 2011 15:29:02 +0100, Момчил Иванов wrote: At Tue, 27 Dec 2011 15:17:42 +0100, Hans Petter Selasky wrote: Did you check for errors in dmesg? Also have you tried setting: hw.usb.ehci.lostintrbug=1

Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Monday 26 December 2011 23:26:41 Momchil Ivanov wrote: Hi, I am currently experiencing some problems with USB. I have a SATA hdd connected to my computer with a USB adapter. When using rtorrent on a good connection with 2-3 MB/s after a minute or two all file system operations on the USB

Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 15:51:10 Hans Petter Selasky wrote: sysctl hw.usb.umass.debug=15 sysctl hw.usb.umass.debug=-1 --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any

Re: USB problems with 8.2

2011-12-27 Thread Момчил Иванов
At Tue, 27 Dec 2011 16:51:46 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 16:48:48 Момчил Иванов wrote: At Tue, 27 Dec 2011 16:28:49 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 16:21:35 Момчил Иванов wrote: 16:13:27.509643 usbus6.2

Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 17:25:58 Момчил Иванов wrote: At Tue, 27 Dec 2011 16:51:46 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 16:48:48 Момчил Иванов wrote: At Tue, 27 Dec 2011 16:28:49 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 16:21:35

Re: umass regression

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 15:04:28 Bartosz Fabianowski wrote: Hi list I recently upgraded my amd64 box from 8-STABLE to 9-STABLE. I noticed that after the upgrade, two of my umass devices fail to attach. The first device is a 4th generation iPod running Rockbox. Under 8-STABLE, the

Re: USB problems with 8.2

2011-12-27 Thread Момчил Иванов
At Tue, 27 Dec 2011 12:59:07 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 12:53:01 Momchil Ivanov wrote: At Tue, 27 Dec 2011 10:36:24 +0100, Hans Petter Selasky wrote: Have you tried to use the no-synchronize cache quirk for your drive? how do I use that?

Re: umass regression

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 15:04:28 Bartosz Fabianowski wrote: ugen1.7: Rockbox.org at usbus1 umass1: Rockbox.org Rockbox media player, class 0/0, rev 2.00/1.00, addr 7 on usbus1 umass1: could not setup required transfers, USB_ERR_NO_PIPE device_attach: umass1 attach returned 6 What does

Re: USB problems with 8.2

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 12:53:01 Momchil Ivanov wrote: At Tue, 27 Dec 2011 10:36:24 +0100, Hans Petter Selasky wrote: Have you tried to use the no-synchronize cache quirk for your drive? how do I use that? Are you using 8-stable? yes, with sources from about FreeBSD 8.2-STABLE

Re: USB problems with 8.2

2011-12-27 Thread Момчил Иванов
At Tue, 27 Dec 2011 16:28:49 +0100, Hans Petter Selasky wrote: On Tuesday 27 December 2011 16:21:35 Момчил Иванов wrote: 16:13:27.509643 usbus6.2 DONE-BULK-EP=0081,SPD=HIGH,NFR=0,SLEN=0,IVAL=0,ERR= Hi, The timeout error means the USB host is not getting the expected data. To

Re: USB problems with 8.2

2011-12-27 Thread Momchil Ivanov
At Tue, 27 Dec 2011 10:36:24 +0100, Hans Petter Selasky wrote: Have you tried to use the no-synchronize cache quirk for your drive? how do I use that? Are you using 8-stable? yes, with sources from about FreeBSD 8.2-STABLE #0: Sat Oct 22 16:07:57 CEST 2011.

Re: USB problems with 8.2

2011-12-27 Thread Момчил Иванов
At Tue, 27 Dec 2011 15:29:02 +0100, Момчил Иванов wrote: At Tue, 27 Dec 2011 15:17:42 +0100, Hans Petter Selasky wrote: Did you check for errors in dmesg? Also have you tried setting: hw.usb.ehci.lostintrbug=1 does not seem to help at all, it seems to make things even worse - the

Re: USB problems with 8.2

2011-12-27 Thread Момчил Иванов
At Tue, 27 Dec 2011 17:35:12 +0100, Hans Petter Selasky wrote: I've just rebuilt the kernel with options USB_DEBUG and rebooted without setting the cache quirk but with hw.usb.ehci.lostintrbug=1 and rtorrent just hashed more than 4 GB without any stalls. So that seems to fix the issue. Man

Re: umass regression

2011-12-27 Thread Bartosz Fabianowski
With my 9-STABLE kernel, this is what it says: ugen1.7: Rockbox media player Rockbox.org at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x bConfigurationValue

Re: umass regression

2011-12-27 Thread Hans Petter Selasky
On Tuesday 27 December 2011 19:46:57 Bartosz Fabianowski wrote: bEndpointAddress = 0x OUT I believe that there is a bug in Rock-box programming an endpoint address of zero for the BULK endpoints! Could you check this with the Rock-box developers first! --HPS

Re: umass regression

2011-12-27 Thread Bartosz Fabianowski
I believe that there is a bug in Rock-box programming an endpoint address of zero for the BULK endpoints! Yes, I spotted that too after I replied to your message. I always build Rockbox from source anyway, so I am making a firmware with USB debug support and will try to figure out what is