How to debug fatal trap? running on vinum

Richard Johannesson rtjohan at
Fri Aug 1 12:45:06 PDT 2003

Had FreeBSD5.1 on a box that had a physical hard-drive failure last week.
So, this time setup the box using mirrored 200GB drives using vinum
sub-disks. Setup multiple vinum partitions to help limit any file system
corruption. One of those partitions was /dev/vinum/ports which points to

Once the machine was setup with a minimal install, then did a restore from
the image made before the original hdd failure. I've never done that before,
so there is a possibility that I might have restored a file that I should
not have.

Got ports updated using cvsup. Then did a make reinstall of
/usr/ports/x11/kde3. The last thing I saw before fatal trap & reboot was the

===> Extracting for libxml2-2.5.8_1
>> Checksum OK for gnome/libxml2-2.5.8.tar.bz2.

Fatal trap 12: page fault while in kernel mode
fault virtual address    = 0x14
fault code               = supervisor write, page not present
instruction pointer      = 0x8:0xc02d15d9
stack pointer            = 0x10:0xcdb35aa8
frame pointer            = 0x10:0xcdb35adc
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          = 39 (buffdaemon)
trap number              = 12
panic: page fault
syncing disks, buffers remaining... panic: bremfree: removing a buffer not
on a queue
Terminate ACPI
Automatic reboot in 15 seconds -


Any tips on how to debug this or if there is an article that discusses how
to do this I would be very grateful for any help. The only way I know how to
fix is to rebuild everything - including setting up the vinum volume up
again. Takes too long, hoping for a better solution. Clearly a newbie.


More information about the freebsd-questions mailing list