From nobody@FreeBSD.org  Mon Nov  4 21:01:50 2013
Return-Path: <nobody@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 9784BF19
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <dteske@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Compiled-in bxe(4) breaks kgzip(1) kernel
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         183666
>Category:       kern
>Synopsis:       Compiled-in bxe(4) breaks kgzip(1) kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-net
>State:          analyzed
>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:  Tue Mar 11 18:39:04 UTC 2014
>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:
State-Changed-From-To: open->analyzed 
State-Changed-By: edavis 
State-Changed-When: Tue Mar 11 18:33:31 UTC 2014 
State-Changed-Why:  

The bxe driver has been re-written and committed. This new 
driver contains support for many new devices thereby adding 
a couple more very large firmware blob arrays embedded in 
the driver. 

bxe need to be modified to support the firmware(9) interface. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=183666 
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: edavis 
Responsible-Changed-When: Tue Mar 11 18:38:38 UTC 2014 
Responsible-Changed-Why:  

changed responsible to -net 


http://www.freebsd.org/cgi/query-pr.cgi?pr=183666 
>Unformatted:
