I've tried building an OpenBSD release from the 3.7-stable branch a
few times in the last few days, on two different i386 machines, and
both stopped in the same place.  I'm following release(8) closely and
not trying to reuse /usr/obj, and dealing with new, clean, complete,
consistent checkouts of the code.  The failure comes on step 4, (make
and validate the system release) during the "make release" command in
/usr/src/etc.  

Here's a log of the failure.  It seems to be working on RAMDISKC:

---
building standard compat library
ranlib libcompat.a
cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wno-uninitialized -Wno-format -Wno-main  -fno-stack-protector
-fno-builtin-printf -fno-builtin-log -Os -pipe -nostdinc -I.
-I/usr/src/sys/arch/i386/compile/RAMDISKC/../../../../arch
-I/usr/src/sys/arch/i386/compile/RAMDISKC/../../../.. -DSCSITERSE
-DAPM_NOPRINT -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DSMALL_KERNEL
-DNO_PROPOLICE -DTIMEZONE="0" -DDST="0" -DFFS -DEXT2FS -DCD9660
-DMSDOSFS -DFIFO -DINET -DBOOT_CONFIG -DRAMDISK_HOOKS
-DMINIROOTSIZE="0xed8" -DPCIVERBOSE -D_KERNEL -Di386  -c swapbsd.c
sh /usr/src/sys/arch/i386/compile/RAMDISKC/../../../../conf/newvers.sh
cc  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wno-uninitialized -Wno-format -Wno-main  -fno-stack-protector
-fno-builtin-printf -fno-builtin-log -Os -pipe -nostdinc -I.
-I/usr/src/sys/arch/i386/compile/RAMDISKC/../../../../arch
-I/usr/src/sys/arch/i386/compile/RAMDISKC/../../../.. -DSCSITERSE
-DAPM_NOPRINT -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DSMALL_KERNEL
-DNO_PROPOLICE -DTIMEZONE="0" -DDST="0" -DFFS -DEXT2FS -DCD9660
-DMSDOSFS -DFIFO -DINET -DBOOT_CONFIG -DRAMDISK_HOOKS
-DMINIROOTSIZE="0xed8" -DPCIVERBOSE -D_KERNEL -Di386  -c vers.c
rm -f bsd
ld -Ttext 0xD0100120 -e start -N -S -x -o bsd ${SYSTEM_OBJ} vers.o
text    data    bss     dec     hex
1338427 1984260 281136  3603823 36fd6f
cp
/usr/src/distrib/i386/ramdiskC/../../../sys/arch/i386/compile/RAMDISKC/bsd
bsd 
cc -DDEBUG -o rdsetroot
/usr/src/distrib/i386/ramdiskC/../../common/elfrdsetroot.c
cp bsd bsd.rd
/usr/src/distrib/i386/ramdiskC/obj/rdsetroot bsd.rd < mr.fs
segment 0 rd_root_size_off = 0x14c5c0
rd_root_image_off = 0x14c5e0
rd_root_size  val: 0x001DB000 (3800 blocks)
copying root image...
...copied 1945600 bytes
cp bsd.rd bsd.strip
strip bsd.strip
strip -R .comment bsd.strip
gzip -c9 bsd.strip > bsd.gz
dd if=/dev/zero of=/var/tmp/image.19889 bs=10k count=144
144+0 records in
144+0 records out
1474560 bytes transferred in 0.031 secs (46081440 bytes/sec)
vnconfig -v -c svnd0 /var/tmp/image.19889
disklabel -w -r svnd0 floppy3
newfs -m 0 -o space -i 524288 -c 80 /dev/rsvnd0a
/dev/rsvnd0a:   2880 sectors in 80 cylinders of 2 tracks, 18 sectors
        1.4MB in 1 cyl groups (80 c/g, 1.41MB/g, 32 i/g)
super-block backups (for fsck -b #) at:
 32,
mount /dev/svnd0a /mnt
cp /usr/tmp/usr/mdec/boot /usr/src/distrib/i386/ramdiskC/obj/boot
strip /usr/src/distrib/i386/ramdiskC/obj/boot
strip -R .comment /usr/src/distrib/i386/ramdiskC/obj/boot
dd if=/usr/src/distrib/i386/ramdiskC/obj/boot of=/mnt/boot bs=512
75+1 records in
75+1 records out
38612 bytes transferred in 0.002 secs (17047241 bytes/sec)
dd if=bsd.gz of=/mnt/bsd bs=512

/mnt: write failed, file system is full
dd: /mnt/bsd: No space left on device
2720+1 records in
2720+0 records out
1392640 bytes transferred in 0.811 secs (1716327 bytes/sec)
*** Error code 1
Stop in /usr/src/distrib/i386/ramdiskC (line 30 of
/usr/src/distrib/i386/ramdiskC/../common/Makefile.inc).
*** Error code 1

Stop in /usr/src/distrib/i386.
*** Error code 1

Stop in /usr/src/distrib.
*** Error code 1

Stop in /usr/src/etc (line 376 of Makefile).

# df /mnt /
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/svnd0a       2815      2805        10   100%    /mnt
/dev/wd0a       150652     72724     70396    51%    /

# ls -l /usr/obj/distrib/i386/ramdiskC/bsd.gz
-rw-r--r--  1 root  wsrc  1392775 Jul 11 01:30
/usr/obj/distrib/i386/ramdiskC/bsd.gz

# ls -l /usr/obj/distrib/i386/ramdiskC/boot
-r-xr-xr-x  1 root  wsrc  38612 Jul 11 01:30
/usr/obj/distrib/i386/ramdiskC/boot

# uname -a
OpenBSD noc.hillconet.net 3.7 GENERIC#0 i386

(I was running the 3.7-stable GENERIC kernel both times I tried.  The
userland, etc. builds and installs, too, just can't make the release.)

Here's a complete dmesg from one of the machines that it failed to build
on: (the other is pretty similar, and I believe both failures were
identical, though I didn't save the last log, because I figured I
probably did something wrong):

OpenBSD 3.7-stable (GENERIC) #0: Sun Jul 10 14:53:01 CDT 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron ("GenuineIntel" 686-class, 128KB L2 cache) 468 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXS
R
real mem  = 199794688 (195112K)
avail mem = 175558656 (171444K)
using 2464 buffers containing 10092544 bytes (9856K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(78) BIOS, date 05/12/99, BIOS32 rev. 0 @
0xfb170
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xb5f0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfddc0/96 (4 entries)
pcibios0: PCI Exclusive IRQs: 9 10 11
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810-DC100" rev 0x02: rng active,
6Kb/sec
vga1 at pci0 dev 1 function 0 "Intel 82810-DC100 Graphics" rev 0x02:
aperture at 0xe0000000, size 0x4000000
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x01
pci1 at ppb0 bus 1
sis0 at pci1 dev 2 function 0 "NS DP83815 10/100" rev 0x00: DP83815C,
irq 9, add
ress 00:a0:cc:74:6d:98
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x01: DMA,
channel 0 w
ired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD102AA>
wd0: 16-sector PIO, LBA, 9787MB, 20044080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <ATAPI CD, ROM, 5.1a> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x01: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5 "Intel 82801AA AC97" rev 0x01: irq 9,
ICH AC97
ac97: codec id 0x41445340 (Analog Devices AD1881)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at auich0
"Intel 82801AA Modem" rev 0x01 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using
wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using
wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
biomask ed65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
uid 0 on /mnt: file system full

-- 
Adam Fabian <[EMAIL PROTECTED]>

Reply via email to