Subject: Re: stuck at 'start=0x100000'
To: Bill Studenmund <wrstuden@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-macppc
Date: 05/16/2002 19:09:01
On Thu, May 16, 2002 at 12:27:22PM +0200, Manuel Bouyer wrote:
> I have this problem since I've installed this 4400 with NetBSD. GENERIC
> used to boot fine but I've never been able to boot a custom kernel.
> So it may not be related to a change to kernel sources, but maybe a change in
> compiler, or just because the size of the kernel changed.
> 
> I'll try to narrow this down a bit.

OK, after a good number of kernel compiles, I found it.
A GENERIC kernel compiled from sources checked out with -D2002/03/13
(MET, which makes the CVS tag D2002.03.12.23.00.00) will boot on my 4400/160.
If I update lib/libkern/arch/powerpc and sys/arch/powerpc to -D2002/03/14
(both needs to be updated or compile fail), the kernel hang as described in
subject.

There is a good amount of change between these 2 tags in powerpc code,
including assembly stuff, so I won't be able to debug this alone.

Here is the dmesg:
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

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--