All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jes Sorensen <jes.sorensen@gmail.com>
To: "André Vitor" <andrevdj@gmail.com>, linux-wireless@vger.kernel.org
Subject: Re: rtl8xxxu (mac80211) not working with rtl8723au
Date: Fri, 29 Jan 2016 15:19:48 -0500	[thread overview]
Message-ID: <56ABC964.10808@gmail.com> (raw)
In-Reply-To: <CAP1NbjmewVTQ6KbY7fkgdhJ6iMSg0tO9g1P6Usymi3EmfmVA8w@mail.gmail.com>

On 01/27/16 17:09, André Vitor wrote:
> Hi all,
> 
> I'm having trouble with driver r8xxxu. My device has a realtek usb wifi+bt
> combo (0bda:0724) built-in.
> I can connect to a wifi network but if I open something that uses
> connections the driver stops working with a mac80211 crash message.
> 
> OS used is Android-x86 with kernel 4.4.0.
> 
> I'm also CC'ing the driver's author as I contacted him earlier.
> 
> dmesg >
> [   34.641610] ------------[ cut here ]------------
> [   34.641701] WARNING: CPU: 0 PID: 0 at
> /home/andre64/m-x86/kernel/net/mac80211/rx.c:3619
> ieee80211_rx_napi+0x63/0x60f [mac80211]()
> [   34.641709] Modules linked in: hid_sensor_accel_3d hid_sensor_als
> hid_sensor_magn_3d hid_sensor_incl_3d hid_sensor_rotation
> hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer
> kfifo_buf industrialio hid_sensor_iio_common hid_sensor_custom mac_hid
> rtl8xxxu mac80211 cfg80211 atkbd pcspkr efivars snd_hda_codec_hdmi
> snd_hda_codec_realtek snd_hda_codec_generic i2c_i801 lpc_ich snd_hda_intel
> snd_hda_codec snd_hda_core snd_hwdep i915 drm_kms_helper drm fb_sys_fops
> sysfillrect syscopyarea sysimgblt i2c_algo_bit hid_sensor_hub
> hid_multitouch dw_dmac dw_dmac_core i2c_hid i2c_designware_platform
> i2c_designware_core snd_soc_sst_acpi 8250_dw pwm_lpss_platform pwm_lpss
> snd_soc_rt5640 snd_soc_rl6231 snd_soc_core snd_compress snd_pcm_dmaengine
> snd_pcm snd_timer snd soundcore ac97_bus
> [   34.641852] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.0-android-x86+
> #2
> [   34.641859] Hardware name: Zmax B10T/B10T, BIOS 5.6.5 11/22/2013
> [   34.641867]  00000000 c14e8b20 00000000 c103bae0 f91a9291 00000e23
> da4467c0 f637c7f8
> [   34.641887]  f637c7e8 f637c420 c103bb58 00000009 00000000 f91a9291
> f553b501 00000000
> [   34.641906]  dee010b4 00000000 f82f815c f3f1e800 dee010b8 d48231d8
> f637c420 ffffffff
> [   34.641925] Call Trace:
> [   34.641944]  [<c14e8b20>] ? dump_stack+0x45/0x65
> [   34.641958]  [<c103bae0>] ? warn_slowpath_common+0x8a/0x9f
> [   34.642030]  [<f91a9291>] ? ieee80211_rx_napi+0x63/0x60f [mac80211]
> [   34.642042]  [<c103bb58>] ? warn_slowpath_null+0xd/0x10
> [   34.642114]  [<f91a9291>] ? ieee80211_rx_napi+0x63/0x60f [mac80211]
> [   34.642178]  [<f918d1d1>] ? ieee80211_tasklet_handler+0x4f/0x8e
> [mac80211]
> [   34.642190]  [<c103f04c>] ? tasklet_action+0x78/0x81
> [   34.642201]  [<c103ea69>] ? __do_softirq+0xb9/0x21c
> [   34.642213]  [<c103e9b0>] ? __tasklet_hrtimer_trampoline+0x27/0x27
> [   34.642225]  [<c100467f>] ? do_softirq_own_stack+0x1a/0x1f
> [   34.642231]  <IRQ>  [<c103ecf8>] ? irq_exit+0x31/0x70
> [   34.642278]  [<c1004121>] ? do_IRQ+0x88/0x99
> [   34.642292]  [<c14f0a69>] ? common_interrupt+0x29/0x30
> [   34.642306]  [<c13b0678>] ? cpuidle_enter_state+0x16a/0x2a7
> [   34.642319]  [<c1067bb4>] ? cpu_startup_entry+0x197/0x280
> [   34.642332]  [<c1833a41>] ? start_kernel+0x35b/0x35e
> [   34.642340] ---[ end trace 2226f818bc03f025 ]---
> [   34.844354] ------------[ cut here ]------------

This part looks suspicious to me - this is the NAPI stack spitting out
slowpath warnings.

Johannes, have you seen this kind of trace before?

I am curious if this could be the Android mods that halts certain
processing or if it's something I did wrong in the driver.

Jes


  parent reply	other threads:[~2016-01-29 20:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAP1NbjnOYorDuoTcsEUX76Ei0jievissNNNf=WN_uuwZNiRkwg@mail.gmail.com>
     [not found] ` <CAP1NbjmewVTQ6KbY7fkgdhJ6iMSg0tO9g1P6Usymi3EmfmVA8w@mail.gmail.com>
     [not found]   ` <089e010d935cc850e4052a580ec2@google.com>
2016-01-27 22:25     ` Delivery Status Notification (Failure) André Vitor
2016-01-29 20:19   ` Jes Sorensen [this message]
2016-01-31 19:26     ` rtl8xxxu (mac80211) not working with rtl8723au Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56ABC964.10808@gmail.com \
    --to=jes.sorensen@gmail.com \
    --cc=andrevdj@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.