Denis,
I built the kernel and tried building it again. This time I get 2 errors on
armv7:
CC unit/test-crypto.o
CCLD unit/test-crypto
./build-aux/test-driver: line 107: 9846 Aborted (core
dumped) " $@" > $log_file 2>&1
FAIL: unit/test-crypto
...
CC unit/test-wsc.o
CCLD unit/test-wsc
./build-aux/test-driver: line 107: 10643 Aborted (core
dumped) " $@" > $log_file 2>&1
FAIL: unit/test-wsc
The intel and arm stuff differs and some of the keys are not present. I do
not know if I should brute them in there. The config I used is attached.
This is on a RaspberryPi4 running this kernel 5.4.61-2 armv7h
This is the diff of my config to the Arch Linux packaged kernel.
$ diff config ../ARM_PKGBUILDs/core/linux-raspberrypi4/config
2270c2270
< CONFIG_NLMON=m
---
# CONFIG_NLMON is not set
7294c7294
< CONFIG_KEY_DH_OPERATIONS=y
---
# CONFIG_KEY_DH_OPERATIONS is not set
7365c7365
< CONFIG_CRYPTO_DH=y
---
# CONFIG_CRYPTO_DH is not set
7490c7490
< CONFIG_PKCS8_PRIVATE_KEY_PARSER=y
---
# CONFIG_PKCS8_PRIVATE_KEY_PARSER is not set
On Wed, Sep 9, 2020 at 10:47 AM KeithG <ys3al35l(a)gmail.com> wrote:
Denis,
I am running 5.4.61. I made 2 edits to the config file. Rebuilding and
will see how it goes. The script has some config settings which are a bit
different on ARM.
Thanks,
Keith
On Wed, Sep 9, 2020 at 9:45 AM Denis Kenzior <denkenz(a)gmail.com> wrote:
> Hi Keith,
>
> On 9/9/20 9:10 AM, KeithG wrote:
> > I just built the iwd 1.9 for arch arm on armv6h, armv7h, and aarch64.
> The aarch
> > 64 builds and fails 0 tests. The armv6 fails the crypto and eapol tests
> and the
> > armv7 fails the eapol test.
>
> What kernels are running on these systems?
>
> Note that Linux Kernel 5.8.4 or so had a regression in the crypto
> subsystem
> which would result in a failure in the way iwd/ell used the AF_ALG API.
> This
> was patched shortly after. You can upgrade, downgrade or backport the
> fix [1]
>
> > Which kernel configs do I need to enable so that iwd fails 0 tests on
> all 3
> > architectures?
> > I searched the kernel configs for 'eapol' and found nothing. The
> 'crypto' search
> > revealed a lot of settings, but all looked to be either 'm' or
'y'. I
> am a bit
> > out of my depth, here but i'm capable of building kernels for all 3
> > architectures. Thanks for any guidance.
>
> This script should have all the kernel options required for crypto (3rd
> section
> from the top, starting at line 12):
>
>
>
https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/tools/test_r...
>
> [1]
>
>
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git/co...
>
> Regards,
> -Denis
>