Re: geli AES-XTS provider attachment broken after r285336 (was: svn commit: r285336 - in head/sys: netipsec opencrypto)

2015-07-14 Thread George Neville-Neil


On 11 Jul 2015, at 15:27, O. Hartmann wrote:

> Am Sat, 11 Jul 2015 19:04:07 +0200
> Fabian Keil  schrieb:
>
>> "Matthew D. Fuller"  wrote:
>>
>>> On Thu, Jul 09, 2015 at 06:16:36PM + I heard the voice of
>>> George V. Neville-Neil, and lo! it spake thus:
 New Revision: 285336
 URL: https://svnweb.freebsd.org/changeset/base/285336

 Log:
 Add support for AES modes to IPSec.  These modes work both in software only
 mode and with hardware support on systems that have AESNI instructions.
>>>
>>> With (apparently) this change, I can trigger a panic at will by
>>> running
>>>
>>> % geli onetime -e AES-XTS -d /dev/ada0s1
>>
>> Thanks for the heads-up.
>>
>> As it wasn't obvious to me: the commit broke attachment
>> of AES-XTS providers in general.
>>
>> Reverting it lets my test system boot again.
>>
>> Fabian
>
> Running CURRENT on several Intel platforms, using swap.eli on all systems is 
> usual to my
> setups. On modern hardware, say >= Intel i7 architectures (with or without 
> AES-NI), I
> didn't recognize a panic at all but in one case a core i3 starts swapping dies
> immediately. Another box, a dual core XEON Core2 Duo based architecture 
> without AES-NI
> fails booting immediately after I see the mounting and initialising of 
> swap.eli. Maybe
> this observation is of use.

This was addressed by jmg@ in: 285526

Best,
George


signature.asc
Description: OpenPGP digital signature


Re: geli AES-XTS provider attachment broken after r285336 (was: svn commit: r285336 - in head/sys: netipsec opencrypto)

2015-07-11 Thread O. Hartmann
Am Sat, 11 Jul 2015 19:04:07 +0200
Fabian Keil  schrieb:

> "Matthew D. Fuller"  wrote:
> 
> > On Thu, Jul 09, 2015 at 06:16:36PM + I heard the voice of
> > George V. Neville-Neil, and lo! it spake thus:
> > > New Revision: 285336
> > > URL: https://svnweb.freebsd.org/changeset/base/285336
> > > 
> > > Log:
> > >   Add support for AES modes to IPSec.  These modes work both in software 
> > > only
> > >   mode and with hardware support on systems that have AESNI instructions.
> > 
> > With (apparently) this change, I can trigger a panic at will by
> > running
> > 
> > % geli onetime -e AES-XTS -d /dev/ada0s1
> 
> Thanks for the heads-up.
> 
> As it wasn't obvious to me: the commit broke attachment
> of AES-XTS providers in general.
> 
> Reverting it lets my test system boot again.
> 
> Fabian

Running CURRENT on several Intel platforms, using swap.eli on all systems is 
usual to my
setups. On modern hardware, say >= Intel i7 architectures (with or without 
AES-NI), I
didn't recognize a panic at all but in one case a core i3 starts swapping dies
immediately. Another box, a dual core XEON Core2 Duo based architecture without 
AES-NI
fails booting immediately after I see the mounting and initialising of 
swap.eli. Maybe
this observation is of use. 


pgp7ym6yzFqx4.pgp
Description: OpenPGP digital signature