Re: device_attach(9) and driver initialization

2012-04-11 Thread Konstantin Belousov
On Tue, Apr 10, 2012 at 02:47:37PM -0400, John Baldwin wrote: On Tuesday, April 10, 2012 10:38:35 am Konstantin Belousov wrote: On Tue, Apr 10, 2012 at 09:56:06AM -0400, John Baldwin wrote: On Monday, April 09, 2012 4:05:29 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 03:36:08PM

Re: device_attach(9) and driver initialization

2012-04-10 Thread John Baldwin
On Monday, April 09, 2012 4:05:29 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 03:36:08PM -0400, John Baldwin wrote: On Monday, April 09, 2012 3:10:00 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 11:01:03AM -0400, John Baldwin wrote: On Saturday, April 07, 2012 11:08:41

Re: device_attach(9) and driver initialization

2012-04-10 Thread Konstantin Belousov
On Tue, Apr 10, 2012 at 09:56:06AM -0400, John Baldwin wrote: On Monday, April 09, 2012 4:05:29 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 03:36:08PM -0400, John Baldwin wrote: On Monday, April 09, 2012 3:10:00 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 11:01:03AM

Re: device_attach(9) and driver initialization

2012-04-10 Thread John Baldwin
On Tuesday, April 10, 2012 10:38:35 am Konstantin Belousov wrote: On Tue, Apr 10, 2012 at 09:56:06AM -0400, John Baldwin wrote: On Monday, April 09, 2012 4:05:29 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 03:36:08PM -0400, John Baldwin wrote: On Monday, April 09, 2012 3:10:00

Re: device_attach(9) and driver initialization

2012-04-09 Thread Ian Lepore
On Sat, 2012-04-07 at 17:57 +0300, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 08:46:41AM -0600, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when

Re: device_attach(9) and driver initialization

2012-04-09 Thread Ian Lepore
On Sun, 2012-04-08 at 06:58 +0300, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 09:10:55PM -0600, Warner Losh wrote: On Apr 7, 2012, at 8:57 AM, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 08:46:41AM -0600, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin

Re: device_attach(9) and driver initialization

2012-04-09 Thread Konstantin Belousov
On Mon, Apr 09, 2012 at 08:41:15AM -0600, Ian Lepore wrote: On Sun, 2012-04-08 at 06:58 +0300, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 09:10:55PM -0600, Warner Losh wrote: On Apr 7, 2012, at 8:57 AM, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 08:46:41AM -0600,

Re: device_attach(9) and driver initialization

2012-04-09 Thread John Baldwin
On Saturday, April 07, 2012 11:08:41 pm Warner Losh wrote: On Apr 7, 2012, at 8:46 AM, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach

Re: device_attach(9) and driver initialization

2012-04-09 Thread Ian Lepore
On Mon, 2012-04-09 at 17:59 +0300, Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 08:41:15AM -0600, Ian Lepore wrote: On Sun, 2012-04-08 at 06:58 +0300, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 09:10:55PM -0600, Warner Losh wrote: On Apr 7, 2012, at 8:57 AM, Konstantin

Re: device_attach(9) and driver initialization

2012-04-09 Thread Warner Losh
On Apr 9, 2012, at 9:42 AM, Ian Lepore wrote: On Mon, 2012-04-09 at 17:59 +0300, Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 08:41:15AM -0600, Ian Lepore wrote: On Sun, 2012-04-08 at 06:58 +0300, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 09:10:55PM -0600, Warner Losh wrote:

Re: device_attach(9) and driver initialization

2012-04-09 Thread Konstantin Belousov
On Mon, Apr 09, 2012 at 11:01:03AM -0400, John Baldwin wrote: On Saturday, April 07, 2012 11:08:41 pm Warner Losh wrote: On Apr 7, 2012, at 8:46 AM, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device

Re: device_attach(9) and driver initialization

