Subject: Re: 32-Bit Userland On 64-Bit Machine?
To: None <rmk@rmkhome.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: port-sparc64
Date: 05/25/2003 10:05:43
--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 25, 2003 at 01:31:40AM -0600, Rick Kelly wrote:
> Bill Dorsey said:
> >
> > Are you sure it's 200MHz?  A friend of mine has Solaris 9 installed
> > on his 270MHz Ultra, and I'm pretty sure when we checked the
> > executables in userland, they were 32-bit.  Also, Sun's "officially
> > supported" version of Linux (Debian) runs all the ultrasparcs with a
> > 32-bit kernel and 32-bit userland.
>=20
> For Solaris it should be 64bit kernel and 32bit userland. On anything
> above a Sun Ultra 1, it has defaulted to a 64 bit kernel since Solaris
> 7. Sun provides two sets of shared libraries.

Solaris defaults to 32-bit kernel on all UltraSPARC-I machines due to a
cpu bug which can cause local DoS (those are e.g., Ultra 1, 2, etc.).
you can change this in /platform/sun4u/boot.conf by setting

  ALLOW_64BIT_KERNEL_ON_UltraSPARC_1_CPU=3Dtrue

make sure your boot PROM is new enough.  this applies to Solaris >=3D7.

as Rick already said, Solaris installs both 32-bit and 64-bit (optional)
packages of various system libraries and binaries which are used if the
kernel runs in 64-bit mode.


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+0HlXiwjDDlS8cmMRAvS/AJ9oJgJvfKVZcClZH2WADbg4/p16TwCggH3m
OwH6dp2IVpKY+qScdrPucNo=
=mdwi
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--