Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2001 21:56:23 -0700 (PDT)
From:      Dave Cornejo <dave@dogwood.com>
To:        freebsd-current@freebsd.org
Subject:   make release: kernel floppy too big
Message-ID:  <200109250456.f8P4uN549372@white.dogwood.com>

next in thread | raw e-mail | index | archive | help
I tried a make release today and when (I think) it's making the kernel
floppy it craps out - the DIOCWLABEL may or may not be a problem, but
it would appear that the kernel floppy has overflowed.

This is probably rather simple to fix (and potentially politically
charged), but more importantly, I'm lazy, and figured I'd just whine
and hope someone fixes it for me. :-)

If you've read this far and not already hit reply to flame me,
seriously, it looks like the total file sizes of what I think it's
trying to cpio to the floppy image adds up to 1447587 bytes.

Assuming I'm not wrong here, or I somehow compiled with the 'create
bloated object' file options set, how do you handle things like this?

Below are an ls -lR in the directory it's copying about and the last
few lines of output from make release.

dave c

=====

>[dave@white] 114% ls -lR
total 1265
drwxr-xr-x  2 root  wheel      512 Sep 24 20:20 boot/
-r-xr-xr-x  1 root  wheel  1285524 Sep 24 20:20 kernel.gz*

./boot:
total 172
-rw-r--r--  1 root  wheel    2156 Sep 24 20:20 device.hints
-r-xr-xr-x  1 root  wheel  159744 Sep 24 20:20 loader*
-rw-r--r--  1 root  wheel     163 Sep 24 20:20 loader.rc
>[dave@white] 115%

=====

linking BOOTMFS
   text    data     bss     dec     hex filename
2478437  259532  139860 2877829  2be985 BOOTMFS
install -c -m 555 -o root -g wheel  BOOTMFS /R/stage/kernels
mv /R/stage/kernels/BOOTMFS /R/stage/image.kern/kernel
Setting up /boot directory for kern floppy
/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  80000 fd1440
disklabel: ioctl DIOCWLABEL: Operation not supported by device
Warning: Block size restricts cylinders per group to 6.
Warning: 1216 sector(s) in last cylinder unallocated
/dev/md0c:      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.

-- 
Dave Cornejo @ Dogwood Media, Fremont, California (also dcornejo@ieee.org)
  "There aren't any monkeys chasing us..." - Xochi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109250456.f8P4uN549372>