From owner-freebsd-bugs@FreeBSD.ORG Sun Dec 1 16:10:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DDC6F98A for ; Sun, 1 Dec 2013 16:10:00 +0000 (UTC) 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 B92501B89 for ; Sun, 1 Dec 2013 16:10:00 +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 rB1GA01G058535 for ; Sun, 1 Dec 2013 16:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB1GA0eg058534; Sun, 1 Dec 2013 16:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 1 Dec 2013 16:10:00 GMT Resent-Message-Id: <201312011610.rB1GA0eg058534@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, Arseny Nasokin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBA0E7A1 for ; Sun, 1 Dec 2013 16:02:55 +0000 (UTC) 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 A84EE1B55 for ; Sun, 1 Dec 2013 16:02:55 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB1G2tra095405 for ; Sun, 1 Dec 2013 16:02:55 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB1G2tg8095401; Sun, 1 Dec 2013 16:02:55 GMT (envelope-from nobody) Message-Id: <201312011602.rB1G2tg8095401@oldred.freebsd.org> Date: Sun, 1 Dec 2013 16:02:55 GMT From: Arseny Nasokin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/184411: New boot menu doesn't load modules correctly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2013 16:10:01 -0000 >Number: 184411 >Category: bin >Synopsis: New boot menu doesn't load modules correctly >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: Sun Dec 01 16:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Arseny Nasokin >Release: FreeBSD 11-CURRENT r2578777 >Organization: private person >Environment: FreeBSD FBSD258526.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r258777: Sat Nov 30 23:14:49 UTC 2013 root@eroese.org:/usr/obj/usr/src/sys/GENERIC_PF amd64 >Description: New kernel switching feature doesn't respect kernel path to load with. >How-To-Repeat: put zfs_load="YES" on your /boot/loader.conf and use menu to boot >Fix: patch has been attached Patch attached with submission follows: diff -ru boit/boot/beastie.4th /boot/beastie.4th --- boit/boot/beastie.4th 2013-11-30 23:23:36.000000000 +0000 +++ /boot/beastie.4th 2013-12-01 15:45:17.000000000 +0000 @@ -246,8 +246,7 @@ dup -1 <> if s" YES" compare-insensitive 0= if any_conf_read? if - load_kernel - load_modules + load_kernel_and_modules then exit \ to autoboot (default) then diff -ru boit/boot/loader.4th /boot/loader.4th --- boit/boot/loader.4th 2013-11-30 23:23:36.000000000 +0000 +++ /boot/loader.4th 2013-12-01 15:45:55.000000000 +0000 @@ -143,8 +143,7 @@ \ was succesfully loaded! any_conf_read? if s" loader_delay" getenv -1 = if - load_kernel - load_modules + load_kernel_and_modules else drop ." Loading Kernel and Modules (Ctrl-C to Abort)" cr >Release-Note: >Audit-Trail: >Unformatted: