From owner-freebsd-qa Mon Mar 12 17:57:27 2001 Delivered-To: freebsd-qa@freebsd.org Received: from lerami.lerctr.org (lerami.lerctr.org [207.158.72.11]) by hub.freebsd.org (Postfix) with ESMTP id 0E30E37B719; Mon, 12 Mar 2001 17:57:18 -0800 (PST) (envelope-from ler@lerctr.org) Received: (from ler@localhost) by lerami.lerctr.org (8.11.3/8.11.3/20010112/$Revision: 1.13 $) id f2D1vHa17534; Mon, 12 Mar 2001 19:57:17 -0600 (CST) (envelope-from ler) Date: Mon, 12 Mar 2001 19:57:17 -0600 From: Larry Rosenman To: John Baldwin Cc: marcel@FreeBSD.org, qa@FreeBSD.org, Marcel Moolenaar Subject: Re: cputype=486 Message-ID: <20010312195717.A17315@lerami.lerctr.org> References: <20010312185928.A14402@lerami.lerctr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.3.16i In-Reply-To: ; from jhb@FreeBSD.org on Mon, Mar 12, 2001 at 05:46:04PM -0800 X-Mailer: Mutt http://www.mutt.org/ Sender: owner-freebsd-qa@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * John Baldwin [010312 19:46]: >=20 > On 13-Mar-01 Larry Rosenman wrote: > > * Marcel Moolenaar [010312 18:32]: > >> Larry Rosenman wrote: > >> >=20 > >> > > 4. Mount the i486 root partition on you P-III and > >> > > do the install on your P-III. > >> >=20 > >> > > Ad 4: it would be nice if we had some sort of staging. That way, t= he > >> > > install can be performed on the P-III. The staging area could then= be > >> > > mounted by other machines and "installed". This could be as simple= as > >> > > doing a > >> >=20 > >> > > tar cf - ${STAGING_DIR} | (cd /; tar xf -) > >> > As I said, I lose the P-III optimizations while it's a host, > >> > or is there a variable to installworld that says ROOT is HERE...??? > >>=20 > >> Yes. It's called DESTDIR, as in: > >>=20 > >> make installworld DESTDIR=3D/foo/bar/baz > > NOPE, doesn't work, as install -fschg doesn't work across NFS. > >=20 > > I'll post the log in a bit.=20 > >=20 > > SO, now I guess I have to ignore the CPUTYPE=3D setting while installing > > the 486. > >=20 > > I don't think this was what was intended.=20 >=20 > Can you try editing src/Makefile.inc1 where it says something like this: >=20 > installworld: > mkdir -p ${INSTALLTMP} > for prog in [ awk cat chflags chmod chown date echo egrep find gr= ep \ > install ln make makewhatis mtree mv perl rm sed sh sysctl \ > test true uname wc zic; do \ > cp `which $$prog` ${INSTALLTMP}; \ > done > cd ${.CURDIR}; ${IMAKE} reinstall > rm -rf ${INSTALLTMP} >=20 > add 'strip' to the list of files copied in that loop and then try running= a > normal installworld with an NFS mounted /usr/obj and /usr/src on the 486 = like > you did originally? No dice: mkdir -p /tmp/install.20973 for prog in [ awk cat chflags chmod chown date echo egrep find grep instal= l ln make makewhatis mtree mv perl rm sed sh sysctl strip test true uname = wc zic; do cp `which $prog` /tmp/install.20973; done cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj COMPILER_PATH=3D/usr/obj/usr/src/= i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin LIBRARY_PATH=3D/usr/obj/usr= /src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib OBJFORMAT_PATH=3D/usr/obj/= usr/src/i386/usr/libexec PERL5LIB=3D/usr/obj/usr/src/i386/usr/libdata/perl= /5.00503 PATH=3D/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/b= in:/usr/obj/usr/src/i386/usr/games:/tmp/install.20973 make -f Makefile.inc1= reinstall -------------------------------------------------------------- >>> Making hierarchy -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 hierarchy cd /usr/src/etc; make distrib-dirs mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p / tmp changed type expected dir found link var changed type expected dir found link mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/libdata/perl/5.0= 0503/mach cd /; rm -f /sys; ln -s usr/src/sys sys cd /usr/share/man/en.ISO_8859-1; ln -sf ../man* . cd /usr/share/locale; set - `cat /usr/src/etc/locale.alias`; while [ $# -= gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done cd /usr/share/nls; set - `cat /usr/src/etc/locale.alias`; while [ $# -gt = 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done; rm -rf POS= IX; ln -s C POSIX -------------------------------------------------------------- >>> Installing everything.. -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install =3D=3D=3D> share/info =3D=3D=3D> include if [ -h /usr/include/cam ]; then rm -f /usr/include/cam; fi if [ -h /usr/include/msdosfs ]; then rm -f /usr/include/msdosfs; fi if [ -h /usr/include/net ]; then rm -f /usr/include/net; fi if [ -h /usr/include/netatalk ]; then rm -f /usr/include/netatalk; fi if [ -h /usr/include/netatm ]; then rm -f /usr/include/netatm; fi if [ -h /usr/include/netgraph ]; then rm -f /usr/include/netgraph; fi if [ -h /usr/include/netinet ]; then rm -f /usr/include/netinet; fi if [ -h /usr/include/netinet6 ]; then rm -f /usr/include/netinet6; fi if [ -h /usr/include/netipx ]; then rm -f /usr/include/netipx; fi if [ -h /usr/include/netkey ]; then rm -f /usr/include/netkey; fi if [ -h /usr/include/netnatm ]; then rm -f /usr/include/netnatm; fi if [ -h /usr/include/netncp ]; then rm -f /usr/include/netncp; fi if [ -h /usr/include/netns ]; then rm -f /usr/include/netns; fi if [ -h /usr/include/nfs ]; then rm -f /usr/include/nfs; fi if [ -h /usr/include/ntfs ]; then rm -f /usr/include/ntfs; fi if [ -h /usr/include/nwfs ]; then rm -f /usr/include/nwfs; fi if [ -h /usr/include/pccard ]; then rm -f /usr/include/pccard; fi if [ -h /usr/include/posix4 ]; then rm -f /usr/include/posix4; fi if [ -h /usr/include/sys ]; then rm -f /usr/include/sys; fi if [ -h /usr/include/vm ]; then rm -f /usr/include/vm; fi if [ -h /usr/include/isofs/cd9660 ]; then rm -f /usr/include/isofs/cd9660;= fi if [ -h /usr/include/ufs/ffs ]; then rm -f /usr/include/ufs/ffs; fi if [ -h /usr/include/ufs/mfs ]; then rm -f /usr/include/ufs/mfs; fi if [ -h /usr/include/ufs/ufs ]; then rm -f /usr/include/ufs/ufs; fi if [ -h /usr/include/dev/ppbus ]; then rm -f /usr/include/dev/ppbus; fi if [ -h /usr/include/dev/usb ]; then rm -f /usr/include/dev/usb; fi if [ -h /usr/include/machine ]; then rm -f /usr/include/machine; fi mtree -deU -f /usr/src/include/../etc/mtree/BSD.include.dist -p /usr/inclu= de cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 cam/*.h /u= sr/include/cam cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 msdosfs/*.h= /usr/include/msdosfs cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 net/*.h /u= sr/include/net cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netatalk/*.= h /usr/include/netatalk cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netatm/*.h = /usr/include/netatm cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netgraph/*.= h /usr/include/netgraph cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netinet/*.h= /usr/include/netinet cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netinet6/*.= h /usr/include/netinet6 cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netipx/*.h = /usr/include/netipx cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netkey/*.h = /usr/include/netkey cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netnatm/*.h= /usr/include/netnatm cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netncp/*.h = /usr/include/netncp cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 netns/*.h = /usr/include/netns cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 nfs/*.h /u= sr/include/nfs cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ntfs/*.h /= usr/include/ntfs cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 nwfs/*.h /= usr/include/nwfs cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 pccard/*.h = /usr/include/pccard cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 posix4/*.h = /usr/include/posix4 cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 sys/*.h /u= sr/include/sys cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 vm/*.h /us= r/include/vm cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 isofs/cd966= 0/*.h /usr/include/isofs/cd9660 cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ufs/ffs/*.h= /usr/include/ufs/ffs cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ufs/mfs/*.h= /usr/include/ufs/mfs cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 ufs/ufs/*.h= /usr/include/ufs/ufs cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 cam/scsi/*.= h /usr/include/cam/scsi cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 dev/ppbus/*= .h /usr/include/dev/ppbus cd /usr/src/include/../sys; install -C -o root -g wheel -m 444 dev/usb/*.h= /usr/include/dev/usb cd /usr/src/include/../sys/i386/include; install -C -o root -g wheel -m 44= 4 *.h /usr/include/machine ln -sf ../sys/soundcard.h /usr/include/machine/soundcard.h ln -sf ../sys/joystick.h /usr/include/machine/joystick.h cd /usr/src/include; install -C -o root -g wheel -m 444 a.out.h ar.h asse= rt.h bitstring.h ctype.h db.h dirent.h disktab.h dlfcn.h elf.h err.h fnmat= ch.h fstab.h fts.h glob.h grp.h strhash.h histedit.h ieeefp.h ifaddrs.h is= o646.h libgen.h limits.h link.h locale.h malloc.h memory.h mpool.h ndbm.h= netdb.h nl_types.h nlist.h objformat.h paths.h pthread.h pthread_np.h pwd= .h ranlib.h regex.h regexp.h resolv.h rune.h runetype.h search.h setjmp.h= sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h string.h stringlist.h = strings.h struct.h sysexits.h tar.h time.h timers.h ttyent.h unistd.h utim= e.h utmp.h vis.h /usr/include cd /usr/src/include/arpa; install -C -o root -g wheel -m 444 ftp.h inet.h= nameser.h nameser_compat.h telnet.h tftp.h /usr/include/arpa cd /usr/src/include/protocols; install -C -o root -g wheel -m 444 dumpres= tore.h routed.h rwhod.h talkd.h timed.h /usr/include/protocols cd /usr/src/include/rpc; install -C -o root -g wheel -m 444 auth.h auth_u= nix.h clnt.h pmap_clnt.h pmap_prot.h pmap_rmt.h rpc.h rpc_com.h rpc_msg.h = svc.h svc_auth.h types.h xdr.h auth_des.h des.h des_crypt.h /usr/include/r= pc install -C -o root -g wheel -m 444 /usr/obj/usr/src/include/osreldate.h /= usr/include ln -sf sys/aio.h /usr/include/aio.h ln -sf sys/errno.h /usr/include/errno.h ln -sf sys/fcntl.h /usr/include/fcntl.h ln -sf sys/inttypes.h /usr/include/inttypes.h ln -sf sys/linker_set.h /usr/include/linker_set.h ln -sf sys/poll.h /usr/include/poll.h ln -sf sys/syslog.h /usr/include/syslog.h ln -sf sys/termios.h /usr/include/termios.h ln -sf sys/ucontext.h /usr/include/ucontext.h ln -sf machine/float.h /usr/include/float.h ln -sf machine/floatingpoint.h /usr/include/floatingpoint.h ln -sf machine/stdarg.h /usr/include/stdarg.h ln -sf machine/varargs.h /usr/include/varargs.h ln -sf posix4/mqueue.h /usr/include/mqueue.h ln -sf posix4/sched.h /usr/include/sched.h ln -sf posix4/semaphore.h /usr/include/semaphore.h =3D=3D=3D> include/rpcsvc install -C -o root -g wheel -m 444 /usr/src/include/rpcsvc/yp_prot.h /usr/= src/include/rpcsvc/ypclnt.h /usr/src/include/rpcsvc/nis_db.h /usr/src/inclu= de/rpcsvc/nis_tags.h /usr/src/include/rpcsvc/nislib.h /usr/src/include/rpc= svc/bootparam_prot.x /usr/src/include/rpcsvc/key_prot.x /usr/src/include/rp= csvc/klm_prot.x /usr/src/include/rpcsvc/mount.x /usr/src/include/rpcsvc/nfs= _prot.x /usr/src/include/rpcsvc/nlm_prot.x /usr/src/include/rpcsvc/rex.x /u= sr/src/include/rpcsvc/rnusers.x /usr/src/include/rpcsvc/rquota.x /usr/src/i= nclude/rpcsvc/rstat.x /usr/src/include/rpcsvc/rwall.x /usr/src/include/rpcs= vc/sm_inter.x /usr/src/include/rpcsvc/spray.x /usr/src/include/rpcsvc/yppas= swd.x /usr/src/include/rpcsvc/yp.x /usr/src/include/rpcsvc/ypxfrd.x /usr/sr= c/include/rpcsvc/ypupdate_prot.x /usr/src/include/rpcsvc/nis.x /usr/src/inc= lude/rpcsvc/nis_cache.x /usr/src/include/rpcsvc/nis_object.x /usr/src/inclu= de/rpcsvc/nis_callback.x /usr/src/include/rpcsvc/crypt.x key_prot.h klm_pr= ot.h mount.h nfs_prot.h nlm_prot.h rex.h rnusers.h rquota.h rstat.h rwall.= h sm_inter.h spray.h yppasswd.h yp.h ypxfrd.h ypupdate_prot.h nis.h nis_ca= che.h nis_callback.h bootparam_prot.h crypt.h /usr/include/rpcsvc install -C -o root -g wheel -m 444 key_prot.h /usr/include/rpc =3D=3D=3D> lib =3D=3D=3D> lib/csu/i386-elf install -c -o root -g wheel -m 444 crt1.o /usr/lib/crt1.o install -c -o root -g wheel -m 444 crti.o /usr/lib/crti.o install -c -o root -g wheel -m 444 crtn.o /usr/lib/crtn.o install -c -o root -g wheel -m 444 gcrt1.o /usr/lib/gcrt1.o =3D=3D=3D> lib/libcom_err cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src= /lib/libcom_err/../../contrib/com_err/com_err.h /usr/include cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src= /lib/libcom_err/../../contrib/com_err/com_right.h /usr/include install -c -o root -g wheel -m 444 libcom_err.a /usr/lib install -c -o root -g wheel -m 444 libcom_err_p.a /usr/lib install -c -s -o root -g wheel -m 444 libcom_err.so.2 /usr/lib *** Error code 70 Stop in /usr/src/lib/libcom_err. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-qa" in the body of the message