On Tue, May 19, 2015 at 10:10:51PM -0500, Adam Thompson wrote:
> Trying to install OpenBSD 5.7-RELEASE amd64 onto a Toshiba Portege M400,
> with no success - the bootloader hangs right after printing out "fd0 hd0+".
> A (very) quick perusal of boot-related manpages doesn't suggest anything I
> can do to debug this, so I'm looking for suggestions.  Do I need to
> recompile the bootloader with some debug flag set?  Did I just zone out
> while reading the relevant part of a manpage?
> 
> (FWIW, WinXP, Ubuntu 15.04 and current Sysresccd all boot OK, so I'm pretty
> sure the hardware is fine.)

It might be trying to scan all disk devices for softraid meta data
and hang accessing one of then. How many disk devices are reported
by the BIOS? Any disk controller options in the BIOS you can toggle?

To debug you could try netbooting a pxeboot loader compiled with DEBUGFLAGS
set to some sensible value. But in a quick test amd64 pxeboot doesn't build
for me with DEBUGFLAGS=-DDEBUG so you'll have to do some bootloader hacking
to diagnose in this way. Adding printf() in strategic spots might work, too.
  edit /usr/src/sys/arch/amd64/stand/Makefile.inc to set DEBUGFLAGS
  cd /usr/src/sys/arch/amd64/stand/pxeboot
  make obj
  make 

Reply via email to