On Fri, Apr 09, 2010 at 03:03:06PM +0200, Christoph Egger wrote:
>
> It points to sys/dev/scsipi/sd.c:409
>
> if (sd->sc_dk.dk_nwedges != 0 && part != RAW_PART) {
>
> Right above that line is
>
> mutex_enter(&sd->sc_dk.dk_openlock);
>
> so yes, it actually seems to wait for this lock.
Now the challenge is to find who is holding it. If you can examine the
struct mutex, you should find the address of the lwp holding it ...
--
Manuel Bouyer <[email protected]>
NetBSD: 26 ans d'experience feront toujours la difference
--