2018-10-16 16:50:36

by Adam Cottrel

[permalink] [raw]
Subject: Large number of crda failures

Hi,

On start up I am getting a large number of error faults reported with CRDA:-
➢ ies0600133 systemd-udevd[3949]: Process '/sbin/crda' failed with exit code 234
Typically, over 50 lines are reported to the syslogs

However, once the system has fully started, I do not get any issues with running:-
➢ iw reg set XX

These errors are doubling the boot time for Linux. My kernel is 4.14.4 and I am running a Debian base.

Please can someone advise what is going wrong?

Best,
Adam


2018-10-17 12:39:24

by Jean-Pierre TOSONI

[permalink] [raw]
Subject: RE: Large number of crda failures

Code 234 => exit(-EINVAL)
Could be that crda is started in a context where the COUNTRY environment variable is invalid, or started with an argument (crda must be run without argument).

> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] De la part de
> Adam Cottrel
> Envoyé : mardi 16 octobre 2018 18:51
> À : [email protected]
> Objet : Large number of crda failures
>
> Hi,
>
> On start up I am getting a large number of error faults reported with CRDA:-
> ➢ ies0600133 systemd-udevd[3949]: Process '/sbin/crda' failed with exit code 234
> Typically, over 50 lines are reported to the syslogs
>
> However, once the system has fully started, I do not get any issues with running:-
> ➢ iw reg set XX
>
> These errors are doubling the boot time for Linux. My kernel is 4.14.4 and I am running a Debian base.
>
> Please can someone advise what is going wrong?
>
> Best,
> Adam

2018-10-18 10:18:33

by Adam Cottrel

[permalink] [raw]
Subject: RE: Large number of crda failures

Dear Jean-Pierre,

Thank you for getting back to me.

My regulatory settings are working, and so the errors might not be very important - however, it is important that know why they are happening.

> Code 234 => exit(-EINVAL)
> Could be that crda is started in a context where the COUNTRY environment
> variable is invalid, or started with an argument (crda must be run without
> argument).

This is very a good suggestion - I can see that my COUNTRY environment is not set. However, when I set COUNTRY the error code gets replaced with -7.

The CRDA always reports errors on startup, but my wireless regulatory domains are working normally. For example I can change them using the following commands:-
# iw reg set XX
# iw reg get

Why do I still get warnings if the underlying mechanism is working OK?

Best,
Adam