Gentoo Archives: gentoo-user

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