Quantcast

Duovero WiFi not coming up...

classic Classic list List threaded Threaded
42 messages Options
123
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Duovero WiFi not coming up...

carveone
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

Andy Walls
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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
Ah. I thought I could just ignore that and, although it wouldn't go
away, it wouldn't prevent me bringing the interface up. Erm. I guess
not! Thanks, I'll give that a go now.

Conor.

On Wed, Nov 27, 2013 at 1:54 PM, Andy Walls <[hidden email]> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
In reply to this post by Andy Walls
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 <[hidden email]> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

adam
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 <[hidden email]> 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 <[hidden email]> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
I believe so. I've rebuilt the kernel but I got tied up with PCB
design and haven't actually done the test. I do know that the CRDA
exec is available from the smart database (at least I see it in the
XML file) so I'll go check it out now.

Conor.

On Thu, Nov 28, 2013 at 8:32 PM, Adam Lee <[hidden email]> wrote:

> 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
> <[hidden email]> 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 <[hidden email]>
>> 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
>> >> [hidden email]
>> >> 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
>> > [hidden email]
>> > 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
Removing the kernel flag means that there's no error on modprobe. You
simply get:

[ 1547.349822] cfg80211: Calling CRDA to update world regulatory domain

Which is better. But mlan0 doesn't come up. I think the CRDA
executable, the proper udev incantations and the regulatory.bin file
are actually required items. However, CRDA isn't present in the build
and smart doesn't pull it down - built for armv7a and not for armv7l I
guess. I've pulled the source code but I'm having a slightly hard time
building it as the Makefile calls out to pkg-config... I'll have to
build it manually and get back to you :-)

Cheers,

Conor.

On Fri, Nov 29, 2013 at 11:17 AM, Conor O'Rourke
<[hidden email]> wrote:

> I believe so. I've rebuilt the kernel but I got tied up with PCB
> design and haven't actually done the test. I do know that the CRDA
> exec is available from the smart database (at least I see it in the
> XML file) so I'll go check it out now.
>
> Conor.
>
> On Thu, Nov 28, 2013 at 8:32 PM, Adam Lee <[hidden email]> wrote:
>> 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
>> <[hidden email]> 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 <[hidden email]>
>>> 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
>>> >> [hidden email]
>>> >> 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
>>> > [hidden email]
>>> > 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
>>> [hidden email]
>>> 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
>> [hidden email]
>> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

Andy Walls
If you really hit a wall, you can just replace the db.txt file in your
kernel build (via a patch applied via a .bbappend bitbake recipe) with
this one:

http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-regdb.git/tree/db.txt?id=HEAD

and keep the internal CONFIG_80211_INTERNAL_REGDB config option.

I should mention, that I do not know if this will fix your WiFi problem
overall.  I just saw that the kernel warning indicated something was
missing.  Usually missing things cause problems. :)

Even if the INTERNAL_REGDB with an updated db.txt is not your final
solution, it may be worth a test to see if it fixes things before
spending a lot of time on the CRDA stuff.

Regards,
Andy


On Fri, 2013-11-29 at 12:19 +0000, Conor O'Rourke wrote:

> Removing the kernel flag means that there's no error on modprobe. You
> simply get:
>
> [ 1547.349822] cfg80211: Calling CRDA to update world regulatory domain
>
> Which is better. But mlan0 doesn't come up. I think the CRDA
> executable, the proper udev incantations and the regulatory.bin file
> are actually required items. However, CRDA isn't present in the build
> and smart doesn't pull it down - built for armv7a and not for armv7l I
> guess. I've pulled the source code but I'm having a slightly hard time
> building it as the Makefile calls out to pkg-config... I'll have to
> build it manually and get back to you :-)
>
> Cheers,
>
> Conor.
>
> On Fri, Nov 29, 2013 at 11:17 AM, Conor O'Rourke
> <[hidden email]> wrote:
> > I believe so. I've rebuilt the kernel but I got tied up with PCB
> > design and haven't actually done the test. I do know that the CRDA
> > exec is available from the smart database (at least I see it in the
> > XML file) so I'll go check it out now.
> >
> > Conor.
> >
> > On Thu, Nov 28, 2013 at 8:32 PM, Adam Lee <[hidden email]> wrote:
> >> 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
> >> <[hidden email]> 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 <[hidden email]>
> >>> 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
> >>> >> [hidden email]
> >>> >> 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
> >>> > [hidden email]
> >>> > 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
> >>> [hidden email]
> >>> 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
> >> [hidden email]
> >> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
> Even if the INTERNAL_REGDB with an updated db.txt is not your final
> solution, it may be worth a test to see if it fixes things before
> spending a lot of time on the CRDA stuff.

