Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 19:57:17 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        marcel@FreeBSD.org, qa@FreeBSD.org, Marcel Moolenaar <marcel@cup.hp.com>
Subject:   Re: cputype=486
Message-ID:  <20010312195717.A17315@lerami.lerctr.org>
In-Reply-To: <XFMail.010312174604.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Mon, Mar 12, 2001 at 05:46:04PM -0800
References:  <20010312185928.A14402@lerami.lerctr.org> <XFMail.010312174604.jhb@FreeBSD.org>

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

* John Baldwin <jhb@FreeBSD.org> [010312 19:46]:
> 
> On 13-Mar-01 Larry Rosenman wrote:
> > * Marcel Moolenaar <marcel@cup.hp.com> [010312 18:32]:
> >> Larry Rosenman wrote:
> >> > 
> >> > > 4. Mount the i486 root partition on you P-III and
> >> > >    do the install on your P-III.
> >> > 
> >> > > Ad 4: it would be nice if we had some sort of staging. That way, the
> >> > > 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
> >> > 
> >> > >       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...???
> >> 
> >> Yes. It's called DESTDIR, as in:
> >> 
> >>      make installworld DESTDIR=/foo/bar/baz
> > NOPE, doesn't work, as install -fschg doesn't work across NFS.
> > 
> > I'll post the log in a bit. 
> > 
> > SO, now I guess I have to ignore the CPUTYPE= setting while installing
> > the 486.
> > 
> > I don't think this was what was intended. 
> 
> Can you try editing src/Makefile.inc1 where it says something like this:
> 
> installworld:
>         mkdir -p ${INSTALLTMP}
>         for prog in [ awk cat chflags chmod chown date echo egrep find grep \
>             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}
> 
> 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  install 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=/usr/obj  COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin  LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/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.00503/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 POSIX;  ln -s C POSIX

--------------------------------------------------------------
>>> Installing everything..
--------------------------------------------------------------
cd /usr/src; make -f Makefile.inc1 install
===> share/info
===> 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/include
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 cam/*.h  /usr/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  /usr/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  /usr/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  /usr/include/sys
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 vm/*.h  /usr/include/vm
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 isofs/cd9660/*.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 444 *.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 assert.h bitstring.h ctype.h db.h dirent.h disktab.h  dlfcn.h elf.h err.h fnmatch.h fstab.h  fts.h glob.h grp.h strhash.h histedit.h ieeefp.h ifaddrs.h iso646.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 utime.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  dumprestore.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_unix.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/rpc
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
===> 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/include/rpcsvc/nis_tags.h /usr/src/include/rpcsvc/nislib.h  /usr/src/include/rpcsvc/bootparam_prot.x /usr/src/include/rpcsvc/key_prot.x /usr/src/include/rpcsvc/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 /usr/src/include/rpcsvc/rnusers.x /usr/src/include/rpcsvc/rquota.x /usr/src/include/rpcsvc/rstat.x /usr/src/include/rpcsvc/rwall.x /usr/src/include/rpcsvc/sm_inter.x /usr/src/include/rpcsvc/spray.x /usr/src/include/rpcsvc/yppasswd.x /usr/src/include/rpcsvc/yp.x /usr/src/include/rpcsvc/ypxfrd.x /usr/src/include/rpcsvc/ypupdate_prot.x /usr/src/include/rpcsvc/nis.x /usr/src/include/rpcsvc/nis_cache.x /usr/src/include/rpcsvc/nis_object.x /usr/src/include/rpcsvc/nis_callback.x /usr/src/include/rpcsvc/crypt.x  key_prot.h klm_prot.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_cache.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
===> lib
===> 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
===> 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




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