Re: How to debug fatal trap? running on vinum

2003-08-02 Thread Greg 'groggy' Lehey
On Friday,  1 August 2003 at 12:41:15 -0700, Richard Johannesson wrote:
 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 /usr/ports.

 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
 following:

 ---
 === 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

 ---

 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.

Sure, it's all in the man page, or at
http://www.vinumvm.org/vinum/how-to-debug.html.  Replacing a failed
disk is at http://www.vinumvm.org/vinum/replacing-drive.html.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


How to debug fatal trap? running on vinum

2003-08-01 Thread Richard Johannesson
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
/usr/ports.

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
following:

---
=== 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 0xf, 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.

Thanks,
Richard

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]