From owner-freebsd-bugs@freebsd.org Fri Mar 3 02:11:35 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0452CF574B for ; Fri, 3 Mar 2017 02:11:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93BBF17C9 for ; Fri, 3 Mar 2017 02:11:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v232BZxm007350 for ; Fri, 3 Mar 2017 02:11:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217512] boot2 is unable to load kernel directly Date: Fri, 03 Mar 2017 02:11:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mark@uncommon.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2017 02:11:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217512 Bug ID: 217512 Summary: boot2 is unable to load kernel directly Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: mark@uncommon.com Loading a kernel directly using boot2 causes the invalid-opcode fault like = the following: int=3D00000006 err=3D00000000 efl=3D00010046 eip=3Dc0300000 eax=3D002ff000 ebx=3D000213d0 ecx=3D00000000 edx=3Da030ff1e esi=3D00018504 edi=3D0008eb78 ebp=3D0008ebc8 esp=3D0000940b cs=3D0008 ds=3D0010 es=3D0010 fs=3D0010 gs=3D0010 ss=3D0010 cs:eip=3Dff ff ff ff ff ff ff ff-7f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ss:esp=3D36 80 0d 07 90 00 00 01-e9 ba fc ff ff aa ac 84 c0 0f 84 86 00 00 00 a8-80 74 f2 88 c5 b0 3d aa BTX halted This is using a GENERIC unmodified amd64 kernel (installed from HD from DVD= iso source (11p1) and trying /boot/kernel/kernel at boot: prompt. SAS/SATA drive environment. Tested both MBR and GPTBOOT versions of boot2 (/boot/boot and /boot/gptboot)-no joy. /boot/loader works with no problem as well as just press [return] at the prompt. We need this feature to be working in our secure server environments (bypas= sing the loader and directly booting a highly customized, self contained kernel). RE: boot(8) man page, 'it is possible to dispense with the third stage altogether'. However, hitting a key and specifying '/boot/kernel/kernel' results in hard stop (impossible to reboot with crtl-alt-del) after BTX hal= ted message--requires power cycle. Booting '/boot/loader' works ok. Thanks in advance. -Mark --=20 You are receiving this mail because: You are the assignee for the bug.=