kgzip(8) regression in RELENG_9 GENERIC

Devin Teske devin.teske at fisglobal.com
Sat Jan 21 03:01:42 UTC 2012


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).

NOTE: This is w.r.t. a completely un-modified src-tree (including the GENERIC
config itself).

Just thought I'd share this regression.

8.1-RELEASE-p6 doesn't have this problem.

To replicate (warning DO NOT DO THIS unless you know how to recover the boot
process using either interactive loader(8) or LiveCD):

1. Install i386 9.0-RELEASE and make sure you select that you wish to unpack
"src.txz"
2. Go to /usr/src/sys/i386/compile and say: config -C -g GENERIC
3. Go to ../compile/GENERIC and say: make cleandepend && make depend && make
4. Say: kgzip kernel
5. Copy kernel.kgz to /boot
6. Add kernel="kernel.kgz" to loader.conf(5)
7. Reboot
8. Witness your own death via "BTX halted"

-- 
Devin

NOTE: Looking for confirmation from at least one other individual before filing
a PR on this one. It could be any number of factors and not a true regression.
For example, I'm using VMware Workstation 7.1 to replicate this.

_____________
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