Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Virtualbox VMs not running under 3.0.0-gentoo
Date: Mon, 25 Jul 2011 02:03:21
Message-Id: CAK2H+ecqs+6uWF5_2BLogx=un1k2H2hsJ_6XE2g--uMd6ycr+w@mail.gmail.com
1 On Sun, Jul 24, 2011 at 5:16 PM, Daniel Wagener <stelf@×××.net> wrote:
2 > On Sun, 24 Jul 2011 17:09:13 -0700
3 > Mark Knecht <markknecht@×××××.com> wrote:
4 >
5 >> Hi,
6 >>    I just got around to trying my Virtualbox VMs under the new 3.0.0
7 >> kernel and they aren't working. It says vboxdrv is not set up. I drop
8 >> back to 2.6.39 and they run fine. Please note I really mean only the
9 >> VMs won't start. The Vbox GUI runs fine but then cannot start the VMs.
10 >>
11 >>    I used make oldconfig to get 3.0.0 working so maybe that caused the
12 >> problem but I don't yet see what's wrong looking at the config files.
13 >>
14 >>    Most likely this is some problem caused by the new numbering but I
15 >> Googled around looking for a solution and didn't find one. Has anyone
16 >> else here checked Virtualbox under the new kernel?
17 >>
18 >>    Note that VMWare seems to be running fine under 3.0.0, only
19 >> Virtualbox is failing.
20 >>
21 >> Thanks,
22 >> Mark
23 >>
24 >
25 > You know that these Modules have to be compiled against the running
26 > kernel? A re-emerge should do:
27 >
28 > emerge -1av virtualbox-modules
29 >
30 > Almost forgot: youd also have to reload these modules via modprobe (or
31 > rebooting *hides*)
32 >
33 >
34
35 Actually, I think I just figured it out. The new way of loading
36 modules re Baselayout/OpenRC I think requires that we tell it what
37 kernel version we're loading the modules for. I'm on the wrong machine
38 right now but this machine has this sort of stuff in
39 /etc/conf.d/modules:
40
41 k2 ~ # cat /etc/conf.d/modules
42 # You can define a list modules for a specific kernel version,
43 # a released kernel version, a main kernel version or just a list.
44 #modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
45 #modules_2_6_23="tun ieee1394"
46 #modules_2_6="tun"
47 #modules="ohci1394"
48
49 I'm guessing I need to modify this file to tell it to load the vbox
50 modules for 3_0 kernels....
51
52 Would you concur?
53
54 Cheers,
55 Mark

Replies

Subject Author
Re: [gentoo-user] Virtualbox VMs not running under 3.0.0-gentoo Matthew Finkel <matthew.finkel@×××××.com>