Hi,

I've had this same problem on a Lucid Lynx upgrade on all of our
servers.

It tried to upgrade 8.3.4 to 8.3.7

Version: 2.6.32-22-generic-pae
Upgraded from 2.6.31-19-generic-pae using do-release-upgrade
Server: PowerEdge 2650

After install, DRBD does not start:

* Starting DRBD resources                                                     
Can not load the drbd module.

modprobe drbd
FATAL: Module drbd not found.

To rebuild it and get it working, I performed these steps.  It seems the 
headers were missing, or the new version didn't build properly due to 
dependancy errors (I'm afraid I didn't keep them, but it was listing 2.6.28-?? 
headers and saying it depended on them, even though those packages don't exist 
on our server.
# Check module versions
dkms status

drbd8, 8.3.7, 2.6.32-22-generic, i686: installed
drbd8, 8.3.7, 2.6.31-19-generic-pae, i686: installed

# Manual rebuild (remove old ones first that appear in dkms status)
dkms remove -m drbd8 -v 8.3.7 -k 2.6.32-22-generic
dkms remove -m drbd8 -v 8.3.7 -k 2.6.31-19-generic-pae

# Check module versions
dkms status
(nothing shows)

# Try to clean up and re-install
apt-get remove drbd8-utils
apt-get autoremove
apt-get clean
apt-get install drbd8-utils
/etc/init.d/drbd start

* Starting DRBD resources                                                     
Can not load the drbd module.

# However, same problem, so tried to rebuild as follows:
dkms add -m drbd8 -v 8.3.7
apt-get install linux-headers-2.6.32-22-generic-pae
dkms build -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae
dkms install -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae

# On version warning error:
dkms uninstall -m drbd8 -v 8.3.7 -a 2.6.32-22-generic
dkms uninstall -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae
dkms install -m drbd8 -v 8.3.7 -a 2.6.32-22-generic-pae --force

# Check module versions
dkms status
drbd8, 8.3.7, 2.6.32-22-generic, i686: installed
drbd8, 8.3.7, 2.6.32-22-generic-pae, 2.6.32-20-generic: installed
drbd8, 8.3.7, 2.6.31-20-generic-pae, i686: installed

# Start it up
/etc/init.d/drbd start

I'm worried it won't automatically upgrade now that I've messed with the
builds in this way though.

Neale

-- 
package drbd8-source failed to install/upgrade: linux headers missing
https://bugs.launchpad.net/bugs/483410
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to