From nobody@FreeBSD.org  Fri Jan 25 15:21:23 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 9A6F037B426
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Jan 2002 15:21:20 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0PNLKh55050;
	Fri, 25 Jan 2002 15:21:20 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201252321.g0PNLKh55050@freefall.freebsd.org>
Date: Fri, 25 Jan 2002 15:21:20 -0800 (PST)
From: Supart <part_fb@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: make release broken (the size of kern.flp seems to be over 1.44 M)
X-Send-Pr-Version: www-1.0

>Number:         34288
>Category:       i386
>Synopsis:       make release broken (the size of kern.flp seems to be over 1.44 M)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    matusita
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 25 15:30:00 PST 2002
>Closed-Date:    Mon Jan 28 02:27:07 PST 2002
>Last-Modified:  Mon Jan 28 02:28:38 PST 2002
>Originator:     Supart
>Release:        4.5 RC on stable branch with snapshot on Fri Jan 25, 2002
>Organization:
throughwave
>Environment:
FreeBSD robuz.throughwave.com 4.5-RC FreeBSD 4.5-RC #0: Fri Jan 25 02:38:56 PST 2002   part@robuz.throughwave.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
"make release" process failed.

the output from build log are as the following:
----------------------------------------------------------
linking BOOTMFS
   text    data     bss     dec     hex filename
2812353  286888  180084 3279325  3209dd BOOTMFS
install -c -m 555 -o root -g wheel -fschg  BOOTMFS /R/stage/kernels/BOOTMFS
mv /R/stage/kernels/BOOTMFS /R/stage/image.kern/kernel
Setting up /boot directory for kern floppy
dload=0x200000 dsize=0x25000 isize=0x25000 entry=0x200000 nsize=0x11781
/R/stage/image.kern/kernel:      52.6% -- replaced with /R/stage/image.kern/kernel.gz
sh -e 
/usr/src/release/scripts/doFS.sh /R/stage/floppies/kern.flp  /R/stage /mnt
 1440 /R/stage/image.kern  80000 fd1440
Warning: Block size restricts cylinders per group to 6.
Warning: 1216 sector(s) in last cylinder unallocated
/dev/rvnn0c:    2880 sectors in 1 cylinders of 1 tracks, 4096 sectors
        1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 32 i/g)
super-block backups (for fsck -b #) at:
 32
/mnt: write failed, file system is full
cpio: write error: No space left on device
*** Error code 1
Stop in /usr/src/release.
*** Error code 1
-----------------------------------------------------------
df show that the floppies image that mounted over vn node full, it seems like the content of kern.flp is over limit of 1440K. See the result below. 

---------------------------------------------------------------
robuz# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s2a     99183    82545     8704    90%    /
/dev/ad0s2f   6710062  5714315   458943    93%    /usr
/dev/ad0s2e    297663    20731   253119     8%    /var
procfs              4        4        0   100%    /proc
/dev/vnn0c       1407     1401       -8   101%    /mnt
--------------------------------------------------------------
>How-To-Repeat:
- Sync to stable branch on Jan 25th, 2002.
- add "pseudo-device   vn" to the kernel configuration file.
- Make world and upgrade both binaries and kernel.
- Configure Makefile in /usr/src/release to have CHROOTDIR directory and other info correctly.
- do "make release" in /usr/src/release

Note: The same problem existed before on 4.4 in November around the time that opelssh fixed was checked in, someone must fix that since I could build release based on 4.4 in december.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: matusita 
State-Changed-When: Fri Jan 25 20:28:47 PST 2002 
State-Changed-Why:  
It is because the BOOTMFS kernel is too large to fit 1.44MB floppy. 


Responsible-Changed-From-To: freebsd-bugs->matusita 
Responsible-Changed-By: matusita 
Responsible-Changed-When: Fri Jan 25 20:28:47 PST 2002 
Responsible-Changed-Why:  
I'll handle this one. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34288 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: matusita 
State-Changed-When: Sun Jan 27 07:04:08 PST 2002 
State-Changed-Why:  
I've confirmed that 4-stable as of Jan/26/2002 15:00 UTC have no problem. 

Supart, would you please try it again?  It should go well, or it will your 
local configuration problem. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34288 

From: Supart Pornnapa <part_fb@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org, part_fb@yahoo.com
Cc:  
Subject: Re: i386/34288: make release broken (the size of kern.flp seems to be over 1.44 M)
Date: Sun, 27 Jan 2002 20:14:53 -0800 (PST)

 Reconfirm 4-stable as of Jan/26/2002 15:00 UTC have no
 problem. 
 
 
 __________________________________________________
 Do You Yahoo!?
 Great stuff seeking new owners in Yahoo! Auctions! 
 http://auctions.yahoo.com
State-Changed-From-To: feedback->closed 
State-Changed-By: matusita 
State-Changed-When: Mon Jan 28 02:27:07 PST 2002 
State-Changed-Why:  
The problem is gone away.  Thanks for your cooperations. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34288 
>Unformatted:
