Page 1 of 1

Random freezes Jessie... cfg80211?

Posted: Wed Oct 07, 2015 6:24 pm
by skaro88
Hi everyone,

Since I upgraded to Jessie this weekend, I'm getting random freezes forcing me to reboot my Pi. I checked the system's log and every time, the last entry before the freeze is a few lines of :

Code: Select all

Calling CRDA to update world regulatory domain
I known this is linked to the Wi-Fi module cfg80211 but I don't use wi-fi on my Pi. I don't really know what's loading the module since it's not in my /etc/module file...

I've unloaded the cfg80211 and I'll check if any other freeze happen.

Has anyone had any trouble like this recently?

Re: Random freezes Jessie... cfg80211?

Posted: Wed Oct 28, 2015 8:47 pm
by cagnulein
Same issue here. I'm trying to stay without this module. Do you have some results?

Thanks

Re: Random freezes Jessie... cfg80211?

Posted: Wed Oct 28, 2015 11:21 pm
by JimmyN
I don't know if it's the cause of your problem, but you can stop the constant calls to CRDA by actually installing it.

The kernel is making those calls to CRDA but the agent is not installed by default, so it fails over and over. Use apt-get to install "crda".
It also seems to shave about ~7 seconds off boot time, since it's not repeatedly trying to update and failing. So rather than all those repeated calls when booting if you look in dmesg you'll only have two lines.
[ 15.007101] cfg80211: Calling CRDA to update world regulatory domain
[ 15.285557] cfg80211: World regulatory domain updated:
And that's the end of that, you won't hear from it again.

Information from the CRDA package:
Description: wireless Central Regulatory Domain Agent
This package provides a Central Regulatory Domain Agent (CRDA) to be used by
the Linux kernel cfg80211 wireless subsystem to query and apply the regulatory
domain settings wireless devices may operate within for a given location.
Good Luck !!

Re: Random freezes Jessie... cfg80211?

Posted: Thu Oct 29, 2015 6:07 am
by cagnulein
Thank you for your answer JimmyN.
I was aware about installing CRDA, but I haven't wifi at all on my raspi so I would like to keep things simple.
Now I have an uptime of 12 hours, previously it hanged in 24 hours.
So I will keep you updated.
Before this update my raspi had uptime of 280 days :(

Re: Random freezes Jessie... cfg80211?

Posted: Thu Oct 29, 2015 11:37 am
by JimmyN
As you've seen it doesn't matter if you're actually using wireless or not, it still wants to update it's data set to the channels/frequencies in use in your part of the world.