some help in kernel debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I'm following instructions at
http://kgdb.linsyssoft.com/quickstart.htm 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...

Thanks,
Thushara
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux