virtualbox

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Mark139
Member
Member
Posts: 39
Joined: Mon Jan 15, 2007 2:32 pm

virtualbox

Post by Mark139 »

just found http://www.virtualbox.org/ a x86 emulator that's been opend source.
Great thing is my little hobby OS booted :)
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Requires a ring0 kernel module, So I abandoned my port to OpenBSD indefinitely.

*Brynet-Inc types qemu*
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

Surprisingly, I've never heard of it until now. Now it's my favourite VM-what-you-call-it.
My OS is Perception.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Just installed it now and I'm pretty impressed! Cheers for the link.

Adam
Post Reply