Too late :-)

I'm way past hitting a wall :-) It's impossible to build. I managed to
build half of it on a Ubuntu system (the python bit) and am currently
compiling openssl on the Gumstix. Once I get the ssl libs I should be
able to edit the Makefile and set the paths correctly... Actually,
this is ridiculous, I'll grow old before I manage this!

I did have the db.txt from the wireless-regdb tar file
(https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2013.11.27.tar.gz)
and I put it in and I am now rebuilding the kernel.

I was essentially seeing was it possible to build CRDA. But you're
right, I should check the db.txt first. I'll report back if it
works...

Conor.

On Fri, Nov 29, 2013 at 2:13 PM, Andy Walls <[hidden email]> wrote:

> If you really hit a wall, you can just replace the db.txt file in your
> kernel build (via a patch applied via a .bbappend bitbake recipe) with
> this one:
>
> http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-regdb.git/tree/db.txt?id=HEAD
>
> and keep the internal CONFIG_80211_INTERNAL_REGDB config option.
>
> I should mention, that I do not know if this will fix your WiFi problem
> overall.  I just saw that the kernel warning indicated something was
> missing.  Usually missing things cause problems. :)
>
> Even if the INTERNAL_REGDB with an updated db.txt is not your final
> solution, it may be worth a test to see if it fixes things before
> spending a lot of time on the CRDA stuff.
>
> Regards,
> Andy
>
>
> On Fri, 2013-11-29 at 12:19 +0000, Conor O'Rourke wrote:
>> Removing the kernel flag means that there's no error on modprobe. You
>> simply get:
>>
>> [ 1547.349822] cfg80211: Calling CRDA to update world regulatory domain
>>
>> Which is better. But mlan0 doesn't come up. I think the CRDA
>> executable, the proper udev incantations and the regulatory.bin file
>> are actually required items. However, CRDA isn't present in the build
>> and smart doesn't pull it down - built for armv7a and not for armv7l I
>> guess. I've pulled the source code but I'm having a slightly hard time
>> building it as the Makefile calls out to pkg-config... I'll have to
>> build it manually and get back to you :-)
>>
>> Cheers,
>>
>> Conor.
>>
>> On Fri, Nov 29, 2013 at 11:17 AM, Conor O'Rourke
>> <[hidden email]> wrote:
>> > I believe so. I've rebuilt the kernel but I got tied up with PCB
>> > design and haven't actually done the test. I do know that the CRDA
>> > exec is available from the smart database (at least I see it in the
>> > XML file) so I'll go check it out now.
>> >
>> > Conor.
>> >
>> > On Thu, Nov 28, 2013 at 8:32 PM, Adam Lee <[hidden email]> wrote:
>> >> 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
>> >> <[hidden email]> 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 <[hidden email]>
>> >>> 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
>> >>> >> [hidden email]
>> >>> >> 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
>> >>> > [hidden email]
>> >>> > 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
>> >>> [hidden email]
>> >>> 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
>> >> [hidden email]
>> >> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
In reply to this post by Andy Walls
Should have listened to you Andy! I managed to get CRDA running but no
joy. No errors either but ifconfig -a shows nothing. So I compiled in
the db.txt from wireless-regdb and that doesn't work either. I think
the entire thing is a misdirect actually. There's something else
wrong.

