Date: Sat, 17 May 2003 09:56:05 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Morton Lin <mtlin1@ms36.hinet.net> Cc: freebsd-stable@freebsd.org Subject: Re: make installworld fails : touch not found ? Message-ID: <20030517065605.GD23902@sunbay.com> In-Reply-To: <00af01c31c3d$a404b2e0$c40a27ca@morton> References: <00af01c31c3d$a404b2e0$c40a27ca@morton>
next in thread | previous in thread | raw e-mail | index | archive | help
--C1iGAkRnbeBonpVg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 17, 2003 at 02:29:15PM +0800, Morton Lin wrote: > Hi, hackers : >=20 > Yesterday night and this morning, I cvsup my system to latest STABLE bran= ch > source (RELENG_4). All make buildworld, buildkernel, and installkernel > procedure was completed with no error. But when I boot into single user m= ode > and try to make installworld, I always got " touch: not found " error. > Does anyone encounter this situation ? I have no idea about that. :-( >=20 > Here is error message : >=20 > ---------[make installworld ]--------------------------------------------= --- >=20 > mkdir -p /tmp/install.466 > for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find > grep l > n make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl test true > uname > wc zic; do cp `which $prog` /tmp/install.466; done > cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Di386 MACHINE=3D= i386 > OBJFORM > AT_PATH=3D/usr/obj/usr/src/i386/usr/libexec > PERL5LIB=3D/usr/obj/usr/src/i386/usr/li > bdata/perl/5.00503 GROFF_BIN_PATH=3D/usr/obj/usr/src/i386/usr/bin > GROFF_FONT_PAT > H=3D/usr/obj/usr/src/i386/usr/share/groff_font > GROFF_TMAC_PATH=3D/usr/obj/usr/src/i > 386/usr/share/tmac > PATH=3D/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/us > r/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.466 make -f Makefile.i= nc1 > rei > nstall > -------------------------------------------------------------- > >>> 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/share/nls; = do > tes > t -d /${dir} && cd /${dir}; test -L "$2" && rm -rf "$2"; test \! -L "$1" > && te > st -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/perl/5.00503/ > mach > mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / > 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`; whi= le > [ $# > -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done > cd /usr/share/locale; set - `grep "^[a-zA-Z]" /usr/src/etc/locale.alias`; > whil > e [ $# -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done > cd /usr/share/openssl/man/en.ISO8859-1; ln -sf ../man* . > cd /usr/share/nls; set - `grep "^[a-zA-Z]" /usr/src/etc/nls.alias`; whi= le > [ $# > -gt 0 ] ; do rm -rf "$1"; ln -s "$2" "$1"; shift; shift; done >=20 > -------------------------------------------------------------- > >>> Installing everything.. > -------------------------------------------------------------- > cd /usr/src; make -f Makefile.inc1 install > =3D=3D=3D> share/info > =3D=3D=3D> include > creating osreldate.h from newvers.sh > setvar PARAMFILE /usr/src/include/../sys/sys/param.h; . > /usr/src/include/../sys > /conf/newvers.sh; echo "$COPYRIGHT" > osreldate.h; > echo "#ifdef _KERNEL" >> osreldate.h; > echo '# > error "osreldate.h must not be used in the kernel, use sys/param.h"' >> > osreldat > e.h; echo "#else" >> osreldate.h; echo > \#'undef _ > _FreeBSD_version' >> osreldate.h; echo \#'define __FreeBSD_version' > $RELD > ATE >> osreldate.h; echo "#endif" >> osreldate.h > touch: not found > *** Error code 127 >=20 > Stop in /usr/src/include. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > *** Error code 1 >=20 > Stop in /usr/src. > -------------------------------------------------------------------------= --- > --- >=20 > And here were my kernel config file, make.conf, and dmesg message : >=20 > ------ [modified LINT] -------------------------------------------------- > machine i386 >=20 > ident ANGEL >=20 > maxusers 64 >=20 > makeoptions CONF_CFLAGS=3D-fno-builtin #Don't allow use of memcmp, e= tc. >=20 > options MAXDSIZ=3D"(512*1024*1024)" > options MAXSSIZ=3D"(256*1024*1024)" > options DFLDSIZ=3D"(256*1024*1024)" >=20 > cpu I686_CPU # aka Pentium Pro(tm) >=20 > options CPU_ATHLON_SSE_HACK > options CPU_ENABLE_SSE >=20 > options COMPAT_43 >=20 > options SYSVSHM # include support for shared memory >=20 > options SYSVSEM # include support for semaphores >=20 > options SYSVMSG # include support for message queues >=20 > options UCONSOLE >=20 > options USERCONFIG #boot -c editor >=20 > options INET #Internet communications protocols > options INET6 #IPv6 communications protocols > options IPSEC #IP security > options IPSEC_ESP #IP security (crypto; define w/ > IPSEC) >=20 > pseudo-device ether #Generic Ethernet > pseudo-device loop #Network loopback device > pseudo-device bpf #Berkeley packet filter >=20 > pseudo-device gif #IPv6 and IPv4 tunneling > pseudo-device faith 1 #for IPv6 and IPv4 translation > pseudo-device stf #6to4 IPv6 over IPv4 encapsulation >=20 > options MROUTING # Multicast routing > options IPFIREWALL #firewall > options IPFIREWALL_VERBOSE #enable logging to syslogd(8) > options IPFIREWALL_FORWARD #enable transparent proxy support >=20 > options IPFIREWALL_VERBOSE_LIMIT=3D100 #limit verbosity > options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by defa= ult > options IPV6FIREWALL #firewall for IPv6 > options IPV6FIREWALL_VERBOSE > options IPV6FIREWALL_VERBOSE_LIMIT=3D100 > options IPV6FIREWALL_DEFAULT_TO_ACCEPT > options IPDIVERT #divert sockets >=20 > options RANDOM_IP_ID >=20 > options ACCEPT_FILTER_DATA > options ACCEPT_FILTER_HTTP >=20 > options ICMP_BANDLIM >=20 > options DEVICE_POLLING >=20 > options FFS #Fast filesystem > options NFS #Network File System >=20 > options CD9660 #ISO 9660 filesystem > options CD9660_ROOT #CD-ROM usable as root device > options FFS_ROOT #FFS usable as root device >=20 > options NFS_ROOT #NFS usable as root device >=20 > options SOFTUPDATES >=20 > options QUOTA #enable disk quotas >=20 > options P1003_1B > options _KPOSIX_PRIORITY_SCHEDULING > options _KPOSIX_VERSION=3D199309L >=20 > options HZ=3D1000 >=20 > pseudo-device pty #Pseudo ttys > pseudo-device speaker #Play IBM BASIC-style noises out your > speaker > pseudo-device gzip #Exec gzipped a.out's > pseudo-device vn #Vnode driver (turns a file into a device) > pseudo-device md #Memory/malloc disk > pseudo-device snp #Snoop device - to look at pty/vty/etc.. >=20 > device isa >=20 > device atkbdc0 at isa? port IO_KBD >=20 > device atkbd0 at atkbdc? irq 1 >=20 > device psm0 at atkbdc? irq 12 >=20 > device vga0 at isa? >=20 > options VESA >=20 > pseudo-device splash >=20 > device sc0 at isa? > options MAXCONS=3D16 # number of virtual consoles > options SC_DISABLE_REBOOT # disable reboot key sequence > options SC_HISTORY_SIZE=3D5000 # number of history buffer lines >=20 > device npx0 at nexus? port IO_NPX flags 0x0 irq 13 >=20 > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > # needs CAM to be present (scbus & pass) > options ATA_STATIC_ID >=20 > device wdc0 at isa? port IO_WD1 irq 14 >=20 > device wcd >=20 > device fdc0 at isa? port IO_FD1 irq 6 drq 2 >=20 > device fd0 at fdc0 drive 0 >=20 > device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > device sio1 at isa? port IO_COM2 irq 3 >=20 > device pci >=20 > device agp >=20 > device miibus >=20 > device fxp # Intel EtherExpress PRO/100B (82557, 825= 58) >=20 > device ppc0 at isa? irq 7 > device ppbus > device lpt > device plip >=20 > device ppi >=20 > options NMBCLUSTERS=3D8192 >=20 > device uhci > device usb >=20 > device mgadrm >=20 > options COMPAT_LINUX > -------------------------------------------------------------------------= --- > -- >=20 > -------------[ make.conf ]-----------------------------------------------= -- > CPUTYPE=3Dathlon-xp > CFLAGS=3D -O -pipe > BDECFLAGS=3D -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-ali= gn \ > -Wcast-qual -Wchar-subscripts -Winline \ > -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ > -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-st= rin > gs > COPTFLAGS=3D -O -pipe >=20 > [SUP related message deleted] > -------------------------------------------------------------------------= --- > --- >=20 > ------------[ > dmesg ] ---------------------------------------------------------- > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 > root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD Athlon(tm) XP 2000+ (1667.40-MHz 686-class CPU) > Origin =3D "AuthenticAMD" Id =3D 0x681 Stepping =3D 1 >=20 > Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA, > CM > OV,PAT,PSE36,MMX,FXSR,SSE> > AMD Features=3D0xc0400000<AMIE,DSP,3DNow!> > real memory =3D 536805376 (524224K bytes) > avail memory =3D 517066752 (504948K bytes) > Preloaded elf kernel "kernel.old" at 0xc051d000. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 8 entries at 0xc00fdef0 > npx0: <math processor> on motherboard > npx0: INT 16 interface > pcib0: <Host to PCI bridge> on motherboard > pci0: <PCI bus> on pcib0 > agp0: <VIA Generic host to PCI bridge> mem 0xc0000000-0xcfffffff at device > 0.0 o > n pci0 > pcib1: <PCI to PCI bridge (vendor=3D1106 device=3Db099)> at device 1.0 on= pci0 > pci1: <PCI bus> on pcib1 > pci1: <Matrox MGA G200 AGP graphics accelerator> at 0.0 irq 11 > fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xc000-0xc03f mem > 0xd5000000-0xd50f > ffff,0xd5100000-0xd5100fff irq 5 at device 11.0 on pci0 > fxp0: Ethernet address 00:d0:b7:09:09:8e > inphy0: <i82555 10/100 media interface> on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: <PCI to ISA bridge (vendor=3D1106 device=3D3147)> at device 17.0 o= n pci0 > isa0: <ISA bus> on isab0 > atapci0: <VIA 8233 ATA133 controller> port 0xc400-0xc40f at device 17.1 on > pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > uhci0: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 5 at device 17.2 > on pc > i0 > usb0: <VIA 83C572 USB controller> on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 5 at device 17.3 > on pc > i0 > usb1: <VIA 83C572 USB controller> on uhci1 > usb1: USB revision 1.0 > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > atapci1: <HighPoint HPT372 ATA133 controller> port > 0xe000-0xe0ff,0xdc00-0xdc03,0 > xd800-0xd807,0xd400-0xd403,0xd000-0xd007 irq 10 at device 19.0 on pci0 > ata2: at 0xd000 on atapci1 > ata3: at 0xd800 on atapci1 > orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcffff,0xd0000-0xd0= fff > on > isa0 > fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: model Generic PS/2 mouse, device ID 0 > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > plip0: <PLIP network interface> on ppbus0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > ppi0: <Parallel I/O> on ppbus0 > ad0: DMA limited to UDMA33, non-ATA66 cable or device > ad0: 38166MB <ST340014A> [77545/16/63] at ata0-master UDMA33 > acd0: DVD-ROM <DVD-ROM DDU1621> at ata1-slave PIO4 > Mounting root from ufs:/dev/ad0s1a > -------------------------------------------------------------------------= --- > -------------- >=20 > I just wonder whether or not my memory have some problem ? But > when I build world and kernel, everything is OK. :-( >=20 > BTW, here is my upgrading procedure : >=20 > o) cd /usr/src ; make update (cvsup) > o) time make buildworld (only 493.500s) > o) time make buildkernel KERNCONF=3DLINT (only 33.306s) > o) make installkernel KERNCONF=3DLINT > o) shutdown -r now > o) boot -s > >) fsck -p > >) mount -u / > >) mount -a -t ufs > >) swapon -a > >) adjkerntz -i > o) cd /usr/src ; make installworld >=20 > then fails. :-( > It shows my system can not find "touch" utility. >=20 > In my another Pentium-233 MMX platform, all upgrading steps > were smooth and successful. >=20 > Any comments and suggestions will be appreciated. > And sorry for my poor English. > Thanks. >=20 CHECK THE DATE! CHECK THE DATE! CHECK THE DATE! 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 --C1iGAkRnbeBonpVg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+xd0FUkv4P6juNwoRAm2FAJ9WECAoR2XSk/CXT/IneUCrjkmdZgCfQDAY fqZ7JShbOdDglf8PmQubrOg= =Z8aA -----END PGP SIGNATURE----- --C1iGAkRnbeBonpVg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030517065605.GD23902>