RE: panic in device driver strategy function: bp->b_dev==NULL

From: Norbert Koch (NKoch_at_demig.de)
Date: 05/27/05

  • Next message: André-Philippe Paquet: "Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons"
    To: <freebsd-hackers@freebsd.org>
    Date: Fri, 27 May 2005 15:34:15 +0200
    
    

    > 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

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: André-Philippe Paquet: "Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons"