Skip to contentSkip to conversation

announce: kgdb 1.5 with reworked buggy smp handling

DISCUSSION Amit S. Kale 2 participants 4 messages Mar 29, 2002 – Mar 30, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

kgdb 1.5 at http://kgdb.sourceforge.net/

smp handling is completely reworked. Previous kgdb had a bug which caused it to hang when a processor spun with interrupts disabled and another processor enters kgdb. kgdb now uses nmi watchdog for holding other processors while a machine is in kgdb.

Signature · 4 lines
Amit S. Kale
Linux kernel source level debugger    http://kgdb.sourceforge.net/
	[29th March - kgdb-1.5 with reworked smp handling.]
Translation filesystem                http://trfs.sourceforge.net/
#1 lore raw
Quoted 7 lines · Amit S. Kale

kgdb 1.5 at http://kgdb.sourceforge.net/

smp handling is completely reworked. Previous kgdb had a bug which caused it to hang when a processor spun with interrupts disabled and another processor enters kgdb. kgdb now uses nmi watchdog for holding other processors while a machine is in kgdb.

IA64 disabled spin loops ignore NMI :(.

#2 lore raw
Quoted 5 lines · Keith Owens
Quoted 2 lines · Amit S. Kale

kgdb 1.5 at http://kgdb.sourceforge.net/

Quoted 7 lines
Quoted 5 lines

smp handling is completely reworked. Previous kgdb had a bug which caused it to hang when a processor spun with interrupts disabled and another processor enters kgdb. kgdb now uses nmi watchdog for holding other processors while a machine is in kgdb.

IA64 disabled spin loops ignore NMI :(.

Thanks for the info.

Isn't there any way get into an interrupt disabled spinning processor on an ia64 smp machine?

Signature · 4 lines
Amit S. Kale
Linux kernel source level debugger    http://kgdb.sourceforge.net/
	[29th March - kgdb-1.5 with reworked smp handling.]
Translation filesystem                http://trfs.sourceforge.net/
#3 lore raw
Quoted 12 lines · Amit S. Kale
Quoted 11 lines · Keith Owens
Quoted 7 lines · Amit S. Kale

kgdb 1.5 at http://kgdb.sourceforge.net/

smp handling is completely reworked. Previous kgdb had a bug which caused it to hang when a processor spun with interrupts disabled and another processor enters kgdb. kgdb now uses nmi watchdog for holding other processors while a machine is in kgdb.

Quoted 6 lines
Quoted 1 line

IA64 disabled spin loops ignore NMI :(.

Thanks for the info.

Isn't there any way get into an interrupt disabled spinning processor on an ia64 smp machine?

Only via an INIT interrupt. But that is also used to initialise a cpu at startup, INIT interrupts go through PAL and SAL and have side effects. I don't use them for kdb, they are too heavy.

For more background, see the thread "Replacements for local_irq_xxx()"
https://external-lists.vasoftware.com/archives//linux-ia64/2001-May/thread.html