Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 15:34:15 +0200
From:      "Norbert Koch" <NKoch@demig.de>
To:        <freebsd-hackers@freebsd.org>
Subject:   RE: panic in device driver strategy function: bp->b_dev==NULL
Message-ID:  <000301c562c0$c6825400$4801a8c0@ws-ew-3.W2KDEMIG>
In-Reply-To: <000401c5629c$117c34a0$4801a8c0@ws-ew-3.W2KDEMIG>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301c562c0$c6825400$4801a8c0>