Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 00:30:18 -0400
From:      Munish Chopra <mchopra@engmail.uwaterloo.ca>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: panic: bdwrite: buffer is not busy
Message-ID:  <20020717043018.GA680@CPE0030ab0ef2bb.cpe.net.cable.rogers.com>
In-Reply-To: <20020716025206.GA651@CPE0030ab0ef2bb.cpe.net.cable.rogers.com>
References:  <20020716004215.GA899@CPE0030ab0ef2bb.cpe.net.cable.rogers.com> <20020716025206.GA651@CPE0030ab0ef2bb.cpe.net.cable.rogers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
After rebuilding world/kernel/debug today I get some better info (I fear
my debug kernel was out of synch with my running kernel before, but
because of my inexperience with debugging I didn't figure that out right
away):


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:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xc227e6f4
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc01db660
stack pointer	        = 0x10:0xd1f9ba7c
frame pointer	        = 0x10:0xd1f9ba94
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		= 55992 (smtpd)
trap number		= 12
panic: page fault

syncing disks... panic: bdwrite: buffer is not busy
Uptime: 3h49m4s
Dumping 256 MB
ata0: resetting devices .. done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0  doadump () at ../../../kern/kern_shutdown.c:213
213		dumping++;
(kgdb) where
#0  doadump () at ../../../kern/kern_shutdown.c:213
#1  0xc01bb513 in boot (howto=260) at ../../../kern/kern_shutdown.c:345
#2  0xc01bb71b in panic () at ../../../kern/kern_shutdown.c:491
#3  0xc01f8bdd in bdwrite (bp=0x104) at ../../../kern/vfs_bio.c:947
#4  0xc026b28d in ffs_update (vp=0xc1de5b58, waitfor=0) at ../../../ufs/ffs/ffs_inode.c:125
#5  0xc027df77 in ffs_fsync (ap=0xd1f9b8f4) at ../../../ufs/ffs/ffs_vnops.c:272
#6  0xc027c308 in ffs_sync (mp=0xc1c1ce00, waitfor=2, cred=0xc0ef6f00, td=0xc032e080) at vnode_if.h:463
#7  0xc0209e43 in sync (td=0xc032e080, uap=0x0) at ../../../kern/vfs_syscalls.c:127
#8  0xc01bb19c in boot (howto=256) at ../../../kern/kern_shutdown.c:254
#9  0xc01bb71b in panic () at ../../../kern/kern_shutdown.c:491
#10 0xc02c596e in trap_fatal (frame=0x100, eva=0) at ../../../i386/i386/trap.c:845
#11 0xc02c565c in trap_pfault (frame=0xd1f9ba3c, usermode=0, eva=3257394932)
    at ../../../i386/i386/trap.c:759
#12 0xc02c50b7 in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -1042227796, tf_ebp = -772162924, tf_isp = -772162968, tf_ebx = -1037572416, tf_edx = 180, tf_ecx = -1040183148, tf_eax = -1037572368, tf_trapno = 12, tf_err = 2, tf_eip = -1071794592, tf_cs = 8, tf_eflags = 66118, tf_esp = -1070377308, tf_ss = -772162904})
    at ../../../i386/i386/trap.c:445
#13 0xc02b73a8 in calltrap () at {standard input}:98
#14 0xc01f1269 in sowakeup (so=0xc1e0ddac, sb=0xc227e6c0) at ../../../kern/uipc_socket2.c:300
#15 0xc01f0e51 in soisconnected (so=0xc2096640) at ../../../kern/uipc_socket2.c:132
#16 0xc01f6c1d in unp_connect2 (so=0x0, so2=0xc1e0dd48) at ../../../kern/uipc_usrreq.c:769
#17 0xc01f6b7b in unp_connect (so=0xc24a6578, nam=0xc25bb300, td=0x0) at ../../../kern/uipc_usrreq.c:737
#18 0xc01f5c7e in uipc_connect (so=0x0, nam=0x0, td=0xc204d9c0) at ../../../kern/uipc_usrreq.c:161
#19 0xc01eee21 in soconnect (so=0xc2096640, nam=0x0, td=0x0) at ../../../kern/uipc_socket.c:429
#20 0xc01f2bcb in connect (td=0x0, uap=0xc1e0dd48) at ../../../kern/uipc_syscalls.c:441
#21 0xc02c5c70 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 11, tf_esi = 0, tf_ebp = -1077938120, tf_isp = -772162188, tf_ebx = 134704296, tf_edx = 2, tf_ecx = 0, tf_eax = 98, tf_trapno = 22, tf_err = 2, tf_eip = 671913163, tf_cs = 31, tf_eflags = 582, tf_esp = -1077938276, tf_ss = 47}) at ../../../i386/i386/trap.c:1049
#22 0xc02b73dd in syscall_with_err_pushed () at {standard input}:128
---Can't read userspace from dump, or kernel process---

If there's anything else than this I can provide, pleas let me know.

-- 
Munish Chopra

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?20020717043018.GA680>