Hi Conor and Andy! Thanks for looking into this. I'd like to try this myself.
All I need is remove the internal regulatory DB configuration from kernel?

Thanks,

Adam


On Wed, Nov 27, 2013 at 6:14 AM, Conor O'Rourke <conor.orourke@scorpionnetworks.com> wrote:
I think this might be a build issue. It appears that
"CONFIG_CFG80211_INTERNAL_REGDB" is set with nothing in
net/wireless/db.txt. It's normal to have this not set and have a call
out to CRDA instead. The commit on that warning starts:

   It has happened twice now where elaborate troubleshooting has
   undergone on systems where CONFIG_CFG80211_INTERNAL_REGDB [0]
   has been set but yet net/wireless/db.txt was not updated.

(https://github.com/gumstix/linux/commit/80007efeff0568375b08faf93c7aad65602cb97e)

I can use your last link there to talk me through fixing it, but I'll
need to recompile the kernel (good, I've been looking for an excuse!)

Conor.

On Wed, Nov 27, 2013 at 1:54 PM, Andy Walls <andy@silverblocksystems.net> wrote:
> You appear to be missing a regulatory data file or user-space agent.
>
> You are tripping this warning:
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/net/wireless/reg.c?id=refs/tags/v3.12.1#n419
>
> This Kconfig help text might point you in the right direction:
> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/net/wireless/Kconfig?id=refs/tags/v3.12.1#n118
>
> http://wireless.kernel.org/en/developers/Regulatory
>
> Regards,
> Andy
>
> On Wed, 2013-11-27 at 13:40 +0000, Conor O'Rourke wrote:
>> Hi all,
>>
>> I'm not sure if I'm doing something wrong here. I'm using a 3.6 kernel
>> console image on a Duovero Zephyr (Parlor baseboard) - this is a
>> prebuilt image from the Gumstix website itself. Do I have to rebuild
>> the kernel in some way to get WiFi working? It doesn't come up on its
>> own and if I modprobe mwifiex_sdio I get this:
>>
>> # lsmod
>> Module                  Size  Used by
>> mwifiex_sdio           19595  0
>> mwifiex               160431  1 mwifiex_sdio
>> firmware_class          6982  1 mwifiex
>> cfg80211              180246  1 mwifiex
>> rfkill                 17399  1 cfg80211
>> ipv6                  269763  22
>>
>> # dmesg
>> ....
>> [  460.239746] ------------[ cut here ]------------
>> [  460.243469] WARNING: at net/wireless/reg.c:412
>> regulatory_init+0x8c/0x124 [cfg80211]()
>> [  460.250518] db.txt is empty, you should update it...
>> [  460.254180] Modules linked in:
>> [  460.256042]  cfg80211(+) rfkill ipv6
>> [  460.258483] [<c0015018>] (unwind_backtrace+0x0/0x11c) from
>> [<c003618c>] (warn_slowpath_common+0x4c/0x64)
>> [  460.267089] [<c003618c>] (warn_slowpath_common+0x4c/0x64) from
>> [<c0036224>] (warn_slowpath_fmt+0x2c/0x3c)
>> [  460.275970] [<c0036224>] (warn_slowpath_fmt+0x2c/0x3c) from
>> [<bf08f14c>] (regulatory_init+0x8c/0x124 [cfg80211])
>> [  460.285430] [<bf08f14c>] (regulatory_init+0x8c/0x124 [cfg80211])
>> from [<bf08f054>] (cfg80211_init+0x54/0xc0 [cfg80211])
>> [  460.295501] [<bf08f054>] (cfg80211_init+0x54/0xc0 [cfg80211]) from
>> [<c0008684>] (do_one_initcall+0x90/0x160)
>> [  460.304473] [<c0008684>] (do_one_initcall+0x90/0x160) from
>> [<c008555c>] (sys_init_module+0x1970/0x1b24)
>> [  460.313018] [<c008555c>] (sys_init_module+0x1970/0x1b24) from
>> [<c000df80>] (ret_fast_syscall+0x0/0x30)
>> [  460.321411] ---[ end trace 082e1d9c000afff3 ]---
>> [  460.324981] cfg80211: Calling CRDA to update world regulatory domain
>>
>> But nothing in ifconfig -a when there should be a mlan0 or something
>> to that effect. I don't see firmware warnings. Perhaps I'm modprobing
>> the wrong driver?
>>
>> Conor.
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users