Subject: Re: Help needed to fix NetBSD/shark
To: None <>
From: Izumi Tsutsui <>
List: port-arm
Date: 07/30/2007 23:14:19 wrote:

> According to the PR, delivering events through a serial  
> console may show some progress (which I believe and will explain  
> below), but I don't have one to try.

ddb trace after break on serial console shows:

cpu@0 at ofbus4 not configured
ofbus5 at ofbus0 (udp)
nfs at ofbus5 not configured
ipl_bio=ffffbfff ipl_net=ffffbfdf ipl_tty=ffffaf5d ipl_vm=ffffaf5d
ipl_audio=ffff2d5d ipl_imp=ffff2d5d ipl_high=ffff2d5d ipl_serial=ffff2d45
clock: hz=64 stathz = 0 profhz = 0
boot device: cs0
root on cs0
nfs_boot: trying DHCP/BOOTP
Stopped in pid 0.2 (system) at  netbsd:cpu_Debugger+0x4:        \
mov     r15, r14

db> tr
        scp=0xf0049dfc rlv=0xf01b5b18 (netbsd:irq_entry+0x174)
        rsp=0xf2443f34 rfp=0xf2443f98
        r10=0x00000000 r9=0x00000010
        r8=0x00000010 r7=0xf029d558 r6=0xf1134e00 r5=0xf0295158
        scp=0xf016be70 rlv=0xf00f21e0 (netbsd:idle_loop+0x68)
        rsp=0xf2443f9c rfp=0xf2443fb0
        scp=0xf00f2184 rlv=0xf016f2fc (netbsd:lwp_trampoline+0x14)
        rsp=0xf2443fb4 rfp=0x00000000
        r5=0xf24e1d00 r4=0xf00f2178
db> show event


evcnt type 1: soft clock = 17
evcnt type 1: soft net = 1
evcnt type 1: soft serial = 12
evcnt type 1: isa irq  4 = 12
evcnt type 1: isa irq  5 = 2

Looks a kernel jumps into cpu_idle(9) at IPL_CLOCK?
Izumi Tsutsui