Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 12:38:29 -0700
From:      Doug Barton <DougB@DougBarton.net>
To:        freebsd-current@freebsd.org
Subject:   Panic on 8/10 -current: sleeping process owns a mutex
Message-ID:  <3B76DB35.DB46C32F@DougBarton.net>

next in thread | raw e-mail | index | archive | help
Guys,

	cvsup'ed, built/installed world yesterday, and got the following:

IdlePTD 4489216
initial pcb at 3774a0
panicstr: sleeping process owns a mutex
panic messages:
---
panic: sleeping process owns a mutex

(kgdb) where
#0  dumpsys () at /usr/local/src/sys/kern/kern_shutdown.c:478
#1  0xc01dadac in boot (howto=260)
    at /usr/local/src/sys/kern/kern_shutdown.c:321
#2  0xc01db1d9 in panic (fmt=0xc03021f5 "sleeping process owns a mutex")
    at /usr/local/src/sys/kern/kern_shutdown.c:600
#3  0xc01d2c74 in propagate_priority (p=0xcbb75320)
    at /usr/local/src/sys/kern/kern_mutex.c:133
#4  0xc01d34a0 in _mtx_lock_sleep (m=0xc03b2b20, opts=0, 
    file=0xc030ade0 "/usr/local/src/sys/kern/vfs_syscalls.c", line=609)
    at /usr/local/src/sys/kern/kern_mutex.c:396
#5  0xc022254b in sync (p=0xc03b1b40, uap=0x0)
    at /usr/local/src/sys/kern/vfs_syscalls.c:609
#6  0xc01da870 in boot (howto=256)
    at /usr/local/src/sys/kern/kern_shutdown.c:230
#7  0xc01db1d9 in panic (fmt=0xc03021f5 "sleeping process owns a mutex")
    at /usr/local/src/sys/kern/kern_shutdown.c:600
#8  0xc01d2c74 in propagate_priority (p=0xcbb75320)
    at /usr/local/src/sys/kern/kern_mutex.c:133
#9  0xc01d34a0 in _mtx_lock_sleep (m=0xc03b2b20, opts=0, 
    file=0xc030a800 "/usr/local/src/sys/kern/vfs_subr.c", line=2663)
    at /usr/local/src/sys/kern/kern_mutex.c:396
#10 0xc0220c63 in sync_fsync (ap=0xcc30af5c)
    at /usr/local/src/sys/kern/vfs_subr.c:2663
#11 0xc021ceec in sched_sync () at vnode_if.h:441
#12 0xc01caa16 in fork_exit (callout=0xc021cd80 <sched_sync>, arg=0x0, 
    frame=0xcc30afa8) at /usr/local/src/sys/kern/kern_fork.c:723

The dump is available if desired. 

Immediately prior to the crash I was getting a lot of these on the console:

Aug 12 01:00:52 <kern.crit> Master /boot/kernel/kernel:
/usr/local/src/sys/kern/kern_synch.c:377: sleeping with "mountlist" locke
d from /usr/local/src/sys/kern/vfs_syscalls.c:548
Aug 12 01:00:54 <kern.crit> Master /boot/kernel/kernel: lock order reversal
Aug 12 01:00:54 <kern.crit> Master /boot/kernel/kernel: 1st 0xc03b2b20
mountlist @ /usr/local/src/sys/kern/vfs_syscalls.c:548
Aug 12 01:00:54 <kern.crit> Master /boot/kernel/kernel: 2nd 0xc03b5a00
Giant @ /usr/local/src/sys/kern/kern_synch.c:481


I had a cdrom mounted via amd and was viewing real audio files on it.

HTH,

Doug

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B76DB35.DB46C32F>