Re: SUJ deadlock

From: Mark Atkinson <atkin901_at_gmail.com>
Date: Mon, 03 May 2010 12:55:57 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/03/10 12:38, Fabien Thomas wrote:
> Hi Jeff,
> 
> I'm with r207548 now and since some days i've system deadlock.
> It seems related to SUJ with process waiting on suspfs or ppwait.

I've also seen it stalled in suspfs, but this information is way better
than what I was able to garner.   I was only able to tell via ctrl-t on
a stalled 'ls' process in a terminal before hard booting.

Right now it occurs everytime I attempt to do the portmaster -a upgrade
of X/KDE on this system.

> The backtrace is the following:
> (kgdb) bt        
> #0  sched_switch (td=0xc52d84c0, newtd=0xc4d88980, flags=260) at /usr/home/fabient/fabient-sandbox/sys/kern/sched_ule.c:1853
> #1  0xc0a2838e in mi_switch (flags=260, newtd=0x0) at /usr/home/fabient/fabient-sandbox/sys/kern/kern_synch.c:449
> #2  0xc0a62a25 in sleepq_switch (wchan=0xc5389cf0, pri=159)
>     at /usr/home/fabient/fabient-sandbox/sys/kern/subr_sleepqueue.c:530
> #3  0xc0a62c6c in sleepq_wait (wchan=0xc5389cf0, pri=159) at /usr/home/fabient/fabient-sandbox/sys/kern/subr_sleepqueue.c:609
> #4  0xc0a27aec in _sleep (ident=0xc5389cf0, lock=0xc5389ca8, priority=159, wmesg=0xc0f5c302 "suspfs", timo=0)
>     at /usr/home/fabient/fabient-sandbox/sys/kern/kern_synch.c:234
> #5  0xc0ae2e62 in vn_start_write (vp=0xc66bdcc0, mpp=0xce79bb6c, flags=1)
>     at /usr/home/fabient/fabient-sandbox/sys/kern/vfs_vnops.c:998
> #6  0xc0ae1476 in vn_close (vp=0xc66bdcc0, flags=1, file_cred=0xc577f400, td=0xc52d84c0)
>     at /usr/home/fabient/fabient-sandbox/sys/kern/vfs_vnops.c:299
> #7  0xc0ae2cc6 in vn_closefile (fp=0xc7bcd460, td=0xc52d84c0) at /usr/home/fabient/fabient-sandbox/sys/kern/vfs_vnops.c:941
> #8  0xc09d7e5e in fo_close (fp=0xc7bcd460, td=0xc52d84c0) at file.h:270
> #9  0xc09d7ddc in _fdrop (fp=0xc7bcd460, td=0xc52d84c0) at /usr/home/fabient/fabient-sandbox/sys/kern/kern_descrip.c:2348
> #10 0xc09d775b in closef (fp=0xc7bcd460, td=0xc52d84c0) at /usr/home/fabient/fabient-sandbox/sys/kern/kern_descrip.c:2117
> #11 0xc09d526a in kern_close (td=0xc52d84c0, fd=3) at /usr/home/fabient/fabient-sandbox/sys/kern/kern_descrip.c:1162
> #12 0xc09d50ea in close (td=0xc52d84c0, uap=0xce79bcf0) at /usr/home/fabient/fabient-sandbox/sys/kern/kern_descrip.c:1114
> #13 0xc0e5816b in syscall (frame=0xce79bd38) at /usr/home/fabient/fabient-sandbox/sys/i386/i386/trap.c:1116
> #14 0xc0e302e0 in Xint0x80_syscall () at /usr/home/fabient/fabient-sandbox/sys/i386/i386/exception.s:261
> 
> If you need more information tell me.
> 
> Fabien_______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvfKk0ACgkQrDN5kXnx8yYpZgCeKRqenQbflLhoa3hVaXP7wICE
9KAAn2HEWuNwgI9EUxA5BYMR6DD0NBgi
=bhDN
-----END PGP SIGNATURE-----
Received on Mon May 03 2010 - 17:56:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC