Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 19:05:30 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        John Baldwin <jhb@FreeBSD.org>, qa@FreeBSD.org, marcel@FreeBSD.org, jkh@FreeBSD.org
Subject:   Re: cputype=486
Message-ID:  <20010312190530.A14665@lerami.lerctr.org>
In-Reply-To: <3AAD6AB5.889C73F8@cup.hp.com>; from marcel@cup.hp.com on Mon, Mar 12, 2001 at 04:32:53PM -0800
References:  <XFMail.010312124506.jhb@FreeBSD.org> <3AAD394D.49597B93@cup.hp.com> <20010312.21272700@ler-freebie.iadfw.net> <3AAD485E.272DF239@cup.hp.com> <20010312.22211700@ler-freebie.iadfw.net> <3AAD53EA.F71920E8@cup.hp.com> <20010312.23010600@ler-freebie.iadfw.net> <3AAD6AB5.889C73F8@cup.hp.com>

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

* 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
> 
> > 
> > Or the CPUTYPE stuff needs to be removed from 4.3.
> 
> Not necessarily. We just need to provide a conservative default and a
> short note.
OK, the NFS idea died too, differently:

So, now what?  This means I have to take a 24-hour buildworld, or lose
the P-III optimizations on the P-III when I'm making new worlds.

THIS IS NOT ACCEPTABLE. 

Either make the cross-archetecture stuff work, or remove CPUTYPE!


NFS /etc/exports from the 486:
###
/ -maproot=0:0 -alldirs lerbsd.lerctr.org
/usr -maproot=0:0 -alldirs lerbsd.lerctr.org

output from: make installworld DESTDIR=/nfs/fw >& makeinstallworld-486-2

