[Bug 228151] gptboot broken when compiled with clang 6 and WITHOUT_LOADER_GELI -- clang 5 is OK

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 16 16:22:52 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228151

guyyur at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |guyyur at gmail.com

--- Comment #1 from guyyur at gmail.com ---
I got a similar issue with 12-CURRENT and WITHOUT_LOADER_GELI in VirtualBox.
I got:
"can't work out which disk we are booting from.
Guessed BIOS device 0x80 not found by probes, defaulting to disk0:

can't load 'kernel'"

"lsdev" output was empty.

The problem is passing KARGS_FLAGS_EXTARG to __exec when no extra params are
passed (r316078 added the ifdef for LOADER_GELI_SUPPORT on __exec).
I am not familiar with btx so I don't know how this affects loader but for me
it caused bd_int13probe int13 08h to fail.

Attaching patch for gptboot and isoboot (doesn't use geli so shouldn't pass
KARGS_FLAGS_EXTARG) on 12-CURRENT.
I think it should apply cleanly to 11.2 too.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list