Re: crypto: hang in crypto_larval_lookup

2017-02-26 Thread Harald Freudenberger
On 02/26/2017 05:22 AM, Herbert Xu wrote: > On Sat, Feb 25, 2017 at 04:20:22PM -0300, Marcelo Cerri wrote: >> Yeah, I agree. This should work as long as the module aliases are >> correct, which is enough. >> >> Other templates will not trigger the same error since they don't have to >> try more

Re: crypto: hang in crypto_larval_lookup

2017-02-25 Thread Marcelo Cerri
On Sat, Feb 25, 2017 at 11:17:07PM +0800, Herbert Xu wrote: > On Fri, Feb 24, 2017 at 08:44:00PM -0300, Marcelo Cerri wrote: > > > > This is probably caused by the way that the xts template is handling the > > underline algorithm selection. > > Good catch. I think the bigger issue here is that

Re: crypto: hang in crypto_larval_lookup

2017-02-25 Thread Herbert Xu
On Fri, Feb 24, 2017 at 08:44:00PM -0300, Marcelo Cerri wrote: > > This is probably caused by the way that the xts template is handling the > underline algorithm selection. Good catch. I think the bigger issue here is that when requesting for an XTS that doesn't need a fallback we shouldn't be

Re: crypto: hang in crypto_larval_lookup

2017-02-24 Thread Harald Freudenberger
On 02/24/2017 11:32 AM, Harald Freudenberger wrote: > On 02/24/2017 09:42 AM, Harald Freudenberger wrote: ... >> ... >> Feb 24 09:28:10 r35lp49 kernel: >> ->crypto_larval_lookup(name=aes,type=0x0405,mask=0x248c) >> Feb 24 09:28:10 r35lp49 kernel: crypto_larval_lookup calling >>

Re: crypto: hang in crypto_larval_lookup

2017-02-23 Thread Harald Freudenberger
On 02/23/2017 12:39 PM, Herbert Xu wrote: > On Thu, Feb 23, 2017 at 07:19:57PM +0800, Herbert Xu wrote: >> Harald Freudenberger wrote: >>> Hello all >>> >>> I am currently following a hang at modprobe aes_s390 where >>> crypto_register_alg() does not come back for the

Re: crypto: hang in crypto_larval_lookup

2017-02-23 Thread Herbert Xu
Harald Freudenberger wrote: > > Hello all > > I am currently following a hang at modprobe aes_s390 where > crypto_register_alg() does not come back for the xts(aes) algorithm. > > The registration is waiting forever in algapi.c crypto_wait_for_test() but > the

Re: crypto: hang in crypto_larval_lookup

2017-02-23 Thread Herbert Xu
On Thu, Feb 23, 2017 at 07:19:57PM +0800, Herbert Xu wrote: > Harald Freudenberger wrote: > > > > Hello all > > > > I am currently following a hang at modprobe aes_s390 where > > crypto_register_alg() does not come back for the xts(aes) algorithm. > > > > The

crypto: hang in crypto_larval_lookup

2017-02-17 Thread Harald Freudenberger
Hello all I am currently following a hang at modprobe aes_s390 where crypto_register_alg() does not come back for the xts(aes) algorithm. The registration is waiting forever in algapi.c crypto_wait_for_test() but the completion never occurs. The cryptomgr is triggering a test via kthread_run to