Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2018 16:22:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228151] gptboot broken when compiled with clang 6 and WITHOUT_LOADER_GELI -- clang 5 is OK
Message-ID:  <bug-228151-227-Qq6HHe5PXt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-228151-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-228151-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228151

guyyur@gmail.com changed:

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

--- Comment #1 from guyyur@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228151-227-Qq6HHe5PXt>