From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 3 14:12:58 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 019B316A4CE for ; Thu, 3 Feb 2005 14:12:58 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 933C443D2D for ; Thu, 3 Feb 2005 14:12:57 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with SMTP id 1566546B27 for ; Thu, 3 Feb 2005 09:12:57 -0500 (EST) Date: Thu, 3 Feb 2005 14:12:09 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: freebsd-emulation@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Getting FreeBSD 6.x running under Bochs? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 14:12:58 -0000 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