Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 14:12:09 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        freebsd-emulation@FreeBSD.org
Subject:   Getting FreeBSD 6.x running under Bochs?
Message-ID:  <Pine.NEB.3.96L.1050203140630.3610C-100000@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050203140630.3610C-100000>