2012-04-09 Thread John Baldwin
On Monday, April 09, 2012 3:10:00 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 11:01:03AM -0400, John Baldwin wrote: On Saturday, April 07, 2012 11:08:41 pm Warner Losh wrote: On Apr 7, 2012, at 8:46 AM, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin

Re: device_attach(9) and driver initialization

2012-04-09 Thread Konstantin Belousov
On Mon, Apr 09, 2012 at 03:36:08PM -0400, John Baldwin wrote: On Monday, April 09, 2012 3:10:00 pm Konstantin Belousov wrote: On Mon, Apr 09, 2012 at 11:01:03AM -0400, John Baldwin wrote: On Saturday, April 07, 2012 11:08:41 pm Warner Losh wrote: On Apr 7, 2012, at 8:46 AM, Ian

device_attach(9) and driver initialization

2012-04-07 Thread Konstantin Belousov
Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized yet. Also the device state in the newbus part of the world is DS_ALIVE. There is definitely no shattering news in the statements, but

Re: device_attach(9) and driver initialization

2012-04-07 Thread Ian Lepore
On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized yet. Also the device state in the newbus part of the world is

Re: device_attach(9) and driver initialization

2012-04-07 Thread Konstantin Belousov
On Sat, Apr 07, 2012 at 08:46:41AM -0600, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized

Re: device_attach(9) and driver initialization

2012-04-07 Thread Nathan Whitehorn
On 04/07/12 07:50, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized yet. Also the device state in the newbus part of the world is DS_ALIVE. There is

Re: device_attach(9) and driver initialization

2012-04-07 Thread Konstantin Belousov
On Sat, Apr 07, 2012 at 10:04:59AM -0500, Nathan Whitehorn wrote: On 04/07/12 07:50, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized yet. Also the

Re: device_attach(9) and driver initialization

2012-04-07 Thread Nathan Whitehorn
On 04/07/12 10:15, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 10:04:59AM -0500, Nathan Whitehorn wrote: On 04/07/12 07:50, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing,

Re: device_attach(9) and driver initialization

2012-04-07 Thread Julian Elischer
On 4/7/12 5:50 AM, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized yet. Also the device state in the newbus part of the world is DS_ALIVE. There is

Re: device_attach(9) and driver initialization

2012-04-07 Thread Julian Elischer
On 4/7/12 8:15 AM, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 10:04:59AM -0500, Nathan Whitehorn wrote: On 04/07/12 07:50, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing,

Re: device_attach(9) and driver initialization

2012-04-07 Thread Warner Losh
On Apr 7, 2012, at 8:46 AM, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized yet. Also the

Re: device_attach(9) and driver initialization

2012-04-07 Thread Warner Losh
On Apr 7, 2012, at 9:04 AM, Nathan Whitehorn wrote: On 04/07/12 07:50, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach method is executing, device is not fully initialized yet. Also the device state

Re: device_attach(9) and driver initialization

2012-04-07 Thread Warner Losh
On Apr 7, 2012, at 8:57 AM, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 08:46:41AM -0600, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus. Basically, when device attach

Re: device_attach(9) and driver initialization

2012-04-07 Thread Warner Losh
On Apr 7, 2012, at 3:34 PM, Julian Elischer wrote: On 4/7/12 8:15 AM, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 10:04:59AM -0500, Nathan Whitehorn wrote: On 04/07/12 07:50, Konstantin Belousov wrote: Hello, there seems to be a problem with device attach sequence offered by newbus.

Re: device_attach(9) and driver initialization

2012-04-07 Thread Konstantin Belousov
On Sat, Apr 07, 2012 at 09:10:55PM -0600, Warner Losh wrote: On Apr 7, 2012, at 8:57 AM, Konstantin Belousov wrote: On Sat, Apr 07, 2012 at 08:46:41AM -0600, Ian Lepore wrote: On Sat, 2012-04-07 at 15:50 +0300, Konstantin Belousov wrote: Hello, there seems to be a problem with device