[lkml]   [2006]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectsome help in kernel debugging
Hi All,

I'm following instructions at to get into kernel
debugging. Since it doesn't ask me to do a 'make modules;make
modules_install' on the test machine, I think I can't build a good
initrd image on the test machine (since mkinitrd requires a kernel
version which it checks under /lib/modules)?

What happens is that when I copy the kernel from my dev machine to
test, edit the test machine's grub.conf and reboot, I get a kernel
panic with message:

'not syncing: VFS: Unable to mount root fs on unknown-block(0,0)'

I added an initrd image, but since the kernel modules aren't installed
on the test machine, I gave the 2nd parameter to mkinitrd the version
of the kernel that is running on the test machine. I guess that's just
plain wrong - well the kernel still didn't boot.

Should I also install the same kernel (without the kgdb patch) on the
test machine as well?

This is my 1st attempt to debug the kernel and any help you can give
will be much appreciated to get me going...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-17 22:11    [W:0.035 / U:2.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site