Sergey Listopad | 2 Aug 2012 13:30
Picon

How to debug loader(8)

Hi.

I have as issue with booting FreeBSD on retro server.
loader(8) stuck during the boot (more details
http://docs.freebsd.org/cgi/mid.cgi?CAO_2TxM4_7YpPV9iTXeX6S7w4T1zqiZJa0ewe5KKiusdmNiVnw)

How can I debug why loader(8) is stuck. What information may be helpful?

Thanks.
--

-- 
S.Listopad
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Andrey V. Elsukov | 2 Aug 2012 15:55
Picon
Favicon

Re: How to debug loader(8)

On 02.08.2012 15:30, Sergey Listopad wrote:
> Hi.
> 
> I have as issue with booting FreeBSD on retro server.
> loader(8) stuck during the boot (more details
> http://docs.freebsd.org/cgi/mid.cgi?CAO_2TxM4_7YpPV9iTXeX6S7w4T1zqiZJa0ewe5KKiusdmNiVnw)
> 
> How can I debug why loader(8) is stuck. What information may be helpful?
Hi.

It seems that biosdisk driver can't detect any disks except floppy.
You can add some printfs to the bd_init() and bd_int13probe() functions
in the sys/boot/i386/libi386/biosdisk.c file. Then recompile the loader
and test. Also you can try to use grub loader, afaik it has a bit more
quirks to the known problems. If it will work, we can try to fix our
loader too.

--

-- 
WBR, Andrey V. Elsukov
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"

Sergey Listopad | 3 Aug 2012 16:36
Picon

Re: How to debug loader(8)

2012/8/2 Andrey V. Elsukov <ae <at> freebsd.org>:
> On 02.08.2012 15:30, Sergey Listopad wrote:
>> Hi.
>>
>> I have as issue with booting FreeBSD on retro server.
>> loader(8) stuck during the boot (more details
>> http://docs.freebsd.org/cgi/mid.cgi?CAO_2TxM4_7YpPV9iTXeX6S7w4T1zqiZJa0ewe5KKiusdmNiVnw)
>>
>> How can I debug why loader(8) is stuck. What information may be helpful?
> Hi.
>
> It seems that biosdisk driver can't detect any disks except floppy.
> You can add some printfs to the bd_init() and bd_int13probe() functions
> in the sys/boot/i386/libi386/biosdisk.c file. Then recompile the loader
> and test. Also you can try to use grub loader, afaik it has a bit more
> quirks to the known problems. If it will work, we can try to fix our
> loader too.
>
> --
> WBR, Andrey V. Elsukov

BIOS update have resolved issue.
Thanks for help. Sorry for noise.

--

-- 
S.Listopad
_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"
(Continue reading)


Gmane