mkdir -p /tmp/install.6221
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` /tmp/install.6221;  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.6221 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 /nfs/fw/
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 /nfs/fw/var
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /nfs/fw/usr
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /nfs/fw/usr/include
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist  -p /nfs/fw/usr/libdata/perl/5.00503/mach
cd /nfs/fw/; rm -f /nfs/fw/sys; ln -s usr/src/sys sys
cd /nfs/fw/usr/share/man/en.ISO_8859-1; ln -sf ../man* .
cd /nfs/fw/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 /nfs/fw/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 /nfs/fw/usr/include/cam ]; then  rm -f /nfs/fw/usr/include/cam;  fi
if [ -h /nfs/fw/usr/include/msdosfs ]; then  rm -f /nfs/fw/usr/include/msdosfs;  fi
if [ -h /nfs/fw/usr/include/net ]; then  rm -f /nfs/fw/usr/include/net;  fi
if [ -h /nfs/fw/usr/include/netatalk ]; then  rm -f /nfs/fw/usr/include/netatalk;  fi
if [ -h /nfs/fw/usr/include/netatm ]; then  rm -f /nfs/fw/usr/include/netatm;  fi
if [ -h /nfs/fw/usr/include/netgraph ]; then  rm -f /nfs/fw/usr/include/netgraph;  fi
if [ -h /nfs/fw/usr/include/netinet ]; then  rm -f /nfs/fw/usr/include/netinet;  fi
if [ -h /nfs/fw/usr/include/netinet6 ]; then  rm -f /nfs/fw/usr/include/netinet6;  fi
if [ -h /nfs/fw/usr/include/netipx ]; then  rm -f /nfs/fw/usr/include/netipx;  fi
if [ -h /nfs/fw/usr/include/netkey ]; then  rm -f /nfs/fw/usr/include/netkey;  fi
if [ -h /nfs/fw/usr/include/netnatm ]; then  rm -f /nfs/fw/usr/include/netnatm;  fi
if [ -h /nfs/fw/usr/include/netncp ]; then  rm -f /nfs/fw/usr/include/netncp;  fi
if [ -h /nfs/fw/usr/include/netns ]; then  rm -f /nfs/fw/usr/include/netns;  fi
if [ -h /nfs/fw/usr/include/nfs ]; then  rm -f /nfs/fw/usr/include/nfs;  fi
if [ -h /nfs/fw/usr/include/ntfs ]; then  rm -f /nfs/fw/usr/include/ntfs;  fi
if [ -h /nfs/fw/usr/include/nwfs ]; then  rm -f /nfs/fw/usr/include/nwfs;  fi
if [ -h /nfs/fw/usr/include/pccard ]; then  rm -f /nfs/fw/usr/include/pccard;  fi
if [ -h /nfs/fw/usr/include/posix4 ]; then  rm -f /nfs/fw/usr/include/posix4;  fi
if [ -h /nfs/fw/usr/include/sys ]; then  rm -f /nfs/fw/usr/include/sys;  fi
if [ -h /nfs/fw/usr/include/vm ]; then  rm -f /nfs/fw/usr/include/vm;  fi
if [ -h /nfs/fw/usr/include/isofs/cd9660 ]; then  rm -f /nfs/fw/usr/include/isofs/cd9660;  fi
if [ -h /nfs/fw/usr/include/ufs/ffs ]; then  rm -f /nfs/fw/usr/include/ufs/ffs;  fi
if [ -h /nfs/fw/usr/include/ufs/mfs ]; then  rm -f /nfs/fw/usr/include/ufs/mfs;  fi
if [ -h /nfs/fw/usr/include/ufs/ufs ]; then  rm -f /nfs/fw/usr/include/ufs/ufs;  fi
if [ -h /nfs/fw/usr/include/dev/ppbus ]; then  rm -f /nfs/fw/usr/include/dev/ppbus;  fi
if [ -h /nfs/fw/usr/include/dev/usb ]; then  rm -f /nfs/fw/usr/include/dev/usb;  fi
if [ -h /nfs/fw/usr/include/machine ]; then  rm -f /nfs/fw/usr/include/machine;  fi
mtree -deU -f /usr/src/include/../etc/mtree/BSD.include.dist  -p /nfs/fw/usr/include
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 cam/*.h  /nfs/fw/usr/include/cam
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 msdosfs/*.h  /nfs/fw/usr/include/msdosfs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 net/*.h  /nfs/fw/usr/include/net
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netatalk/*.h  /nfs/fw/usr/include/netatalk
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netatm/*.h  /nfs/fw/usr/include/netatm
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netgraph/*.h  /nfs/fw/usr/include/netgraph
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netinet/*.h  /nfs/fw/usr/include/netinet
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netinet6/*.h  /nfs/fw/usr/include/netinet6
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netipx/*.h  /nfs/fw/usr/include/netipx
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netkey/*.h  /nfs/fw/usr/include/netkey
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netnatm/*.h  /nfs/fw/usr/include/netnatm
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netncp/*.h  /nfs/fw/usr/include/netncp
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 netns/*.h  /nfs/fw/usr/include/netns
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 nfs/*.h  /nfs/fw/usr/include/nfs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 ntfs/*.h  /nfs/fw/usr/include/ntfs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 nwfs/*.h  /nfs/fw/usr/include/nwfs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 pccard/*.h  /nfs/fw/usr/include/pccard
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 posix4/*.h  /nfs/fw/usr/include/posix4
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 sys/*.h  /nfs/fw/usr/include/sys
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 vm/*.h  /nfs/fw/usr/include/vm
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 isofs/cd9660/*.h  /nfs/fw/usr/include/isofs/cd9660
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 ufs/ffs/*.h  /nfs/fw/usr/include/ufs/ffs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 ufs/mfs/*.h  /nfs/fw/usr/include/ufs/mfs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 ufs/ufs/*.h  /nfs/fw/usr/include/ufs/ufs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 cam/scsi/*.h  /nfs/fw/usr/include/cam/scsi
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 dev/ppbus/*.h  /nfs/fw/usr/include/dev/ppbus
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444 dev/usb/*.h  /nfs/fw/usr/include/dev/usb
cd /usr/src/include/../sys/i386/include;  install -C -o root -g wheel -m 444 *.h  /nfs/fw/usr/include/machine
ln -sf ../sys/soundcard.h /nfs/fw/usr/include/machine/soundcard.h
ln -sf ../sys/joystick.h /nfs/fw/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 /nfs/fw/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 /nfs/fw/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 /nfs/fw/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 /nfs/fw/usr/include/rpc
install -C -o root -g wheel -m 444  /usr/obj/usr/src/include/osreldate.h  /nfs/fw/usr/include
ln -sf sys/aio.h /nfs/fw/usr/include/aio.h
ln -sf sys/errno.h /nfs/fw/usr/include/errno.h
ln -sf sys/fcntl.h /nfs/fw/usr/include/fcntl.h
ln -sf sys/inttypes.h /nfs/fw/usr/include/inttypes.h
ln -sf sys/linker_set.h /nfs/fw/usr/include/linker_set.h
ln -sf sys/poll.h /nfs/fw/usr/include/poll.h
ln -sf sys/syslog.h /nfs/fw/usr/include/syslog.h
ln -sf sys/termios.h /nfs/fw/usr/include/termios.h
ln -sf sys/ucontext.h /nfs/fw/usr/include/ucontext.h
ln -sf machine/float.h /nfs/fw/usr/include/float.h
ln -sf machine/floatingpoint.h /nfs/fw/usr/include/floatingpoint.h
ln -sf machine/stdarg.h /nfs/fw/usr/include/stdarg.h
ln -sf machine/varargs.h /nfs/fw/usr/include/varargs.h
ln -sf posix4/mqueue.h /nfs/fw/usr/include/mqueue.h
ln -sf posix4/sched.h /nfs/fw/usr/include/sched.h
ln -sf posix4/semaphore.h /nfs/fw/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  /nfs/fw/usr/include/rpcsvc
install -C -o root -g wheel -m 444 key_prot.h  /nfs/fw/usr/include/rpc
===> lib
===> lib/csu/i386-elf
install -c -o root -g wheel -m 444  crt1.o /nfs/fw/usr/lib/crt1.o
install -c -o root -g wheel -m 444  crti.o /nfs/fw/usr/lib/crti.o
install -c -o root -g wheel -m 444  crtn.o /nfs/fw/usr/lib/crtn.o
install -c -o root -g wheel -m 444  gcrt1.o /nfs/fw/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 /nfs/fw/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 /nfs/fw/usr/include
install -c -o root -g wheel -m 444   libcom_err.a /nfs/fw/usr/lib
install -c -o root -g wheel -m 444   libcom_err_p.a /nfs/fw/usr/lib
install -c -s -o root -g wheel -m 444     libcom_err.so.2 /nfs/fw/usr/lib
ln -sf libcom_err.so.2 /nfs/fw/usr/lib/libcom_err.so
install -c -o root -g wheel -m 444 com_err.3.gz  /nfs/fw/usr/share/man/man3
===> lib/libcom_err/doc
install-info --quiet  --defsection="Programming & development tools."  --defentry="* libcom_err: (com_err).        A Common Error Description Library for UNIX."  com_err.info /nfs/fw/usr/share/info/dir
install -c -o root -g wheel -m 444  com_err.info.gz /nfs/fw/usr/share/info
===> lib/libcrypt
install -c -o root -g wheel -m 444   libscrypt.a /nfs/fw/usr/lib
install -c -o root -g wheel -m 444   libscrypt_p.a /nfs/fw/usr/lib
install -c -s -o root -g wheel -m 444   -fschg  libscrypt.so.2 /nfs/fw/usr/lib
install: /nfs/fw/usr/lib/libscrypt.so.2: Permission denied
*** Error code 71

Stop in /usr/src/lib/libcrypt.
*** 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.
> 
> -- 
> Marcel Moolenaar
>   mail: marcel@cup.hp.com / marcel@FreeBSD.org
>   tel:  (408) 447-4222
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

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?20010312190530.A14665>