Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 20:29:21 +0900
From:      Makoto Matsushita <matusita@jp.FreeBSD.org>
To:        current@FreeBSD.org
Subject:   FreeBSD/i386 kern.flp flooding again
Message-ID:  <20030216202921A.matusita@jp.FreeBSD.org>

next in thread | raw e-mail | index | archive | help

It seems that our kenrel for kern.flp does not fit again :-(

(Quote from "make release" logfile)
+ mdconfig -a -t vnode -f /R/stage/floppies/kern.flp
+ MDDEVICE=md1
+ [ ! -c /dev/md1 ]
+ disklabel -w -B -b /R/stage/trees/base/boot/boot md1 fd1440
+ newfs -i 80000 -o space -m 0 /dev/md1c
fstab: /etc/fstab:0: No such file or directory
/dev/md1c: 1.4MB (2880 sectors) block size 4096, fragment size 512
        using 1 cylinder groups of 1.41MB, 360 blks, 32 inodes.
super-block backups (for fsck -b #) at:
 32
+ mount /dev/md1c /mnt
+ [ -d /R/stage/image.kern ]
+ set -e
+ cd /R/stage/image.kern
+ find+ cpio -dump . -print /mnt

cpio: write error: No space left on device
*** Error code 1
(End quote)

There are about 1414kbytes in image.kern directory.  Note that
kern.flp has about 1407kbytes (see below); reduce 7k is required.

% pwd
/R/stage/image.kern
% ls -lR
total 1313
drwxr-xr-x  2 root  wheel      512 Feb 16 09:31 boot
-r-xr-xr-x  1 root  wheel  1327754 Feb 16 09:31 kernel.gz

./boot:
total 100
-rw-r--r--  1 root  wheel   2352 Feb 16 09:31 device.hints
-rwxr-xr-x  1 root  wheel  97639 Feb 16 09:31 loader
-rw-r--r--  1 root  wheel    245 Feb 16 09:31 loader.rc
%


Apparantly, we have a chance to gzip /boot/loader:

% cd boot
% gzip loader
% ls -l loader.gz
-rwxr-xr-x  1 root  wheel  90372 Feb 16 09:31 loader.gz
%


And, it fits to 1.44MB floppy again:

% df /mnt
Filesystem 1K-blocks Used Avail Capacity  Mounted on
/dev/md1c       1407 1404     3   100%    /mnt
% ls -lR /mnt
total 1305
drwxr-xr-x  2 root  wheel      512 Feb 16 20:16 boot
-r-xr-xr-x  1 root  wheel  1327754 Feb 16 09:31 kernel.gz

/mnt/boot:
total 99
-rw-r--r--  1 root  wheel   2352 Feb 16 09:31 device.hints
-rwxr-xr-x  1 root  wheel  90372 Feb 16 09:31 loader.gz
-rw-r--r--  1 root  wheel    245 Feb 16 09:31 loader.rc

There are ONLY 3 kbytes left, maybe it flood again in very near future:)


Anyway that's all about current 5-current kern.flp problem -- How do
you think about this?  May I gzip /boot/loader on kern.flp?  Do you
know any drivers/features which can drop from the kernel on kern.flp?

-- -
Makoto `MAR' Matsushita

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?20030216202921A.matusita>