Subject: GENERIC crashes in boot on G4/466, 2.0_STABLE and -current
To: None <port-macppc@netbsd.org>
From: Jeff Rizzo <riz@tastylime.net>
List: port-macppc
Date: 05/20/2005 09:42:10
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've been trying to get a recent NetBSD running on my wife's old G4/466, and
was able to get 2.0.2 installed from the 'offical' CD finally.

However, the main thing I want to do on this box is test stuff on -current
and newer branches like netbsd-2 and netbsd-3, so, I tried booting a -curre=
nt
kernel, and BOOM.  So, I tried an up-to-date 2.0_STABLE kernel from an
up-to-date netbsd-2 branch, and BOOM, in exactly the same way.  :(

Here's the crash message, in a ten-finger copy:

[...boot messages...]
atapibus0 at atabus1: 2 targets
trap: pid 3.1 (atabus1): kernel MCHK trap @ 0x518e0c (SRR1=3D0x2041020)
panic: trap
Stopped in pid 3.1 (atabus1) at netbsd:cpu_Debugger+0x18:	lwz	r11, r1, 0x0
db>


=2E..and there I'm stuck; the keyboard doesn't work, and I don't have
a serial console (any way to use a USB->serial dongle as one?), so there's
no further debugging information to give.

Before I start a binary search of the netbsd-2 branch to figure out which=
=20
pullup broke me, does anyone have any suggestions?  Below is as much of the
boot messages as got saved in the buffer between reboots (there was more at
the end, culminating in the panic above).  (Note the "0.01 MHz" CPU - should
I worry? :)


NetBSD 2.0_STABLE (GENERIC) #0: Thu May 19 21:49:02 PDT 2005
	riz@coconut.tastylime.net:/usr/releng/buildobj2/usr/releng/src2/sys/arch/m=
acppc/compile/GENERIC
total memory =3D 1024 MB
avail memory =3D 982 MB
mainbus0 (root)
cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)
cpu0: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>
cpu0: 0.01 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies Rage Fury MAXX AGP ys, 6 k=
ey codes
uhub2: 5 ports with 4 removable, self powered
wsnsole (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
ofb1 at pci1 dev 21 function 0: ATI Technologies Radeon 7000/VE
ofb1: 1152 x 870, 8bpp
wsdisplay at ofb1 not configured
obio0 at pci1 dev 23 function 0: addr 0x80000000
zsc0 at obio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout. command =3D 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atabus1 at wdc1 channel 0
wdc2 at obio0 offset 0x21000 irq 21: DMA transfer
atabus2 at wdc2 channel 0
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo USB Controller (re=
v. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo USB Controller (re=
v. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iQCVAwUBQo4TYrOuUtxCgar5AQJlUgP/SEbnjZCjYjytSz+wjE94U6aEFA5gICRw
nIcXcCVS/87gUsye/INK1id1Hj59sbOzKBnNghw295ndo4QVQc97wFBKLdgCrcOP
KrK9RA5FQUT/rGR82F5k/kFfkQM9tTqdls9ST+TGhQi3M7g1eBAurYqjK8ipvJQ0
ShYzvVYHjDw=
=0PDC
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--