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

Devin Teske dteske at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 04 21:10:01 UTC 2013
>Originator:     Devin Teske
>Release:        8.4-RELEASE-p4
FIS Global, Inc.
FreeBSD 8.4-RELEASE-p4 FreeBSD 8.4-RELEASE-p4 #2 r255954M: Mon Sep 30 04:40:19 PDT 2013     dteske at  i386
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.
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).
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).


More information about the freebsd-bugs mailing list