Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 1999 18:23:51 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        kjhmdjd@ix.netcom.com (KJH)
Cc:        stable@freebsd.org
Subject:   Re: Crash at bootup; ?Boot blocks problem - please help!
Message-ID:  <199902191623.SAA09720@ceia.nordier.com>
In-Reply-To: <000001be5b4e$d975b820$0405a8c0@bigdog> from KJH at "Feb 18, 99 08:56:22 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902191623.SAA09720>