[Prev][Next][Index][Thread]

Re: serial GDB and UVM / sproc



> OSKit snapshot.  Did you enable the following code in sproc/kernel.c
> which is currently commented out?
> 
>         gdb_trap_mask = (1 <<T_PAGE_FAULT) | (1 << T_NO_FPU);
> 
> This is necessary to make all page faults be ignored. (By default all
> page faults are reported to GDB as SIGSEGV).

I uncommented the line, and the error changes to:

UVM: kernel VA starts at 0x3000000 kernel assertion "vm" failed: file
"../../uvm/uvm/x86/oskit_uvm_pfault.c", line 110
 
Tid:0x1 P:0016f6c0 Backtrace: fp=16be18
 00115565 00105094 00125971 001116f7 _exit(1) called; rebooting...
 
Program exited with code 01.


Follow-Ups: