openafs kernel module doesn't compile in mageia2

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

openafs kernel module doesn't compile in mageia2

Postby qpad » Jun 3rd, '12, 16:59

Hi everyone,

I've installed a 64 bits version of mageia2.
I'm having trouble with openafs.
The compilation of the kernel module fails because of the following error.

The dkms compilation line :
Code: Select all
SMP=SP; eval `grep CONFIG_SMP /boot/config-3.3.6-desktop-2.mga2`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/3.3.6-desktop-2.mga2/build; make MPS=$SMP


the compilation error :
Code: Select all
  CC [M]  /var/lib/dkms/libafs/1.4.14-2.mga2/build/src/libafs/MODLOAD-3.3.6-desktop-2.mga2-MP/afs_daemons.o
/var/lib/dkms/libafs/1.4.14-2.mga2/build/src/libafs/MODLOAD-3.3.6-desktop-2.mga2-MP/afs_daemons.c: In function ‘afs_CheckRootVolume’:
/var/lib/dkms/libafs/1.4.14-2.mga2/build/src/libafs/MODLOAD-3.3.6-desktop-2.mga2-MP/afs_daemons.c:379:18: erreur: ‘dcache_lock’ undeclared (first use in this function)
/var/lib/dkms/libafs/1.4.14-2.mga2/build/src/libafs/MODLOAD-3.3.6-desktop-2.mga2-MP/afs_daemons.c:379:18: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/libafs/1.4.14-2.mga2/build/src/libafs/MODLOAD-3.3.6-desktop-2.mga2-MP/afs_daemons.c:347:18: attention : unused variable ‘tvc’ [-Wunused-variable]


Then of course the module is not build and can't be loaded.

Any idea to solve this annoying issue ?

p-a
qpad
 
Posts: 4
Joined: Jun 3rd, '12, 16:54

Re: openafs kernel module doesn't compile in mageia2

Postby doktor5000 » Jun 3rd, '12, 20:41

Please show the output of
Code: Select all
rpm -qa | grep kernel
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: openafs kernel module doesn't compile in mageia2

Postby qpad » Jun 3rd, '12, 20:52

Hi,

Thanks for the answer, Here it is :

Code: Select all
root@localhost thunderbird]#     rpm -qa | grep kernel
kernel-firmware-20120219-1.mga2
nvidia-current-kernel-desktop-latest-295.49-4.mga2.nonfree
vboxadditions-kernel-3.3.6-desktop-2.mga2-4.1.12-5.mga2
kernel-firmware-nonfree-20120421-3.mga2.nonfree
kernel-desktop-latest-3.3.6-2.mga2
kernel-desktop-devel-latest-3.3.6-2.mga2
kernel-userspace-headers-3.3.6-1.mga2
kernel-desktop-devel-3.3.6-2.mga2-1-1.mga2
kernel-desktop-3.3.6-2.mga2-1-1.mga2
nvidia-current-kernel-3.3.6-desktop-2.mga2-295.49-4.mga2.nonfree
vboxadditions-kernel-desktop-latest-4.1.12-5.mga2


Is my kernel-userspace-headers-3.3.6-1.mga2 too old ?
qpad
 
Posts: 4
Joined: Jun 3rd, '12, 16:54

Re: openafs kernel module doesn't compile in mageia2

Postby doktor5000 » Jun 3rd, '12, 22:25

Which version of openafs are you trying to compile?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: openafs kernel module doesn't compile in mageia2

Postby qpad » Jun 3rd, '12, 23:13

I'm trying to compile the kernel module coming from the mageia package.

localhost[810]:firefox> rpm -qa | grep afs
dkms-libafs-1.4.14-2.mga2
openafs-1.4.14-2.mga2

I've noticed that the automatic compilation during install, and then during booting failed.
So I tried it 'by hand' to get the error message...
qpad
 
Posts: 4
Joined: Jun 3rd, '12, 16:54

Re: openafs kernel module doesn't compile in mageia2

Postby doktor5000 » Jun 3rd, '12, 23:18

Please report this as a bug: https://wiki.mageia.org/en/How_to_report_a_bug_properly
Seems openafs in Mageia doesn't currently have a maintainer, and seems it's quite outdated, current branches are 1.6 and 1.7 :(
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: openafs kernel module doesn't compile in mageia2

Postby qpad » Jun 3rd, '12, 23:24

Ouch.
Ok I'll report the bug.
thanks anyway !
qpad
 
Posts: 4
Joined: Jun 3rd, '12, 16:54


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest