OpenBSD 4.3 GUEST works! ...sort of

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.

OpenBSD 4.3 GUEST works! ...sort of

Postby Guest » 8. May 2008, 18:48

OpenBSD 4.2 & the new(May 1, 2008) 4.3 both will install and run as GUEST OS.
OpenBSD 4.2 in VirtualBox(1.5.6) and in Sun xVM VirtualBox(1.6)
OpenBSD 4.3 in Sun xVM VirtualBox(1.6)

Both only work in text mode. I cannot get X11 to run.
Part(all?) of this issue is that the vboxvideo driver is not available.

OpenBSD 4.3 dumps core a LOT; way too much for what is (supposedly) one of the most stable and secure *nix OS on planet Earth. Also I have not had even one successful build as user or root. They all fail at some point in the make|build process. None of the failures seem to be related beyond "Segmentation Fault" -core dumped result.
I don't have any prior experience with *BSD so part of the problem c/b (p/i) here|me.
But been using Linux since last century; lotsa builds ... so if a "real" install of OpenBSD is this buggy, I will toss *BSD to the loons however, since SVB 1.6 has multiple issues on multiple fronts, I have to wager the bet on the side of SVB being the one causing trouble.

Anyone else using *BSD, esp. OpenBSD, as a GUEST?
...your experience?


(note:
Current setup is using WinXPx64 as HOST.
X -configure *always* aborts so I am designating the "vga" driver which does not work or something else is killing the server(not in log).
)
Guest
 

OpenBSD is fine, VirtualBox is not

Postby syllopsium » 4. Jul 2008, 12:59

I can't even install OpenBSD 4.3 in VirtualBox Vista x64 SP1 here!
syllopsium
 
Posts: 2
Joined: 4. Jul 2008, 12:55

Same here -- can't even install OpenBsd 4.3

Postby Coffee_fan » 19. Jul 2008, 01:36

Hi, I wish I had seen your post before. Is there any trick on how you installed.

I posted my install problems here: http://forums.virtualbox.org/viewtopic.php?t=8021
Coffee_fan
 
Posts: 2
Joined: 18. Jul 2008, 21:03

Re: OpenBSD is fine, VirtualBox is not

Postby SSCBrian » 21. Jul 2008, 18:36

syllopsium wrote:I can't even install OpenBSD 4.3 in VirtualBox Vista x64 SP1 here!


Same here. OpenBSD 4.2, 4.3, FreeBSD, and NetBSD all lock up very early in the installer.
SSCBrian
Volunteer
 
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows 8 RTM (MSDN)

Postby kimec » 24. Jul 2008, 20:01

I'm running FreeBSD 7.0 as a guest under VirtualBox 1.5.6 on host Windows XP sp2 and it installed like charm. Networking works just perfect. I tested also bridging. I had to change network adapter to Intel PRO however. X also works. Didn't check sound.
kimec
 
Posts: 4
Joined: 24. Jul 2008, 16:59

Postby SSCBrian » 24. Jul 2008, 20:04

kimec wrote:I'm running FreeBSD 7.0 as a guest under VirtualBox 1.5.6 on host Windows XP sp2 and it installed like charm. Networking works just perfect. I tested also bridging. I had to change network adapter to Intel PRO however. X also works. Didn't check sound.


Were you able to install with a different network adapter, or did network just not work?
SSCBrian
Volunteer
 
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows 8 RTM (MSDN)

Postby kimec » 24. Jul 2008, 20:08

If I recall correctly networking worked trough NAT also with default network adapter but I couldn't bridge the VirtualBox and physical interface under Windows.
kimec
 
Posts: 4
Joined: 24. Jul 2008, 16:59

Postby vertex_vr4 » 25. Jul 2008, 16:21

I was struggling with OpenBSD 4.3 on VirtualBox as well - have finally got it to work. I also have X working (fvwm).

Running X -configure was dying on my system.

Heres what I hope is the secret sauce for everyone:

/usr/X11R6/bin/xorgconfig

Run through the rather exhaustive list of questions and at the end you should get a xorg.conf that works.

Enjoy,
John
vertex_vr4
 
Posts: 1
Joined: 25. Jul 2008, 15:54

Postby SSCBrian » 25. Jul 2008, 16:24

vertex_vr4 wrote:Heres what I hope is the secret sauce for everyone:

/usr/X11R6/bin/xorgconfig


