kdb
[Top] [All Lists]

Re: KDB_ENTER() question

To: Keith Owens <kaos@xxxxxxx>
Subject: Re: KDB_ENTER() question
From: Josh Hunt <a1k0nsux@xxxxxxxxx>
Date: Thu, 30 Jun 2005 16:14:46 -0700
Cc: kdb@xxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l4kSUsoK4xkSwFXGyQ6C3QqNkmoke6pR0C1Qn3DjbPPFO/jor21vth7wbfTtN65wpStd1Nbg3/TUf9fMaGIjDDLYpZUKljP3ESM2HAlko67QvMQyOgSQTE8AYyNGT4A8+PG8Ng49aSrc8OQMh4kll6cNDQG5r1kJ9OVvPAjLo08=
In-reply-to: <47a96f6e0506300830278daa98@mail.gmail.com>
References: <47a96f6e05062921387f49d050@mail.gmail.com> <22275.1120115479@kao2.melbourne.sgi.com> <47a96f6e0506300830278daa98@mail.gmail.com>
Reply-to: Josh Hunt <a1k0nsux@xxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
As an update, I had been accessing it from the serial console and that
was hung.  When I access it locally it is working.  I will play around
with it some more.

Josh

On 6/30/05, Josh Hunt <a1k0nsux@xxxxxxxxx> wrote:
> This drops me into the debugger now, but the keyboard doesn't appear
> to be working.  I seem to remember a similar issue when I was
> searching for my problem yesterday.
> 
> Josh
> 
> On 6/30/05, Keith Owens <kaos@xxxxxxx> wrote:
> > kdb for i386 has a mismatch between the calling sequence in assembler
> > and C when the kernel is built with CONFIG_REGPARM.  Does this fix your
> > problem?
> >
> > Index: linux/include/linux/kdb.h
> > ===================================================================
> > --- linux.orig/include/linux/kdb.h      2005-06-30 16:19:07.000000000 +1000
> > +++ linux/include/linux/kdb.h   2005-06-30 16:54:27.000000000 +1000
> > @@ -107,7 +107,7 @@ typedef enum {
> >  } kdb_reason_t;
> >
> >  #ifdef CONFIG_KDB
> > -extern int   kdb(kdb_reason_t, int, struct pt_regs *);
> > +extern int asmlinkage kdb(kdb_reason_t, int, struct pt_regs *);
> >  #else
> >  #define kdb(reason,error_code,frame) (0)
> >  #endif
> > Index: linux/kdb/kdbmain.c
> > ===================================================================
> > --- linux.orig/kdb/kdbmain.c    2005-06-30 16:19:07.000000000 +1000
> > +++ linux/kdb/kdbmain.c 2005-06-30 16:54:48.000000000 +1000
> > @@ -1669,7 +1669,7 @@ kdb_main_loop(kdb_reason_t reason, kdb_r
> >   *       release all the cpus at once.
> >   */
> >
> > -int
> > +int asmlinkage
> >  kdb(kdb_reason_t reason, int error, struct pt_regs *regs)
> >  {
> >         kdb_intstate_t int_state;       /* Interrupt state */
> >
> >
>

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>