kern/183666: Compiled-in bxe(4) breaks kgzip(1) kernel

Devin Teske dteske at FreeBSD.org
Mon Nov 4 21:10:02 UTC 2013


>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 at 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:


More information about the freebsd-bugs mailing list