Re: Ctrl-Alt-ESC during boot

看板DFBSD_kernel作者時間21年前 (2005/01/28 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串11/13 (看更多)
:but something bad is happening upon dereferencing td : :(kgdb) p td->td_cpl : :Chuck Tuffli :Agilent Technologies No, actually spl0() is working just fine. What is happening is that there is a pending interrupt marked and spl0 is calling splz() to process the pending interrupts. splz() is pure assembly... it doesn't have a frame pointer so GDB's backtrace doesn't see it. But you should be able to figure out the code that is actually running by examining the stack starting at the stack pointer and looking for addresses above 0xc0000000. You would have to compare them against a sorted namelist of the kernel binary (nm -n /kernel | less) to figure out which routine the kernel is actually in. It could be a stuck interrupt. That is, if an interrupt service routine runs but does not clear the source of the interrupt, the interrupt will remain pending and the interrupt service routine will run again in a tight loop. The interrupt rate limiting code is supposed to deal with that but that code might not be operational so early in the boot sequence. Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #11-VzV00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11-VzV00 (DFBSD_kernel)