Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Loading VirtualBox modules
Date: Tue, 23 Nov 2010 00:18:38
Message-Id: 201011230218.35809.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Loading VirtualBox modules by Mark Knecht
1 Apparently, though unproven, at 01:54 on Tuesday 23 November 2010, Mark Knecht
2 did opine thusly:
3
4 > On Mon, Nov 22, 2010 at 1:41 PM, Alan McKinnon <alan.mckinnon@×××××.com>
5 wrote:
6 > > One of my VirtualBox-3.2.10 modules does not load at boot.
7 > >
8 > > /etc/conf.d/modules:
9 > > modules_2_6="vboxdrv"
10 > > modules_2_6="vboxnetflt"
11 > > modules_2_6="vboxnetadp"
12 > >
13 > > Everytime, either vboxnetflt or vboxnetadp does not load. It's
14 > > consistent, one or the other does not load andit's always just one,
15 > > never neither or two. Today it just happens to be the former:
16 > >
17 > > $ lsmod | grep vboxnetflt
18 > > vboxnetflt 13107 0
19 > > vboxdrv 1737920 2 vboxnetflt,vboxnetadp
20 > >
21 > > Once booted, modprobe vboxnetflt works as intended.
22 > >
23 > > Neither dmesg nor messages has any clue. Both have only this identical
24 > > info:
25 > >
26 > > [ 12.460987] vboxdrv: Trying to deactivate the NMI watchdog
27 > > permanently... [ 12.460990] vboxdrv: Successfully done.
28 > > [ 12.460991] vboxdrv: Found 2 processor cores.
29 > > [ 12.461072] VBoxDrv: dbg - g_abExecMemory=ffffffffa0d91460
30 > > [ 12.461090] vboxdrv: fAsync=0 offMin=0x1b5 offMax=0xa5a
31 > > [ 12.461131] vboxdrv: TSC mode is 'synchronous', kernel timer mode is
32 > > 'normal'.
33 > > [ 12.461133] vboxdrv: Successfully loaded version 3.2.10 (interface
34 > > 0x00140001).
35 > >
36 > >
37 > > kernel is 2.6.36-ck, this has been happening since 2.6.34; and my Google
38 > > searches were fruitless.
39 > >
40 > > Anyone have pointers as to why this might happen?
41 > >
42 > >
43 > > --
44 > > alan dot mckinnon at gmail dot com
45 >
46 > Alan,
47 > This is probably to much apples vs oranges to be of any real help:
48 >
49 > 1) Running gentoo-sources-2.6.36-r1 here
50 > 2) Running baselayout1 so everything for me goes in modules.autoload.d
51 > 3) Prior to this email wasn't loading vboxnetadp
52 >
53 > I run a copy of M$ Windows Home Server in VBox to backup user data
54 > in my VMWare-Player XP/Win7 machines.
55 >
56 > I added vboxnetadp to modules.audioload.d/kernel_2.6 and it seems
57 > to load fine for me:
58 >
59 > c2stable ~ # lsmod | grep vbox
60 > vboxnetadp 3942 0
61 > vboxnetflt 11379 1
62 > vboxdrv 1720608 3 vboxnetadp,vboxnetflt
63 > c2stable ~ #
64 >
65 > I don't know what it does or how to test it but I'm not having any
66 > problems loading it.
67
68 Well whaddaya know. Even though our baselayouts are different, this got me
69 thinking. I changed /etc/conf.d/modules from this:
70
71 modules_2_6="vboxdrv"
72 modules_2_6="vboxnetflt"
73 modules_2_6="vboxnetadp"
74
75 to this:
76
77 modules_2_6="vboxdrv vboxnetflt vboxnetadp"
78
79 and now it works:
80
81 # lsmod | grep vbox
82 vboxnetadp 4374 0
83 vboxnetflt 13107 0
84 vboxdrv 1737920 2 vboxnetadp,vboxnetflt
85
86 Go figure :-)
87
88
89
90 --
91 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Loading VirtualBox modules Mark Knecht <markknecht@×××××.com>