From owner-freebsd-current@FreeBSD.ORG Wed Dec 16 22:30:00 2009 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 AF063106566B for ; Wed, 16 Dec 2009 22:30:00 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 193088FC18 for ; Wed, 16 Dec 2009 22:29:59 +0000 (UTC) Received: by ewy26 with SMTP id 26so588957ewy.3 for ; Wed, 16 Dec 2009 14:29:59 -0800 (PST) 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:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=IsLrN0QYf0I3uRPuK1Ur3vqHfRW8/tK7SN686nAfAzY=; b=YjaRjAan6M7ThXPkidQDwPGR1tPVnMZRt+z9JjW/YGMiPjQurjsh6S3ddlfjn/3IND j+1x46QfGGevSa/vwAQldnBPDGmqSP7FLBSORgTDx+iZQ2J4ofIGuT2rtfkUNT6xmRS5 XkAAkqEvbu2OHbj16+3LV2L9GbmrK1GU/Dfns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=eTyrmplxmoVgcsxd6z8H28Hz04QgM/Dy83fbFaM2CbQvyDC+InIGEHq920E/hUzbj0 b0A+ACli+FUBM3iT2WgGc5DrTWYjjiYVS2ZDkPLIigC9QtasVnIVkKFaOkUQt2lSJujr MnRQWXzMIg40lYretmmAVLwq9bKgQFN3eHfDw= Received: by 10.213.103.137 with SMTP id k9mr1877274ebo.0.1261002598477; Wed, 16 Dec 2009 14:29:58 -0800 (PST) Received: from dragon.dg ([41.0.54.20]) by mx.google.com with ESMTPS id 5sm2284149eyh.0.2009.12.16.14.29.55 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Dec 2009 14:29:56 -0800 (PST) From: David Naylor Organization: Private To: John Baldwin Date: Thu, 17 Dec 2009 00:30:03 +0200 User-Agent: KMail/1.12.3 (FreeBSD/8.0-PRERELEASE; KDE/4.3.3; amd64; ; ) References: <200912151124.58478.naylor.b.david@gmail.com> <200912150900.20229.jhb@freebsd.org> In-Reply-To: <200912150900.20229.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2328016.G2jfqD0TGX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912170030.06523.naylor.b.david@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: [regression] loader stalls on compressed module 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: Wed, 16 Dec 2009 22:30:00 -0000 --nextPart2328016.G2jfqD0TGX Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Tuesday 15 December 2009 16:00:20 John Baldwin wrote: > On Tuesday 15 December 2009 4:24:54 am David Naylor wrote: > > Hi, > > > > It appears that recently (~6 months) loader can no longer load compress= ed > > kernel objects (gzipped) . This regression is present on both FreeBSD-8 > > and >=20 > - >=20 > > Current. > > > > This can be reproduced by doing: > > # cd /boot/kernel ; gzip -9 unionfs.ko > > (Choose option 6 from loader and enter: load unionfs) > > > > I have experienced this on both i386 and amd64. It appears that loader > > can handle a compressed generic kernel (and maybe other modules). >=20 > Does a loader from TOT still exhibit this? If you build the loader w/o G= PT > support (LOADER_NO_GPT or some such, it's in sys/boot/i386/loader/Makefil= e) > does that fix it? What is TOT? # make clean depend all install -DLOADER_NO_GPT_SUPPORT -DLOADER_ONLY =3D> Stalled # make clean depend all install -DLOADER_BZIP2_SUPPORT -DLOADER_ONLY =3D> (With bzip2 -9 unionfs.ko) lseek failed elf64_obj_loadimage: read failed can't load file '/boot/kernel/unionfs.ko' input/output error I don't use bzip2 support so I cannot comment on past behaviour. Should I= =20 file a PR about this problem? --nextPart2328016.G2jfqD0TGX Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAkspX24ACgkQUaaFgP9pFrIixwCfVuZgmPZmHaJFUe+YNZVIputt 1EEAn1V+rQmhJIu8XVcoKT+KntxjKsj3 =Ig+j -----END PGP SIGNATURE----- --nextPart2328016.G2jfqD0TGX--