[OpenAFS] trouble loading the kernel module

David Bear David.Bear@asu.edu
Mon, 2 Feb 2009 18:14:44 -0700


--000e0cd482148512190461f965ec
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Thanks for the suggestion Simon. However, I think my kernel and kernel-mods
match -- unless I'm reading this wrong:

locate afs | grep ko
/lib/modules/2.6.9-78.0.1.EL/extra/openafs/openafs.ko

$ uname -a
Linux  2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 7 17:45:52 EST 2009 x86_64 x86_64
x86_64 GNU/Linux

I thought since the kernel says its SMP that I might need

http://openafs.org/dl/openafs/1.4.8/rhel4/x86_64/kmod-openafs-smp-1.4.8-1.1.2.6.9_78.EL.x86_64.rpm

but attempts to install that fail with the error:

error: Failed dependencies:
  kernel-smp-x86_64 = 2.6.9-78.EL is needed by
kmod-openafs-smp-1.4.8-1.1.2.6.9_78.EL.x86_64
  Suggested resolutions:

So, I'm little lost. Enlighten me please.

On Mon, Feb 2, 2009 at 2:32 PM, Simon Wilkinson <sxw@inf.ed.ac.uk> wrote:

>
> On 2 Feb 2009, at 21:10, David Bear wrote:
>
>  I just installed that latest openafs 1.4 on RHEL 4, using the rpm from
>> openafs.org.
>>
>>  [snip]
>
>> So, now do I need to modify a config file somewhere or symlink the
>> openafs.ko file to some standard location?
>>
>>
> You shouldn't need to do anything beyond this. There are a few things that
> you should check. Firstly, make sure that your running kernel matches the
> model you have installed - you can check the running kernel with uname -r.
> It's possible that you've upgraded the kernel, but not yet rebooted.
>
> Secondly, run depmod -a, just to make sure that the module dependency
> information is up to date.
>
> I think you've probably got a mismatch between AFS module, and running
> kernel version, though.
>
> S.
>
>


-- 
David Bear
College of Public Programs at ASU
602-464-0424

--000e0cd482148512190461f965ec
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>Thanks for the suggestion Simon. However, I think my kernel and kernel-m=
ods match -- unless I&#39;m reading this wrong:</p><p>locate afs | grep ko<=
br>/lib/modules/2.6.9-78.0.1.EL/extra/openafs/openafs.ko<br></p><p>$ uname =
-a<br>
Linux &nbsp;2.6.9-78.0.13.ELsmp #1 SMP Wed Jan 7 17:45:52 EST 2009 x86_64 x=
86_64 x86_64 GNU/Linux<br><br>I thought since the kernel says its SMP that =
I might need<br></p><p><a href=3D"http://openafs.org/dl/openafs/1.4.8/rhel4=
/x86_64/kmod-openafs-smp-1.4.8-1.1.2.6.9_78.EL.x86_64.rpm">http://openafs.o=
rg/dl/openafs/1.4.8/rhel4/x86_64/kmod-openafs-smp-1.4.8-1.1.2.6.9_78.EL.x86=
_64.rpm</a></p>
<p>but attempts to install that fail with the error:</p><p>error: Failed de=
pendencies:<br>&nbsp;       kernel-smp-x86_64 =3D 2.6.9-78.EL is needed by =
kmod-openafs-smp-1.4.8-1.1.2.6.9_78.EL.x86_64<br>&nbsp;   Suggested resolut=
ions:<br>
<br>So, I&#39;m little lost. Enlighten me please.<br></p><br><div class=3D"=
gmail_quote">On Mon, Feb 2, 2009 at 2:32 PM, Simon Wilkinson <span dir=3D"l=
tr">&lt;<a href=3D"mailto:sxw@inf.ed.ac.uk">sxw@inf.ed.ac.uk</a>&gt;</span>=
 wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div class=3D"Ih2E3d"><br>
On 2 Feb 2009, at 21:10, David Bear wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I just installed that latest openafs 1.4 on RHEL 4, using the rpm from <a h=
ref=3D"http://openafs.org" target=3D"_blank">openafs.org</a>.<br>
<br>
</blockquote></div>
[snip]<div class=3D"Ih2E3d"><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
So, now do I need to modify a config file somewhere or symlink the openafs.=
ko file to some standard location?<br>
<br>
</blockquote>
<br></div>
You shouldn&#39;t need to do anything beyond this. There are a few things t=
hat you should check. Firstly, make sure that your running kernel matches t=
he model you have installed - you can check the running kernel with uname -=
r. It&#39;s possible that you&#39;ve upgraded the kernel, but not yet reboo=
ted.<br>

<br>
Secondly, run depmod -a, just to make sure that the module dependency infor=
mation is up to date.<br>
<br>
I think you&#39;ve probably got a mismatch between AFS module, and running =
kernel version, though.<br><font color=3D"#888888">
<br>
S.<br>
<br>
</font></blockquote></div><br><br clear=3D"all"><br>-- <br>David Bear<br>Co=
llege of Public Programs at ASU<br>602-464-0424<br>

--000e0cd482148512190461f965ec--