panic in device driver strategy function: bp->b_dev==NULL
Norbert Koch
NKoch at demig.de
Fri May 27 06:34:44 PDT 2005
> Hello,
>
> I have written a small device driver for a static ram
> based disk. The code is - more or less - derived from
> Poul Henning Kamp's md device.
> It is written for FreeBSD 4.X.
>
> This device is kld-loaded and runs without any problems
> with my 'standard' kernel configuration.
>
> As soon as I boot a kernel with some debug settings the
> driver crashes due to a failed assertion in my strategy
> routine.
>
Hello again,
I played around with configuration switches and found,
that without "option DEBUG_LOCKS" all is ok.
Any idea?
Norbert Koch
More information about the freebsd-hackers
mailing list