I should mention that the modules load ok but no light appears on the
DuoVero module which I might expect if it was trying to pull up the
wifi enable GPIO. That's not good.

So, in case the muxes were wrong, I pulled down u-boot from the
2013.07 tree, set it with omap4_duovero_config and compiled that. Then
fixed the boot parameters (they are wrong by the way - I'll post
something to the wiki at some point on Monday) and booted. No, that
doesn't work either. In /sys/kernel/debug... GPIO 43 is being taken by
WLAN ok and the MMC5 muxes are right.

There aren't any notices about loading the firmware, I assumed that
means that is ok but I don't think it is.... I've done a similar thing
before - I built my own wireless card using a TiWi R2 and interfaced
it via MMC to a ARM9. I got exactly the same behaviour as here until I
figured there was a bad solder joint on the MMC CLK line (Erm, I
dropped the board!). When I fixed that, I straight away got kernel
messages such as: "mmc1: new high speed SDHC card at..." etc. Also the
/sys/kernel/debug tells me mmc1 is not moving to Push Pull mode which
is very bad sign.

There are two others who have boards so I'll ask them first but I
think I may have a bad Zephyr board. It's 6pm here so maybe Monday :-)

Thanks,

Conor


On Fri, Nov 29, 2013 at 2:13 PM, Andy Walls <[hidden email]> wrote:

> If you really hit a wall, you can just replace the db.txt file in your
> kernel build (via a patch applied via a .bbappend bitbake recipe) with
> this one:
>
> http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-regdb.git/tree/db.txt?id=HEAD
>
> and keep the internal CONFIG_80211_INTERNAL_REGDB config option.
>
> I should mention, that I do not know if this will fix your WiFi problem
> overall.  I just saw that the kernel warning indicated something was
> missing.  Usually missing things cause problems. :)
>
> Even if the INTERNAL_REGDB with an updated db.txt is not your final
> solution, it may be worth a test to see if it fixes things before
> spending a lot of time on the CRDA stuff.
>
> Regards,
> Andy
>
>
> On Fri, 2013-11-29 at 12:19 +0000, Conor O'Rourke wrote:
>> Removing the kernel flag means that there's no error on modprobe. You
>> simply get:
>>
>> [ 1547.349822] cfg80211: Calling CRDA to update world regulatory domain
>>
>> Which is better. But mlan0 doesn't come up. I think the CRDA
>> executable, the proper udev incantations and the regulatory.bin file
>> are actually required items. However, CRDA isn't present in the build
>> and smart doesn't pull it down - built for armv7a and not for armv7l I
>> guess. I've pulled the source code but I'm having a slightly hard time
>> building it as the Makefile calls out to pkg-config... I'll have to
>> build it manually and get back to you :-)
>>
>> Cheers,
>>
>> Conor.
>>
>> On Fri, Nov 29, 2013 at 11:17 AM, Conor O'Rourke
>> <[hidden email]> wrote:
>> > I believe so. I've rebuilt the kernel but I got tied up with PCB
>> > design and haven't actually done the test. I do know that the CRDA
>> > exec is available from the smart database (at least I see it in the
>> > XML file) so I'll go check it out now.
>> >
>> > Conor.
>> >
>> > On Thu, Nov 28, 2013 at 8:32 PM, Adam Lee <[hidden email]> wrote:
>> >> 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
>> >> <[hidden email]> 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 <[hidden email]>
>> >>> 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
>> >>> >> [hidden email]
>> >>> >> 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
>> >>> > [hidden email]
>> >>> > 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
>> >>> [hidden email]
>> >>> 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
>> >> [hidden email]
>> >> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
More on this - I've asked two others to check their boards. One has
mlan0 and uap0 present in the output of ifconfig -a (it came up
without modprobing anything), the other doesn't. All three of us are
using the Zephyr on a Parlor board with the prebuilt images from
gumstix.org (2013-08-12).

I'd definately be interested to know if anyone else has this issue.
Could it be a manufacturing fault on a specific batch? My sticker
says:

