Subject: Re: mfi(4) and bio_register()
To: Juan RP <>
From: Martin Husemann <>
List: tech-kern
Date: 11/16/2007 10:42:59
On Fri, Nov 16, 2007 at 10:34:25AM +0100, Juan RP wrote:
> Hi,
> There's currently a problem with mfi(4) on mfi_attach() calling
> bio_register(). At the point on where mfi_attach() is called
> the pseudo-device bio(4) hasn't been initialized so bio_register()
> fails when LOCKDEBUG is used with an uninitialized lock.

I would blatantly abuse config_interrupts() for this.