VirtualBox

Opened 16 years ago

Closed 16 years ago

#2421 closed defect (fixed)

Can't boot VMs after host kernel upgrade (spawning session ...) => Fixed in 2.0.4

Reported by: Marcelo Bonatto Owned by:
Component: other Version: VirtualBox 2.0.2
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

In Ubuntu's kernel version 2.6.24-19, Virtual Box 2.0.2 works good. But today Ubuntu upgrade the kernel to 2.6.24-21 and Virtual Box stay in the message "Spawning session..." and don't open the guest OS. Occurs when I try open any guest OS (I have a Windows VM and a Ubuntu 8.10 VM). Virtual Box don't generate a log of this connection.

Attachments (2)

Captura_da_tela.png (144.7 KB ) - added by Marcelo Bonatto 16 years ago.
Screen showed before open a guest OS. Virtual Box stay here and don't run any guest OS.
VBox.log (51.6 KB ) - added by Marcelo Bonatto 16 years ago.
Log with description when I run in kernel 2.6.24-19. When I run in 2.6.24-21, don't generate a log.

Download all attachments as: .zip

Change History (13)

by Marcelo Bonatto, 16 years ago

Attachment: Captura_da_tela.png added

Screen showed before open a guest OS. Virtual Box stay here and don't run any guest OS.

by Marcelo Bonatto, 16 years ago

Attachment: VBox.log added

Log with description when I run in kernel 2.6.24-19. When I run in 2.6.24-21, don't generate a log.

comment:1 by Sander van Leeuwen, 16 years ago

You are aware of the fact that you must recompile the vbox kernel module when you upgrade your linux kernel?

comment:2 by Hummele, 16 years ago

I wanted just to report the same bug ;) It seems, like VirtualBox doesn't detected, that the kernel has changed after the update. At a "right" update of kernel normally a window with the information will pop up.

A simply /etc/init.d/vboxdrv setup helped me.

comment:3 by Frank Mehnert, 16 years ago

It is not the job of VirtualBox to detect a change in the environment. The check is if the module is available or not. If the module is not available, there could be several reasons, for instance, some data corruption changed the file and the kernel was not able to load it.

I suggest you to install the dkms package. AFAIR, this is mentioned in the user manual. DKMS will track kernel changes and recompile registered modules. The script for compiling vboxdrv will detect the presence of DKMS and register the module sources.

comment:4 by Marcelo Bonatto, 16 years ago

Ok, don't be furious, frank. After some hours, I decided re-install Virtual Box in kernel version 2.6.24-21 and it works. I think that it will be tested better by Virtual Box team and not only problems in Windows or Solaris.

Thanks for all.

comment:5 by Frank Mehnert, 16 years ago

I'm not furious at all, I just explained that the application cannot check every condition. I still suggest you to install the dkms package to prevent the same problem after the next kernel upgrade.

comment:6 by Jonathan Blackhall, 16 years ago

Thanks for the info about dkms frank. I didn't realize this would happen, but now that I've installed dkms and reinstalled virtualbox, I shouldn't have to worry about this anymore, right? If that's the case, is there any way to add this to the Linux Downloads page? It shouldn't matter for people who are just downloading the individual packages, but maybe in the instructions for adding the repository? Just having a little note to let you know would be very helpful for people like me :)

comment:7 by Frank Mehnert, 16 years ago

Added a note. Nevertheless I will leave this bug open because something is still wrong: The Spawning session window should not hang forever in that case. Have to investigate further.

comment:8 by Peter Hagen, 16 years ago

I noticed the same issue. I understand that its not virtualbox its problem that the kernel has changed, but when I started 'VirtualBox' from the command line, it does say:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module

available for the current kernel (2.6.24-21-generic) or it failed to load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.

Couldn't this message be displayed when start of a vm is pressed?

comment:9 by Frank Mehnert, 16 years ago

Sure. Until 1.6.6 exactly this would happen. With 2.0.0, the spawning session window problem was introduced. This will be fixed in 2.0.4.

comment:10 by Frank Mehnert, 16 years ago

Summary: After Ubuntu upgrade kernel to 2.6.24-21, Virtual Box don't open guest OSCan't boot VMs after host kernel upgrade (spawning session ...) => Fixed in 2.0.4

comment:11 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed

2.0.4 prints a proper error message in that case.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use