From owner-freebsd-questions@FreeBSD.ORG Fri Aug 1 12:45:06 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 508B837B401 for ; Fri, 1 Aug 2003 12:45:06 -0700 (PDT) Received: from station189.com (station189.com [203.194.198.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C9EA43FA3 for ; Fri, 1 Aug 2003 12:45:05 -0700 (PDT) (envelope-from rtjohan@syspres.com) Received: (qmail 17456 invoked from network); 1 Aug 2003 19:45:09 -0000 Received: from unknown (HELO rjc800) (12.234.42.231) by station189.com with SMTP; 1 Aug 2003 19:45:09 -0000 From: "Richard Johannesson" To: Date: Fri, 1 Aug 2003 12:41:15 -0700 Message-ID: <001a01c35864$df97d770$3d01a8c0@rjc800> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: How to debug fatal trap? running on vinum X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rtjohan@syspres.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 19:45:06 -0000 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: ------------------- =3D=3D=3D> 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 =3D 0x14 fault code =3D supervisor write, page not present instruction pointer =3D 0x8:0xc02d15d9 stack pointer =3D 0x10:0xcdb35aa8 frame pointer =3D 0x10:0xcdb35adc code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 39 (buffdaemon) trap number =3D 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