"W/O 291S5 13/29, GS4430Z-R3920, INN W/O#73300"

@ Adam Lee:
> 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?

You can do this but the kernel will then try and call out to the CRDA
executable through udev. Providing that executable is slightly
involved (at least it was for me). The alternative is to build with
the internal DB configuration flag set and then supply the proper
db.txt file from
https://www.kernel.org/pub/software/network/wireless-regdb/ in
net/wireless/db.txt. Strictly speaking one should do one or the other,
not neither! In Gumstix.org's case, given that the flag is set, the
db.txt should also be set correctly. However from what I can see, the
absence of regulatory information in either respect does not prevent
you from bringing up the interface.

Cheers,

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

Scott Ellis
Another data point if you're interested.

Duovero Zephyr
W/O 28881 13-09
GS4430XZ-R3920
INN W/0 #72859

I'm using the [master] branch of this repo

https://github.com/Pansenti/meta-pansenti

It pulls the 3.6 kernel from the [dylan] branch of meta-gumstix.

I'm adding the CRDA db.txt to the kernel with this recipe mod

https://github.com/Pansenti/meta-pansenti/blob/master/recipes-kernel/linux/linux-gumstix_3.6.bbappend

I think I grabbed the db.txt originally from meta-beaglebone, but I'm not sure.
It was about 6 months ago.

Wifi comes up okay. A little too fast actually.

I had to put a delay of 2 seconds in the /etc/init.d/networking script or it tries
to bring up the mlan0 interface before the CRDA setup is done. That gets
kicked off by the udev load of the wifi module.

I'm not using duovero wifi in any real project or I'd probably look for a
better solution then a fixed delay.


... snip from the boot log ...
[    2.172943] devtmpfs: mounted
[    2.173187] Freeing init memory: 240K
INIT: version 2.88 booting
Starting udev
[    2.523773] udevd[83]: starting version 182
[    3.090393] cfg80211: Calling CRDA to update world regulatory domain
[    3.097137] cfg80211: World regulatory domain updated:
[    3.102661] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    3.111297] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    3.119476] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    3.127655] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    3.135833] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    3.144042] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Wait for CRDA initialization...
[    4.630645] mwifiex_sdio mmc1:0001:1: WLAN FW is active
[    4.919708] cfg80211: Calling CRDA for country: US
[    4.925231] mwifiex_sdio mmc1:0001:1: driver_version = mwifiex 1.0 (14.66.9.p96)
[    4.933380] cfg80211: Regulatory domain changed to country: US
[    4.939575] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    4.948211] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    4.956390] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    4.964508] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    4.972625] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    4.980773] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    4.988891] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    4.997009] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
Configuring network interfaces...
Successfully initialized wpa_supplicant
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending select for 192.168.10.100...
Lease of 192.168.10.100 obtained, lease time 43200
/etc/udhcpc.d/50default: Adding DNS 75.75.75.75
/etc/udhcpc.d/50default: Adding DNS 76.76.76.76
done.
Mon Dec  2 17:59:00 UTC 2013
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
Starting ntpd: done
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
[   11.083068] NET: Registered protocol family 10
   ...done.

Poky 9.0.2 (Yocto Project 1.4 Reference Distro) 1.4.2 duovero ttyO2

duovero login:


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

johnb
In reply to this post by carveone
The remains of my label are W/O 291S5 13/29 and I've tried loads of builds and my wifi doesn't work either :-(

J.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

Scott Ellis
If it's useful for troubleshooting, I can post binaries.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

acsmith
In reply to this post by carveone
DuoVero Zephyr
W/O 29155 13-29
GS4430Z-R3920

Using Scott's Pansenti image as a basis for my own images I can confirm that wifi boots up no problem.


Andrew
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

johnb
In reply to this post by Scott Ellis
I'd try your binaries Scott.
John.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

Scott Ellis
This post was updated on .
/* Anonymous ftp at www.pansenti.com, under the duovero directory. */

Download the same files in a single tarball from this server instead.
Much faster.

    wget http://www.jumpnowtek.com/Downloads/duovero.tar

There is a little README if you want to use the included SD card format/copy scripts.
You don't have to.

If you get an error with the network scripts starting too early, put a delay like
I did in /etc/init.d/networking the "start") case. That's a hack ;-) If you have a
slow SD card, you may never see it.

