Following up on this thread from earlier this year, I installed the
recent debug kernel
  http://www.pfsense.com/~sullrich/debugging_kernels/1.0-RC2/kernel.gz
on my Nokia IP120 and then ran some ddb commands after the kernel
trapped while booting.

Can anyone please provide some guidance how to further debug this
problem of FreeBSD 6.1 not booting on Nokia Geode plattforms?

Thanks,
Rolf


GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
       The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE-p3 #0: Tue Aug 22 16:59:36 UTC 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/pfSense_wrap.6.DEBUG
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by National Semi (266.68-MHz 586-class CPU)
 Origin = "Geode by NSC"  Id = 0x540  Stepping = 0
 Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
real memory  = 134217728 (128 MB)
avail memory = 121913344 (116 MB)
wlan: mac acl policy registered
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 3 Entries> on motherboard
pci0: <PCI bus> on pcib0


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xeb11f
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc00eb621
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         = 0 (swapper)
[thread pid 0 tid 0 ]
Stopped at      0xc00eb621:     cmpb    %cs:0x1(%esi),%bl


db> p
c00eb621


db> show allpcpu
Current CPU: 0

cpuid        = 0
curthread    = 0xc0942c40: pid 0 "swapper"
curpcb       = 0xc0c20d90
fpcurthread  = none
idlethread   = 0xc14d6780: pid 11 "idle"
APIC ID      = 0
currentldt   = 0x50


db> ps
 pid   proc     uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
  19 c156ea3c    0     0     0 0000204 [IWAIT] swi6: +
  18 c14da20c    0     0     0 0000204 [IWAIT] swi6: task queue
   8 c14da418    0     0     0 0000204 [RUNQ] kqueue taskq
  17 c14da624    0     0     0 0000204 [IWAIT] swi2: cambio
  16 c14da830    0     0     0 0000204 [IWAIT] swi5: +
   7 c14daa3c    0     0     0 0000204 [RUNQ] thread taskq
  15 c14dac48    0     0     0 0000204 [RUNQ] yarrow
   6 c14f6000    0     0     0 0000204 [RUNQ] crypto returns
   5 c14f620c    0     0     0 0000204 [RUNQ] crypto
   4 c14f6418    0     0     0 0000204 [RUNQ] g_down
   3 c14d5000    0     0     0 0000204 [RUNQ] g_up
   2 c14d520c    0     0     0 0000204 [RUNQ] g_event
  14 c14d5418    0     0     0 0000204 [IWAIT] swi3: vm
  13 c14d5624    0     0     0 000020c [IWAIT] swi4: clock
  12 c14d5830    0     0     0 0000204 [IWAIT] swi1: net
  11 c14d5a3c    0     0     0 000020c [Can run] idle
   1 c14d5c48    0     0     0 0000200 [INACTIVE] swapper
  10 c14da000    0     0     0 0000204 [RUNQ] ktrace
   0 c0942a20    0     0     0 0000200 [CPU 0] swapper



db> set $lines 0
db> allt

Tracing command swi6: + pid 19 tid 100026 td 0xc156f300
fork_trampoline() at fork_trampoline

Tracing command swi6: task queue pid 18 tid 100008 td 0xc14d6300
fork_trampoline() at fork_trampoline

Tracing command kqueue taskq pid 8 tid 100009 td 0xc14d6180
fork_trampoline() at fork_trampoline

Tracing command swi2: cambio pid 17 tid 100010 td 0xc14d6000
fork_trampoline() at fork_trampoline

Tracing command swi5: + pid 16 tid 100011 td 0xc14db300
fork_trampoline() at fork_trampoline

Tracing command thread taskq pid 7 tid 100012 td 0xc14db180
fork_trampoline() at fork_trampoline

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

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

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

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

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

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

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

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

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

Tracing command idle pid 11 tid 100005 td 0xc14d6780
fork_trampoline() at fork_trampoline

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

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

Tracing command swapper pid 0 tid 0 td 0xc0942c40
kernbase(c00f4ff2,c00f4ff0,c0814641,50a,80) at 0xc00eb621
end(cb9d08c4,52495024,500100,9000,21078) at 0xc0c20a38
db>


db> show lockedvnods
Locked vnodes
db>

db> tr
Tracing pid 0 tid 0 td 0xc0942c40
kernbase(c00f4ff2,c00f4ff0,c0814641,50a,80) at 0xc00eb621
end(cb9d08c4,52495024,500100,9000,21078) at 0xc0c20a38
db>

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

Reply via email to