[PANIC] page fault -> bremfree: removing a buffer not on a queue

From: Andreas Kohn <andreas.kohn_at_gmx.net>
Date: Wed, 18 Feb 2004 11:10:32 +0100
Hello,

yesterday my computer crashed with this panic:


panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x54
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc04fe5b4
stack pointer           = 0x10:0xcdb0d960
frame pointer           = 0x10:0xcdb0d96c
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         = 35 (swi3: cambio)
trap number             = 12
panic: page fault
at line 819 in file /usr/src/sys/i386/i386/trap.c

syncing disks, buffers remaining... panic: bremfree: removing a buffer
not on a queue
at line 647 in file /usr/src/sys/kern/vfs_bio.c

---

FreeBSD xxxxxx 5.2-CURRENT FreeBSD 5.2-CURRENT #36: Fri Feb 13 20:17:22
CET 2004     root_at_xxxxxx:/usr/obj/usr/src/sys/KLAMATH  i386

Before the panic happened, I was compiling/linking some software, and
watching TV (bttv/xawtv). The linking process gave some strange error
messages when linking to libGLcore.so (Nvidia drivers), which I can't
remember. I think it complained that that library wasn't valid, but
those messages repeated to fast to read & remember.

After rebooting, my /bin, /lib, and $HOME where lost ($HOME landed in
lost+found, I'm still sorting the files :D). I could restory /bin & /lib
with the help of /rescue and the contents of /usr/obj. 

I do have a crash dump available, so if you need more information I'd be
glad to provide it.

--
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0507e3a in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:374
#2  0xc0508115 in __panic () at /usr/src/sys/kern/kern_shutdown.c:552
#3  0xc0544795 in bremfreel (bp=0xc7c89318) at
/usr/src/sys/kern/vfs_bio.c:647
#4  0xc05446b8 in bremfree (bp=0xc7c89318) at
/usr/src/sys/kern/vfs_bio.c:629
#5  0xc0548268 in getblk (vp=0xc2d51a28, blkno=23710912, size=16384,
slpflag=0, slptimeo=0, flags=0) at /usr/src/sys/kern/vfs_bio.c:2466
#6  0xc0544819 in breadn (vp=0xc2d51a28, blkno=23710912, size=16384,
rablkno=0x0, rabsize=0x0, cnt=0, cred=0x0, bpp=0x0)
    at /usr/src/sys/kern/vfs_bio.c:700
#7  0xc05447e4 in bread (vp=0xc2d51a28, blkno=23710912, size=16384,
cred=0x0, bpp=0xd2973c04) at /usr/src/sys/kern/vfs_bio.c:682
#8  0xc05e5915 in ffs_update (vp=0xc30f8000, waitfor=0) at
/usr/src/sys/ufs/ffs/ffs_inode.c:108
#9  0xc05f8511 in ffs_fsync (ap=0xd2973c70) at
/usr/src/sys/ufs/ffs/ffs_vnops.c:325
#10 0xc05f76e7 in ffs_sync (mp=0xc2cb4c00, waitfor=3, cred=0xc14eae80,
td=0xc2cc4000) at vnode_if.h:627
#11 0xc0558562 in sync_fsync (ap=0xd2973ce4) at
/usr/src/sys/kern/vfs_subr.c:3355
#12 0xc055544d in sched_sync () at vnode_if.h:627
#13 0xc04f5fdd in fork_exit (callout=0xc05551e8 <sched_sync>, arg=0x0,
frame=0xd2973d48) at /usr/src/sys/kern/kern_fork.c:802
--

Regards,
Andreas Kohn

Received on Wed Feb 18 2004 - 01:10:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC