Alpha is seriously broken

Ken Smith kensmith at cse.Buffalo.EDU
Fri Aug 20 18:00:14 PDT 2004


On Fri, Aug 20, 2004 at 10:46:13PM +0300, Ruslan Ermilov wrote:
> On Fri, Aug 20, 2004 at 03:17:46PM -0400, Ken Smith wrote:
> > 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:

Just FYI, as Ruslan predicted it worked with one minor glitch.  The
crt1.c thing was apparently the problem and the above procedure did
produce static executables that worked.  /usr/src had been copied
into my chroot space using tar and /usr/obj was already a symlink
so I didn't need the mounts, just adjusted the symlink temporarily.
I spent a little time wondering why 'make installworld' resulted
in:

	+ at cd: not found

but then got the idea it was probably make version issues, copied
/usr/share/mk out of my chroot directory to /usr/share and that
was all it took.

Beast has survived a second "make buildworld/installworld" run using
the normal procedures so ...

-- 
						Ken Smith
- From there to here, from here to      |       kensmith at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


More information about the freebsd-alpha mailing list