From: "Thushara Wijeratna" <thushw@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: some help in kernel debugging
Date: Fri, 17 Nov 2006 13:04:19 -0800 [thread overview]
Message-ID: <2625b9520611171304x213b3bc6h6e2a40d43ce4497c@mail.gmail.com> (raw)
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
next reply other threads:[~2006-11-17 21:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 21:04 Thushara Wijeratna [this message]
2006-11-20 8:53 ` Samuel Korpi
2006-11-21 20:56 ` Thushara Wijeratna
2006-11-21 22:42 ` Jeff V. Merkey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2625b9520611171304x213b3bc6h6e2a40d43ce4497c@mail.gmail.com \
--to=thushw@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®