Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 22:46:13 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Ken Smith <kensmith@cse.Buffalo.EDU>
Cc:        Wilko Bulte <wilko@freebsd.org>
Subject:   Re: Alpha is seriously broken
Message-ID:  <20040820194613.GA57723@ip.net.ua>
In-Reply-To: <20040820191746.GA12957@electra.cse.Buffalo.EDU>
References:  <20040820105915.GA29178@ip.net.ua> <1093000460.9863.4.camel@builder02.qubesoft.com> <20040820120757.GC29568@ip.net.ua> <xzpn00qeycb.fsf@dwp.des.no> <20040820135844.GA76070@ip.net.ua> <1093012873.9863.11.camel@builder02.qubesoft.com> <20040820151503.GC92603@ip.net.ua> <1093020367.9863.13.camel@builder02.qubesoft.com> <20040820174845.GA94170@ip.net.ua> <20040820191746.GA12957@electra.cse.Buffalo.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 20, 2004 at 03:17:46PM -0400, Ken Smith wrote:
> On Fri, Aug 20, 2004 at 08:48:45PM +0300, Ruslan Ermilov wrote:
>=20
> > My sincere sympathies to Ken.
>=20
> Since at least of you seem so (morbidly?) interested...  :-)
>=20
> This is in progress on beast at the moment, dunno if it'll work out
> yet but ...
>=20
> 	- copied /sbin/init.bak to /sbin/init
> 	- created /h/kensmith (after cleaning the crash dumps out
> 	  of /h/crash...)
> 	- copied the base directory for 5.2.1 from ftp-master,
> 	  unpacked it in /h/kensmith
> 	- copied /usr/src from beast to /h/kensmith/usr/src
> 	- backed out latest change to crt1.c as suggested
> 	- chroot to /h/kensmith
> 	- mount -t devfs devfs /dev
> 	- cd usr/src
> 	- make buildworld
>=20
> If that succeeds I'll arrange for the results to look like beast's
> real /usr/obj, copy the make executable from /h/kensmith/usr/bin
> to /usr/bin, and give 'make installworld' in beast's /usr/src a try.
>=20
> Thoughts?  Bets?  More sympathies?
>=20
It will succeed.  Here's what I'd do:

After chroot buildworld succeeds (was a very good idea to install to
chroot!), try some statically linked binary from /h/kensmith, e.g.,
/h/kensmith/usr/obj/usr.bin/make/make to find that it now works.  In
this case, the crt1.c change was the culprit, and we really want to
reinstall beast using these sources -- with mount_nullfs(8) mount
/h/kensmith/usr/src to /usr/src and /h/kensmith/usr/obj to /usr/obj,
and then do an installworld into /.  After that, unmount nulled
/usr/src and /usr/obj, back out the crt1.c change from /usr/src,
and run /root/buildworld.sh, or just let cron(8) handle this.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD4DBQFBJlUFqRfpzJluFF4RAs7YAJ43NNWiWwp+UhMv/kDWesiUL86GOgCY4g3b
zrDpDcw5yhzZPmSec7tmGg==
=z+Lv
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040820194613.GA57723>