Subject: port-macppc/16868: powermac 4400/160 can't boot any more
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 05/17/2002 18:50:45
>Number:         16868
>Category:       port-macppc
>Synopsis:       powermac 4400/160 can't boot any more
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 17 09:51:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD-current newer than 2002/03/14
>Organization:

>Environment:
System: NetBSD 1.5ZB (GENERIC) #2: Thu May 16 19:04:52 CEST 2002
	bouyer@armandeche:/home/tmp/macppc/syssrc/sys/arch/macppc/compile/GENERIC
Architecture: powerpc
Machine: macppc

NetBSD 1.5ZB (GENERIC) #2: Thu May 16 19:04:52 CEST 2002
    bouyer@armandeche:/home/tmp/macppc/syssrc/sys/arch/macppc/compile/GENERIC
total memory = 16384 KB
avail memory = 9480 KB
using 230 buffers containing 920 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 603ev (Revision 2.1), ID 0 (primary)
cpu0: HID0 90c001<DOZE,DPM,ICE,DCE,NOPTI>
cpu0: ohare L2 cache enabled
bandit0 at mainbus0
pci0 at bandit0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
epic0 at pci0 dev 13 function 0: SMC 83c170 Fast Ethernet, rev. 8
epic0: interrupting at irq 23
epic0: SMC9432TX, Ethernet address 00:e0:29:44:44:ce
qsphy0 at epic0 phy 3: QS6612 10/100 media interface, rev. 1
qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh0 at obio0 offset 0x10000 irq 12: 50MHz, SCSI ID 7
scsibus0 at mesh0: 8 targets, 8 luns per target
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000: irq 17,8,9
audio0 at awacs0: full duplex
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
wdc0 at obio0 offset 0x20000 irq 13: DMA transfer
wd0 at wdc0 channel 0 drive 0: <IBM-DTTA-371440>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 13783 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 28229040 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
conf[0] = 0x11823, cyc = 4 (120 ns), act = 3 (75 ns), inact = 1
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wdc1 at obio0 offset 0x21000 irq 14: DMA transfer
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 0: <MATSHITA CR-583, , AS10> type 5 cdrom removable
cd0: drive supports PIO mode 3
conf[0] = 0x23, cyc = 6 (180 ns), act = 3 (90 ns), inact = 1
cd0(wdc1:0:0): using PIO mode 3
adb0 at obio0 offset 0x16000 irq 18: 4 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 15: extended keyboard
wskbd0 at akbd0: console keyboard
ams0 at adb0 addr 14: 1-button, 100 dpi mouse
wsmouse0 at ams0 mux 0
akbd1 at adb0 addr 2: extended keyboard (ISO layout)
wskbd at akbd1 not configured
ams1 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse at ams1 not configured
ofb0 at pci0 dev 17 function 0: ATI Technologies Mach64 VT
ofb0: 1152 x 870, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
scsibus0: waiting 2 seconds for devices to settle...
boot device: wd0
root on wd0a dumps on wd0b

>Description:
	I have a powermac 4400 that is running -current, which I update
	from time to time (I use it occasionally to test drivers PCI drivers).
	Recent current can't boot however, the machine hangs just after
	the boot loader has loaded the kernel (after the start=0x100000,
	the kernel copyrigth line isn't even printed).
	I narrowed it down to a change in powerpc code between March 13 and
	March 14: A kernel compiled from sources checked out with
	-D2002/03/13 (MET, CVS/Tag is: D2002.03.12.23.00.00) boots fine.
	Updating lib/libkern/arch/powerpc and sys/arch/powerpc (both needs to
	be updated or compile fail) makes the kernel hang as described.
	
>How-To-Repeat:
	Boot a current kernel newer than 2002/03/14 on a powermac 4400
>Fix:
	unknown
>Release-Note:
>Audit-Trail:
>Unformatted: