Page 1 of 1

virtualbox

Posted: Tue Jan 16, 2007 1:38 pm
by Mark139
just found http://www.virtualbox.org/ a x86 emulator that's been opend source.
Great thing is my little hobby OS booted :)

Posted: Tue Jan 16, 2007 3:50 pm
by Brynet-Inc
Now that's pretty cool.. Gotta love companies who start releasing products as Open Source.

It'll be nice to have a opensource "VMWare-like" emulator.

Don't get me wrong, Bochs/Qemu are great.. But I'm looking forward to attempting an OpenBSD port.

Posted: Wed Jan 17, 2007 12:02 am
by Brendan
Hi,
Mark139 wrote:just found http://www.virtualbox.org/ a x86 emulator that's been opend source.
I'm trying it - it looks good so far...
Mark139 wrote:Great thing is my little hobby OS booted :)
Lucky - mine says "ERROR: Overlapping memory areas detected" and refuses to boot. Must be either a bug in my code or a bug in their BIOS's "int 0x15, eax = 0xE820". Investigating....
Brynet-Inc wrote:Don't get me wrong, Bochs/Qemu are great..
Don't be too optimistic - it looks like Qemu with a GUI wrapper (and possibly with support for Intel's VMX and AMD's SVM added). My OS does say "Virtual machine detected: Qemu", and their web page says Qemu's source code was used for a lot of things (especially when the host CPU doesn't support VMX or SVM, like mine).


Cheers,

Brendan

Posted: Wed Jan 17, 2007 12:19 am
by Brendan
Hi,
Brendan wrote:Lucky - mine says "ERROR: Overlapping memory areas detected" and refuses to boot. Must be either a bug in my code or a bug in their BIOS's "int 0x15, eax = 0xE820". Investigating....
Hehe - that was easier than I thought - their BIOS is broken.

For a 4 MB machine I get a memory map like this:
  • 0x00000000 to 0x0009FBFF, 639 KiB of usable RAM
    0x0009FC00 to 0x0009FFFF, 1024 B of system area
    0x000F0000 to 0x000FFFFF, 65536 B of system area
    0x00100000 to 0x002FFFFF, 2048 KiB of usable RAM
    0x002F0000 to 0x002FFFFF, 65536 B of ACPI reclaimable RAM
    0xFFFC0000 to 0xFFFFFFFF, 256 KiB of system area
IMHO there's 2 problems here - it's only 3 MB of RAM (not 4 MB as requested), and the usable RAM overlaps with the ACPI reclaimable RAM when it shouldn't (and doesn't on all real computers I've ever tested my OS on).


Cheers,

Brendan

Posted: Wed Jan 17, 2007 9:20 am
by Brynet-Inc
Requires a ring0 kernel module, So I abandoned my port to OpenBSD indefinitely.

*Brynet-Inc types qemu*

Posted: Thu Jan 18, 2007 5:42 am
by AndrewAPrice
Surprisingly, I've never heard of it until now. Now it's my favourite VM-what-you-call-it.

Posted: Thu Jan 18, 2007 6:03 am
by AJ
Just installed it now and I'm pretty impressed! Cheers for the link.

Adam