6.1 troubles -- cannot "install buildworld"

Jacques offbyone at xs4all.nl
Wed May 24 12:10:38 PDT 2006

On an older i386 box (Pentium III), used as a workstation, we have been
running FreeBSD_4.x and 5.x for a long time without problems.
Now, using cvsup, we updated FreeBSD source from
5.4p14 (default release=cvs tag=RELENG_5_4) to
6.1 (default release=cvs tag=RELENG_6_1_0_RELEASE)
and updated the system according to the canonical method:
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# mergemaster -p
# shutdown
# cd /usr/src/
# make installworld

But that last step won't run. Output is:

# make installworld
mkdir -p /tmp/install.e6Vg3aX8
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
sysctl  test true uname wc zic; do  cp `which $prog`
/tmp/install.e6Vg3aX8;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin

make -f Makefile.inc1 reinstall
>>> Making hierarchy
cd /usr/src; make -f Makefile.inc1 hierarchy
cd /usr/src/etc;                make distrib-dirs
mtree -eU  -f /usr/src/etc/mtree/BSD.root.dist -p /
mtree -eU  -f /usr/src/etc/mtree/BSD.var.dist -p /var
mtree -eU  -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -eU  -f /usr/src/etc/mtree/BSD.include.dist  -p /usr/include
mtree -deU  -f /usr/src/etc/mtree/BIND.chroot.dist  -p /var/named
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`;
while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" "$1";  shift; shift;
cd /usr/share/openssl/man;  set - `grep "^[a-zA-Z]"
/usr/src/etc/man.alias`;  while [ $# -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`;
while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" "$1";  shift; shift;

>>> Installing everything
cd /usr/src; make -f Makefile.inc1 install
===> share/info (install)
===> include (install)
creating osreldate.h from newvers.sh
touch: not found
*** Error code 127

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.

Wonder whether anyone else has had any experience similar, or any
insight on what to do about it.

dmesg is:
Copyright (c) 1992-2006 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 6.1-RELEASE #0: Wed May 24 18:48:01 CEST 2006
     jls at bulgari.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (664.51-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3

real memory  = 267386880 (255 MB)
avail memory = 252182528 (240 MB)
MPTable: <COMPAQ   Deskpro     >
ioapic0: Changing APIC ID to 8
ioapic0: Assuming intbase of 0
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
cpu0 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem
0x44000000-0x47ffffff,0x40300000-0x4037ffff irq 16 at device 2.0 on pci0
pcib1: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib1
fxp0: <Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet> port 0x1000-0x103f
mem 0x40000000-0x40000fff irq 20 at device 8.0 on pci2
miibus0: <MII bus> on fxp0
inphy0: <i82562EM 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:a5:26:1e:a5
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2460-0x246f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port
0x2440-0x245f irq 23 at device 31.4 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <multimedia, audio> at device 31.5 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xc9fff,0xca000-0xd77ff,0xe0000-0xeffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2
on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/13 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0100> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
Timecounter "TSC" frequency 664514056 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 9541MB <Maxtor 31024H1 YAH814Y0> at ata0-master UDMA100
acd0: CDROM <LTN485/KQA4> at ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s2a
pid 648 (netstat), uid 1001: exited on signal 11

The last two lines look bad, but df shows / is mounted:

Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s2a    248M     61M    167M    27%    /

Thanks for any suggestions.
- Jacques

More information about the freebsd-stable mailing list