Re: USB2+umass: root mount fails

2009-02-19 Thread Hans Petter Selasky
Hi, On Thursday 19 February 2009, Andrew Thompson wrote: > I think its slightly more complex that adding a cold explore task. Cold explore is not possible any more and adds unneccesary complexity to the USB code. USB is dependant on processes/threads/tasks to execute. > Most of the USB2 perip

Re: USB2+umass: root mount fails

2009-02-19 Thread Alfred Perlstein
I really don't understand why it can't be made an option. The cold probe can be done right before mountroot where threads are available. Not doing this deterministically is bad, but forcing slow behavior as the only option seems equally bad. Offering choice seems to be the right solution. -Alfr

Re: USB2+umass: root mount fails

2009-02-19 Thread M. Warner Losh
In message: <200902190926.42992.hsela...@c2i.net> Hans Petter Selasky writes: : Do you understand why probe and attach is currently partially deferred in some : drivers? It has to do with the ability to quickly recover if a device is : suddenly detached when doing multiple sequentia

Re: USB2+umass: root mount fails

2009-02-19 Thread Hans Petter Selasky
Hi Warner, On Thursday 19 February 2009, M. Warner Losh wrote: > In message: <200902190926.42992.hsela...@c2i.net> > > Hans Petter Selasky writes: > : Do you understand why probe and attach is currently partially deferred in > : some drivers? It has to do with the ability to quickly r

CFR: usb switchover patches

2009-02-19 Thread Andrew Thompson
Hi, I have put together a proposed set of changes for moving USB2 to its permanent location. The layout has some differences to how it is right now so I am looking for feedback. The changeover requires that the old usb stack be available until 8.0 is branched and moves it from sys/dev/usb to sys

Re: CFR: usb switchover patches

2009-02-19 Thread Andrew Thompson
On Thu, Feb 19, 2009 at 10:46:21PM -0500, Joe Marcus Clarke wrote: > Andrew Thompson wrote: > > Hi, > > > > > > I have put together a proposed set of changes for moving USB2 to its > > permanent location. The layout has some differences to how it is right > > now so I am looking for feedback. >

Re: CFR: usb switchover patches

2009-02-19 Thread Joe Marcus Clarke
Andrew Thompson wrote: > Hi, > > > I have put together a proposed set of changes for moving USB2 to its > permanent location. The layout has some differences to how it is right > now so I am looking for feedback. > > The changeover requires that the old usb stack be available until 8.0 is > bran

Re: CFR: usb switchover patches

2009-02-19 Thread M. Warner Losh
In message: <20090220033740.ga...@citylink.fud.org.nz> Andrew Thompson writes: : Hi, : : : I have put together a proposed set of changes for moving USB2 to its : permanent location. The layout has some differences to how it is right : now so I am looking for feedback. : : The change

Re: CFR: usb switchover patches

2009-02-19 Thread Andrew Thompson
On Thu, Feb 19, 2009 at 07:37:40PM -0800, Andrew Thompson wrote: > Hi, > > > I have put together a proposed set of changes for moving USB2 to its > permanent location. The layout has some differences to how it is right > now so I am looking for feedback. > > The changeover requires that the old

Re: usb/107827: [ohci] [panic] ohci_add_done addr not found

2009-02-19 Thread abe kazemzadeh
The following reply was made to PR usb/107827; it has been noted by GNATS. From: abe kazemzadeh To: bug-follo...@freebsd.org, fstof...@gmx.de Cc: Subject: Re: usb/107827: [ohci] [panic] ohci_add_done addr not found Date: Thu, 19 Feb 2009 22:28:38 -0800 This isn't really a solution to the bug