Re: page fault on device disconnect

2011-01-22 Thread Marcin Wisnicki
On Sat, Jan 22, 2011 at 16:01, Hans Petter Selasky wrote: > On Wednesday 19 January 2011 21:44:01 Marcin Wisnicki wrote: >> I've accidentally cut power to my self-powered USB hdd enclosure with >> UFS+gjournal on GELI. > [snip] > Could you show more dmesg? Full dmesg captured after restart is in

Re: libusb performance on 8.1

2011-01-22 Thread Daniel O'Connor
On 23/01/2011, at 24:03, Hans Petter Selasky wrote: >> While doing some speed testing I find that FreeBSD does ~4Mb/sec, but Linux >> does 17Mb/sec & OS X does 8-10Mb/sec. > > You need to change the way you buffer the data. FreeBSD does not queue more > than 2 URB's at any time, and the turnarou

Re: da(4) not attaching to USB drive

2011-01-22 Thread Matthias Apitz
and if I pull out the USB cable and plug it into my EeePC sitting next to the Acer, da(4) attaches fine ... but all the other laptops are running a 8.x version; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ _

Re: da(4) not attaching to USB drive

2011-01-22 Thread Matthias Apitz
El día Saturday, January 22, 2011 a las 04:03:01PM +0100, Hans Petter Selasky escribió: > > > Is the HDD supplied with external power? > > > > Yes. > > > > matthias > > Have you tried a: > > camcontrol rescan all yes: # usbconfig -u 4 -a 3 dump_device_desc ugen4.3: at usbus4, cfg=0 m

Re: da(4) not attaching to USB drive

2011-01-22 Thread Hans Petter Selasky
On Saturday 22 January 2011 16:00:28 Matthias Apitz wrote: > El día Saturday, January 22, 2011 a las 02:49:36PM +0100, Hans Petter Selasky escribió: > > On Saturday 22 January 2011 11:42:39 Matthias Apitz wrote: > > > Drive XS 1.00> Fixed Direct Access SCSI-2 device Jan 22 09:23:11 > > > tinyCur

Re: page fault on device disconnect

2011-01-22 Thread Hans Petter Selasky
On Wednesday 19 January 2011 21:44:01 Marcin Wisnicki wrote: > I've accidentally cut power to my self-powered USB hdd enclosure with > UFS+gjournal on GELI. > The enclosure also acts as a hub and has single usb memory stick plugged > in but not mounted. > > I kind of expected to have panic in VFS

Re: da(4) not attaching to USB drive

2011-01-22 Thread Matthias Apitz
El día Saturday, January 22, 2011 a las 02:49:36PM +0100, Hans Petter Selasky escribió: > On Saturday 22 January 2011 11:42:39 Matthias Apitz wrote: > > Drive XS 1.00> Fixed Direct Access SCSI-2 device Jan 22 09:23:11 > > tinyCurrent kernel: da0: 40.000MB/s transfers > > Jan 22 09:23:11 tinyCu

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Thiemo Nordenholz
The following reply was made to PR usb/154192; it has been noted by GNATS. From: Thiemo Nordenholz To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-cur

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Thiemo Nordenholz
> Can you build the kernel with "options USB_DEBUG" and post new dmesg? Maybe > your device is quirked while it should not. It says quirks=0: ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 scbus2 tar

Re: da(4) not attaching to USB drive

2011-01-22 Thread Hans Petter Selasky
On Saturday 22 January 2011 11:42:39 Matthias Apitz wrote: > Hello, > > I have the problem with my new laptop Acer Aspire One that an USB disk > is not attaching most of the time; the disk itself works in 3 other > laptops without any problem; here is a (normal) bad and one positive > example from

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Hans Petter Selasky
The following reply was made to PR usb/154192; it has been noted by GNATS. From: Hans Petter Selasky To: Thiemo Nordenholz Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-cu

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Hans Petter Selasky
On Saturday 22 January 2011 13:17:04 Thiemo Nordenholz wrote: > > Try to upgrade USB code to the latest. There I a know issue affecting > > device enumeration. > > Just cvsup'ed and tested again with the same result: > > uname -a > > FreeBSD feynman 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Sat Jan 22

Re: libusb performance on 8.1

2011-01-22 Thread Hans Petter Selasky
On Thursday 20 January 2011 07:37:32 Daniel O'Connor wrote: > [re-sent from the correct address] > > Hi, > I am building a USB interface to a radar data acquisition chassis based on > the Cypress CY7C68013A. > > While doing some speed testing I find that FreeBSD does ~4Mb/sec, but Linux > does 17

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Thiemo Nordenholz
The following reply was made to PR usb/154192; it has been noted by GNATS. From: Thiemo Nordenholz To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-cur

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Thiemo Nordenholz
> Try to upgrade USB code to the latest. There I a know issue affecting device > enumeration. Just cvsup'ed and tested again with the same result: > uname -a FreeBSD feynman 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Sat Jan 22 12:53:38 CET 2011 thiemo@feynman:/usr/obj/usr/src.new/sys/FEYNMAN i38

da(4) not attaching to USB drive

2011-01-22 Thread Matthias Apitz
Hello, I have the problem with my new laptop Acer Aspire One that an USB disk is not attaching most of the time; the disk itself works in 3 other laptops without any problem; here is a (normal) bad and one positive example from messages: Jan 22 09:22:44 tinyCurrent root: Unknown USB device: ven

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Hans Petter Selasky
The following reply was made to PR usb/154192; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Thiemo Nordenholz , freebsd-gnats-sub...@freebsd.org Subject: Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-cu

Re: usb/154192: In Garmin Oregon GPS, only the first umass device is visible since upgrade of 9.0-current

2011-01-22 Thread Hans Petter Selasky
On Friday 21 January 2011 14:48:53 Thiemo Nordenholz wrote: > >Number: 154192 > >Category: usb > >Synopsis: In Garmin Oregon GPS, only the first umass device is > >visible since upgrade of 9.0-current Confidential: no > >Severity: non-critical > >Priority: medium >