1 |
On Tuesday 20 February 2007, Hans-Stefan Bauer <hsbauer@×××××××××××××.de> |
2 |
wrote about 'Re: [gentoo-user] HP Cluster on Gentoo': |
3 |
> Hallo, |
4 |
> |
5 |
> Boyd Stephen Smith Jr. schrieb: |
6 |
> > On Monday 19 February 2007 02:47, Hans-Stefan Bauer wrote: |
7 |
> >> storm1 hsbauer # /etc/init.d/gfs start |
8 |
> >> * Starting gfs cluster: |
9 |
> >> * Loading lock_dlm kernel module ... |
10 |
> >> FATAL: Error inserting lock_dlm |
11 |
> >> (/fs/gfs_locking/lock_dlm/lock_dlm.ko): Unknown symbol in module, or |
12 |
> >> unknown parameter (see dmesg) |
13 |
> >> * Failed to load lock_dlm kernel |
14 |
> >> module [ !! ] |
15 |
> > |
16 |
> > Check your kernel configuration, particularly the "Distributed Lock |
17 |
> > Manager" |
18 |
> > option, CONFIG_DLM. You may need that part of mainline so that your |
19 |
> > out-of-tree module works. |
20 |
> |
21 |
> Thank you for the fast answer. I looked into the file |
22 |
> "/usr/src/linux/.config". There is no variable CONFIG_DLM in it. Also |
23 |
> with a "make menuconfig" I did not find a possibility to select it. |
24 |
|
25 |
Here's the search results against my running kernel (2.6.19-gentoo-r2). |
26 |
|
27 |
Symbol: DLM [=n] |
28 |
Prompt: Distributed Lock Manager (DLM) |
29 |
Defined at fs/dlm/Kconfig:4 |
30 |
Depends on: INET && IP_SCTP && EXPERIMENTAL && (IPV6 || IPV6=n) |
31 |
Location: |
32 |
-> File systems |
33 |
-> Distributed Lock Manager |
34 |
Selects: CONFIGFS_FS |
35 |
Selected by: GFS2_FS_LOCKING_DLM && BLOCK && GFS2_FS |
36 |
|
37 |
I was unable to find it in my older kernel (2.6.18-gentoo), so perhaps a |
38 |
kernel upgrade could solve (part of) your issue. Of course, any |
39 |
out-of-tree modules will have to be compiled after you fix up |
40 |
your /usr/src/linux symlink. 'module-rebuild' can help with that. |
41 |
|
42 |
2.6.19-gentoo-r2 also provides: |
43 |
|
44 |
Symbol: GFS2_FS_LOCKING_DLM [=n] |
45 |
Prompt: GFS2 DLM locking module |
46 |
Defined at fs/gfs2/Kconfig:34 |
47 |
Depends on: BLOCK && GFS2_FS |
48 |
Location: |
49 |
-> File systems |
50 |
-> GFS2 file system support (GFS2_FS [=n]) |
51 |
Selects: DLM |
52 |
|
53 |
Which probably makes sys-cluster/gfs-kernel unecessary, too. |
54 |
|
55 |
> >> Apart from the occurring problem it is strange for me that emerge |
56 |
> >> installs the kernel module into the root directory of the system (see |
57 |
> >> error message above) and not into "/lib/modules/..." as I would |
58 |
> >> expect. |
59 |
> > |
60 |
> > Hrm, double-check (by looking at your filesystem) to make sure it's in |
61 |
> > the wrong place. If so, please file a bug, that behavior is broken. |
62 |
> |
63 |
> I redirected the output of an emerge into a file with the following |
64 |
> command: |
65 |
|
66 |
I might look at this, but the easiest way to see if it's in the wrong |
67 |
location is just find it on the filesystem. (I don't trust the output of |
68 |
emerge all the time anyway -- some packages do stupid things like ignoring |
69 |
$ROOT and whotnot.) |
70 |
|
71 |
> >>> /cluster/dlm.ko |
72 |
|
73 |
Hrm, make sure this is modprobed before gfs tries to load lock_dlm. That |
74 |
might solve your issue without a kernel upgrade. In my first post, I |
75 |
didn't consider the fact that you have sys-cluster/dlm-kernel (which |
76 |
provides the out-of-tree dlm.ko) despite the fact that you mentioned it. |
77 |
|
78 |
-- |
79 |
Boyd Stephen Smith Jr. ,= ,-_-. =. |
80 |
bss03@××××××××××.net ((_/)o o(\_)) |
81 |
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' |
82 |
http://iguanasuicide.org/ \_/ |
83 |
New GPG Key! Old key expires 2007-03-25. Upgrade NOW! |