boot2 -> BTX halted, but loader(8) boots fine
Anton Shterenlikht
mexas at bristol.ac.uk
Sun Oct 1 16:34:35 PDT 2006
I'm trying to bootstrap the system using boot2 directly (bypassing
loader(8)) as described in the Admin Guide, in the Architecture Guide
and in the boot(8) man page. I have 3 different kernels. However,
no matter which kernel I choose at the boot prompt,
I always get "BTX halted". An example is reporduced below.
-
FreeBSD/i386 boot
Default 0:ad(0,a)/boot/loader
boot: /boot/kernel/kernel
int=00000006 err=00000000 efl=00010002 eip=c0443c30
eax=c0443c30 ebx=c0a273c4 ecx=c0a273c4 edx=a020001e
esi=00000050 edi=c0443c30 ebp=00002275 esp=0009eaf0
cs:eip=ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff-ff ff ff ff ff ff ff ff
ss:esp=69 95 00 00 00 00 00 80-1e 00 20 a0 00 00 00 00
00 00 00 00 00 00 00 00-a0 dc 00 78 4b 09 00 00
BTX halted
At this point I have to reboot with CTRL+ALT+DEL.
Only the following registers change for 3 different kernels:
eip = eax = edi, ebx = ecx, ebp. All other values do not change from one
kernel to another.
Bootstrapping with loader(8) works fine, I can load any kernel.
I use FreeBSD 6.0-release on compaq armada 1700 laptop with BIOS
dated 11/30/1999. I cannot find a newer BIOS version for this model.
I've read several reports regarding BTX halted issue on old compaq.
Most people report turing off UDMA or DMA in BIOS as a solution.
I cannot see any DMA settings in my BIOS (I used Compaq Computer
Setup for Portables, ver 2.01H dated 24 Jan 1999). I'm also not sure
if it applies in my case as booting with loader(8) works with no
problems.
I had a look at srs/sys/boot/i386/btx/btx/btx.S and I can see the point
at which the code makes this dump. But lack of asm knowledge prevents me
from getting any other information.
Perhaps somebody can give me a clue of what's wrong based on the
register values above?
thanks
anton
----- End forwarded message -----
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233
Fax: +44 (0)117 929 4423
More information about the freebsd-questions
mailing list