The interesting patch (#3) which "prevents a fatal page fault"
technically does not fix a CPU problem but a BIOS-related
(INT15) issue.

The BIOS is an XpressROM a059 labeled "3597", by the way.

The INT15 patch had no effect :-(.  It's a possibility that I have
patched the kernel wrongly, I'm new to both BSD and the pfSense
development environment.


Once you get to the debug prompt, the main thing, I believe,
is to run 'bt' and copy/paste that output back here to the list.

Ok, here goes.

DDB seems to be confused as to whether 'swapper' is pid 0 or pid 1 -
see near the end.


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xeb11f
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc00eb631
stack pointer           = 0x28:0xc0c209e0
frame pointer           = 0x28:0xc0c209e0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                       = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = base 0x0, limit 0xfffff, type 0x1b
                       = 0 (swapper)

[thread pid 0 tid 0 ]
Stopped at      0xc00eb631:     cmpb    %cs:0x1(%esi),%bl

db> tr
Tracing pid 0 tid 0 td 0xc0a72320
kernbase(c00f4fa2,c00f4fa0,c090c15d,a0a,68) at 0xc00eb631
_end(cb9d08c4,52495024,600100,9000,21078) at 0xc0c20a38

db> ps
 pid   proc     uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
  19 c1ea1a3c    0     0     0 0000204 [IWAIT] swi2: cambio
   8 c1dd920c    0     0     0 0000204 [RUNQ] kqueue taskq
  18 c1dd9418    0     0     0 0000204 [IWAIT] swi5: +
   7 c1dd9624    0     0     0 0000204 [RUNQ] thread taskq
  17 c1dd9830    0     0     0 0000204 [IWAIT] swi6: +
  16 c1dd9a3c    0     0     0 0000204 [IWAIT] swi6: task queue
  15 c1dd9c48    0     0     0 0000204 [RUNQ] yarrow
   6 c1dfd000    0     0     0 0000204 [RUNQ] crypto returns
   5 c1dfd20c    0     0     0 0000204 [RUNQ] crypto
   4 c1dfd418    0     0     0 0000204 [RUNQ] g_down
   3 c1dd4000    0     0     0 0000204 [RUNQ] g_up
   2 c1dd420c    0     0     0 0000204 [RUNQ] g_event
  14 c1dd4418    0     0     0 0000204 [IWAIT] swi3: vm
  13 c1dd4624    0     0     0 000020c [IWAIT] swi4: clock
  12 c1dd4830    0     0     0 0000204 [IWAIT] swi1: net
  11 c1dd4a3c    0     0     0 000020c [Can run] idle: cpu0
   1 c1dd4c48    0     0     0 0000200 [INACTIVE] swapper
  10 c1dd9000    0     0     0 0000204 [RUNQ] ktrace
   0 c0a72100    0     0     0 0000200 [CPU 0] swapper

db> show threads
 100026 (0xc1ea2320)  fork_trampoline() at fork_trampoline
 100008 (0xc1dd5320)  fork_trampoline() at fork_trampoline
 100009 (0xc1dd5190)  fork_trampoline() at fork_trampoline
 100010 (0xc1dd5000)  fork_trampoline() at fork_trampoline
 100011 (0xc1dda320)  fork_trampoline() at fork_trampoline
 100012 (0xc1dda190)  fork_trampoline() at fork_trampoline
 100013 (0xc1dda000)  fork_trampoline() at fork_trampoline
 100014 (0xc1dd6e10)  fork_trampoline() at fork_trampoline
 100015 (0xc1dd6c80)  fork_trampoline() at fork_trampoline
 100016 (0xc1dd6af0)  fork_trampoline() at fork_trampoline
 100000 (0xc1dd6000)  fork_trampoline() at fork_trampoline
 100001 (0xc1dd5e10)  fork_trampoline() at fork_trampoline
 100002 (0xc1dd5c80)  fork_trampoline() at fork_trampoline
 100003 (0xc1dd5af0)  fork_trampoline() at fork_trampoline
 100004 (0xc1dd5960)  fork_trampoline() at fork_trampoline
 100005 (0xc1dd57d0)  fork_trampoline() at fork_trampoline
 100006 (0xc1dd5640)  fork_trampoline() at fork_trampoline
 100007 (0xc1dd54b0)  fork_trampoline() at fork_trampoline
      0 (0xc0a72320)  kernbase(c00f4fa2,c00f4fa0,c090c15d,a0a,68) at 0xc00eb631

db> alltrace

Tracing command swi2: cambio pid 19 tid 100026 td 0xc1ea2320
fork_trampoline() at fork_trampoline

Tracing command kqueue taskq pid 8 tid 100008 td 0xc1dd5320
fork_trampoline() at fork_trampoline

Tracing command swi5: + pid 18 tid 100009 td 0xc1dd5190
fork_trampoline() at fork_trampoline

Tracing command thread taskq pid 7 tid 100010 td 0xc1dd5000
fork_trampoline() at fork_trampoline

Tracing command swi6: + pid 17 tid 100011 td 0xc1dda320
fork_trampoline() at fork_trampoline

Tracing command swi6: task queue pid 16 tid 100012 td 0xc1dda190
fork_trampoline() at fork_trampoline

Tracing command yarrow pid 15 tid 100013 td 0xc1dda000
fork_trampoline() at fork_trampoline

Tracing command crypto returns pid 6 tid 100014 td 0xc1dd6e10
fork_trampoline() at fork_trampoline

Tracing command crypto pid 5 tid 100015 td 0xc1dd6c80
fork_trampoline() at fork_trampoline

Tracing command g_down pid 4 tid 100016 td 0xc1dd6af0
fork_trampoline() at fork_trampoline

Tracing command g_up pid 3 tid 100000 td 0xc1dd6000
fork_trampoline() at fork_trampoline

Tracing command g_event pid 2 tid 100001 td 0xc1dd5e10
fork_trampoline() at fork_trampoline

Tracing command swi3: vm pid 14 tid 100002 td 0xc1dd5c80
fork_trampoline() at fork_trampoline

Tracing command swi4: clock pid 13 tid 100003 td 0xc1dd5af0
fork_trampoline() at fork_trampoline

Tracing command swi1: net pid 12 tid 100004 td 0xc1dd5960
fork_trampoline() at fork_trampoline

Tracing command idle: cpu0 pid 11 tid 100005 td 0xc1dd57d0
fork_trampoline() at fork_trampoline

Tracing command swapper pid 1 tid 100006 td 0xc1dd5640
fork_trampoline() at fork_trampoline

Tracing command ktrace pid 10 tid 100007 td 0xc1dd54b0
fork_trampoline() at fork_trampoline

Tracing command swapper pid 0 tid 0 td 0xc0a72320
kernbase(c00f4fa2,c00f4fa0,c090c15d,a0a,68) at 0xc00eb631
_end(cb9d08c4,52495024,600100,9000,21078) at 0xc0c20a38

db>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to