Date: Fri, 20 Jan 2012 19:02:12 -0800 From: Devin Teske <devin.teske@fisglobal.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: kgzip(8) regression in RELENG_9 GENERIC Message-ID: <05f401ccd7e9$1322a090$3967e1b0$@fisglobal.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05f401ccd7e9$1322a090$3967e1b0$>