public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* some help in kernel debugging
@ 2006-11-17 21:04 Thushara Wijeratna
  2006-11-20  8:53 ` Samuel Korpi
  0 siblings, 1 reply; 4+ messages in thread
From: Thushara Wijeratna @ 2006-11-17 21:04 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-21 22:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-17 21:04 some help in kernel debugging Thushara Wijeratna
2006-11-20  8:53 ` Samuel Korpi
2006-11-21 20:56   ` Thushara Wijeratna
2006-11-21 22:42     ` Jeff V. Merkey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox