Alpha is seriously broken
Ruslan Ermilov
ru at freebsd.org
Fri Aug 20 12:46:18 PDT 2004
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:
>
> > My sincere sympathies to Ken.
>
> Since at least of you seem so (morbidly?) interested... :-)
>
> This is in progress on beast at the moment, dunno if it'll work out
> yet but ...
>
> - 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
>
> 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.
>
> Thoughts? Bets? More sympathies?
>
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,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-alpha/attachments/20040820/83cf7762/attachment.bin
More information about the freebsd-alpha
mailing list