From owner-freebsd-questions@FreeBSD.ORG Sat Jan 21 03:01:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35ECA1065676 for ; Sat, 21 Jan 2012 03:01:42 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 00F578FC16 for ; Sat, 21 Jan 2012 03:01:41 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa04 [127.0.0.1]) by ltcfislmsgpa04.fnfis.com (8.14.4/8.14.4) with SMTP id q0L2PvSc014753 for ; Fri, 20 Jan 2012 21:01:41 -0600 Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa04.fnfis.com with ESMTP id 12fjuk87wg-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 20 Jan 2012 21:01:40 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 20 Jan 2012 21:01:40 -0600 From: Devin Teske To: FreeBSD Questions Date: Fri, 20 Jan 2012 19:02:12 -0800 Message-ID: <05f401ccd7e9$1322a090$3967e1b0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AczX6BMj9ODMIWEdTNGM6uJRNwTH5Q== Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361, 1.0.211, 0.0.0000 definitions=2012-01-20_06:2012-01-20, 2012-01-20, 1970-01-01 signatures=0 Subject: kgzip(8) regression in RELENG_9 GENERIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2012 03:01:42 -0000 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.