GELI changes?

2018-02-21 Thread Krassimir Slavchev
Hi All,

On FreeBSD 8 & 9 I was able to use GELI on preloaded image providing
keys either via loader.conf or via custom usb driver.
On FreeBSD 11 & CURRENT I can not make usb drivers to load before GELI
(e.g. MODULE_DEPEND(g_eli, my_usb_device, 1, 1, 1) in g_eli.c). Also,
loading keys from loader.conf is not working (Cannot decrypt Master Key)
which may be related to current EFI changes. On CURRENT loading keys
from loader.conf produces kernel panic because cryptosoft is not
initialized (opencrypto/crypto.c:497, CRYPTO_DRIVER_LOCK() spin mutex
(null)).

So, could we load USB layer before GELI?
Is there a way to re-taste a GEOM provider a bit later but before root
mount?

Best regards,

-- 
Krassimir Slavchev   Bulinfo Ltd.
kra...@bulinfo.net   (+359 2) 9699 166
http://www.bulinfo.net   (+359 2) 9699 160
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: killed libc.so.7 somehow - help./ISO images of CURRENT

2012-02-15 Thread Krassimir Slavchev
Hi,

Boot from a live CD, and copy from the last build obj dir:

[/usr/obj]# find . -name libc.so.7
./usr/src/tmp/lib/libc.so.7
./usr/src/lib/libc/libc.so.7
./usr/src/lib32/usr/lib32/libc.so.7
./lib32/usr/src/lib/libc/libc.so.7

On 02/15/12 12:33, O. Hartmann wrote:
 Hello.
 Accidentally, I managed to kill my libc.so.7 and didn't make a backup.
 Now my FreeBSD 10/amd64 box, compiled yesterday's world last time,
 refuses to do anything since login doesn't work. /bin/sh is missing a
 symbol, I forgot the name, it was late last night (and therefore I made
 that mistake).
 
 I thought I could start over with a snapshot emergency/live DVD/CD, but
 for CURRENT, I can not find any ISO images. Apart from the CTM way, is
 there another opportunity toget
 a) ISO images of a more recent CURRENT
 b) a working libc.so.7 that will make me rebuilding the system?
 
 Sorry for the noise, I'm ashamed about to ask and yes, I will bare the
 laugh.
 
 Oliver
 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org