Skip to content

Commit

Permalink
x86: improve early fault/irq printout
Browse files Browse the repository at this point in the history
Impact: add a stack dump to early IRQs/faults

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jan 26, 2009
1 parent 34707bc commit d5e397c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/x86/kernel/head_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,9 @@ ignore_int:
pushl 40(%esp)
pushl $int_msg
call printk

call dump_stack

addl $(5*4),%esp
popl %ds
popl %es
Expand Down Expand Up @@ -652,7 +655,7 @@ early_recursion_flag:
.long 0

int_msg:
.asciz "Unknown interrupt or fault at EIP %p %p %p\n"
.asciz "Unknown interrupt or fault at: %p %p %p\n"

fault_msg:
/* fault info: */
Expand Down

0 comments on commit d5e397c

Please sign in to comment.