[Bug 562832] Re: module drbd8 update kernel from 2.6.32-16 to 2.6.32-20

crh chuebner at ffn.com
Thu May 20 21:02:36 BST 2010


The fix does not work on my freshly kickstarted ubuntu lucid server. The
result is the same, dkms complains that no kernel sources are installed
despite both generic and server headers are present.

The reason is that dkms tries to use the build link in
/lib/modules/2.6.32-21-generic (which does not exist) instead of the one
in /lib/modules/2.6.32-21-server (which does and correctly points to the
server headers).

The key to the whole issue is the use of uname -r (results in
...-generic) by dkms to determine where the kernel sources are. There
either needs to be a fix that creates the correct ...-server reference
out of 'uname -r' or a the kernel needs to be renamed ...-server so the
build reference does not have to be changed.

Adding a link /lib/modules/2.6.32-21-generic/build ->
/usr/src/2.6.32-21-server can serve as a workaround but is not a
sustainable solution.

The fix as provided does not work.


** Changed in: dkms (Ubuntu)
       Status: Invalid => Confirmed

-- 
module drbd8 update kernel from 2.6.32-16 to 2.6.32-20
https://bugs.launchpad.net/bugs/562832
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “dkms” package in Ubuntu: Confirmed
Status in “drbd8” package in Ubuntu: In Progress

Bug description:
I have installed drbd8-utils on Ubuntu Lucid 10.04 beta 1.
 After updating the kernel to 2.6.32-20-generic, the module drbd can't be loaded.
I have an error during the load :

FATAL: Error inserting drbd (/lib/modules/2.6.32-20-generic/updates/dkms/drbd.ko): Invalid module format

Dmesg : 

[  190.376039] drbd: disagrees about version of symbol module_layout

When i update the kernel, i can just see in the log :

ubuntu-laptop dkms_autoinstaller: drbd8 (8.3.7): Installing module on kernel 2.6.32-20-generic.

I think that the problem results from dkms program

ProblemType: Bug
Architecture: i386
Date: Wed Apr 14 09:47:41 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
Package: drbd8-utils 2:8.3.7-1ubuntu1
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-20.30-generic 2.6.32.11+drm33.2
SourcePackage: drbd8
Uname: Linux 2.6.32-20-generic i686





More information about the Ubuntu-sponsors mailing list