Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2002 15:31:57 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Michael Reifenberger <root@nihil.plaut.de>
Cc:        Martin Blapp <mb@imp.ch>, FreeBSD current users <current@FreeBSD.ORG>
Subject:   soft updates panic
Message-ID:  <Pine.BSF.4.21.0209141529211.82711-100000@InterJet.elischer.org>
In-Reply-To: <20020914221143.G592-100000@nihil>

next in thread | previous in thread | raw e-mail | index | archive | help

Ok so did or didnot ^Z/fg have any part of this?
Either way I think that the heading should be changed to "soft updates
panic.." so the right people see it..

On Sat, 14 Sep 2002, Michael Reifenberger wrote:

> Hi,
> On Sat, 14 Sep 2002, Martin Blapp wrote:
> 
> > Date: Sat, 14 Sep 2002 17:05:04 +0200 (CEST)
> > From: Martin Blapp <mb@imp.ch>
> > To: Julian Elischer <julian@elischer.org>
> > Cc: David Xu <davidxu@FreeBSD.org>, Julian Elischer <julian@FreeBSD.org>,
> >      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 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?Pine.BSF.4.21.0209141529211.82711-100000>