From owner-freebsd-current@FreeBSD.ORG Fri Apr 25 21:20:56 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70C12106566B for ; Fri, 25 Apr 2008 21:20:56 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id E874B8FC12 for ; Fri, 25 Apr 2008 21:20:55 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so4151053fgg.35 for ; Fri, 25 Apr 2008 14:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:message-id; bh=fLrrGQ1u5RAoZme6ckP+1GGk4TlpKvShfB/j3LSAmBw=; b=NULGCZc9j07x0aFaV9wZscB1UM1waikq9OqFjQBM12XtM0MFYVQ/cxZ7V49szNyOPStWT8ZxXVfwbn2auh9fB5xhPIGnactMu7PBcAJkN/8OoBTTh9xnoJrTxmRWlvPTBpHnazYVtGeE5L6jcJfjBWpPoiTaSWFhHXHC0Sc0/mc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:message-id; b=g0uWIAfpMqslXE03Y3NSogtAUkBgWjTY4sMrg+vwLsaroI2sXqlsehOZaBRxdONfNvaSz5rqEnuE9k2xKBCvD6KFf0hU/PSSPBmvqT8UXwypqktEjleOfhXbIuYUDfdjQEtvPTn1ENv1lqS63DG9O7gtMHHU8fo5hfqZJDqwVcU= Received: by 10.86.98.18 with SMTP id v18mr2062943fgb.56.1209158454468; Fri, 25 Apr 2008 14:20:54 -0700 (PDT) Received: from ?0.0.0.0? ( [196.34.241.123]) by mx.google.com with ESMTPS id y18sm4579497fkd.17.2008.04.25.14.20.51 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Apr 2008 14:20:53 -0700 (PDT) From: David Naylor Organization: Private To: freebsd-current@freebsd.org Date: Fri, 25 Apr 2008 23:20:34 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2557398.z3glLAHakV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200804252320.39121.naylor.b.david@gmail.com> X-Mailman-Approved-At: Fri, 25 Apr 2008 22:10:37 +0000 Subject: boot failed with gzip'ed modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2008 21:20:56 -0000 --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--