Hi, Did you solve the issue.
Thanks, On Thursday, July 21, 2016 at 12:33:25 AM UTC+5:30, Mike Erdahl wrote: > > Hi, > > I'm working on a project that requires audio input/ output, so using a > C-Media chipset based solution from Sabrent. > > With the latest BB.org kernel/ filesystem (Kernel 4.4.9, Debian 8.4), > wlcore driver crashes during kernel boot if my USB audio card is installed. > Booting without the card installed, then installing after the kernel seems > to always work fine (WiFi throughput is normal, USB audio in/ out works as > expected). > > Occasionally I can poweroff, then back on, without removing USB audio > card, and wlcore is happy. I would say this occurs < 10%. > > Below are snippets of my kernel logs in good vs bad case: > > debian@beaglebone:~$ uname -a > > > Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l > GNU/Linux > > GOOD: > > [ 21.553728] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11) > > [ 21.727062] wlcore: loaded > [ 22.635026] wlcore: PHY firmware version: Rev 8.2.0.0.233 > [ 22.982650] wlcore: firmware booted (Rev 8.9.0.1.55) > [ 23.321899] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready > [ 24.678734] Bluetooth: Core ver 2.21 > [ 24.682608] NET: Registered protocol family 31 > [ 24.682627] Bluetooth: HCI device and connection manager initialized > [ 24.682664] Bluetooth: HCI socket layer initialized > [ 24.682681] Bluetooth: L2CAP socket layer initialized > [ 24.682778] Bluetooth: SCO socket layer initialized > [ 24.721944] Bluetooth: HCI UART driver ver 2.3 > [ 24.721973] Bluetooth: HCI UART protocol H4 registered > [ 24.721981] Bluetooth: HCI UART protocol BCSP registered > [ 24.721988] Bluetooth: HCI UART protocol LL registered > [ 24.721995] Bluetooth: HCI UART protocol ATH3K registered > [ 24.722002] Bluetooth: HCI UART protocol Three-wire (H5) registered > [ 24.724095] Bluetooth: HCI UART protocol BCM registered > [ 24.724115] Bluetooth: HCI UART protocol QCA registered > [ 25.093927] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 > [ 25.093951] Bluetooth: BNEP filters: protocol multicast > [ 25.093985] Bluetooth: BNEP socket layer initialized > > FAIL: > > [ 22.313743] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11) > > [ 22.480016] wlcore: loaded > > [ 23.447478] wlcore: PHY firmware version: Rev 8.2.0.0.233 > > [ 23.856026] wlcore: firmware booted (Rev 8.9.0.1.55) > > [ 24.185915] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready > > [ 25.025939] wlcore: ERROR ELP wakeup timeout! > > [ 25.030401] ------------[ cut here ]------------ > > [ 25.030673] WARNING: CPU: 0 PID: 451 at > drivers/net/wireless/ti/wlcore/main.c:797 > wl12xx_queue_recovery_work.part.8+0x46/0x48 [wlcore]() > > [ 25.030683] Modules linked in: arc4 wl18xx wlcore mac80211 pruss_intc > cfg80211 rfkill snd_soc_evm snd_soc_wilink8_bt pru_rproc omap_sham pruss > omap_aes_driver snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi > snd_seq_device cm109 omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma > snd_soc_omap snd_soc_core usb_f_acm snd_pcm_dmaengine u_serial > usb_f_rndis g_multi usb_f_mass_storage u_ether libcomposite snd_pcm > wlcore_sdio snd_timer snd soundcore evdev uio_pdrv_genirq uio > > [ 25.030817] CPU: 0 PID: 451 Comm: wpa_supplicant Not tainted > 4.4.9-ti-r25 #1 > > [ 25.030824] Hardware name: Generic AM33XX (Flattened Device Tree) > > [ 25.030864] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] > (show_stack+0x11/0x14) > > [ 25.030891] [<c00123f5>] (show_stack) from [<c03c9023>] > (dump_stack+0x73/0x80) > > [ 25.030920] [<c03c9023>] (dump_stack) from [<c0031043>] > (warn_slowpath_common+0x6b/0x94) > > [ 25.030936] [<c0031043>] (warn_slowpath_common) from [<c0031113>] > (warn_slowpath_null+0x17/0x1c) > > [ 25.031043] [<c0031113>] (warn_slowpath_null) from [<bfaecdab>] > (wl12xx_queue_recovery_work.part.8+0x46/0x48 [wlcore]) > > [ 25.031221] [<bfaecdab>] (wl12xx_queue_recovery_work.part.8 [wlcore]) > from [<bfaee97f>] (wl12xx_queue_recovery_work+0x12/0x14 [wlcore]) > > [ 25.031365] [<bfaee97f>] (wl12xx_queue_recovery_work [wlcore]) from > [<bfaf5fd3>] (wl1271_ps_elp_wakeup+0x192/0x198 [wlcore]) > > [ 25.031507] [<bfaf5fd3>] (wl1271_ps_elp_wakeup [wlcore]) from > [<bfaee0ad>] (wl1271_op_add_interface+0x78/0x774 [wlcore]) > > [ 25.032132] [<bfaee0ad>] (wl1271_op_add_interface [wlcore]) from > [<bfa488c9>] (drv_add_interface+0x38/0x118 [mac80211]) > > [ 25.032592] [<bfa488c9>] (drv_add_interface [mac80211]) from > [<bfa56d11>] (ieee80211_do_open+0x2f4/0x668 [mac80211]) > > [ 25.032905] [<bfa56d11>] (ieee80211_do_open [mac80211]) from > [<bfa5dd43>] (ieee80211_start_p2p_device+0x3e/0x44 [mac80211]) > > [ 25.033590] [<bfa5dd43>] (ieee80211_start_p2p_device [mac80211]) from > [<bf9bfe01>] (nl80211_start_p2p_device+0x50/0x120 [cfg80211]) > > [ 25.033868] [<bf9bfe01>] (nl80211_start_p2p_device [cfg80211]) from > [<c0632e61>] (genl_rcv_msg+0x1b5/0x2bc) > > [ 25.033887] [<c0632e61>] (genl_rcv_msg) from [<c06324f1>] > (netlink_rcv_skb+0x75/0x84) > > [ 25.033899] [<c06324f1>] (netlink_rcv_skb) from [<c0632c9d>] > (genl_rcv+0x21/0x30) > > [ 25.033911] [<c0632c9d>] (genl_rcv) from [<c0631e2b>] > (netlink_unicast+0xe3/0x178) > > [ 25.033922] [<c0631e2b>] (netlink_unicast) from [<c06322bd>] > (netlink_sendmsg+0x381/0x454) > > [ 25.033942] [<c06322bd>] (netlink_sendmsg) from [<c05f9f73>] > (sock_sendmsg+0x23/0x2c) > > [ 25.033958] [<c05f9f73>] (sock_sendmsg) from [<c05fa701>] > (___sys_sendmsg+0x161/0x168) > > [ 25.033973] [<c05fa701>] (___sys_sendmsg) from [<c05fb145>] > (__sys_sendmsg+0x35/0x58) > > [ 25.033995] [<c05fb145>] (__sys_sendmsg) from [<c000ec41>] > (ret_fast_syscall+0x1/0x52) > > [ 25.034162] ---[ end trace d8e2deaaef207924 ]--- > > [ 25.037669] wlcore: Hardware recovery in progress. FW ver: Rev > 8.9.0.1.55 > > [ 25.037693] ------------[ cut here ]------------ > > [ 25.037953] WARNING: CPU: 0 PID: 57 at > drivers/net/wireless/ti/wlcore/io.h:65 wlcore_set_partition+0x6e/0x374 > [wlcore]() > > [ 25.037963] Modules linked in: arc4 wl18xx wlcore mac80211 pruss_intc > cfg80211 rfkill snd_soc_evm snd_soc_wilink8_bt pru_rproc omap_sham pruss > omap_aes_driver snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi > snd_seq_device cm109 omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma > snd_soc_omap snd_soc_core usb_f_acm snd_pcm_dmaengine u_serial > usb_f_rndis g_multi usb_f_mass_storage u_ether libcomposite snd_pcm > wlcore_sdio snd_timer snd soundcore evdev uio_pdrv_genirq uio > > [ 25.038098] CPU: 0 PID: 57 Comm: kworker/u2:1 Tainted: G > > W > > 4.4.9-ti-r25 #1 > > [ 25.038106] Hardware name: Generic AM33XX (Flattened Device Tree) > > [ 25.038202] Workqueue: phy0 wl1271_recovery_work [wlcore] > > [ 25.038241] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] > (show_stack+0x11/0x14) > > [ 25.038266] [<c00123f5>] (show_stack) from [<c03c9023>] > (dump_stack+0x73/0x80) > > [ 25.038295] [<c03c9023>] (dump_stack) from [<c0031043>] > (warn_slowpath_common+0x6b/0x94) > > [ 25.038310] [<c0031043>] (warn_slowpath_common) from [<c0031113>] > (warn_slowpath_null+0x17/0x1c) > > [ 25.038403] [<c0031113>] (warn_slowpath_null) from [<bfaf302f>] > (wlcore_set_partition+0x6e/0x374 [wlcore]) > > [ 25.038552] [<bfaf302f>] (wlcore_set_partition [wlcore]) from > [<bfaec539>] (wl1271_recovery_work+0x60/0x250 [wlcore]) > > [ 25.038641] [<bfaec539>] (wl1271_recovery_work [wlcore]) from > [<c00440ed>] (process_one_work+0xf1/0x328) > > [ 25.038658] [<c00440ed>] (process_one_work) from [<c004440d>] > (worker_thread+0xe9/0x384) > > [ 25.038675] [<c004440d>] (worker_thread) from [<c0048383>] > (kthread+0xaf/0xc4) > > [ 25.038695] [<c0048383>] (kthread) from [<c000ed15>] > (ret_from_fork+0x11/0x1c) > > [ 25.038704] ---[ end trace d8e2deaaef207925 ]--- > > [ 25.038724] wlcore: down > > [ 25.045499] ieee80211 phy0: Hardware restart was requested > > [ 52.349331] wlcore: ERROR timeout waiting for the hardware to complete > initialization > > [ 78.194635] wlcore: ERROR timeout waiting for the hardware to complete > initialization > > [ 104.038664] wlcore: ERROR timeout waiting for the hardware to complete > initialization > > [ 104.052349] wlcore: ERROR firmware boot failed despite 3 retries > > [ 104.058540] ------------[ cut here ]------------ > > [ 104.059266] WARNING: CPU: 0 PID: 166 at net/mac80211/util.c:1854 > ieee80211_reconfig+0x410/0xd74 [mac80211]() > > [ 104.059283] Modules linked in: arc4 wl18xx wlcore mac80211 pruss_intc > cfg80211 rfkill snd_soc_evm snd_soc_wilink8_bt pru_rproc omap_sham pruss > omap_aes_driver snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi > snd_seq_device cm109 omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma > snd_soc_omap snd_soc_core usb_f_acm snd_pcm_dmaengine u_serial > usb_f_rndis g_multi usb_f_mass_storage u_ether libcomposite snd_pcm > wlcore_sdio snd_timer snd soundcore evdev uio_pdrv_genirq uio > > [ 104.059489] CPU: 0 PID: 166 Comm: kworker/0:3 Tainted: G > > W > > 4.4.9-ti-r25 #1 > > [ 104.059501] Hardware name: Generic AM33XX (Flattened Device Tree) > > [ 104.059881] Workqueue: events_freezable ieee80211_restart_work > [mac80211] > > [ 104.059937] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] > (show_stack+0x11/0x14) > > [ 104.059973] [<c00123f5>] (show_stack) from [<c03c9023>] > (dump_stack+0x73/0x80) > > [ 104.060013] [<c03c9023>] (dump_stack) from [<c0031043>] > (warn_slowpath_common+0x6b/0x94) > > [ 104.060039] [<c0031043>] (warn_slowpath_common) from [<c0031113>] > (warn_slowpath_null+0x17/0x1c) > > [ 104.060365] [<c0031113>] (warn_slowpath_null) from [<bfa6aa95>] > (ieee80211_reconfig+0x410/0xd74 [mac80211]) > > [ 104.060881] [<bfa6aa95>] (ieee80211_reconfig [mac80211]) from > [<bfa4626f>] (ieee80211_restart_work+0x4a/0x70 [mac80211]) > > [ 104.061146] [<bfa4626f>] (ieee80211_restart_work [mac80211]) from > [<c00440ed>] (process_one_work+0xf1/0x328) > > [ 104.061173] [<c00440ed>] (process_one_work) from [<c004440d>] > (worker_thread+0xe9/0x384) > > [ 104.061199] [<c004440d>] (worker_thread) from [<c0048383>] > (kthread+0xaf/0xc4) > > [ 104.061228] [<c0048383>] (kthread) from [<c000ed15>] > (ret_from_fork+0x11/0x1c) > > [ 104.061243] ---[ end trace d8e2deaaef207926 ]--- > > [ 104.061498] ------------[ cut here ]------------ > > [ 104.062051] WARNING: CPU: 0 PID: 166 at net/mac80211/driver-ops.h:12 > drv_remove_interface+0x74/0x114 [mac80211]() > > [ 104.062070] wlan0: Failed check-sdata-in-driver check, flags: 0x0 > > [ 104.062080] Modules linked in: arc4 wl18xx wlcore mac80211 pruss_intc > cfg80211 rfkill snd_soc_evm snd_soc_wilink8_bt pru_rproc omap_sham pruss > omap_aes_driver snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi > snd_seq_device cm109 omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma > snd_soc_omap snd_soc_core usb_f_acm snd_pcm_dmaengine u_serial > usb_f_rndis g_multi usb_f_mass_storage u_ether libcomposite snd_pcm > wlcore_sdio snd_timer snd soundcore evdev uio_pdrv_genirq uio > > [ 104.062272] CPU: 0 PID: 166 Comm: kworker/0:3 Tainted: G > > W > > 4.4.9-ti-r25 #1 > > [ 104.062283] Hardware name: Generic AM33XX (Flattened Device Tree) > > [ 104.062592] Workqueue: events_freezable ieee80211_restart_work > [mac80211] > > [ 104.062637] [<c0015b61>] (unwind_backtrace) from [<c00123f5>] > (show_stack+0x11/0x14) > > [ 104.062666] [<c00123f5>] (show_stack) from [<c03c9023>] > (dump_stack+0x73/0x80) > > [ 104.062700] [<c03c9023>] (dump_stack) from [<c0031043>] > (warn_slowpath_common+0x6b/0x94) > > [ 104.062724] [<c0031043>] (warn_slowpath_common) from [<c003109f>] > (warn_slowpath_fmt+0x33/0x48) > > [ 104.063013] [<c003109f>] (warn_slowpath_fmt) from [<bfa48b41>] > (drv_remove_interface+0x74/0x114 [mac80211]) > > [ 104.063515] [<bfa48b41>] (drv_remove_interface [mac80211]) from > [<bfa567c9>] (ieee80211_do_stop+0x348/0x570 [mac80211]) > > [ 104.064009] [<bfa567c9>] (ieee80211_do_stop [mac80211]) from > [<bfa56a03>] (ieee80211_stop+0x12/0x18 [mac80211]) > > [ 104.064273] [<bfa56a03>] (ieee80211_stop [mac80211]) from [<c0609b33>] > (__dev_close_many+0x73/0xc0) > > [ 104.064297] [<c0609b33>] (__dev_close_many) from [<c0609bed>] > (dev_close_many+0x6d/0xe0) > > [ 104.064322] [<c0609bed>] (dev_close_many) from [<c060d103>] > (dev_close.part.8+0x2f/0x44) > > [ 104.064345] [<c060d103>] (dev_close.part.8) from [<c060d12d>] > (dev_close+0x15/0x18) > > [ 104.065008] [<c060d12d>] (dev_close) from [<bf9af35f>] > (cfg80211_shutdown_all_interfaces+0x2a/0x74 [cfg80211]) > > [ 104.065851] [<bf9af35f>] (cfg80211_shutdown_all_interfaces [cfg80211]) > from [<bfa6905d>] (ieee80211_handle_reconfig_failure+0x74/0x98 [mac80211]) > > [ 104.066445] [<bfa6905d>] (ieee80211_handle_reconfig_failure [mac80211]) > from [<bfa6ac8b>] (ieee80211_reconfig+0x606/0xd74 [mac80211]) > > [ 104.066942] [<bfa6ac8b>] (ieee80211_reconfig [mac80211]) from > [<bfa4626f>] (ieee80211_restart_work+0x4a/0x70 [mac80211]) > > [ 104.067209] [<bfa4626f>] (ieee80211_restart_work [mac80211]) from > [<c00440ed>] (process_one_work+0xf1/0x328) > > [ 104.067237] [<c00440ed>] (process_one_work) from [<c004440d>] > (worker_thread+0xe9/0x384) > > [ 104.067263] [<c004440d>] (worker_thread) from [<c0048383>] > (kthread+0xaf/0xc4) > > [ 104.067291] [<c0048383>] (kthread) from [<c000ed15>] > (ret_from_fork+0x11/0x1c) > > [ 104.067439] ---[ end trace d8e2deaaef207927 ]--- > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d0bcface-e306-4986-8cef-28869798ccd6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
