Subject: Re: kernel panic!
To: Riccardo Mottola <rollei@tiscalinet.it>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 06/26/2005 10:55:23
--Signature_Sun__26_Jun_2005_10_55_23_-0400_9adn9Zv0z4l3tqUj
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> the situaiton is much worse than I feared...

> I read your email too late and thus I built using
>=20
> make COPTS=3D"xxx"
>=20
> I used -O3 and -cpu=3D7400 and -maltivec
>=20
> the last one zas not necessary apparently, since I saw it twice.

options ALTIVEC sets it if I remember correctly. But all it does is to
enable C-stubs, ABI-support and assembler mnemonics for AltiVec
instructions.

> the kernel is unstable as ever! slight compilations, use, cvs work...
> may crash the box withn 5-10 minutes!!!

Does this happen with L2-cache disabled too? If not the L2 vs. CPU clock
ratio may be wrong. Some mainboards don't like to run the CPU bus at
50MHz. If you have MacOS somewhere around I'd strongly recommend to get
NewerTech's CacheProfiler ( or whatever they call it these days. It
supports many CPU cards from other vendors as well, like my Phase 5 G3 )
and play with it until you find something that works, then change the
NetBSD kernel accordingly.
The G4 card almost certainly tries to run the bus at 50MHz, some even
try to overclock it slightly (cpu0: 409.10 MHz sounds a bit odd). Some
boards have problems at 50MHz, even more at >50MHz. Memory may be an
issue too - I have 2 32MB modules here that worked fine with two 604e
cards running the bus at 43.something MHz, but went bananas with the G3
running it at 50MHz - there are plenty of memory testers for MacOS,
can't hurt to try one of them. ( I recommend to do that in MacOS not
because I like MacOS so much ( I don't ) - but MacOS  is the OS where
you'll have an utility to fiddle with CPU/cache settings on the fly and
it should be a little more robust against flaky memory ).

good luck
Michael

--Signature_Sun__26_Jun_2005_10_55_23_-0400_9adn9Zv0z4l3tqUj
Content-Type: application/pgp-signature

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

iQEVAwUBQr7B38pnzkX8Yg2nAQJHSQf/YOLiUOBBXr9Lv/d7ytSXnmlR2NQ7h3rm
wt/CzoJ2m6zgl8hATRhxd0hWTTkpyZgTSrFl00D51REobDVBmbELCtG+CUplZEe9
NwB+O9scS4N/hGi6fwFKjhT8xjOc2Un2aNU1KFF956STaM7b6I75z7Ibwyg3B89V
ijKoRjl76jUX5roVlIlsJXRTEvb09yL1MWfbR51KEtm5SnOqaGa0oc5hQ4bjpgtj
ycp72VveyLcbTIyHaH2IORE4fkljO2CecFLFCe2mUA2fTWC7hqS6SdN8ELfGWDAv
Ke4x6KVCyVe0pGCry8alc7UjYkZIEP5JIkWwR96DUf3pG4v3MhZejw==
=Z8o2
-----END PGP SIGNATURE-----

--Signature_Sun__26_Jun_2005_10_55_23_-0400_9adn9Zv0z4l3tqUj--