From owner-cvs-all Sat Sep 14 13:23:34 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC51937B400; Sat, 14 Sep 2002 13:23:26 -0700 (PDT) Received: from ns.plaut.de (ns.plaut.de [194.99.75.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id D587843E42; Sat, 14 Sep 2002 13:23:25 -0700 (PDT) (envelope-from root@nihil.plaut.de) Received: (from uucp@localhost) by ns.plaut.de (8.12.3/8.12.3) with UUCP id g8EKNDwI058600; Sat, 14 Sep 2002 22:23:13 +0200 (CEST) (envelope-from root@nihil.plaut.de) Received: from localhost (root@localhost) by nihil.plaut.de (8.12.6/8.12.2) with ESMTP id g8EKJZrp000615; Sat, 14 Sep 2002 22:19:36 +0200 (CEST) (envelope-from root@nihil.plaut.de) Date: Sat, 14 Sep 2002 22:19:34 +0200 (CEST) From: Michael Reifenberger To: Martin Blapp Cc: Julian Elischer , David Xu , Julian Elischer , , Subject: Re: cvs commit: src/sys/kern kern_thread.c In-Reply-To: <20020914165942.S3162-100000@levais.imp.ch> Message-ID: <20020914221143.G592-100000@nihil> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, On Sat, 14 Sep 2002, Martin Blapp wrote: > Date: Sat, 14 Sep 2002 17:05:04 +0200 (CEST) > From: Martin Blapp > To: Julian Elischer > Cc: David Xu , Julian Elischer , > cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org > Subject: Re: cvs commit: src/sys/kern kern_thread.c This patch didn't help: GNU gdb 5.2.0 (FreeBSD) 20020627 Copyright 2002 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-undermydesk-freebsd"... panic: bdwrite: buffer is not busy panic messages: --- panic: vm_fault: fault on nofault entry, addr: ca17b000 syncing disks... panic: bdwrite: buffer is not busy Uptime: 6h1m35s pfs_vncache_unload(): 2 entries remaining Dumping 1023 MB ata0: resetting devices .. (cd0:ata0:0:1:0): lost device (cd0:ata0:0:1:0): removing device entry 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 doadump () at ../../../kern/kern_shutdown.c:214 214 dumpsys(&dumper); (kgdb) bt #0 doadump () at ../../../kern/kern_shutdown.c:214 #1 0xc01b6fae in boot (howto=260) at ../../../kern/kern_shutdown.c:345 #2 0xc01b750d in panic (fmt=0xc02df661 "bdwrite: buffer is not busy") at ../../../kern/kern_shutdown.c:493 #3 0xc01f6743 in bdwrite () at ../../../kern/vfs_bio.c:947 #4 0xc024a6f2 in ffs_update (vp=0xc3dc7cb8, waitfor=0) at ../../../ufs/ffs/ffs_inode.c:125 #5 0xc025e3f9 in ffs_fsync (ap=0xe594f5fc) at ../../../ufs/ffs/ffs_vnops.c:303 #6 0xc025d967 in ffs_sync (mp=0xc2d57800, waitfor=2, cred=0xc22b7e80, td=0xc0303280) at vnode_if.h:597 #7 0xc020a2fb in sync (td=0xc0303280, uap=0x0) at ../../../kern/vfs_syscalls.c:130 #8 0xc01b6fdb in boot (howto=256) at ../../../kern/kern_shutdown.c:254 #9 0xc01b750d in panic (fmt=0xc033a200 "bdwrite: buffer is not busy") at ../../../kern/kern_shutdown.c:493 #10 0xc026eb0c in vm_fault () at ../../../vm/vm_fault.c:263 #11 0xc02afa2a in trap_pfault (frame=0xe594f8c0, usermode=0, eva=3390550130) at ../../../i386/i386/trap.c:748 #12 0xc02af439 in trap (frame= {tf_fs = -443285480, tf_es = -1071710192, tf_ds = -934281200, tf_edi = -904417172, tf_esi = -1024489472, tf_ebp = -443221408, tf_isp = -443221780, tf_ebx = 4096, tf_edx = -934280852, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1020787638, tf_cs = 8, tf_eflags = 66199, tf_esp = -934280852, tf_ss = -904417164}) at ../../../i386/i386/trap.c:446 #13 0xc02a0b28 in calltrap () at {standard input}:98 #14 0xc01fb1ab in vfs_cache_lookup (ap=0x0) at vnode_if.h:83 #15 0xc01ff929 in lookup (ndp=0xe594fc18) at vnode_if.h:54 #16 0xc01ff2ea in namei (ndp=0xe594fc18) at ../../../kern/vfs_lookup.c:181 #17 0xc020d0cf in stat (td=0xc2ef4840, uap=0xe594fd10) at ../../../kern/vfs_syscalls.c:1607 #18 0xc02affa3 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 135070148, tf_esi = 135278972, tf_ebp = -1077940824, tf_isp = -443220620, tf_ebx = 4, tf_edx = 135279040, tf_ecx = 0, tf_eax = 188, tf_trapno = 22, tf_err = 2, tf_eip = 134725951, tf_cs = 31, tf_eflags = 663, tf_esp = -1077940948, tf_ss = 47}) at ../../../i386/i386/trap.c:1050 #19 0xc02a0b7d in Xint0x80_syscall () at {standard input}:140 (kgdb) up #1 0xc01b6fae in boot (howto=260) at ../../../kern/kern_shutdown.c:345 345 doadump(); (kgdb) #2 0xc01b750d in panic (fmt=0xc02df661 "bdwrite: buffer is not busy") at ../../../kern/kern_shutdown.c:493 493 boot(bootopt); (kgdb) #3 0xc01f6743 in bdwrite () at ../../../kern/vfs_bio.c:947 947 panic("bdwrite: buffer is not busy"); (kgdb) #4 0xc024a6f2 in ffs_update (vp=0xc3dc7cb8, waitfor=0) at ../../../ufs/ffs/ffs_inode.c:125 125 bdwrite(bp); (kgdb) #5 0xc025e3f9 in ffs_fsync (ap=0xe594f5fc) at ../../../ufs/ffs/ffs_vnops.c:303 303 return (UFS_UPDATE(vp, wait)); (kgdb) #6 0xc025d967 in ffs_sync (mp=0xc2d57800, waitfor=2, cred=0xc22b7e80, td=0xc0303280) at vnode_if.h:597 597 rc = VCALL(vp, VOFFSET(vop_fsync), &a); (kgdb) #7 0xc020a2fb in sync (td=0xc0303280, uap=0x0) at ../../../kern/vfs_syscalls.c:130 130 ((td != NULL) ? td->td_ucred : NOCRED), td); (kgdb) #8 0xc01b6fdb in boot (howto=256) at ../../../kern/kern_shutdown.c:254 254 sync(&thread0, NULL); (kgdb) #9 0xc01b750d in panic (fmt=0xc033a200 "bdwrite: buffer is not busy") at ../../../kern/kern_shutdown.c:493 493 boot(bootopt); (kgdb) #10 0xc026eb0c in vm_fault () at ../../../vm/vm_fault.c:263 263 panic("vm_fault: fault on nofault entry, addr: %lx", (kgdb) #11 0xc02afa2a in trap_pfault (frame=0xe594f8c0, usermode=0, eva=3390550130) at ../../../i386/i386/trap.c:748 748 rv = vm_fault(map, va, ftype, VM_FAULT_NORMAL); (kgdb) #12 0xc02af439 in trap (frame= {tf_fs = -443285480, tf_es = -1071710192, tf_ds = -934281200, tf_edi = -904417172, tf_esi = -1024489472, tf_ebp = -443221408, tf_isp = -443221780, tf_ebx = 4096, tf_edx = -934280852, tf_ecx = 4, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1020787638, tf_cs = 8, tf_eflags = 66199, tf_esp = -934280852, tf_ss = -904417164}) at ../../../i386/i386/trap.c:446 446 (void) trap_pfault(&frame, FALSE, eva); (kgdb) #13 0xc02a0b28 in calltrap () at {standard input}:98 in {standard input} Current language: auto; currently asm (kgdb) BTW: The following commands as part of a /usr/local/etc/rc.d/AAAvnconfig.sh helps me a lot to get the panic more quuickly (only a few "make clean all" in www/mozilla ): #!/bin/sh mdconfig -a -t swap -s 128M -o reserve -u 10 disklabel -r -w md10 auto newfs -f 4096 /dev/md10c tunefs -n enable /dev/md10c mount /dev/md10c /tmp Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message