Problem with /boot/loader [A new patch]

John Baldwin jhb at freebsd.org
Mon Aug 11 21:23:49 UTC 2008


On Monday 11 August 2008 01:06:23 pm Eugene Grosbein wrote:
> On Mon, Aug 11, 2008 at 11:31:33AM -0400, John Baldwin wrote:
> 
> > > I've just rolled sys/boot/i386/btx back to RELENG_7_0_0_RELEASE
> > > leaving rest of src at 7.0-STABLE (plus your patch) and yes, I've got
> > > working loader!
> > 
> > Err, my patch should have failed (well, the btx.S part) if you had a 
> > 7.0-RELEASE sys/boot/i386/btx.
> 
> I've applied patch first, then replaced sys/boot/i386/btx with 7.0-RELEASE
> version.

Ok, I'm at a loss for why the new BTX doesn't work for you.  Unfortunately, 
this sort of thing isn't easy to debug.  If you have firewire (and another 
machine with firewire) then I have some debugging code I used with qemu to 
save a summary of the last request made by the loader to BTX.  That can at 
least indicate which BIOS call is hanging.  From there you can dissassemble 
your BIOS to try to determine if there are any spin loops and see what it is 
waiting on.

-- 
John Baldwin


More information about the freebsd-stable mailing list