Running an up to date Gutsy, my workflow was something like this
====================
$ uname -a
Linux omniscience 2.6.22-11-generic #1 SMP Mon Sep 17 03:45:58 GMT 2007 i686 
GNU/Linux
$ sudo -i
# apt-get install linux-image-debug-`uname -r`
# mv vmlinuz-`uname -r`{,.old}
# ln -s vmlinux-debug-2.6.22-11-generic vmlinuz-2.6.22-11-generic

Make a boot entry for the .old (working) kernel after the end of the
automagical debian kernels stanza in /boot/grub/menu.lst

# reboot

Make sure that the "new" symlinked kernel is selected in the grub menu and an 
error comes up something like:
Executeable format not recognized.

Booting the fallback kernel works as expected.

$ ll -h /boot/vmlinuz-2.6.22-11-*
lrwxrwxrwx 1 root root 31 2007-09-18 12:18 vmlinuz-2.6.22-11-generic -> 
vmlinux-debug-2.6.22-11-generic
-rw-r--r-- 1 root root 1.7M 2007-09-16 23:15 /boot/vmlinuz-2.6.22-11-generic.old

Note that ll is an alias for ls -al in my bashrc.
====================

The same problem occurs in Feisty. How can I fix this? The advice in bug
#106957 doesn't work.

-- 
No debug info in the kernel makes tools like systemtap worthless
https://bugs.launchpad.net/bugs/115830
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to