mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Wilkerson, Bryan P" <Bryan.P.Wilkerson@intel.com>
To: "George Anzinger" <george@mvista.com>,
	"Tom Rini" <trini@kernel.crashing.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: kgdb on EM64T
Date: Fri, 26 Aug 2005 07:27:47 -0700	[thread overview]
Message-ID: <194B303F2F7B534594F2AB2D87269D9F06E5CE22@orsmsx408> (raw)


Thanks you Tom and George for the tips on using kgdb with
2.6.13-rc4-mm1.  

I almost have it working but kgdb seems to have a few issues.  I can get
it running from the dev machine using the kgdb and console=kgdb boot
options on the test kernel.  The kernel waits as it should and when I
attach with "target remote /dev/ttyS0" and I can continue the boot but
eventually it gets to a point in the boot where it frees unused kernel
memory successfully and then a warning, "unable to open an initial
console",  followed by, "Kernel panic - not syncing: Attempted to kill
init!"

Removing the console=kgdb boot option and the machine boots all the way
to run level 5.   I tried to break into kgdb at this point using the 
	$echo -e "\003" > /dev/ttyS0
from the dev machine but the test kernel panics at gdb_interrupt+75 when
it receives anything on the serial port.  Hmmm...

I'm wondering if I'm maybe just the first to try this on EM64T (kernel
builds in the arch/x86_64 tree).   

Any suggestions welcome.

-bryan

             reply	other threads:[~2005-08-26 14:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 14:27 Wilkerson, Bryan P [this message]
2005-08-26 19:32 ` George Anzinger
2005-08-26 19:54   ` George Anzinger
2005-08-26 23:42 Wilkerson, Bryan P
2005-08-27  0:24 ` George Anzinger

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=194B303F2F7B534594F2AB2D87269D9F06E5CE22@orsmsx408 \
    --to=bryan.p.wilkerson@intel.com \
    --cc=george@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trini@kernel.crashing.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®