Subject: Re: Continuing problems with SS20 and 512Mb of Ram
To: Christopher Sean Hilton <chris@vindaloo.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc
Date: 05/08/2005 13:17:16
--Signature_Sun__8_May_2005_13_17_16_-0400_EFNC=bhaAbAhgbez
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> Thanks, that kernel booted looking at the config it looks like a lot
> of the other sun options are commented out of the config. Was I
> correct in assuming that the GENERIC kernel config should have
> generated something that booted on my machine?

Sort of. The GENERIC kernels contain support for (almost) each and every
hardware supported on this platform. Your kernel will contain a lot of
stuff you never need, like everything that's labeled sun4, sun4c. sun4d
or sun4u - the SS20 is a sun4m machine.

>       2.0-RELEASE Sparc kernel -- 3.6Mb
>       2.0.2 Sparc kernel       -- 3.6Mb
>       2.0-STABLE kernel        -- 2.1Mb
>       My KAMINO config kernel  -- 6.0Mb

If I remember correctly sparc kernels have problems if they exceed a
certain size ( about 4MB or so but it may be mnore these days ) - have a
look at your kernel config and your dmesg output, then throw out what
you don't need ( device drivers, filesystems, CPU support... ), set
your COPTS environment variable to something like "-mcpu=3Dhypersparc
-mtune=3Dhypersparc -O2" and compile again - this should result in a much
smaller, faster and hopefully more stable kernel.

Just for comparison - my -current SPARCbook 3GX kernel ( a sun4m laptop,
the kernel contains all kinds of fancy and experimental stuff ) is about
2.1MB, yours will probably be smaller.

good luck
Michael

--Signature_Sun__8_May_2005_13_17_16_-0400_EFNC=bhaAbAhgbez
Content-Type: application/pgp-signature

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

iQEVAwUBQn5JnMpnzkX8Yg2nAQJpfwf/eOX0yKBA7uwyDgFtHKlXtC4DaHCr1DR7
Q8R+qlNxm+ZWQb7JR2A943rWLttf+jq4p80wp42SK34jmija8WkeuAjZfzuUFLqd
Dsa5LKmkL9CN8WcTs9Jvzbva9pz8I1FPPZLARqG4pW9B9mMCU9R4pA1hb2Al7MNF
/bak+hPSmeYMOcA7lSASD+MCDtuhVgfnETDn/Bb1dAz5b8FWvjWU05OsHYkc11iv
vQCVVARbwmJTwBSGzWqjESPeoLD+OYLShaGnQn5H10V0frKAHZ8vN9UME2avOA8Z
GqQhoDMvD/aEDYB6EzEV34wdczh6WGRDBRF9rU2BlNYnXz8IE2KMeA==
=eMFu
-----END PGP SIGNATURE-----

--Signature_Sun__8_May_2005_13_17_16_-0400_EFNC=bhaAbAhgbez--