VirtualBox

Ticket #5371 (new defect)

Opened 4 years ago

Last modified 3 years ago

NetBSD 5.0.1 won't install with software virtualization

Reported by: bbartlomiej Owned by:
Priority: major Component: VMM/RAW
Version: VirtualBox 3.0.10 Keywords:
Cc: Guest type: BSD
Host type: Linux

Description (last modified by frank) (diff)

Hello, I'd like to report that neither NetBSD 5.0.1 nor 5.0 installs on VirtualBox 3.0.10 on Linux host. Everything breaks exactly like in ticket #3947 - weird as it says it's been fixed in 3.0.6 I've tried everything like Zplay and nothing helps. Neither choosing different NetBSD installation options nor changing VM Guest options like ACPI, IO APIC, PAE/NX. FreeBSD boots and installs just fine - I heven't tried OpenBSD. The OS is Debian testing on Samsung NC10 (intel Atom N270, 2GB ram)

Attachments

VBox.log Download (45.5 KB) - added by bbartlomiej 4 years ago.
NetBSD 5.0.1.xml Download (3.7 KB) - added by bbartlomiej 4 years ago.
VBox - Gryph0n (Guru Meditation).log Download (101.9 KB) - added by Gryph0n 4 years ago.
VBox - Gryph0n (PAE Error).log Download (45.9 KB) - added by Gryph0n 4 years ago.
Abridged CPUZ - Gryph0n (Desktop, Working).txt Download (1.8 KB) - added by Gryph0n 4 years ago.
Abridged CPUZ - Gryph0n (Laptop, Crashing).txt Download (2.0 KB) - added by Gryph0n 4 years ago.

Change History

Changed 4 years ago by bbartlomiej

Changed 4 years ago by bbartlomiej

comment:1 Changed 4 years ago by kamome

Same here, on 3.0.8 (OSE, Ubuntu 9.10)

comment:2 Changed 4 years ago by q10

Same here, with vBox on Windows Vista on Dell Vostro 1510 (Core 2 Duo T5670, 4GB RAM). Tried doing every toggling combination of Guest options like ACPI, IO APIC, PAE/NX. The problem has not been resolved (in contrast to closed ticket #3947). There has been no problem of installing NetBSD 5.0.1 on Parallels.

Btw, we should add real NetBSD support into our list of supported guest OSes ( http://www.virtualbox.org/wiki/Guest_OSes). NetBSD isn't even on that list.

comment:3 Changed 4 years ago by frank

  • Component changed from other to VMM/RAW
  • Description modified (diff)
  • Summary changed from NetBSD 5.0.1 won't install on VirtualBox 3.0.10 r54097 to NetBSD 5.0.1 won't install with software virtualization

Ticket #3947 described a fix for VT-x/AMD-V. To install BSD a host with either VT-x or AMD-V is required. It will not work with software virtualization as BSD does some strange things in interrupt handling which can't be handled by VirtualBox. So, please check that your host CPU has VT-x or AMD-V available. The CPU of bbartlomiej (Atom N270) does not support VT-x.

comment:4 Changed 4 years ago by helton

netbsd 5.x is running good in others virtualization (without VT-x or AMD-V) programs such as qemu and vmware. Why not in VirtualBox?

comment:5 Changed 4 years ago by frank

You cannot compare the software virtualization mode of VirtualBox and Qemu. Qemu does only recompilation, VirtualBox does code patching. Just compare the performance of guests (32-bit or 64-bit) of Qemu with VirtualBox and you will agree that recompilation is notably slower. Regarding VMware: I don't know their implementation.

comment:6 Changed 4 years ago by MuffinFlavored

Windows 7 32-bit host, tried to boot NetBSD 5.0.1 ISO, same error.

Changed 4 years ago by Gryph0n

Changed 4 years ago by Gryph0n

Changed 4 years ago by Gryph0n

Changed 4 years ago by Gryph0n

comment:7 Changed 4 years ago by Gryph0n

I get the same issue on my Vista Laptop, with VirtualBox v3.0.12-54655. Its an Acer 4930, with Intel C2D T5800, running 32 bit Vista Home Premium (Service Pack 2).

The first time I tried installing 64 bit NetBSD 5.0.1 as guest, the VM crashed complaining the guest tried to use PAE. So, I enabled PAE for the guest, and rebooted. I then got a Guru meditation.

The weird thing is my desktop has no problems, and was able to install & run the same 64 bit NetBSD 5.0.1 just fine. Its an Intel C2D E6750, running 32 bit WinXP Professional (Service Pack 3).

My guest was 64 bit NetBSD 5.0.1 in both cases.

I've attached logs from my Laptop, and abridged CPU-Z reports from both systems.

comment:8 follow-up: ↓ 9 Changed 4 years ago by frank

Gryph0n, according to the subject of this ticket, VT-x or AMD-V is required to install BSD with VirtualBox. Your processors apparently lacks of VT-x (and the Intel processor feature tells the same).

MuffinFlavored, you didn't attach a VBox.log file.

comment:9 in reply to: ↑ 8 Changed 4 years ago by MuffinFlavored

Replying to frank:

Gryph0n, according to the subject of this ticket, VT-x or AMD-V is required to install BSD with VirtualBox. Your processors apparently lacks of VT-x (and the Intel processor feature tells the same).

MuffinFlavored, you didn't attach a VBox.log file.

I had VT-x disabled in BIOS, but enabled in VirtualBox. I tried enabling and disabling it. I was able to install successfully with VT-x enabled in BIOS and VirtualBox.

comment:10 Changed 4 years ago by bifferos

If I may add to the discussion, I understand that NetBSD cannot work without the hardware support, however it would be nice if this option wasn't selectable in the GUI for such cases, perhaps that should be the real 'bug' here (don't know if it's worth raising another ticket for that).

Just playing around with VB 3.2.6 (software emulation): I've tried NetBSD 5.0.2, and it doesn't work, but going back to NetBSD 4.0 it gets much further, kernel boots and it only fails during the install, complains it cannot write to the disk. I've also tried the latest OpenBSD, and got some odd errors out of the installer, so that doesn't seem to work too well either. FreeBSD, tested 4.11 and 8.0 and they install clean as a whistle.

So maybe the GUI should just give the option for FreeBSD, and let people work out if the others are OK by experimentation.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use