From owner-freebsd-stable Fri May 31 2: 3: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 3959B37B405 for ; Fri, 31 May 2002 02:02:49 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g4V91uw29617; Fri, 31 May 2002 12:01:56 +0300 (EEST) (envelope-from ru) Date: Fri, 31 May 2002 12:01:56 +0300 From: Ruslan Ermilov To: Mattias Bj?rk Cc: stable@FreeBSD.ORG Subject: Re: Problems when runing make installworld. Message-ID: <20020531090156.GB27669@sunbay.com> References: <20020528071935.GD53736@sunbay.com> <20020531090140.V40770-200000@thrawn.birch.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Content-Disposition: inline In-Reply-To: <20020531090140.V40770-200000@thrawn.birch.se> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 31, 2002 at 09:06:23AM +0200, Mattias Bj?rk wrote: > Hi, Again, thanks for the answer, i read > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D30276. >=20 > It says there that if you are building make world with a p3 and run > make installworld on a 486 you get this error. But I don't have a > p3 I have a dual celeron, I have also attached my make.conf from > the building machine. And its a p90 that Im makeing the make > worldinstall on. But any way the problem seams too be the same or > am I wrong? >=20 Did you set CPUTYPE=3Di586 just before doing a buildworld? Was it by chance set to CPUTYPE=3Di686 before? If that's the case, your /usr/lib stuff on the build box has some P6 CPU instructions, and some tools (like install(1) and strip(1)) that are used during installworld on your Pentium box use these libraries and fail. To work around this, you'll have to: 1. Rebuild and reinstall world/kernel on your build box with the compatible (with your install box) CPUTYPE setting like CPUTYPE=3Di586. 2. Reboot with the new kernel and world. 3. Build the world again (!). 4. Install this second world on a Pentium box. > On Tue, 28 May 2002, Ruslan Ermilov wrote: >=20 > > This is a known issue, for which there's no a quick solution. > > Please see PR 30276 for details. > > > > On Mon, May 27, 2002 at 10:52:23PM +0200, Mattias Bj?rk wrote: > > > On Mon, 27 May 2002, Mattias Bj?rk wrote: > > > > > > > Hi, > > > > > > > > I have one dual celeron 400 MHz that i runed a make buildworld. And= then i > > > > export /usr/src and /usr/obj with nfs to my box that I world like to > > > > upgrade. Its an p90 laptop, so that is why Im doing the build on my= dual > > > > 400. :) > > > > > > > > Any way when I run make installworld on the laptop, I get goes for = about > > > > 30 sec to one minute and then /usr/bin/install crashes with this er= ror > > > > message: > > > > > > > > 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 > > > > Illegal instruction - core dumped > > > > *** Error code 132 > > > > > > > > Stop in /usr/src/include. > > > > *** 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. > > > > > > > > Any clues? I have attched the hole make installworld log. It seems = that > > > > there is something wrong with my install file or? I copyied it from > > > > another machine that is a p120, but that did not help. Same problem= , first > > > > I thought that It hade something to do with that I was runing make > > > > installworld in multiuser mode. But i rebooted and runed it with bo= ot -s > > > > but that did not help either. > > > > > > > > Any clues/tips/flames welcome, as you can see it is no fun at all (= TM) to > > > > run a make world on a p90. I have done it before and it worked but i > > > > rather not do that... :) > > > > > > > > Perhaps you need more info, then do not hasitate to ask for it. Mig= ht take > > > > some time to answer this mail because I have some mails to catch up= in > > > > my mbox... > > > > > > > > Sorry if i typ to mutch... I will do better next time... > > > > > > > > Mvh Mattias Bj?rk > > > > > > > > Real Programmers don't write in PL/I. PL/I is for programmers who > > > > can't decide whether to write in COBOL or FORTRAN. > > > > > > > > > Script started on Mon May 27 22:36:18 2002 > > > # make installworld > > > mkdir -p /tmp/install.2474 > > > for prog in [ awk cat chflags chmod chown date echo egrep find grep = ln make makewhatis mtree mv perl rm sed sh sysctl test true uname wc zic; = do cp `which $prog` /tmp/install.2474; done > > > cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Di386 MACHIN= E=3Di386 OBJFORMAT_PATH=3D/usr/obj/usr/src/i386/usr/libexec PERL5LIB=3D/u= sr/obj/usr/src/i386/usr/libdata/perl/5.00503 GROFF_BIN_PATH=3D/usr/obj/usr= /src/i386/usr/bin GROFF_FONT_PATH=3D/usr/obj/usr/src/i386/usr/share/groff_= font GROFF_TMAC_PATH=3D/usr/obj/usr/src/i386/usr/share/tmac PATH=3D/usr/o= bj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i38= 6/usr/games:/tmp/install.2474 make -f Makefile.inc1 reinstall > > > -------------------------------------------------------------- > > > >>> Making hierarchy > > > -------------------------------------------------------------- > > > cd /usr/src; make -f Makefile.inc1 hierarchy > > > cd /usr/src/etc; make distrib-dirs > > > set - `grep "^[a-zA-Z]" /usr/src/etc/locale.deprecated`; while [ $# = -gt 0 ] ; do for dir in /usr/share/locale /usr/share/nls /usr/local/sha= re/nls; do test -d /${dir} && cd /${dir}; test -L "$2" && rm -rf "$2"; = test \! -L "$1" && test -d "$1" && mv "$1" "$2"; done; shift; shift; done > > > mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p / > > > 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/pe= rl/5.00503/mach > > > cd /; rm -f /sys; ln -s usr/src/sys sys > > > cd /usr/share/man/en.ISO8859-1; ln -sf ../man* . > > > cd /usr/share/man; set - `grep "^[a-zA-Z]" /usr/src/etc/man.alias`; = while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; d= one > > > cd /usr/share/locale; set - `grep "^[a-zA-Z]" /usr/src/etc/locale.al= ias`; while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shi= ft; done > > > cd /usr/share/nls; set - `grep "^[a-zA-Z]" /usr/src/etc/nls.alias`; = while [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; d= one > > > > > > -------------------------------------------------------------- > > > >>> 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/netsmb ]; then rm -f /usr/include/netsmb; 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/fs/smbfs ]; then rm -f /usr/include/fs/smbfs; = fi > > > if [ -h /usr/include/isofs/cd9660 ]; then rm -f /usr/include/isofs/c= d9660; 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 > > > Illegal instruction - core dumped > > > *** Error code 132 > > > > > > Stop in /usr/src/include. > > > *** 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. > > > # d=08 =08 > CPUTYPE=3Di586 > CFLAGS=3D -O -pipe -march=3Di586 ^^^^^^^^^^^ This is bogus, CPUTYPE adds to CFLAGS as necessary. This is not relevant to the problem though. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE89zwEUkv4P6juNwoRAt8fAJ0TFip+mO7igiSVVWYFpiSY9P9nmQCfWaW3 /YEIiX6XL4gzj6Z0XKCavHI= =cIu+ -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message