kgzip(8) regression in RELENG_9 GENERIC

Devin Teske devin.teske at fisglobal.com
Mon Jan 23 06:31:02 UTC 2012


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).
>> 
>> ...
>> 
>> 4. Say: kgzip kernel
> 
> Curious, it doesn't even look like that binary is hooked into the build
> process at all on 9.0-RELEASE.
> 

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 like to see kgzip(1) functionality restored (again, it worked fine in RELENG_8).
-- 
Devin

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


More information about the freebsd-questions mailing list