<br><br><div class="gmail_quote">On Tue, Oct 20, 2009 at 3:58 PM, Hugh Greenberg <span dir="ltr"><<a href="mailto:hng@lanl.gov">hng@lanl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Seems to have gotten farther:<br></blockquote><div><br>OK.  So for some reason you can't read the LAPIC.  I have no idea why that could be.<br><br>Anyone else wnat to chime in?  His board hangs in udelay(), which just does lapi_read in a loop.<br>
<br> start = lapic_read(LAPIC_TMCCT);<br>    do {<br>        value = lapic_read(LAPIC_TMCCT);<br>    } while((start - value) < ticks);<br><br>If I make it time out after 1000000 reads, it continues, otherwise it hangs.<br>
<br>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.<br><br>Patch attached to initialize the timer.<br>
<br>Thanks,<br>Myles<br></div></div><br>