Re: Loader broken in Head?

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 31 Oct 2007 23:40:06 -0400
On Oct 31, 2007, at 5:11 PM, Red Neck wrote:

> The output of the loader is as follows:
>
> BTX loader 1.00    BTX version is 1.01
> Consoles: internal    video/keyboard
> BIOS drive C: is disk0
> BIOS drive D: is disk1
> BIOS drive E: is disk2
> BIOS 639kB/2090660kB available memory
>
> FreeBSD/i386 bootstrap loader, Revision 1.1
> (root_at_jerry, Thu Oct 25 23:37:25 BST 2007)
> \  ( <- spins forever)

Ok.  There are two things you can do to help debug this further:

1) Find the exact commit that breaks the loader for you.  There were  
a few commits before the GPT commit that you could try backing out  
to.  It should be sufficient to just change /sys/boot rather than the  
whole tree.

2) Start adding printfs (such as in open() in boot/common/open.c) to  
figure out what the loader is doing when the twiddle is spinning.   
The twiddle means it is doing disk I/O requests of some sort, so we  
need to see what it is trying to do.

-- 
John Baldwin
Received on Thu Nov 01 2007 - 02:42:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC