Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2012 22:30:55 -0800
From:      Devin Teske <devin.teske@fisglobal.com>
To:        CyberLeo Kitsana <cyberleo@cyberleo.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: kgzip(8) regression in RELENG_9 GENERIC
Message-ID:  <88223D12-AEA7-46F9-AA3D-A8F49BC79D82@fisglobal.com>
In-Reply-To: <4F1A882D.5080302@cyberleo.net>
References:  <05f401ccd7e9$1322a090$3967e1b0$@fisglobal.com> <4F1A882D.5080302@cyberleo.net>

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

On Jan 21, 2012, at 1:41 AM, CyberLeo Kitsana wrote:

> On 01/20/2012 09:02 PM, Devin Teske wrote:
>> Taking a GENERIC 9.0-RELEASE kernel and running kgzip(8) on it produces =
an
>> unusable kernel which causes immediate BTX halt in loader(8).
>>=20
>> ...
>>=20
>> 4. Say: kgzip kernel
>=20
> Curious, it doesn't even look like that binary is hooked into the build
> process at all on 9.0-RELEASE.
>=20

Can you clarify what you mean by the above?


> It's manpage indicates that it is unsuitable for loader(8) use,

Likewise, can you clarify the above?


> and that
> just running gzip(1) on the kernel file is sufficient;

I'm getting an error when loading a gzip(1)'d kernel...

	don't know how to load module '/kernels/GENERIC-i386-9.0.gz'

So I figure, maybe it doesn't like the '.gz' suffix. No go, same error.

Or maybe there's a special syntax to loading a gzip'd kernel? If so, that's=
 unfortunate as no special syntax is required to execute kgzip'd kernels.

Also, kgzip produces smaller binaries than gzip when used on kernel. I'd li=
ke to see kgzip(1) functionality restored (again, it worked fine in RELENG_=
8).
--=20
Devin

_____________
The information contained in this message is proprietary and/or confidentia=
l. If you are not the intended recipient, please: (i) delete the message an=
d all copies; (ii) do not disclose, distribute or use the message in any ma=
nner; and (iii) notify the sender immediately. In addition, please be aware=
 that any message addressed to our domain is subject to archiving and revie=
w by persons other than the intended recipient. Thank you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88223D12-AEA7-46F9-AA3D-A8F49BC79D82>