From owner-freebsd-current Thu Jun 20 1:21:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from draco.macsch.com (ns1.mscsoftware.com [192.207.69.10]) by hub.freebsd.org (Postfix) with ESMTP id 2ED5A37B40B for ; Thu, 20 Jun 2002 01:21:02 -0700 (PDT) Received: from mailmuc.muc.eu.mscsoftware.com (mailmuc.muc.macsch.com [161.34.37.20]) by draco.macsch.com (8.9.3/8.9.3) with ESMTP id BAA04721 for ; Thu, 20 Jun 2002 01:20:57 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mailmuc.muc.eu.mscsoftware.com (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g5K8JAp05993 for ; Thu, 20 Jun 2002 10:19:10 +0200 Content-Transfer-Encoding: 7bit Content-Type: text/plain Date: 20 Jun 2002 10:19:35 +0200 From: "Georg-W. Koltermann" Message-Id: <1024561175.1691.21.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Received: from hunter.muc.macsch.com by mailmuc.muc.eu.mscsoftware.com (AvMailGate-6.12.0.0) id 05974-68FF3C55; Thu, 20 Jun 2002 10:19:04 +0200 Subject: panic -- trap in kern_mutex To: freebsd-current@freebsd.org X-AntiVirus: OK! AvMailGate Version 6.12.1.30 at mailmuc has not found any known virus in this email. X-Mailer: Ximian Evolution 1.0.5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The panic string says buffer not busy as usual, but the real location seems to be a trap in kern_mutex.c. Last CVSup was 17 May 22:27 GMT-2, so this is a GCC 3.1 based system. Line numbers don't seem to be correct. -- Regards, Georg. hunter[17]$ gdb -k kernel.debug vmcore.22 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 = 0xd25 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01ee8f5 stack pointer = 0x10:0xe3f89978 frame pointer = 0x10:0xe3f89988 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 = 3129 (evolution-mail) trap number = 12 panic: page fault syncing disks... panic: bwrite: buffer is not busy??? Uptime: 5h51m35s pfs_vncache_unload(): 2 entries remaining /dev/vmmon: Module vmmon: unloaded Dumping 1023 MB ata0: resetting devices .. 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) 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=0xd284d130) at /usr/src/sys/kern/vfs_bio.c:1367 #4 0xc0242635 in vfs_bio_awrite (bp=0xd284d130) at /usr/src/sys/kern/vfs_bio.c:1367 #5 0xc01c8a67 in spec_fsync (ap=0xe3f89750) at /usr/src/sys/fs/specfs/spec_vnops.c:849 #6 0xc01c844e in spec_vnoperate (ap=0xe3f89750) 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=0xe3f89938, eva=3365) at /usr/src/sys/i386/i386/trap.c:652 #13 0xc036d34b in trap_pfault (frame=0xe3f89938, usermode=0, eva=3365) at /usr/src/sys/i386/i386/trap.c:652 #14 0xc036cd34 in trap (frame={tf_fs = 24, tf_es = -470286320, tf_ds = -470286320, tf_edi = 139215696, tf_esi = 137186688, tf_ebp = -470247032, tf_isp = -470247068, tf_ebx = -470246240, tf_edx = -475126764, tf_ecx = -475126764, tf_eax = 3244, tf_trapno = 12, tf_err = 0, tf_eip = -1071716107, tf_cs = 8, tf_eflags = 66054, tf_esp = 3244, tf_ss = -475126764}) at /usr/src/sys/i386/i386/trap.c:652 #15 0xc01ee8f5 in propagate_priority (td=0xcac) at /usr/src/sys/kern/kern_mutex.c:574 #16 0xc01eeef1 in _mtx_lock_sleep (m=0xe3ae0df0, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:574 #17 0xc0310395 in ufs_ihashget (dev=0xe322b700, inum=613654, flags=2, vpp=0xe3f89ae0) at /usr/src/sys/ufs/ufs/ufs_ihash.c:127 #18 0xc030acc5 in ffs_vget (mp=0xe31ed800, ino=613654, flags=2, vpp=0xe3f89ae0) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:810 #19 0xc03113bf in ufs_lookup (ap=0xe3f89b38) at /usr/src/sys/ufs/ufs/ufs_lookup.c:616 #20 0xc03183d8 in ufs_vnoperate (ap=0xe3f89b38) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1335 #21 0xc0246cbc in VOP_CACHEDLOOKUP (dvp=0xe3bcde10, vpp=0xe3f89c8c, cnp=0xe3f89ca0) at /usr/src/sys/kern/vfs_cache.c:898 #22 0xc0246119 in vfs_cache_lookup (ap=0xe3f89ba4) at /usr/src/sys/kern/vfs_cache.c:898 #23 0xc03183d8 in ufs_vnoperate (ap=0xe3f89ba4) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1335 #24 0xc024bc76 in VOP_LOOKUP (dvp=0xe3bcde10, vpp=0xe3f89c8c, cnp=0xe3f89ca0) at /usr/src/sys/kern/vfs_lookup.c:609 #25 0xc024b552 in lookup (ndp=0xe3f89c78) at /usr/src/sys/kern/vfs_lookup.c:609 #26 0xc024aec1 in namei (ndp=0xe3f89c78) at /usr/src/sys/kern/vfs_lookup.c:609 #27 0xc0256480 in unlink (td=0xe3ae2414, uap=0xe3f89cf8) at /usr/src/sys/kern/vfs_syscalls.c:640 #28 0xc036da82 in syscall (frame={tf_fs = -1078001617, tf_es = -1078001617, tf_ds = -1078001617, tf_edi = 139215696, tf_esi = 137186688, tf_ebp = -1078989448, tf_isp = -470246028, tf_ebx = 691347980, tf_edx = 137186775, tf_ecx = 691340424, tf_eax = 10, tf_trapno = 0, tf_err = 2, tf_eip = 689195527, tf_cs = 31, tf_eflags = 643, tf_esp = -1078989524, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:652 #29 0xc035c67d in syscall_with_err_pushed () at /var/tmp//ccqhs5l0.s:128 #30 0x293485b3 in ?? () #31 0x29344111 in ?? () #32 0x29345c36 in ?? () #33 0x28124784 in ?? () #34 0x2812489d in ?? () #35 0x2812f2d1 in ?? () #36 0x8095d1c in ?? () #37 0x80928c9 in ?? () #38 0x28166d5a in ?? () #39 0x28166ee5 in ?? () #40 0x28d19023 in ?? () #41 0x0 in ?? () (kgdb) up 15 #15 0xc01ee8f5 in propagate_priority (td=0xcac) at /usr/src/sys/kern/kern_mutex.c:574 574 } (kgdb) l 569 570 mtx_unlock_spin(&sched_lock); 571 } 572 573 return; 574 } 575 576 /* 577 * _mtx_lock_spin: the tougher part of acquiring an MTX_SPIN lock. 578 * (kgdb) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message