public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: George Anzinger <george@mvista.com>
To: "Wilkerson, Bryan P" <Bryan.P.Wilkerson@intel.com>
Cc: Tom Rini <trini@kernel.crashing.org>, linux-kernel@vger.kernel.org
Subject: Re: kgdb on EM64T
Date: Fri, 26 Aug 2005 12:32:47 -0700	[thread overview]
Message-ID: <430F6E5F.9050702@mvista.com> (raw)
In-Reply-To: <194B303F2F7B534594F2AB2D87269D9F06E5CE22@orsmsx408>

Wilkerson, Bryan P wrote:
> 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).   

Possibly:).  Since the serial port seems to work (i.e. the first test 
above), the fault seems to be in handling the int3.  Is int3 the right 
instruction for this machine?  If not you would make the change in 
kgdb.h.  I think that is the only place it is defined.
> 
-- 
George Anzinger   george@mvista.com
HRT (High-res-timers):  http://sourceforge.net/projects/high-res-timers/

  reply	other threads:[~2005-08-26 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 14:27 kgdb on EM64T Wilkerson, Bryan P
2005-08-26 19:32 ` George Anzinger [this message]
2005-08-26 19:54   ` George Anzinger
  -- strict thread matches above, loose matches on Subject: below --
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=430F6E5F.9050702@mvista.com \
    --to=george@mvista.com \
    --cc=Bryan.P.Wilkerson@intel.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