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
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: pcibus 0 on motherboard
pir0: on motherboard
pci0: 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 0xf, 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 wmesgwchan cmd
19 c156ea3c0 0 0 204 [IWAIT] swi6: +
18 c14da20c0 0 0 204 [IWAIT] swi6: task queue
8 c14da4180 0 0 204 [RUNQ] kqueue taskq
17 c14da6240 0 0 204 [IWAIT] swi2: cambio
16 c14da8300 0 0 204 [IWAIT] swi5: +
7 c14daa3c0 0 0 204 [RUNQ] thread taskq
15 c14dac480 0 0 204 [RUNQ] yarrow
6 c14f60000 0 0 204 [RUNQ] crypto returns
5 c14f620c0 0 0 204 [RUNQ] crypto
4 c14f64180 0 0 204 [RUNQ] g_down
3 c14d50000 0 0 204 [RUNQ] g_up
2 c14d520c0 0 0 204 [RUNQ] g_event
14 c14d54180 0 0 204 [IWAIT] swi3: vm
13 c14d56240 0 0 20c [IWAIT] swi4: clock
12 c14d58300 0 0 204 [IWAIT] swi1: net
11 c14d5a3c0 0 0 20c [Can run] idle
1 c14d5c480 0 0 200 [INACTIVE] swapper
10 c14da0000 0 0 204 [RUNQ] ktrace
0 c0942a200 0 0 200 [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 18 td 0xc14d6300
fork_trampoline() at fork_trampoline
Tracing command kqueue taskq pid 8 tid 19 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 10 td 0xc14d7000
fork_trampoline() at fork_trampoline
Tracing command g_event pid 2 tid 11 td 0xc14d6d80
fork_trampoline() at fork_trampoline
Tracing command swi3: vm pid 14 tid 12 td 0xc14d6c00
fork_trampoline() at fork_trampoline
Tracing command swi4: clock pid 13 tid 13 td 0xc14d6a80
fork_trampoline() at fork_trampoline
Tracing command swi1: net pid 12 tid 14 td 0xc14d6900
fork_trampoline() at fork_trampoline
Tracing command idle pid 11 tid 15 td 0xc14d6780
fork_trampoline() at fork_trampoline
Tracing command swapper pid 1 tid 16 td 0xc14d6600
fork_trampoline() at fork_trampoline
Tracing command ktrace pid 10 tid 17 td 0xc14d6480
fork_trampoline() at fork_trampoline
Tracing command swapper pid 0 tid 0 td 0xc0942c40
kernbase