1 |
On Sun, 17 Dec 2006 18:43:52 -0700 |
2 |
Richard Fish wrote: |
3 |
|
4 |
> On 12/17/06, David Relson <relson@×××××××××××××.com> wrote: |
5 |
> > Looking in /lib/modules/2.6.19-gentoo-r1 directory misc has newly |
6 |
> > built modules vmmon.ko and vmnet.ko |
7 |
> |
8 |
> You need to make sure that /usr/src/linux points to the configured |
9 |
> sources of your currently running kernel. Otherwise vmmon and vmnet |
10 |
> will be built for the wrong kernel version (or wrong kernel config) |
11 |
> and fail to load. |
12 |
> |
13 |
> > |
14 |
> > It would seem that modprobe is looking in the wrong directory. |
15 |
> > Running "strace modprobe vmmon" shows a read of |
16 |
> > "/lib/modules/2.6.19-gentoo-r1/ke"..., which is (unfortunately) an |
17 |
> > incomplete path. |
18 |
> |
19 |
> Use the -s option to increase the length of the strings that strace |
20 |
> prints before truncating them...fex: "strace -s256 ..." |
21 |
> |
22 |
> -Richard |
23 |
|
24 |
Hi Richard, |
25 |
|
26 |
Feedback appreciated! |
27 |
|
28 |
/usr/src/linux is a symlink to the currently running kernel. The |
29 |
dates/times of the relevant files, i.e. |
30 |
|
31 |
/usr/src/linux/.config |
32 |
/etc/kernels/kernel-config-x86-2.6.19-gentoo-r1 |
33 |
/boot/initramfs-genkernel-x86-2.6.19-gentoo-r1 |
34 |
/boot/System.map-genkernel-x86-2.6.19-gentoo-r1 |
35 |
/boot/kernel-genkernel-x86-2.6.19-gentoo-r1 |
36 |
|
37 |
all match up. |
38 |
|
39 |
Using "strace -s4096 modprobe vmmon" show that file |
40 |
/lib/modules/2.6.19-gentoo-r1/modules.alias is being read |
41 |
just before the "FATAL: Module vmmon not found." message is |
42 |
displayed. |
43 |
|
44 |
It sounds like you have a working vmware-server environment. If so, |
45 |
where are your copies of vmmon.ko and vmnet.ko located and are they |
46 |
referenced in modules.alias? Also, any additional thoughts on what I |
47 |
should be looking at/for to solve the modprobe issue? |
48 |
|
49 |
Thanks. |
50 |
|
51 |
David |
52 |
-- |
53 |
gentoo-user@g.o mailing list |