Subject: Re: Continuing problems with SS20 and 512Mb of Ram
To: Michael <macallan18@earthlink.net>
From: Christopher Sean Hilton <chris@vindaloo.com>
List: port-sparc
Date: 05/08/2005 14:30:13
--=-klhHw3tCzkeaMuoaYqXJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2005-05-08 at 13:17 -0400, Michael wrote:
> Hello,
>=20
> > 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?
>=20
> 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.
>=20
> >       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
>=20
> 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.
>=20
> 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.

That looks to be it, I'm building a new kernel now using a
fixed /etc/mk.conf. Now I can get on with building the system.

Thank you for your help.
--=20
Christopher Sean Hilton <chris@vindaloo.com>

--=-klhHw3tCzkeaMuoaYqXJ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

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

iQEVAwUAQn5atILaxorQlXotAQKs+wf9GWaxgycm9KFNlgTjv3G5nPCy+twI7FAK
BvBTHPlYbSxKai3ZzFNjyoaVcZc/ToEaRswBjYv+kP/arA68RZu5fiZO6oQpvZxx
bxoV8Wl8Sx3K9GerH6aIIG+XsKAO79LRRBuzIE8cmQFDlbcAahvmFXEktR2yqOP5
Z48StPZDyphT6sRiyEpr+EJIHVAcNSIp0YUtpKbWF9KowsLPCNHEtv0bkzAqKurh
EFTu0xcBL6nikgIBRk1RxXRce2XwTDBht4VGhpnnUJrurxGvhvLW2alIBhl1J/QQ
WXuGSnkrn8u03VGRX45CdAvyF8PKndQXMzoZgvpefsuP4Yzuaab7SA==
=Frjk
-----END PGP SIGNATURE-----

--=-klhHw3tCzkeaMuoaYqXJ--