| 1 | | Initializing the '''pfrc''' variable to some know value reveals that the variable remains uninitialized by the call to '''find_mapping_and_check()'''. |
| | 1 | Initializing the '''pfrc''' variable to some known value reveals that the variable remains uninitialized by the call to '''find_mapping_and_check()'''. After initializing it to 1234, I got: |
| | 2 | |
| | 3 | {{{ |
| | 4 | Thread 7 waiting for 1 frames, 1 available. |
| | 5 | Thread 36 woken up. |
| | 6 | Thread 36 waiting for 1 frames, 1 available. |
| | 7 | Thread 7 woken up. |
| | 8 | Thread 7 waiting for 1 frames, 1 available. |
| | 9 | Thread 36 woken up. |
| | 10 | EntryHi.asid=6, AS->asid=30 |
| | 11 | |
| | 12 | ######> Kernel panic on cpu0 due to the following reason: <###### |
| | 13 | Unexpected pfrc (1234). |
| | 14 | |
| | 15 | 0x816ebed0: generic/src/debug/stacktrace.o:stack_trace()+0x00000018 |
| | 16 | 0x816ebef8: generic/src/debug/panic.o:panic_common()+0x00000104 |
| | 17 | 0x816ebf30: arch/mips32/src/mm/tlb.o:tlb_refill()+0x000001e4 |
| | 18 | 0x816ebf68: arch/mips32/src/start.o:tlb_refill_handler()+0x000000d8 |
| | 19 | cpu0: halted |
| | 20 | }}} |
| | 21 | |
| | 22 | Note the extra debugging information on the kconsole before the panic. |