From owner-freebsd-questions@FreeBSD.ORG Fri Feb 20 13:49:18 2004 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 0E3F216A4CE for ; Fri, 20 Feb 2004 13:49:18 -0800 (PST) Received: from rikers.spottydogs.org (rikers.spottydogs.org [66.93.82.162]) by mx1.FreeBSD.org (Postfix) with SMTP id 712A443D1F for ; Fri, 20 Feb 2004 13:49:17 -0800 (PST) (envelope-from MNewell@HQ.NASA.GOV) Received: (qmail 5839 invoked from network); 20 Feb 2004 21:49:16 -0000 Received: from unknown (HELO RABBIT) (198.116.138.168) by rikers.spottydogs.org with SMTP; 20 Feb 2004 21:49:16 -0000 From: "Mike Newell" To: "Tony Frank" , "Mike Newell" Date: Fri, 20 Feb 2004 16:49:00 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20040220030817.GA25852@marvin.home.local> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-questions@freebsd.org Subject: RE: Boot loop in FreeBSD 5.2-RELEASE after install - FIXED! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 21:49:18 -0000 Well THAT'S weird... I wondered if there might be some strange data left on the drive (I had a 4.7-RELEASE install on it prior to this), so I stopped the system in POST and entered the Adaptec system utilities. I then did a low-level format of the drive. Reinstalled and Hey Presto - booted up fine! I wonder if the /boot/loader program found some bad data left over from a prior install that it didn't validate and that corrupted the boot process? Dunno, but it's up now. THANKS!! Mike > -----Original Message----- > From: Tony Frank [mailto:tfrank@optushome.com.au] > Sent: Thursday, February 19, 2004 10:08 PM > To: Mike Newell > Cc: Tony Frank; freebsd-questions@freebsd.org > Subject: Re: Boot loop in FreeBSD 5.2-RELEASE after install > > > Hi, > > On Thu, Feb 19, 2004 at 09:48:04PM -0500, Mike Newell wrote: > > On Wed, 18 Feb 2004, Tony Frank wrote: > > tfrank> While I cannot perhaps comment on your problem, you can > try either pressing > > tfrank> 'pause' key or 'scrolllock' which might help depending > on where the problems > > tfrank> are occuring. > > They don't work. Fortunately I was able to: > > > > 1. Hook a null modem to the serial port and my laptop. > > 2. Run hyperterm on my laptop to view serial port data. > > 3. During the initial boot load hit ESC to get the "Boot:" promt, > > then do "-h" to switch to serial console. > > 4. Capture the stuff on the serial console. > > > > What it does is repeatedly go through the BTX boot loader, saying > > something like (this is from memory): > > > > BTX loader... > > BIOS Drive A is disk 0 > > BIOS Drive C is disk 1 > > BIOS Drive D is disk 2 > > > > BTX loader... > > BIOS Drive A is disk 3 > > BIOS Drive C is disk 4 > > BIOS Drive D is disk 5 > > > > BTX loader... > > > > and so on. Eventually it runs out of drive numbers and starts saying > > "Can't figure out our boot device" a few times, then crashes with an > > assert error. Looks like the loader is just looping until it > runs out of > > heap. > > That suggests that it may be confused somehow. > I saw the crash/assert type scenario if the boot blocks are not installed > properly. > Ie the MBR is updated with the bootmgr (F1 .. bit) but the 2nd/3rd stages > were corrupted somehow. > (In my case I accidentally overwrote the blocks with some > experiementation) > You can reinstall boot blocks using bsdlabel (or disklabel on 4.9) > If you can boot from floppy/CD, get into fixit mode. > Then run: > bsdlabel -B da0s1 (assuming da0 is the disk you are trying to boot from) > > > If I try to boot directly into the kernel the cursor changes from a > > blinking underscore to a solid block and the system just locks up. > > > > In no case is there an error message or any other indication that > > something is weird. > > Have you tried 4.9-RELEASE on this system? > > I understand that 5.2.1-RC2 ISO is also available which might be > another option. > > Regards, > > Tony >