Skip site navigation (1)Skip section navigation (2)
Date:      14 Jun 2002 14:35:31 +0200
From:      "Georg-W. Koltermann" <Georg.Koltermann@mscsoftware.com>
To:        freebsd-current@freebsd.org
Subject:   panic -- trap in mtx_lock_sleep
Message-ID:  <1024058131.640.4.camel@hunter.muc.macsch.com>

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

I got the following panic while compiling openoffice. I suspect it was
somehow triggered by the high I/O activity.

Last CVSup was 17 May 22:27 GMT-2.

I'll keep the dump around for a couple of days, so let me know if I
should provide any additional information.

--
Georg.

hunter#	cat info.21
Good dump found on device /dev/ad0s2b
  Architecture: i386
  Architecture version: 1
  Dump length: 1073086464B (1023 MB)
  Blocksize: 512
  Dumptime: Fri Jun 14 14:02:18 2002
  Hostname: hunter.muc.macsch.com
  Versionstring: FreeBSD 5.0-CURRENT #70: Mon Jun  3 15:00:22 CEST 2002
    gwk@hunter.muc.macsch.com:/usr/obj/usr/src/sys/HUNTER
  Panicstring: bwrite: buffer is not busy???
  Bounds: 21
hunter#	

hunter[5]$ gdb -k kernel.debug vmcore.21
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x00514000
initial pcb at physical address 0x00420b20
panicstr: bwrite: buffer is not busy???
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc01eee7f
stack pointer	        = 0x10:0xe3758be8
frame pointer	        = 0x10:0xe3758c08
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1410 (slogin)
trap number		= 12
panic: page fault

syncing disks... panic: bwrite: buffer is not busy???
Uptime: 4h58m25s
pfs_vncache_unload(): 2 entries remaining
/dev/vmmon: Module vmmon: unloaded
Dumping 1023 MB
ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008
---
#0  0xc01fa1a4 in doadump () at /usr/src/sys/kern/kern_shutdown.c:353
353	}
(kgdb) t
[Current thread is 0 (process 0)]
(kgdb) where
#0  0xc01fa1a4 in doadump () at /usr/src/sys/kern/kern_shutdown.c:353
#1  0xc01fa7d1 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:353
#2  0xc01fa9dd in panic (fmt=0xc03aab0b "bwrite: buffer is not busy???")
    at /usr/src/sys/kern/kern_shutdown.c:353
#3  0xc0240eac in bwrite (bp=0xd290c844) at /usr/src/sys/kern/vfs_bio.c:1367
#4  0xc0242635 in vfs_bio_awrite (bp=0xd290c844)
    at /usr/src/sys/kern/vfs_bio.c:1367
#5  0xc01c8a67 in spec_fsync (ap=0xe37589c0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:849
#6  0xc01c844e in spec_vnoperate (ap=0xe37589c0)
    at /usr/src/sys/fs/specfs/spec_vnops.c:849
#7  0xc030b72a in VOP_FSYNC (vp=0xe0e03000, cred=0xd277ff00, waitfor=2, 
    td=0xc03ea5a0) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:810
#8  0xc030abc1 in ffs_sync (mp=0xe0c25200, waitfor=2, cred=0xd277ff00, 
    td=0xc03ea5a0) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:810
#9  0xc025424b in sync (td=0xc03ea5a0, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:640
#10 0xc01fa2ab in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:353
#11 0xc01fa9dd in panic (fmt=0xc03c70de "%s")
    at /usr/src/sys/kern/kern_shutdown.c:353
#12 0xc036d714 in trap_fatal (frame=0xe3758ba8, eva=0)
    at /usr/src/sys/i386/i386/trap.c:652
#13 0xc036d34b in trap_pfault (frame=0xe3758ba8, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:652
#14 0xc036cd34 in trap (frame={tf_fs = -481361896, tf_es = -481361904, 
      tf_ds = -472580080, tf_edi = 0, tf_esi = -1, tf_ebp = -478835704, 
      tf_isp = -478835756, tf_ebx = -481313712, tf_edx = 0, tf_ecx = 1183, 
      tf_eax = -481313456, tf_trapno = 12, tf_err = 2, tf_eip = -1071714689, 
      tf_cs = 8, tf_eflags = 66182, tf_esp = -472555008, tf_ss = -481313456})
    at /usr/src/sys/i386/i386/trap.c:652
#15 0xc01eee7f in _mtx_lock_sleep (m=0xe38a74b4, opts=0, file=0x0, line=0)
    at /usr/src/sys/kern/kern_mutex.c:574
#16 0xc024e927 in vrele (vp=0xe38a744c) at /usr/src/sys/kern/vfs_subr.c:2030
#17 0xc01d9979 in fdfree (td=0xe34fbd50)
    at /usr/src/sys/kern/kern_descrip.c:476
#18 0xc01e03a0 in exit1 (td=0xe34fbd50, rv=-256)
    at /usr/src/sys/kern/kern_exit.c:448
#19 0xc01dffc8 in exit1 (td=0xe34fbd50, rv=-478835464)
    at /usr/src/sys/kern/kern_exit.c:448
#20 0xc036da82 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 0, tf_esi = -1, tf_ebp = -1077938808, tf_isp = -478835340, 
      tf_ebx = 673230588, tf_edx = 10, tf_ecx = 673230224, tf_eax = 1, 
      tf_trapno = 22, tf_err = 2, tf_eip = 672833571, tf_cs = 31, 
      tf_eflags = 658, tf_esp = -1077938852, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:652
#21 0xc035c67d in syscall_with_err_pushed () at /var/tmp//ccqhs5l0.s:128
#22 0x804c092 in ?? ()
(kgdb




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?1024058131.640.4.camel>