Subject: Re: X on Ultra5 running 32bit sparc 3.0 (and firefox)
To: Amadeus Stevenson <amadeus.stevenson@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc64
Date: 04/12/2006 10:01:07
--Signature_Wed__12_Apr_2006_10_01_07_-0400__qTQkTxEs=m9oahd
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > > > Any clues as to what's needed?
> > >
> > > a -current userland and kernel for starters. Make sure to update
> > > your bootblocks before detting rid of 3.0 - the -current
> > > bootblocks can load 3.0 kernels but not the other way around.
> >
> > Ok. Thanks a lot for the help. At this point I won't go any further
> > as it's getting too "involved" (or further away from a default-esque
> > install) for the needs of the system at the moment.
>=20
> Having just managed to install debian-sarge sparc64 (32bit) on my
> ultra 5 the results were so grim I've decided to give netbsd-current a
> shot.
>=20
> How can I upgrade the bootblocks?

You need /usr/mdec/bootblk and /usr/mdec/ofwboot from -current ( they're
in base.tgz ), put them into /usr/mdec on 3.0, run installboot. Or grab
a -current iso from releng, boot that and either use the installer or
installboot from the CD.

> Or can I use:
>=20
> /NetBSD-daily/HEAD/200604100000Z/sparc/binary/sets
>=20
> with
>=20
> /NetBSD-daily/HEAD/200604100000Z/sparc64/installation/miniroot/miniro
> ot.fs.gz
>=20
> and
>=20
> /NetBSD-daily/HEAD/200604100000Z/sparc/binary/sets/kern-GENERIC_SUN4U
> .tgz

I think you can.

> for an ftp-based network install - will this install the correct
> bootblocks, and populate /dev/wd* as needed?

It should.

> ps. for those interested; after managing to netboot the debian
> installer ('output-device screen' was needed - debian/gentoo installer
> would output black screen if 'output-device screen:r1024x768x60' is
> set)

Now that's really odd but I've never tried anything linux on sparc64.

> I found:
...
> -I had to install X manually via aptitude for some reason that wasn't
> clear -X at 800x600 run much more slugglishly than X at 1024x768 on
> netbsd-sparc64-3.0

Probaby runs without acceleration or something. Our driver for that one
( a bog standard ATI Rage Pro ) doesn't differ much from what you'll
have got with Linux. We did fix a few things for other ATI chips but the
Rage Pro was the first one that worked properly with full acceleration
and I didn't have to touch the driver at all to get it there.

> My only gripe is: Why is a binary package for mozilla and firefox
> (/packages/pkgsrc-2005Q4/NetBSD-3.0/sparc64/www/) available for
> sparc64 when they crash frequently whereas none are available for
> sparc? Is it because they don't even compile? I thought switching to
> 32bit userland would solve the problems firefox was having with
> sparc64...

You'll probably have to build them by hand ( via pkgsrc ). The only
modern browser that works well on sparc64 seems to be Konqueror but KDE
is quite a memory hog, especially in 64 bit.

> From http://mail-index.netbsd.org/pkgsrc-bulk/2006/04/01/0001.html and
> subsequently
> ftp://asim.lip6.fr/outgoing/packages/sparc/3.0/20060331.1952/www/firefox/=
.broken.html
> it appears the bulk build failed at:
>=20
> nsTextFormatter.cpp:1076: internal compiler error: in convert_move, at
> expr.c:
>    565
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See  for instructions.
> make[3]: *** [nsTextFormatter.o] Error 1
> make[3]: Leaving directory
> `/tmp/pkg/www/firefox/work/mozilla/xpcom/ds' make[2]: *** [libs] Error
> 2 make[2]: Leaving directory `/tmp/pkg/www/firefox/work/mozilla/xpcom'
> make[1]: *** [tier_2] Error 2
> make[1]: Leaving directory `/tmp/pkg/www/firefox/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
>=20
> I'm guessing I could find the same problem if I try through pkgsrc?

I wouldn't bet on it - an 'internal compiler error' can be pretty much
anything and doesn't necessarily have much to do with what exactly
you're compiling.

have fun
Michael

--Signature_Wed__12_Apr_2006_10_01_07_-0400__qTQkTxEs=m9oahd
Content-Type: application/pgp-signature

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

iQEVAwUBRD0II8pnzkX8Yg2nAQKIugf/VWwcO7P0Ox1TWu/+CYFNJNbyOW59Pm4S
i16gLvPmtwnUSfSM0M/QE6nekRQ0UB7OHJAk1ouJqucWlUcy8kgH+buuuBqpzIW8
jZOTxlDKZvD+es0FxJUZIryNrcSr5IULAWQsGDr9dMQFWiE95SmxKZt/5g3tLSR/
gN0stiRJubF19x/Cmi+NYy/hyLQ8rT4bTuWD9273DG5+7GHqaEGXm4wOR8YszHia
yO0gUFAiT0gPw2UGEDctcm5rHxOA1nYwIPX4upO2eCOfTHLbRTbWQUUoynPG5+mc
gRptcTQcDyoxNmC6iZ7Ory6nz/rM64U0qoKZo+Xnr5Ak0dbSZbfI6Q==
=DO8d
-----END PGP SIGNATURE-----

--Signature_Wed__12_Apr_2006_10_01_07_-0400__qTQkTxEs=m9oahd--