Subject: Panic at boot with current kernel
To: None <port-macppc@netbsd.org>
From: Johan =?iso-8859-1?Q?Wall=E9n?= <johan.wallen+lists@tkk.fi>
List: port-macppc
Date: 10/03/2006 00:23:32
Hello,

this might be completely unrelated to macppc, but I get a panic on a
PowerBook G4 during boot with a GENERIC kernel built from today's
(Monday, around 10:00 UTC) sources.  Anyway, I get the following (the
text from the debugger is copyed by hand, so there might be errors):

[...]
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x80)
gem0: interrupting at irq 41
gem0: Ethernet address 00:0d:93:61:d8:4c, 10KB RX fifo, 4KB TX fifo
makphy0 at gem0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
trap: Kernel write DSI trap @ 0x7c3042a6 by 0x4441a4 (DSISR 0x42000000, err=14), lr 0x444194
panic: trap
stopped in pid 0.1 (swapper) at 0x425538:

Since the keyboard it not yet attached at this point, I cannot get a
backtrace, but gdb gives the following for the addresses:

0x4441a4<softint_schedule+148>: 0x93e90000
0x444194<softint_schedule+132>: 0x38000000
0x425538<cpu_Debugger+16>: 0x80010014

(In case it helps, the output from makphy is followed by

fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)

on older kernels).

Any clues how to figure out what goes wrong and where?

-- Johan