kdb
[Top] [All Lists]

patch for jack's x86_64 port

To: kdb@xxxxxxxxxxx, jfv@xxxxxxxxxxxx, kaos@xxxxxxx
Subject: patch for jack's x86_64 port
From: Steven Dake <sdake@xxxxxxxxxx>
Date: Mon, 13 Jun 2005 13:06:52 -0700
Organization: MontaVista Software, Inc.
Reply-to: sdake@xxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
Jack
I made a few changes to your patch to get KDB to work properly (on a
vendor kernel).  They mostly center around 3 things.
1. NMI handling didn't seem to work in my kernel (whic:h is not
kernel.org)

2. software or hardware breakpoints would always print the message
  1 out of 4 cpus in kdb, waiting for the rest, timeout in 10 second(s)
...3 cpus are not in kdb, their state is unknown

with a 10 second delay.  ss and go do the same sort of thing.

3. Finally get_wchan doesn't really work (atleast in my kernel) because
either a task is TASK_RUNNING, or schedule is at the top of the task
frame.  Hence get_wchan always returns 0, which makes the backtrace
comamnds not operate properly.

also, I believe there is a missing kdb_ipi call in traps.c, but i'm not
entirely sure about this one.

I'd appreciate comments on this patch as I'm new to x86_64 arch.

After this patch, kdb works like a champ in mv's vendor kernel.  Good
work on the port.

regards,
-steve



-- Binary/unsupported file stripped by Ecartis --
-- Type: text/x-patch
-- File: linux-2.6.10-sd.patch


---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>
  • patch for jack's x86_64 port, Steven Dake <=