tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: hang in tstile with Samsung Galaxy



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 <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index