5.2-R panic: sleeping thread owns a non-sleepable lock

From: Igor Sysoev <is_at_rambler-co.ru>
Date: Tue, 13 Jan 2004 14:10:17 +0300 (MSK)
I've cvsuped the sources 5.2-BETA to 5.2-RELEASE. While rebuilding
the system (make -j 3 buildworld) on 5.2-RELEASE kernel I've got the
following panic:

panic: bad pte
cpuid = 0; 
boot() called on cpu#0

syncing disks, buffers remaining... panic: sleeping thread (pid 37514) owns a non-sleepable lock
cpuid = 0; 
boot() called on cpu#0
Uptime: 27m25s
Dumping 2047 MB

[ ... ]

---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc051067d in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc0510a4e in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc053595b in propagate_priority (td=0xc8252780)
    at /usr/src/sys/kern/subr_turnstile.c:176
#4  0xc05363ad in turnstile_wait (ts=0xc82384c0, lock=0xc069dbe0, 
    owner=0xc8252780) at /usr/src/sys/kern/subr_turnstile.c:510
#5  0xc0507175 in _mtx_lock_sleep (m=0xc069dbe0, opts=0, 
    file=0xc065183a "/usr/src/sys/kern/vfs_bio.c", line=3649)
    at /usr/src/sys/kern/kern_mutex.c:476
#6  0xc0506d85 in _mtx_lock_flags (m=0x0, opts=0, 
    file=0xc065183a "/usr/src/sys/kern/vfs_bio.c", line=3649)
    at /usr/src/sys/kern/kern_mutex.c:218
#7  0xc055bc12 in vm_hold_free_pages (bp=0xd4673768, from=3649, to=3577921536)
    at /usr/src/sys/kern/vfs_bio.c:3649
#8  0xc0559d49 in allocbuf (bp=0xd4673768, size=0)
    at /usr/src/sys/kern/vfs_bio.c:2733
#9  0xc0557074 in brelse (bp=0xd4673768) at /usr/src/sys/kern/vfs_bio.c:1241
#10 0xc055ad17 in bufdone (bp=0xd4673768) at /usr/src/sys/kern/vfs_bio.c:3264
#11 0xc05566ae in vfs_backgroundwritedone (bp=0xd4673768)
    at /usr/src/sys/kern/vfs_bio.c:952
#12 0xc055a931 in bufdone (bp=0xd4673768) at /usr/src/sys/kern/vfs_bio.c:3131
#13 0xc055a708 in bufdonebio (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:3067
#14 0xc055a540 in biodone (bp=0xd4673768) at /usr/src/sys/kern/vfs_bio.c:2991
#15 0xc04dd6da in g_dev_done (bp2=0xca001908)
    at /usr/src/sys/geom/geom_dev.c:359
#16 0xc055a540 in biodone (bp=0xd4673768) at /usr/src/sys/kern/vfs_bio.c:2991
#17 0xc04e0372 in g_io_schedule_up (tp=0xc7e1bc80)
    at /usr/src/sys/geom/geom_io.c:375
#18 0xc04e05e8 in g_up_procbody () at /usr/src/sys/geom/geom_kern.c:92
#19 0xc04fc344 in fork_exit (callout=0xc04e05a0 <g_up_procbody>, arg=0x0, 
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:793
(kgdb)


Igor Sysoev
http://sysoev.ru/en/
Received on Tue Jan 13 2004 - 02:10:37 UTC

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