Subject: Re: "wpi" wireless ethernet hangs the system
To: None <tech-kern@NetBSD.org>
From: Joerg Sonnenberger <email@example.com>
Date: 11/23/2007 23:10:29
On Fri, Nov 23, 2007 at 10:42:47PM +0100, Matthias Drochner wrote:
> It is not spinning, it hangs within a call to aprint_error_dev().
> If I replace this by good old printf it gets further, up to the
> next aprint probably which I didn't identify yet.
Hm. That is strange. aprint_error calls aprint_error_internal, which
calls kprintf with TOCONS|TOLOG and kprintf mutex. printf calls kprintf
with the same mutex TOCONS|TOLOG. Only difference is that the _dev
version calls it twice (for prefix and message).