Getting FreeBSD 6.x running under Bochs?
Robert Watson
rwatson at FreeBSD.org
Thu Feb 3 06:12:58 PST 2005
I tried this morning to FreeBSD 6.x up and running under Bochs, but have
been running into two separate problems:
- When I attempt boot via /boot/loader, it appears to go into a tight
loop. Bochs is able to shut down fine, but clearly loader is not happy.
This happens during the "spinny" bit of the loader:
BTX loader 1.00 BTX version is 1.01
Console: internal video/keyboard
BIOS drive A: is disk0
BIOS drive B: is disk1
BIOS drive C: is disk2
BIOS 639kB/130048kB available memory
FreeBSD/i386 bootstrap loader, Revision 1.1
(rwatson at paprika, Thu Jan 27 12:32:46 GMT 2005)
-
- If I attempt to break out to boot2 and directly load the kernel, bochs
will exit with the following error once it finishes loading the kernel:
00000000000i[ ] installing x module as the Bochs GUI
00000000000i[ ] using log file bochsout.txt
========================================================================
Bochs is exiting with the following message:
[CPU ] prefetch: running in bogus memory
========================================================================
If I pull down the 4.7 FreeBSD image from the Bochs web site, that appears
to load fine. If I drop the loader binary from 4.7 onto the image I'm
using for 6.x, the loader runs fine, but of course can't read files from
the UFS2 partition. I'm guessing either this may be a loader bug, or
possibly a nasty Bochs BIOS/loader interaction. Is anyone else
successfully running 5.x or 6.x under Bochs, and if so, have you see
something like the above? Did you find a way around it?
Robert N M Watson
More information about the freebsd-emulation
mailing list