1 |
On Wednesday 17 Feb 2016 17:01:51 Peter Humphrey wrote: |
2 |
> On Wednesday 17 February 2016 15:11:50 J. Roeleveld wrote: |
3 |
> > On Wednesday, February 17, 2016 01:32:56 PM Peter Humphrey wrote: |
4 |
> > > I'm going round in circles here. I've been running VirtualBox and |
5 |
> > > BOINC for years with no problems to speak of. |
6 |
> > > |
7 |
> > > Over the last year or more I've experienced mysterious failures in many |
8 |
> > > programs, some of them real nuisances, and recently I decided to replace |
9 |
> > > my RAM modules with a single matched set, which seems to have done the |
10 |
> > > trick - so far! It's required complete recompilation of everything, and |
11 |
> > > throwing away quite a lot of data that seemed to have been damaged at |
12 |
> > > some time (hello KMail). |
13 |
> > |
14 |
> > Corruption due to bad memory can't be blamed on the actual software. |
15 |
> |
16 |
> No, of course not. It's just that KMail can't cope with whatever kind of |
17 |
> damage was caused. Archiving and importing the 30,000 mails didn't cure it |
18 |
> either. |
19 |
> |
20 |
> > > Now however I can't get VirtualBox running properly. I've tried the |
21 |
> > > latest |
22 |
> > > stable version and two testing versions, but at every login via KDM I |
23 |
> > > get |
24 |
> > > a |
25 |
> > > pop-up notice "VBoxClient: the VirtualBox kernel service is not |
26 |
> > > running." |
27 |
> > > That's without any clients active or trying to be. If I then start |
28 |
> > > virtualbox- guest-additions I get this: |
29 |
> > > |
30 |
> > > # /etc/init.d/virtualbox-guest-additions start |
31 |
> > > |
32 |
> > > * Loading kernel modules |
33 |
> > > |
34 |
> > > modprobe: ERROR: could not insert 'vboxguest': No such device |
35 |
> > > modprobe: ERROR: could not insert 'vboxsf': No such device |
36 |
> > > |
37 |
> > > * ERROR: virtualbox-guest-additions failed to start |
38 |
> > |
39 |
> > This is ONLY for guests, NOT the host. |
40 |
> |
41 |
> As I thought. However, some BOINC projects download a .vdi file and present |
42 |
> it to VirtualBox as a guest. I wasn't sure (while going round in circles) |
43 |
> whether that required me to set some kernel options to suit. |
44 |
> |
45 |
> > > I assume I'm missing something in my kernel config, but I can't see |
46 |
> > > what. |
47 |
> > > |
48 |
> > > linux # grep -i virt .config |
49 |
> > > # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set |
50 |
> > > CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y |
51 |
> > > CONFIG_VIRT_TO_BUS=y |
52 |
> > > # CONFIG_FB_VIRTUAL is not set |
53 |
> > > # CONFIG_SND_VIRTUOSO is not set |
54 |
> > > CONFIG_VIRT_DRIVERS=y |
55 |
> > > # Virtio drivers |
56 |
> > > # CONFIG_VIRTIO_PCI is not set |
57 |
> > > # CONFIG_VIRTIO_MMIO is not set |
58 |
> > > # CONFIG_DEBUG_VIRTUAL is not set |
59 |
> > > CONFIG_VIRTUALIZATION=y |
60 |
> > |
61 |
> > VirtualBox does NOT use these. |
62 |
> > I only have the following set: |
63 |
> > # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set |
64 |
> > CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y |
65 |
> > CONFIG_VIRT_TO_BUS=y |
66 |
> |
67 |
> Okay. I've tried that and I still get the pop-up notice "VBoxClient: the |
68 |
> VirtualBox kernel service is not running." This is with version 4.3.32. I'll |
69 |
> try later versions and see what happens. Thanks for the info. |
70 |
> |
71 |
> > > Most of those unset values are for when this kernel is running as a |
72 |
> > > guest |
73 |
> > > of another OS, so I assume I don't need them when running as the host |
74 |
> > > OS. |
75 |
> > > Others I can't set because they're hidden until I set the values to be a |
76 |
> > > guest. |
77 |
> > > |
78 |
> > > I can find lots of other people struggling with this and similar |
79 |
> > > problems, |
80 |
> > > but no fix. |
81 |
> > > |
82 |
> > > Any ideas here? |
83 |
> > |
84 |
> > Yes, for the host, make sure you load the virtualbox modules: |
85 |
> > |
86 |
> > % lsmod | grep vbox |
87 |
> > vboxpci 12760 0 |
88 |
> > vboxnetflt 16280 0 |
89 |
> > vboxnetadp 17808 0 |
90 |
> > vboxdrv 347894 3 vboxnetadp,vboxnetflt,vboxpci |
91 |
> > |
92 |
> > |
93 |
> > I achieve this with the following: |
94 |
> > |
95 |
> > % cat /etc/conf.d/modules | grep vbox |
96 |
> > modules="vboxdrv vboxnetadp vboxnetflt vboxpci" |
97 |
> > |
98 |
> > These can be found in " app-emulation/virtualbox-modules " |
99 |
> > |
100 |
> > It tells you to do this in the post-emerge: |
101 |
> > * If you are using sys-apps/openrc, please add "vboxdrv", "vboxnetflt" |
102 |
> > * and "vboxnetadp" to: |
103 |
> > * /etc/conf.d/modules |
104 |
> |
105 |
> Yes, of course I did that long ago. I also found that it's important to |
106 |
> specify vboxnetadp before vboxnetflt, otherwise adp doesn't get loaded. |
107 |
|
108 |
Hmm ... it loads up here. However, I've now set it up as you suggest. |
109 |
-- |
110 |
Regards, |
111 |
Mick |