BTX loader reboot on Soekris comBIOS1.22 fails (patches for btx.s and loader/main.c enclosed)

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Nov 16 10:24:50 PST 2003


In message <200311161233.NAA27227 at marabu.marabu.ch>, Adrian Steinmann writes:
>Soren
>
>We seem to have localized the loader reboot hang back to the first
>far jump happening in btx.s:
>
><ast at marabu.ch> observed:
>   > warm boot (writes 0x1234 to 0x472) and then jumps to the BIOS reboot
>   > handler:
>   > -		ljmp $0xffff,$0x0		# reboot the machine
>   >
>   > however in various literature it is mentioned that $0xf000,$0xfff0
>   > is bound to work better on most platforms, so I tried
>   > +		ljmp $0xf000,$0xfff0		# reboot the machine
>   >
>   > which indeed works! (OpenBSD, for example, uses ljmp $0xf000,$0xfff0).

committed to FreeBSD -current.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-hackers mailing list