On Tue, Oct 20, 2009 at 3:58 PM, Hugh Greenberg hng@lanl.gov wrote:
Seems to have gotten farther:
OK. So for some reason you can't read the LAPIC. I have no idea why that could be.
Anyone else wnat to chime in? His board hangs in udelay(), which just does lapi_read in a loop.
start = lapic_read(LAPIC_TMCCT); do { value = lapic_read(LAPIC_TMCCT); } while((start - value) < ticks);
If I make it time out after 1000000 reads, it continues, otherwise it hangs.
The only thing I can think is that the timer didn't get initialized. But I don't know why it would hang later. Maybe we should try no_smp with the workaround.
Patch attached to initialize the timer.
Thanks, Myles