[Bug 217512] boot2 is unable to load kernel directly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 3 02:11:35 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217512
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 at FreeBSD.org
Reporter: mark at uncommon.com
Loading a kernel directly using boot2 causes the invalid-opcode fault like the
following:
int=00000006 err=00000000 efl=00010046 eip=c0300000
eax=002ff000 ebx=000213d0 ecx=00000000 edx=a030ff1e
esi=00018504 edi=0008eb78 ebp=0008ebc8 esp=0000940b
cs=0008 ds=0010 es=0010 fs=0010 gs=0010 ss=0010
cs:eip=ff 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=36 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 (bypassing
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 halted
message--requires power cycle. Booting '/boot/loader' works ok.
Thanks in advance.
-Mark
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list