Ignoring that, you'll at least know whether its a hardware or software problem,
since the ifconfig will still show the interfaces at the end of startup whether
or not wifi was brought up correctly.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

carveone
In reply to this post by acsmith
Scott> Another data point if you're interested.
Scott> I'm using the [master] branch of this repo:
https://github.com/Pansenti/meta-pansenti

Thanks Scott. I'm not sure I can tell which kernel that is pulling for
Duovero but for Overo it is pulling from
git://github.com/gumstix/linux.git in the omap-3.2 branch. For Duovero
I'd hope it is pulling from the 3.6 branch like I am :-)

Having said that I'll try anything. I'll take a look at the defconfig
and check if there are any differences too. Have to be tomorrow though
- we're GMT here!

Scott > If it's useful for troubleshooting, I can post binaries.

That would be very useful, thank you. I suppose u-boot and uImage
would do the job (they might be a touch big for the forum but I don't
have any problem with email).

Thanks for the feedback johnb and acsmith. We have three boards now -
two don't work for wifi and one does, all with the same images.

What I'm concerned about is that, even without any drivers, the kernel
should still twig that there's something connected to MMC1. At least,
that's how I remember it on my own board - dmesg contained messages
about the MMC connected wifi card.

What I'll do is figure out how to turn on debug for the mwifiex driver
and see if it spits out anything interesting. I might email gumstix
sales too and ask are they getting any returns for WiFi reasons. I'm
just more cautious as "broken hardware" the last time turned out to be
that inverted card detect logic issue that was a small patch to fix.

Thanks,

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

Scott Ellis
The kernel is 3.6 pulled from the Gumstix Github repo.

https://github.com/gumstix/meta-gumstix/blob/dylan/recipes-kernel/linux/linux-gumstix_3.6.bb

(Actually the meta-pansenti layer pulls a 3.5 kernel for Overos by default,
though you can choose a 3.2 kernel in local.conf if you want.)

The meta-pansenti layer just does a few mods to the meta-gumstix layer
for the 3.6 kernel config and to add the CRDA db.txt.

You can get the config file I'm using here

https://github.com/Pansenti/meta-pansenti/tree/master/recipes-kernel/linux/linux-gumstix-3.6/duovero

I forget all the changes I made or why. I'm sure mostly to get rid of
unused stuff. But you can diff it to the Gumstix original here

https://github.com/gumstix/meta-gumstix/tree/dylan/recipes-kernel/linux/linux-gumstix-3.6/duovero


That ftp server at www.pansenti.com is ridiculously slow.

I put the files in a single tarball on another server.

You can get them like this.

wget http://www.jumpnowtek.com/Downloads/duovero.tar

That should only take about 40 seconds instead of 10 minutes from
the pansenti server.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Duovero WiFi not coming up...

johnb
In reply to this post by Scott Ellis
Hi Scott,

Thanks for the binaries.
Here's what I get now. I hope it means something useful.

John.

INIT: version 2.88 booting
Starting udev
[    2.898986] udevd[93]: starting version 182
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1696: No soundcards found...
[    4.480743] smsc911x smsc911x.0: eth0: SMSC911x/921x identified at 0xf00a6000, IRQ: 204
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
Sending select for 192.168.0.9...
Lease of 192.168.0.9 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
Could not read interface mlan0 flags: No such device
WEXT: Could not set interface 'mlan0' UP
mlan0: Failed to initialize driver interface
Starting rpcbind daemon...[   11.881744] NET: Registered protocol family 10
done.
Mon Dec  2 16:49:00 UTC 2013
INIT: Entering runlevel: 5


123
Loading...