From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 4 21:10:02 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 18BA2298 for ; Mon, 4 Nov 2013 21:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D3ABC2318 for ; Mon, 4 Nov 2013 21:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA4LA1F8085267 for ; Mon, 4 Nov 2013 21:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA4LA1ma085266; Mon, 4 Nov 2013 21:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 4 Nov 2013 21:10:01 GMT Resent-Message-Id: <201311042110.rA4LA1ma085266@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Devin Teske Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9784BF19 for ; Mon, 4 Nov 2013 21:01:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 835D722BC for ; Mon, 4 Nov 2013 21:01:50 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA4L1oKE064009 for ; Mon, 4 Nov 2013 21:01:50 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA4L1ow8063992; Mon, 4 Nov 2013 21:01:50 GMT (envelope-from nobody) Message-Id: <201311042101.rA4L1ow8063992@oldred.freebsd.org> Date: Mon, 4 Nov 2013 21:01:50 GMT From: Devin Teske To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/183666: Compiled-in bxe(4) breaks kgzip(1) kernel X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 21:10:02 -0000 >Number: 183666 >Category: kern >Synopsis: Compiled-in bxe(4) breaks kgzip(1) kernel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 04 21:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Devin Teske >Release: 8.4-RELEASE-p4 >Organization: FIS Global, Inc. >Environment: FreeBSD cfg0.lbxrich.vicor.com 8.4-RELEASE-p4 FreeBSD 8.4-RELEASE-p4 #2 r255954M: Mon Sep 30 04:40:19 PDT 2013 dteske@push840.vicor.com:/usr/src/sys/i386/compile/FIS i386 >Description: Compiling bxe(4) into a custom kernel and then attempting to compress the kernel with kgzip(1) results in an unusable kernel that causes BTX Halt in loader(8) upon execution. >How-To-Repeat: Compile bxe(4) into a custom kernel. Compress the kernel with kgzip(1). Make sure you have rescue media or a backout strategy (because the kernel won't boot). Reboot to kgzip(1)'d kernel. Die at the loader(8) BTX Halt (after the beastie menu, at the time the loaded kernel is executed). >Fix: Remove the bxe(4) driver from your custom kernel. kgzip(1) kernel now works. Not sure what is wrong with the layout of the bxe(4) driver, but it breaks the ability to utilize kgzip(1) -- which can reduce your monolithic custom kernels to about 1/3rd their original size (making them excellent for installer media). >Release-Note: >Audit-Trail: >Unformatted: