Date: Wed, 7 Feb 1996 09:07:43 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: swise@austin.ibm.com (Jean-Steveau Wise) Cc: freebsd-hackers@freebsd.org Subject: Re: assertions Message-ID: <199602070807.JAA04661@uriah.heep.sax.de> In-Reply-To: <9602062101.AA30435@vikings.austin.ibm.com> from "Jean-Steveau Wise" at Feb 6, 96 03:01:43 pm
next in thread | previous in thread | raw e-mail | index | archive | help
As Jean-Steveau Wise wrote: > > I want to put assertions into the ATAPI driver code and the kernel to > assert that the ATAPI code doesn't leave a system call or interrupt > with interrupts disabled. Can anyone help me code this assertion? My It doesn't look that it would completely disable interrupts, from a quick glance over the code. One oddity that caught my eye: wcd_strategy() finally calls wcd_start(), still at splbio. wcd_start() in turn branches to atapi_request_wait(), which is enbracketed in a pair of splbio/splx. I wouldn't expect this to hang the system, but it looks strange. Have you turned on the atapi debug information? It seems to print lotsa stuff with debug on. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602070807.JAA04661>