SMP patche i386
Ethan Solomita
ethan at cs.columbia.edu
Tue May 7 02:06:42 PDT 2002
Jim Houston wrote:
> On the first boot I let the system come up to multi-user
> When I hit pause key it hung.
>
Bummer! 8)
> more times. It seemed to be working.
>
> I changed kdb_flags to 0x20000. Still working.
>
> I disabled the breakpoint, did a go, pause again, cleared the
> breakpoint.
> then I cleared kdb_flags and did a go. Another pause and it was hung.
>
> Any idea why it hangs with the debug turned off aside from Murphy's law?
>
It's gotta be a race condition (obviously), and so by printing more stuff
you significantly change the timings. You might try turning off the
official debugging and adding some extremely terse limited messages.
You might also look for some of the various while() loops in kdb() and
kdb_main_loop() which wait for state to be set, and add a counter. If
the loops run more than a certain amount of times, print out a message.
Maybe take things one step at a time, and put a single print out at
first entry in kdb_ipi, and then remove it and put another one further
in. etc.
Just some thoughts that come to mind. This can be quite a pain.
-- Ethan
More information about the kdb
mailing list