Wandboard kernel warning

This forum is for supported devices using an ARMv7 Freescale SoC.

Wandboard kernel warning

Postby opotonil » Thu Mar 12, 2015 11:11 am

I have a Wandboard rev C1 with linux-armv7-3.19.1. On dmesg output I can see next warning:
$this->bbcode_second_pass_code('', '
------------[ cut here ]------------
WARNING: CPU: 1 PID: 144 at net/wireless/reg.c:521 regulatory_init+0x7c/0x114 [cfg80211]()
db.txt is empty, you should update it...
Modules linked in:
cfg80211(+) imx_ipuv3_crtc snd_soc_fsl_ssi imx_pcm_fiq snd_soc_sgtl5000 snd_soc_imx_spdif snd_soc_imx_sgtl5000 snd_soc_fsl_spdif rfkill imx_pcm_dma snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_soc_imx_audmux snd_timer ac97_bus etnaviv(C) pwm_imx imx_hdmi imxdrm imx_ipu_v3 drm_kms_helper uio_pdrv_genirq uio sch_fq_codel tcp_lp nf_conntrack_sane nf_conntrack
CPU: 1 PID: 144 Comm: systemd-udevd Tainted: G C 3.19.1-3-ARCH #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<c001822c>] (unwind_backtrace) from [<c0012588>] (show_stack+0x20/0x24)
[<c0012588>] (show_stack) from [<c0902164>] (dump_stack+0x7c/0x98)
[<c0902164>] (dump_stack) from [<c00518fc>] (warn_slowpath_common+0x9c/0xc8)
[<c00518fc>] (warn_slowpath_common) from [<c0051968>] (warn_slowpath_fmt+0x40/0x48)
[<c0051968>] (warn_slowpath_fmt) from [<bf42d15c>] (regulatory_init+0x7c/0x114 [cfg80211])
[<bf42d15c>] (regulatory_init [cfg80211]) from [<bf42d060>] (cfg80211_init+0x60/0xe0 [cfg80211])
[<bf42d060>] (cfg80211_init [cfg80211]) from [<c0008cf0>] (do_one_initcall+0x110/0x1c0)
[<c0008cf0>] (do_one_initcall) from [<c00c8884>] (load_module+0x17e8/0x1d94)
[<c00c8884>] (load_module) from [<c00c8f14>] (SyS_init_module+0xe4/0xec)
[<c00c8f14>] (SyS_init_module) from [<c000e620>] (ret_fast_syscall+0x0/0x34)
---[ end trace 5db50bc5601472a9 ]---
')

I have tried solve it installing "crda" but warning persist.

Can I ignore it?
opotonil
 
Posts: 40
Joined: Sat Feb 08, 2014 1:17 pm

Re: Wandboard kernel warning

Postby PLyttle » Fri Mar 13, 2015 9:19 am

did you include your regulatory domain in /etc/conf.d/wireless-regdom? (delete the hash in front of it?) This file defaults to all commented out (i.e. "empty")
wireless-regdom is a dependency of crda.

LP
PLyttle
 
Posts: 120
Joined: Mon Jun 10, 2013 6:52 am

Re: Wandboard kernel warning

Postby opotonil » Mon Mar 16, 2015 11:07 am

yes, I have included my regulatory domain:
$this->bbcode_second_pass_code('', '
# cat /etc/conf.d/wireless-regdom | egrep -i ^[a-z]
WIRELESS_REGDOM="ES"
')

But dmesg output:
$this->bbcode_second_pass_code('', '
------------[ cut here ]------------
WARNING: CPU: 2 PID: 146 at net/wireless/reg.c:521 regulatory_init+0x7c/0x114 [cfg80211]()
db.txt is empty, you should update it...
Modules linked in:
cfg80211(+) rfkill imx_ipuv3_crtc etnaviv(C) snd_soc_imx_sgtl5000 snd_soc_sgtl5000 snd_soc_imx_spdif snd_soc_fsl_ssi imx_ipu_v3 imx_pcm_fiq snd_soc_fsl_spdif imx_pcm_dma snd_soc_imx_audmux snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer ac97_bus imx_hdmi imxdrm drm_kms_helper pwm_imx uio_pdrv_genirq uio sch_fq_codel tcp_lp nf_conntrack_sane nf_conntrack
CPU: 2 PID: 146 Comm: systemd-udevd Tainted: G C 3.19.1-3-ARCH #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<c001822c>] (unwind_backtrace) from [<c0012588>] (show_stack+0x20/0x24)
[<c0012588>] (show_stack) from [<c0902164>] (dump_stack+0x7c/0x98)
[<c0902164>] (dump_stack) from [<c00518fc>] (warn_slowpath_common+0x9c/0xc8)
[<c00518fc>] (warn_slowpath_common) from [<c0051968>] (warn_slowpath_fmt+0x40/0x48)
[<c0051968>] (warn_slowpath_fmt) from [<bf37a15c>] (regulatory_init+0x7c/0x114 [cfg80211])
[<bf37a15c>] (regulatory_init [cfg80211]) from [<bf37a060>] (cfg80211_init+0x60/0xe0 [cfg80211])
[<bf37a060>] (cfg80211_init [cfg80211]) from [<c0008cf0>] (do_one_initcall+0x110/0x1c0)
[<c0008cf0>] (do_one_initcall) from [<c00c8884>] (load_module+0x17e8/0x1d94)
[<c00c8884>] (load_module) from [<c00c8f14>] (SyS_init_module+0xe4/0xec)
[<c00c8f14>] (SyS_init_module) from [<c000e620>] (ret_fast_syscall+0x0/0x34)
---[ end trace 583a434fbc835122 ]---
cfg80211: Calling CRDA to update world regulatory domain
brcmfmac: F1 signature read @0x18000000=0x16044330
usbcore: registered new interface driver brcmfmac
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211: DFS Master region: unset
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
cfg80211: Calling CRDA for country: ES
cfg80211: Regulatory domain changed to country: ES
cfg80211: DFS Master region: ETSI
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2301 mBm), (N/A)
cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz, 200000 KHz AUTO), (N/A, 2000 mBm), (0 s)
cfg80211: (5470000 KHz - 5725000 KHz @ 160000 KHz), (N/A, 2698 mBm), (0 s)
cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 25 2011 19:34:12 version 5.90.125.104
')
opotonil
 
Posts: 40
Joined: Sat Feb 08, 2014 1:17 pm

Re: Wandboard kernel warning

Postby opotonil » Thu Mar 19, 2015 11:30 am

Seems solved on kernel linux-armv7-3.19.2
opotonil
 
Posts: 40
Joined: Sat Feb 08, 2014 1:17 pm


Return to Freescale

Who is online

Users browsing this forum: No registered users and 3 guests