From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 18 03:40:14 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DCC41065673; Mon, 18 Jul 2011 03:40:14 +0000 (UTC) (envelope-from prvs=41809205dd=devin.teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id D759E8FC14; Mon, 18 Jul 2011 03:40:13 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa03 [127.0.0.1]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with SMTP id p6I3WIkG032202; Sun, 17 Jul 2011 22:40:13 -0500 Received: from sbhfisltcgw07.fnfis.com ([10.132.248.135]) by ltcfislmsgpa03.fnfis.com with ESMTP id xjs5f03nc-1; Sun, 17 Jul 2011 22:40:13 -0500 Received: from sbhfisltcgw02.FNFIS.COM ([10.132.248.122]) by SBHFISLTCGW07.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Sun, 17 Jul 2011 22:40:12 -0500 Received: from [10.0.0.104] ([10.132.254.136]) by sbhfisltcgw02.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 17 Jul 2011 22:40:04 -0500 Mime-Version: 1.0 (Apple Message framework v1084) From: Devin Teske In-Reply-To: <4E23797A.8060209@FreeBSD.org> Date: Sun, 17 Jul 2011 20:40:03 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4E23797A.8060209@FreeBSD.org> To: Doug Barton X-Mailer: Apple Mail (2.1084) X-OriginalArrivalTime: 18 Jul 2011 03:40:04.0838 (UTC) FILETIME=[61B1A060:01CC44FC] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813, 1.0.211, 0.0.0000 definitions=2011-07-18_01:2011-07-16, 2011-07-18, 1970-01-01 signatures=0 Content-Type: text/plain; charset="ISO-8859-1" Cc: freebsd-hackers@freebsd.org, f0andrey@gmail.com, "Teske, Devin" Subject: Re: [RELEASE] New Boot-Loader Menu bugs? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 03:40:14 -0000 Hi Doug, On Jul 17, 2011, at 5:08 PM, Doug Barton wrote: > There also seems to be a bug with the new boot loader that if you bounce > out to the prompt and do 'boot kernel.other' the kern.module_path sysctl > is not updated. It still lists /boot/kernel first; but that should be > replaced by /boot/kernel.other. I had a chance to try this out in a VM. I just tested this in FreeBSD 8.1-RELEASE with my loader_menu applied (exac= tly what's available from rev 222417). The results I get are actually what you describe should happen. Here's the steps I took: 1. Made sure all "kernel=3D" and "module_path=3D" lines were commented out = in loader.conf(5) 2. Moved my kernel to /boot/kernel/kernel 3. Made a copy of my kernel to /boot/kernel2/kernel 4. Rebooted. Didn't touch anything. Verified that when I came up, `sysctl -= n kern.bootfile' was /boot/kernel/kernel. Good. We have a baseline operatio= n that things are working as-expected without interrupting the boot-process= (that is to say, that loader(8) loaded the kernel in it's default location= ). 5. Reboot again. This time, I press Escape to the drop to the loader(8) pro= mpt. 6. I took "boot /boot/kernel2" 7. I see the new kernel being loaded. 8. The kernel executes. 9. My system boots as-expected. 10. The value of sysctl kern.module_path produces (drum roll): /boot/kernel= 2;/boot/kernel;/boot/modules What release are you running? I can't replicate the bug in 8.1-RELEASE with= the new loader menu applied. It's possible that the bug was introduced som= e other way. --=20 Devin ______________________________________________________________________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.