VirtualBox

16 年 前 建立

16 年 前 結束

#2421 closed defect (fixed)

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

回報者: Marcelo Bonatto 負責人:
元件: other 版本: VirtualBox 2.0.2
關鍵字: 副本:
Guest type: Windows Host type: Linux

描述

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.

附加檔案 (2)

Captura_da_tela.png (144.7 KB ) - 16 年 前, 由 Marcelo Bonatto 新增
Screen showed before open a guest OS. Virtual Box stay here and don't run any guest OS.
VBox.log (51.6 KB ) - 16 年 前, 由 Marcelo Bonatto 新增
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.

下載所有附檔: .zip

更動歷史 (13)

16 年 前Marcelo Bonatto 編輯

附檔: 新增 Captura_da_tela.png

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

16 年 前Marcelo Bonatto 編輯

附檔: 新增 VBox.log

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 16 年 前Sander van Leeuwen 編輯

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

comment:2 16 年 前Hummele 編輯

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 16 年 前Frank Mehnert 編輯

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 16 年 前Marcelo Bonatto 編輯

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 16 年 前Frank Mehnert 編輯

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 16 年 前Jonathan Blackhall 編輯

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 16 年 前Frank Mehnert 編輯

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 16 年 前Peter Hagen 編輯

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 16 年 前Frank Mehnert 編輯

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 16 年 前Frank Mehnert 編輯

摘要: 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 16 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

2.0.4 prints a proper error message in that case.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette