[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: marvell_cesa continues to fail on kirkwood with kernel 4.4



Thanks again, it's the same problem as I have.

I built a vanilla 4.4.1 kernel with a simple config based on
http://natisbad.org/config-duov2-cesa and the marvell_cesa module
works correctly there. A vanilla 4.4.1 kernel built with Debian's
.config fails. I will try to find out which combination of options
triggers the bug and report upstream.

Best regards,
Jan

On Mon, Feb 15, 2016 at 12:55 PM, Rick Thomas <rbthomas@pobox.com> wrote:
>
> On Feb 15, 2016, at 2:29 AM, JM <fijam@archlinux.us> wrote:
>
>> Actually, I just remembered that 4.4 kernel will try to load both the
>> old and the new module (but without allhwsupport), so please try the
>> following:
>>
>> rmmod mv_cesa
>> rmmod marvell_cesa
>> modprobe marvell_cesa allhwsupport=1
>> dmesg | grep -i cesa
>>
>> Sorry for the confusion
>>
>> Jan
>>
>> On Mon, Feb 15, 2016 at 11:26 AM, JM <fijam@archlinux.us> wrote:
>>> Thanks for the reply. Can you paste your /proc/crypto as well?
>>>
>>> Thanks,
>>> Jan
>
> Sure,  hope it helps!
>
>> rbthomas@sheeva:~$ uname -a
>> Linux sheeva 4.4.0-trunk-marvell #1 Debian 4.4.1-1~exp1 (2016-02-10) armv5tel GNU/Linux
>> rbthomas@sheeva:~$ # System immediately after reboot
>> rbthomas@sheeva:~$ dmesg | grep -i cesa
>> [   19.425689] MV-CESA:Could not register sha1 driver
>> [   19.425706] MV-CESA:Could not register hmac-sha1 driver
>> rbthomas@sheeva:~$ sudo -i
>> root@sheeva:~# rmmod -v mv_cesa
>> root@sheeva:~# rmmod -v marvell_cesa
>> root@sheeva:~# modprobe marvell_cesa allhwsupport=1
>> root@sheeva:~# dmesg | grep -i cesa
>> [   19.425689] MV-CESA:Could not register sha1 driver
>> [   19.425706] MV-CESA:Could not register hmac-sha1 driver
>> [  155.205238] marvell-cesa: probe of f1030000.crypto failed with error -12
>> root@sheeva:~# cat /proc/crypto
>> name         : des3_ede
>> driver       : des3_ede-generic
>> module       : des_generic
>> priority     : 100
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : cipher
>> blocksize    : 8
>> min keysize  : 24
>> max keysize  : 24
>>
>> name         : des
>> driver       : des-generic
>> module       : des_generic
>> priority     : 100
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : cipher
>> blocksize    : 8
>> min keysize  : 8
>> max keysize  : 8
>>
>> name         : lzo
>> driver       : lzo-generic
>> module       : kernel
>> priority     : 0
>> refcnt       : 2
>> selftest     : passed
>> internal     : no
>> type         : compression
>>
>> name         : crct10dif
>> driver       : crct10dif-generic
>> module       : kernel
>> priority     : 100
>> refcnt       : 2
>> selftest     : passed
>> internal     : no
>> type         : shash
>> blocksize    : 1
>> digestsize   : 2
>>
>> name         : aes
>> driver       : aes-generic
>> module       : kernel
>> priority     : 100
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : cipher
>> blocksize    : 16
>> min keysize  : 16
>> max keysize  : 32
>>
>> name         : md5
>> driver       : md5-generic
>> module       : kernel
>> priority     : 0
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : shash
>> blocksize    : 64
>> digestsize   : 16
>>
>> name         : digest_null
>> driver       : digest_null-generic
>> module       : kernel
>> priority     : 0
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : shash
>> blocksize    : 1
>> digestsize   : 0
>>
>> name         : compress_null
>> driver       : compress_null-generic
>> module       : kernel
>> priority     : 0
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : compression
>>
>> name         : ecb(cipher_null)
>> driver       : ecb-cipher_null
>> module       : kernel
>> priority     : 100
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : blkcipher
>> blocksize    : 1
>> min keysize  : 0
>> max keysize  : 0
>> ivsize       : 0
>> geniv        : <default>
>>
>> name         : cipher_null
>> driver       : cipher_null-generic
>> module       : kernel
>> priority     : 0
>> refcnt       : 1
>> selftest     : passed
>> internal     : no
>> type         : cipher
>> blocksize    : 1
>> min keysize  : 0
>> max keysize  : 0
>>
>> root@sheeva:~#
>>
>


Reply to: