Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2008 23:20:34 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   boot failed with gzip'ed modules
Message-ID:  <200804252320.39121.naylor.b.david@gmail.com>

next in thread | raw e-mail | index | archive | help
--nextPart2557398.z3glLAHakV
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

I have a live CD that has a GENERIC kernel and that loads some modules befo=
re=20
booting.  They have been gzip'ed to save space however suddenly the booting=
=20
has stopped.   The kernel loads and then after the first line of the module=
s=20
to load it stops:

CD Loader 1.2

Building the boot loader arguments
Looking up /BOOT/LOADER... File not found
Looking up /boot/loader... Found
Relocating the loader and the BTX
Starting the BTX loader

BTX loader 1.00  BTX version is 1.02
Consoles: internal video/keyboard
BIOS CD is cd0
BIOS drive A: is disk0
BIOS 638kB/260032kB available memory

=46reeBSD/i386 bootstrap loader, Revision 1.1
(DragonSA@dragon, Fri Apr 25 16:40:18 SAST 2008)
Loading /boot/defaults/loader.conf
/boot/kernel/kernel test=3D0x74bb28 data=3D0xfe590+0xfc4f0=20
syms=3D[0x8+0xc1830+0x8+0xac76c]
/boot/kernel/unionfs.ko |

The current was csup'ed today (a previous system from 13th April worked fin=
e)

My loader.conf:=20
geom_label_load=3D"YES"
geom_uzip_load=3D"YES"
unionfs_load=3D"YES"
zlib_load=3D"YES"
init_script=3D"/chroot"
init_chroot=3D"/base"

and the files:
dragon# cd boot/kernel/
dragon# ls -l
total 4416
=2Dr-xr-xr-x  1 root  wheel     8815 Apr 25 17:40 geom_label.ko.gz
=2Dr-xr-xr-x  1 root  wheel     4145 Apr 25 17:40 geom_uzip.ko.gz
=2Dr-xr-xr-x  1 root  wheel  4425256 Apr 25 17:40 kernel.gz
=2Dr-xr-xr-x  1 root  wheel    19775 Apr 25 17:40 unionfs.ko.gz
=2Dr-xr-xr-x  1 root  wheel    28540 Apr 25 17:40 zlib.ko.gz

(there is a significant saving in size [and a pitty kldload does not like=20
gzip'ed modules... project idea :-) {with possibly other formats, i.e.=20
bzip2?}])

Oh, on an aside.  What is the BTX and why is the bootloader i386 even for a=
n=20
amd64 system (I suspect it is because there is no need for an amd64=20
bootloader [unless kernels and modules suddenly exceed 4GB 8-/ ])?

Thank you for your time

David

--nextPart2557398.z3glLAHakV
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBIEksnUaaFgP9pFrIRAqM2AJsGtTMCSJUIkbhQcJfvu+8DaAfTxgCdFNNL
ucgWqqy5qg7PUsNqOxZyQII=
=mDEe
-----END PGP SIGNATURE-----

--nextPart2557398.z3glLAHakV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804252320.39121.naylor.b.david>