Subject: Re: Booting NetBSD on Old World Mac
To: Allen Wong <allen@submoron.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 12/14/2007 21:46:59
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 14, 2007, at 18:09, Allen Wong wrote:

> -> Then - the state of SMP support for old world Macs in -current is
> -> unknown because nobody has hardware to test on. When you get the
> -> machine to boot please try a -current SMP kernel and tell us  
> where it
> -> explodes ;)
> ->
>
> The UP kernel doesn't boot:
>
> NetBSD 4.99.42 (GENERIC) #0: Thu Dec 13 23:07:53 PST 2007
>
> builds@wb41:/home/builds/ab/HEAD/macppc/200712130002Z-obj/home/ 
> builds/ab/HEAD/src/sys/arch/macppc/compile/GENERIC
> total memory = 160 MB
> avail memory = 146 MB
> found Grand Central PIC at f3000000
> mainbus0 (root)
> cpu0 at mainbus0: 604e (Revision 0.2), ID 0 (primary)
> cpu0: HID0 8000c084<EMCP,ICE,DCE,SGE,BHT>, powersave: 1
> cpu0: 181.82 MHz
> cpu1 at mainbus0: ID 1
> cpu1: processor off-line; multiprocessor support not present in kernel
> bandit0 at mainbus0
> pci0 at bandit0 bus 0
> pchb0 at pci0 dev 11 function 0
> pchb0: Apple Computer Bandit Host-PCI Bridge (rev. 0x03)
> 3Dfx Interactive Voodoo2 (video multimedia, revision 0x02) at pci0  
> dev 14
> function 0 not configured
> obio0 at pci0 dev 16 function 0: addr 0xf3000000
> esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
> scsibus0 at esp0: 8 targets, 8 luns per target
> mc0 at obio0 offset 0x11000trap: kernel ISI by 0x7c3142a4 (SRR1  
> 0x40001032),
> lr: 0x54e9a8
> panic: trap
> Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x10:        
> lwz     r0,
> r1, 0x14

Gah, I guess nobody tested mc's bus_spacification. Unfortunately I  
don't have a mac with onboard mc right now :/
I'll have a look, maybe it's an obvious typo.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBR2NAI8pnzkX8Yg2nAQJNrggAoo2VTykX/XLCClMgq6zCQ5NCFKAcfa3F
odgE5glMIYQEBLUAnq0bePD+nvnOV7V3PNt/5N69wMjnGpWiqUWkm3yWAHG19Xej
90sj2ienZvUqY1vot5v4Ok9mDrvPfqfsnQhDl3hqkWPOq+6DFg4HH8z3oEZpQp+1
Dh3oPuAQNK3CWLmyBshbvI/QZs5MPf4UAhwIKu0PgZDuT9/0p9YEP5IGPih71jIq
h2oG8G81YtzuXWdfviPhiOCUQyLHJKBFlEO4dJmx8uXlvrwOVoOYEZJ0B7vj0xwS
nyoCAJKqqBoWr+WrSwrl6JlYPzpq0WU9iFiSdH/IM0O+WZQAnbHyHw==
=oEeL
-----END PGP SIGNATURE-----