On Sun, Jul 24, 2011 at 7:22 PM, Matthew Finkel
<matthew.fin...@gmail.com> wrote:
> On 07/24/11 22:02, Mark Knecht wrote:
>>
>> On Sun, Jul 24, 2011 at 5:16 PM, Daniel Wagener<st...@gmx.net>  wrote:
>>>
>>> On Sun, 24 Jul 2011 17:09:13 -0700
>>> Mark Knecht<markkne...@gmail.com>  wrote:
>>>
>>>> Hi,
>>>>    I just got around to trying my Virtualbox VMs under the new 3.0.0
>>>> kernel and they aren't working. It says vboxdrv is not set up. I drop
>>>> back to 2.6.39 and they run fine. Please note I really mean only the
>>>> VMs won't start. The Vbox GUI runs fine but then cannot start the VMs.
>>>>
>>>>    I used make oldconfig to get 3.0.0 working so maybe that caused the
>>>> problem but I don't yet see what's wrong looking at the config files.
>>>>
>>>>    Most likely this is some problem caused by the new numbering but I
>>>> Googled around looking for a solution and didn't find one. Has anyone
>>>> else here checked Virtualbox under the new kernel?
>>>>
>>>>    Note that VMWare seems to be running fine under 3.0.0, only
>>>> Virtualbox is failing.
>>>>
>>>> Thanks,
>>>> Mark
>>>>
>>> You know that these Modules have to be compiled against the running
>>> kernel? A re-emerge should do:
>>>
>>> emerge -1av virtualbox-modules
>>>
>>> Almost forgot: youd also have to reload these modules via modprobe (or
>>> rebooting *hides*)
>>>
>>>
>> Actually, I think I just figured it out. The new way of loading
>> modules re Baselayout/OpenRC I think requires that we tell it what
>> kernel version we're loading the modules for. I'm on the wrong machine
>> right now but this machine has this sort of stuff in
>> /etc/conf.d/modules:
>>
>> k2 ~ # cat /etc/conf.d/modules
>> # You can define a list modules for a specific kernel version,
>> # a released kernel version, a main kernel version or just a list.
>> #modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
>> #modules_2_6_23="tun ieee1394"
>> #modules_2_6="tun"
>> #modules="ohci1394"
>>
>> I'm guessing I need to modify this file to tell it to load the vbox
>> modules for 3_0 kernels....
>>
>> Would you concur?
>>
>> Cheers,
>> Mark
>>
> Yes, I believe that would be your issue. I just handled that when I first
> moved over to openrc that i just added:
>  modules="vboxdrv vboxnetadp vboxnetflt" without even thinking out/dealing
> with kernel versions.
>
> Give it a whirl and see if it works after you reload 'em.

Changed my modules file and now it works fine.

Does what you show above work with the new methods? I'd FAR rather
have that than this mess:

# aic7xxx
modules_2_6="${modules_2_6} agpgart"
module_agpgart_args_2_6=""

modules_2_6="${modules_2_6} nvidia"
module_nvidia_args_2_6=""

modules_2_6="${modules_2_6} vboxdrv"
module_vboxdrv_args_2_6=""

modules_2_6="${modules_2_6} vboxnetflt"
module_vboxnetflt_args_2_6=""

modules_2_6="${modules_2_6} vboxnetadp"
module_vboxnetadp_args_2_6=""

modules_3_0="${modules_3_0} agpgart"
module_agpgart_args_3_0=""

modules_3_0="${modules_3_0} nvidia"
module_nvidia_args_3_0=""

modules_3_0="${modules_3_0} vboxdrv"
module_vboxdrv_args_3_0=""

modules_3_0="${modules_3_0} vboxnetflt"
module_vboxnetflt_args_3_0=""

modules_3_0="${modules_3_0} vboxnetadp"
module_vboxnetadp_args_3_0=""

Anyway, it's working now so let that be a little guidance for anyone
running into this problem with the new numbering system.

Cheers,
Mark

Reply via email to