From owner-freebsd-stable Fri Feb 19 8:28:18 1999 Delivered-To: freebsd-stable@freebsd.org Received: from ceia.nordier.com (c2-34-dbn.dial-up.net [196.34.155.162]) by hub.freebsd.org (Postfix) with ESMTP id 295B111941 for ; Fri, 19 Feb 1999 08:27:57 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id SAA09720; Fri, 19 Feb 1999 18:23:55 +0200 (SAT) From: Robert Nordier Message-Id: <199902191623.SAA09720@ceia.nordier.com> Subject: Re: Crash at bootup; ?Boot blocks problem - please help! In-Reply-To: <000001be5b4e$d975b820$0405a8c0@bigdog> from KJH at "Feb 18, 99 08:56:22 am" To: kjhmdjd@ix.netcom.com (KJH) Date: Fri, 19 Feb 1999 18:23:51 +0200 (SAT) Cc: stable@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've just upgraded from 3.0-RELEASE (all ELF except the kernel) to > the -STABLE branch via cvsup with the RELENG_3 tag. > > I have 2 partitions - a DOS FAT partition (wd0s1) > and a FreeBSD partition (wd0S2) > > "make world" went fine with the new -STABLE sources. > > edited the kernel config file and rebuilt a new ELF > kernel ("make depend"; "make"; "make install") - went fine > > updated my boot blocks (or so I thought) with: > > "disklabel -B wd0" (and after trouble struck, tried > "disklabel -B wd0s2" and > "disklabel -B -b /boot/boot1 -s /boot/boot2 wd0" and > "disklabel -B -b /boot/boot1 -s /boot/boot2 wd0s2" without > any success ...) > > but now, at each reboot, the machine crashes and burns with: > > > F1 ... Dos > F2 ... FreeBSD > > Default: F2 > > int=0000000d err=00000000 efl=00030097 elp=00000f18 > eax=00000800 ebx=00000000 ecx=00000000 edx=00000080 > esi=00000000 edi=00000000 ebp=00000000 esp=00000408 > cs=c800 ds=0000 es=0000 fs=0000 gs=0000 ss=9edb > cs:eip=0f 20 c0 66 a9 00 00 00-80 66 58 75 14 80 fc 00 > ss:esp=00 08 00 00 02 00 87 91-00 00 02 02 00 00 00 00 > System halted > > Needless to say, this never happened with 2.2-STABLE or > 3.0-RELEASE. > The MBR is OK because I can still boot into the DOS partition. > > Obviously I've done something stupid. I've read the handbook; > the "ELF day" page, and the "Notes on the new bootblocks" page; > I've tried fixing this from the fixit floppy, but right now > I'm stuck with an unbootable machine. Please help! You didn't do anything stupid. Some firmware on the machine (probably the hard disk BIOS) is using a V86 instruction which is not presently supported by BTX, which hosts the new boot code. Please send me the output of dd if=/dev/mem bs=1024 skip=800 count=16 so I can see what is going on, and I'll let you have a revised set of boot blocks to try. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message