From owner-freebsd-questions@FreeBSD.ORG Thu Oct 13 13:07:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C4A7616A421 for ; Thu, 13 Oct 2005 13:07:30 +0000 (GMT) (envelope-from eayesta@portugalete.uned.es) Received: from hermes-uno.uned.es (hermes-uno.uned.es [62.204.192.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7AE243D4C for ; Thu, 13 Oct 2005 13:07:27 +0000 (GMT) (envelope-from eayesta@portugalete.uned.es) Received: from hermes-uno.uned.es (localhost.localdomain [127.0.0.1]) by localhost.uned.es (Postfix) with ESMTP id DF2BF30D1FF for ; Thu, 13 Oct 2005 15:07:25 +0200 (CEST) Received: from proxy1-3.uned.es (bm103103-4.uned.es [10.103.103.4]) by hermes-uno.uned.es (Postfix) with ESMTP id CDADA30D1E8 for ; Thu, 13 Oct 2005 15:07:25 +0200 (CEST) Received: from eu83-213-54-87.clientes.euskaltel.es (eu83-213-54-87.clientes.euskaltel.es [83.213.54.87]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by proxy1-3.uned.es (Postfix) with ESMTP id 846925805C for ; Thu, 13 Oct 2005 15:07:25 +0200 (CEST) From: Enrique Ayesta Perojo To: freebsd-questions@freebsd.org Date: Thu, 13 Oct 2005 15:07:20 +0200 User-Agent: KMail/1.8.2 References: <000601c5cff4$97a83400$640010ac@neo> In-Reply-To: <000601c5cff4$97a83400$640010ac@neo> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510131507.21387.eayesta@portugalete.uned.es> Subject: Re: Upgrading to freebsd 5.4 STABLE from 5.3 kernel panic, what do i do to get data back? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 13:07:30 -0000 El Osteguna 13 Urria 2005 14:49, Alex escribi=F3: > Hello list! > > I have been successfully been running 5.3 for a couple of weeks when i > decided i should upgrade to 5.4 stable. Now the make world went fine > except mergemaster complaining it couldn't find usr/src/etc or something > similar. I made make buildkernel wich also went fine. But when I booted > into my upgraded system I got kernel panic, so I made another restart > and this time it went ok. > > Yestoday I removed SCSI card and DAT tape and NIC so I can have them in > my main server. > > Now i cant get past this: > > freebsd 5.4-stable > > kernel trap 12 with interupts disabled > > Fatal trap 12: page fault while in kernel mode > fault virtual address =3D 0x9 > fault code =3D supervisor write, page not present > instruction pointer =3D 0x8 :0xc077c073 > stack pointer =3D 0x10 :0xc0c20d00 > frame pointer =3D 0x10 :0xc0c20d0c > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, def32 1, gran 1 > processor eflags =3D resume, IOPL =3D 0 > current process =3D 0 () > trap number =3D 12 > panic: page fault > Uptime: 1s > > So my attack-plan is to reinstall system from scratch and never do make > buildworld & make buildkernel again, BUT, I have a whole lot of > information remaining on both disks that are in right now. From what I > could see in the installer, fbsd installer wont let me "install in a > different directory with filesystem still intact" like windows > does....or does it? > > Please help! :) You don't need to reinstall from scratch. Get into the boot loader prompt a= nd=20 type boot "kernel.old", this way you'll boot the old 5.3 kernel. Once there= ,=20 update your src tree and perform the upgrade following the instructions in= =20 the 20.4.1 chapter of the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html