Can you outline under what conditions the race can happen? I’ll take care of implementing a userspace modprobe helper. Thanks On Thu, 16 Mar 2023 at 10:40, Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> wrote: > > On 3/16/2023 8:54 AM, Michael Stapelberg wrote: > > Hmm, I’m not sure either. > > Actually, the check I referred to only bails out when > CONFIG_MODPROBE_PATH is unset. In your case it is set but it is not > existing. I dived into request_module() and it ends up scheduling a work > to call the modprobe which will fail. However, brcmfmac will wait for > brcmfmac-wcc to register itself so doing the insmod of brcmfmac-wcc will > do the trick. However, now I am back at saying this can be racy. It > would be better to come up with a modprobe.go for your user-space > environment and put that in kernel config. > > Regards, > Arend >