Re: make release broken for -STABLE?

2003-01-23 Thread Bruce A. Mah
If memory serves me right, Igor B. Bykhalo wrote:

[kern.flp overflow again]

 I don't get it:

[snip]

  goshik# ls -l *kern*
  image.kern:
  total 1346
  drwxr-xr-x  2 root  wheel  512 22 ÑÎ× 21:19 boot
  -r-xr-xr-x  1 root  wheel  1344894 22 ÑÎ× 21:19 kernel.gz
 
  kernels:
  total 2864
  -r-xr-xr-x  1 root  wheel  2909648 22 ÑÎ× 21:19 BOOTMFS.kern
 
 Looks like kernel.gz fits to floppy, but for some reason it doesn't...
 Should i supply more info?

Well, kernel.gz will probably fit, but the release needs the entire 
contents of the image.kern directory to fit on kern.flp.  See:

freebsd-stable:stage% du image.kern
88  image.kern/boot
1434image.kern

This doesn't fit.  :-(  By my calculation, we have to get rid of about 
27K to make it fit, but I could be off.

We might be able to move the de, em, or vx drivers to the mfsroot
floppy, if there's space.  I'll try playing around with this, if I get 
some time.  (Obviously that shouldn't preclude someone else from 
working on this problem.)

Bruce.






msg16539/pgp0.pgp
Description: PGP signature


Re: make release broken for -STABLE?

2003-01-23 Thread Bruce A. Mah
I wrote:

 We might be able to move the de, em, or vx drivers to the mfsroot
 floppy, if there's space.  I'll try playing around with this, if I get 
 some time.  (Obviously that shouldn't preclude someone else from 
 working on this problem.)

I moved the em driver to mfsroot.flp and was able to build a release
successfully (see revision 1.3.2.7 of src/release/i386/drivers.conf).
Please update your tree, try the build again, and let me know how this 
works.

Good luck,

Bruce.





msg16540/pgp0.pgp
Description: PGP signature


make release broken for -STABLE?

2003-01-23 Thread Igor B. Bykhalo
goshik# uname -a
FreeBSD goshik.binep.ac.ru 4.7-STABLE FreeBSD 4.7-STABLE #55: Wed Jan 22 13:20:00 MSK 
2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GO  i386

 goshik# make release CVSROOT=/home/ncvs CHROOTDIR=/home/release RELEASETAG=RELENG_4 
DOCLANG=en_US.ISO8859-1 MAKE_ISOS=YES
[...]
 touch hack.c
 cc -shared -nostdlib hack.c -o hack.So
 rm -f hack.c
 sh /usr/src/sys/conf/newvers.sh BOOTMFS

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q
ual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys 
-I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNE
L -include opt_global.h  -mpreferred-stack-boundary=2  vers.c
 linking BOOTMFS
textdata bss dec hex filename
 2669495  207576  209556 3086627  2f1923 BOOTMFS
 --
  Kernel build for BOOTMFS completed on Wed Jan 22 18:19:12 GMT 2003
 --
 cd /usr/obj/usr/src/sys/BOOTMFS;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  
MACHINE=i386
OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  
PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac make KERNEL=BOOTMFS reinstall
 install -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=0x20 dsize=0x25000 isize=0x25000 entry=0x20 nsize=0x11afc
 /R/stage/image.kern/kernel:  53.7% -- 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  8 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
 cpio: write error: No space left on device
 *** Error code 1

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

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

 Stop in /usr/src/release.
 goshik#


I don't get it:

 goshik#cd /home/release/R/stages

 goshik#ls -l crunch
 total 3392
 -r-xr-xr-x  34 root  wheel  2180036 22 ÑÎ× 21:10 boot
 -rwxr-xr-x   1 root  wheel  1233892 22 ÑÎ× 21:11 fixit

 goshik# ls -l floppies
 total 2912
 -rw-r--r--  1 root  wheel  1474560 22 ÑÎ× 21:19 kern.flp
 -rw-r--r--  1 root  wheel  1474560 22 ÑÎ× 21:17 mfsroot.flp

 goshik# ls -l *kern*
 image.kern:
 total 1346
 drwxr-xr-x  2 root  wheel  512 22 ÑÎ× 21:19 boot
 -r-xr-xr-x  1 root  wheel  1344894 22 ÑÎ× 21:19 kernel.gz

 kernels:
 total 2864
 -r-xr-xr-x  1 root  wheel  2909648 22 ÑÎ× 21:19 BOOTMFS.kern

Looks like kernel.gz fits to floppy, but for some reason it doesn't...
Should i supply more info?

TIA,
Igor





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message