I can't get that far. My install is blowing up right at the start of the installation. Complete lockup. :(
SSCBrian
Volunteer
 
Posts: 365
Joined: 13. Jun 2008, 15:04
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows 8 RTM (MSDN)

Poor OpenBSD support is a known problem.

Postby toxxic » 25. Jul 2008, 22:08

See http://www.nabble.com/Bug-reports-regarding-Innotek-VirtualBox-td15907184.html and http://www.virtualbox.org/ticket/639.

The Segfaults that you (and most everyone else) sees regularly while trying to run OpenBSD as a guest are a result of incorrect cpu register handling and poor x86 emulation on behalf of VirtualBox. OpenBSD's strong security record is partially a result of the fundamental goal of correctness, which means that OpenBSD is much less tolerant of flaky or out-of-spec hardware, whether that hardware is real or virtual.

Which is really unfortunate, because a thin, BSD-based operating system is especially good for things like embedded systems, and having a virtualized system to use for development and QA is a great thing.

The problem here is that the system that VirtualBox is emulating, is just not "real" enough to fool OpenBSD, particularly if VT-x is not turned on or not supported by the host processor. Hopefully, the 2.0 rewrite that Sun is doing will help to fix this.

I have had limited success using the -norawr0 option to VBoxHeadless and VBoxSDL (this is sufficient to get OpenBSD 4.3 to install on my non-VT-x hardware), but OpenBSD still throws random segfaults and other nasty behavior, when put under any sort of load (try rebuilding the system, for instance) -- in practice, it is pretty unusable... and it's completely useless for any sort of QA or other testing work.

I haven't really put NetBSD through its paces on either of my vbox builds yet (Sun's non-free one, and a fresh SVN build), but I'm not optimistic -- it also requires the -norawr0 option to even install.
[/url]
toxxic
 
Posts: 1
Joined: 25. Jul 2008, 21:47

Postby Technologov » 26. Jul 2008, 12:05

toxxic wrote:
>The Segfaults that you (and most everyone else) sees regularly while trying to run OpenBSD as a guest are a result of incorrect cpu register handling and poor x86 emulation on behalf of VirtualBox.

If you know specific details or patterns of x86 instructions that are failing in VirtualBox, then *please* add this to the bug report, as it will solve problems earlier.

-Technologov
Technologov
Volunteer
 
Posts: 3243
Joined: 10. May 2007, 16:59
Location: Israel

Postby sandervl » 26. Jul 2008, 16:25

If you want to run OpenBSD, then use a cpu with VT-x or AMD-V. We are aware of issues in the software virtualization mode, but have no plans to fix them. There is currently not enough customer demand to warrant the time and effort to investigate this.
sandervl
Volunteer
 
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows, Linux, Solaris

Postby ajd4096 » 29. Jul 2008, 06:16

sandervl wrote:If you want to run OpenBSD, then use a cpu with VT-x or AMD-V. We are aware of issues in the software virtualization mode, but have no plans to fix them.


Sounds like that would be a good point to start attacking the VM server.

A lot of minor "issues" eventually turn into vulnerabilities.

sandervl wrote:There is currently not enough customer demand to warrant the time and effort to investigate this.


Just adding my polite request to the "demand".
ajd4096
 
Posts: 4
Joined: 7. Nov 2007, 01:51

Re: OpenBSD 4.3 GUEST works! ...sort of

Postby winlinux » 18. Aug 2008, 19:38

fhj52 wrote:Both only work in text mode. I cannot get X11 to run.


That's what happened when I installed it. It worked as a guest just fine, but only in text mode. X wouldn't start and I didn't spend too much time on it. I did use it to SSH out to another machine, that was cool!
winlinux
 
Posts: 17
Joined: 18. Aug 2008, 09:16

Re: OpenBSD 4.3 GUEST works! ...sort of

Postby Guest » 4. Jan 2009, 03:07

winlinux wrote:
fhj52 wrote:Both only work in text mode. I cannot get X11 to run.


That's what happened when I installed it. It worked as a guest just fine, but only in text mode. X wouldn't start and I didn't spend too much time on it. I did use it to SSH out to another machine, that was cool!
Well, OpenBSD 4.4 and VirtualBox 2.1 are released. I'll give 'em another shot.
If there is some change, I'll post. (for better ...or worse)
Guest
 

Next

Return to Other Guests

Who is online

Users browsing this forum: No registered users and 5 guests