Re: Delivery Status Notification (Failure)

2016-01-27 Thread André Vitor
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]   c14e8b20  c103bae0 f91a9291 0e23
da4467c0 f637c7f8
[   34.641887]  f637c7e8 f637c420 c103bb58 0009  f91a9291
f553b501 
[   34.641906]  dee010b4  f82f815c f3f1e800 dee010b8 d48231d8
f637c420 
[   34.641925] Call Trace:
[   34.641944]  [] ? dump_stack+0x45/0x65
[   34.641958]  [] ? warn_slowpath_common+0x8a/0x9f
[   34.642030]  [] ? ieee80211_rx_napi+0x63/0x60f [mac80211]
[   34.642042]  [] ? warn_slowpath_null+0xd/0x10
[   34.642114]  [] ? ieee80211_rx_napi+0x63/0x60f [mac80211]
[   34.642178]  [] ? ieee80211_tasklet_handler+0x4f/0x8e [mac80211]
[   34.642190]  [] ? tasklet_action+0x78/0x81
[   34.642201]  [] ? __do_softirq+0xb9/0x21c
[   34.642213]  [] ? __tasklet_hrtimer_trampoline+0x27/0x27
[   34.642225]  [] ? do_softirq_own_stack+0x1a/0x1f
[   34.642231][] ? irq_exit+0x31/0x70
[   34.642278]  [] ? do_IRQ+0x88/0x99
[   34.642292]  [] ? common_interrupt+0x29/0x30
[   34.642306]  [] ? cpuidle_enter_state+0x16a/0x2a7
[   34.642319]  [] ? cpu_startup_entry+0x197/0x280
[   34.642332]  [] ? start_kernel+0x35b/0x35e
[   34.642340] ---[ end trace 2226f818bc03f025 ]---
[   34.844354] [ cut here ]
[   34.844407] WARNING: CPU: 0 PID: 7 at
/home/andre64/m-x86/kernel/net/mac80211/rx.c:3619
ieee80211_rx_napi+0x63/0x60f [mac80211]()
[   34.844412] 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.844494] CPU: 0 PID: 7 Comm: rcu_preempt Tainted: GW
  4.4.0-android-x86+ #2
[   34.844498] Hardware name: Zmax B10T/B10T, BIOS 5.6.5 11/22/2013
[   34.844502]   c14e8b20  c103bae0 f91a9291 0e23
d4ae3880 f637c7f8
[   34.844514]  f637c7e8 f637c420 c103bb58 0009  f91a9291
f553b501 
[   34.844524]  da4bdeb4  f82f815c f3f1e800 da4bdeb8 d4ae54d8
f3f45340 00200282
[   34.844535] Call Trace:
[   34.844548]  [] ? dump_stack+0x45/0x65
[   34.844556]  [] ? warn_slowpath_common+0x8a/0x9f
[   34.844595]  [] ? ieee80211_rx_napi+0x63/0x60f [mac80211]
[   34.844602]  [] ? warn_slowpath_null+0xd/0x10
[   34.844641]  [] ? ieee80211_rx_napi+0x63/0x60f [mac80211]
[   34.844676]  [] ? ieee80211_tasklet_handler+0x4f/0x8e [mac80211]
[   34.844682]  [] ? tasklet_action+0x78/0x81
[   34.844688]  [] ? __do_softirq+0xb9/0x21c
[   34.844695]  [] ? __tasklet_hrtimer_trampoline+0x27/0x27
[   34.844702]  [] ? do_softirq_own_stack+0x1a/0x1f
[   34.844705][] ? irq_exit+0x31/0x70
[   34.844714]  [] ? do_IRQ+0x88/0x99
[   34.844722]  [] ? common_interrupt+0x29/0x30
[   34.844730]  [] ? run_timer_softirq+0x1ec/0x1ec
[   34.844737]  [] ? schedule_timeout+0x58/0x192
[   34.844742]  [] ? detach_if_pending+0xad/0xad
[   34.844750]  [] ? prepare_to_wait_event+0x9d/0xa5
[   34.844757]  [] ? rcu_gp_kthread+0x415/0x6d6
[ 

Re: Delivery Status Notification (Failure)

2015-01-16 Thread Mike Purvis
Okay, captured the configuration from the working machine:

https://gist.github.com/mikepurvis/d8977be6865cebd18ff3

Looks like 8087:07da is the centrino bluetooth component, but it's not
at all obvious!

Thanks very much for the assistance.

Mike

On 15 January 2015 at 16:13, Johannes Berg johan...@sipsolutions.net wrote:
 On Thu, 2015-01-15 at 14:39 -0600, Pat Erley wrote:

 I'd guess that the 6235 module has WLAN on the pci-e connector portion,
 and Bluetooth on the USB portion.

 Yes, that's the case for all Intel wifi modules that have BT.

 johannes

--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Delivery Status Notification (Failure)

2015-01-15 Thread Pat Erley

On 01/15/2015 01:34 PM, Mike Purvis wrote:

I'm having an issue with the Centrino Advanced-N 6235 module. I'm running
Ubuntu Trusty, and I've tried both the 3.13 and 3.16 kernels. Haven't yet
tried 3.18.

What's weirdest about it is that the module actually works with full
functionality on an Advantech AIMB-274 (Q87 chipset) with the described
software configuration. However, when I plug the module into either a Gigabyte
J1800N or an ASRock IMB-152 (J1900), I get no bluetooth— no hci0 device
comes up at all in hciconfig dev or rfkill list.


I'd guess that the 6235 module has WLAN on the pci-e connector portion,
and Bluetooth on the USB portion.  Check the docs on the board you're
plugging it into, and I bet the mini-pcie connector doesn't have the
USB side wired up, or it's disabled in(or by) the bios?



My sense is that the 6235 is a very popular module, and low-cost celeron
motherboards are also pretty popular, so there must be others who have run
into this. Maybe people just don't use bluetooth, or don't expect it to
work on Linux?

Anyhow, here is a gist with the dmesg boot log and lshw output:

https://gist.github.com/mikepurvis/ee7bc8fb85ff7ae64a9d

Looks like there's a crash in there related to intel integrated graphics—
could this be a cause? This is a headless machine, so disabling graphics
completely is on the table, if someone can suggest a good way to go
about that. Any other ideas as to what's going on here?

Thanks muchly.

  --
Mike Purvis | Clearpath Robotics, Inc.
1425 Strasburg Road, Unit 2A , Kitchener, Ontario, N2R 1H2
--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Delivery Status Notification (Failure)

2015-01-15 Thread Mike Purvis
I'm having an issue with the Centrino Advanced-N 6235 module. I'm running
Ubuntu Trusty, and I've tried both the 3.13 and 3.16 kernels. Haven't yet
tried 3.18.

What's weirdest about it is that the module actually works with full
functionality on an Advantech AIMB-274 (Q87 chipset) with the described
software configuration. However, when I plug the module into either a Gigabyte
J1800N or an ASRock IMB-152 (J1900), I get no bluetooth— no hci0 device
comes up at all in hciconfig dev or rfkill list.

My sense is that the 6235 is a very popular module, and low-cost celeron
motherboards are also pretty popular, so there must be others who have run
into this. Maybe people just don't use bluetooth, or don't expect it to
work on Linux?

Anyhow, here is a gist with the dmesg boot log and lshw output:

https://gist.github.com/mikepurvis/ee7bc8fb85ff7ae64a9d

Looks like there's a crash in there related to intel integrated graphics—
could this be a cause? This is a headless machine, so disabling graphics
completely is on the table, if someone can suggest a good way to go
about that. Any other ideas as to what's going on here?

Thanks muchly.

 --
Mike Purvis | Clearpath Robotics, Inc.
1425 Strasburg Road, Unit 2A , Kitchener, Ontario, N2R 1H2
--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Delivery Status Notification (Failure)

2015-01-15 Thread Pat Erley

On 01/15/2015 03:00 PM, Mike Purvis wrote:

Hi Pat,

It's a good guess, but I don't think that's the case, in part because
the 6235 is a 2x2 MIMO module— the antennas are MAIN/AUX, not WIFI/BT.

I actually did encounter an Azurewave module which was set up that
way, and both portions came up on the Gigabyte motherboard— I would
have kept using that module, but there was a supply availability
issue, the wifi performance was very poor, and I was interested in
using a MIMO part.


Any chance you can plug the card back into the system it worked in and
catch the lspci and lsusb outputs?  I think you might be surprised.

Wifi and BT can share antennas using something called bluetooth
co-exist (bt_coex is the iwlwifi module parameter to enable/disable
it).

I did some quick googling, and there are references to the 6235 modules
requiring a USB enabled mini-pcie slot.



On 15 January 2015 at 15:39, Pat Erley pat-l...@erley.org wrote:

On 01/15/2015 01:34 PM, Mike Purvis wrote:


I'm having an issue with the Centrino Advanced-N 6235 module. I'm running
Ubuntu Trusty, and I've tried both the 3.13 and 3.16 kernels. Haven't yet
tried 3.18.

What's weirdest about it is that the module actually works with full
functionality on an Advantech AIMB-274 (Q87 chipset) with the described
software configuration. However, when I plug the module into either a
Gigabyte
J1800N or an ASRock IMB-152 (J1900), I get no bluetooth— no hci0 device
comes up at all in hciconfig dev or rfkill list.



I'd guess that the 6235 module has WLAN on the pci-e connector portion,
and Bluetooth on the USB portion.  Check the docs on the board you're
plugging it into, and I bet the mini-pcie connector doesn't have the
USB side wired up, or it's disabled in(or by) the bios?



My sense is that the 6235 is a very popular module, and low-cost celeron
motherboards are also pretty popular, so there must be others who have run
into this. Maybe people just don't use bluetooth, or don't expect it to
work on Linux?

Anyhow, here is a gist with the dmesg boot log and lshw output:

https://gist.github.com/mikepurvis/ee7bc8fb85ff7ae64a9d

Looks like there's a crash in there related to intel integrated graphics—
could this be a cause? This is a headless machine, so disabling graphics
completely is on the table, if someone can suggest a good way to go
about that. Any other ideas as to what's going on here?

Thanks muchly.

   --
Mike Purvis | Clearpath Robotics, Inc.
1425 Strasburg Road, Unit 2A , Kitchener, Ontario, N2R 1H2
--
To unsubscribe from this list: send the line unsubscribe linux-wireless
in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Delivery Status Notification (Failure)

2015-01-15 Thread Mike Purvis
Hi Pat,

It's a good guess, but I don't think that's the case, in part because
the 6235 is a 2x2 MIMO module— the antennas are MAIN/AUX, not WIFI/BT.

I actually did encounter an Azurewave module which was set up that
way, and both portions came up on the Gigabyte motherboard— I would
have kept using that module, but there was a supply availability
issue, the wifi performance was very poor, and I was interested in
using a MIMO part.

On 15 January 2015 at 15:39, Pat Erley pat-l...@erley.org wrote:
 On 01/15/2015 01:34 PM, Mike Purvis wrote:

 I'm having an issue with the Centrino Advanced-N 6235 module. I'm running
 Ubuntu Trusty, and I've tried both the 3.13 and 3.16 kernels. Haven't yet
 tried 3.18.

 What's weirdest about it is that the module actually works with full
 functionality on an Advantech AIMB-274 (Q87 chipset) with the described
 software configuration. However, when I plug the module into either a
 Gigabyte
 J1800N or an ASRock IMB-152 (J1900), I get no bluetooth— no hci0 device
 comes up at all in hciconfig dev or rfkill list.


 I'd guess that the 6235 module has WLAN on the pci-e connector portion,
 and Bluetooth on the USB portion.  Check the docs on the board you're
 plugging it into, and I bet the mini-pcie connector doesn't have the
 USB side wired up, or it's disabled in(or by) the bios?


 My sense is that the 6235 is a very popular module, and low-cost celeron
 motherboards are also pretty popular, so there must be others who have run
 into this. Maybe people just don't use bluetooth, or don't expect it to
 work on Linux?

 Anyhow, here is a gist with the dmesg boot log and lshw output:

 https://gist.github.com/mikepurvis/ee7bc8fb85ff7ae64a9d

 Looks like there's a crash in there related to intel integrated graphics—
 could this be a cause? This is a headless machine, so disabling graphics
 completely is on the table, if someone can suggest a good way to go
 about that. Any other ideas as to what's going on here?

 Thanks muchly.

   --
 Mike Purvis | Clearpath Robotics, Inc.
 1425 Strasburg Road, Unit 2A , Kitchener, Ontario, N2R 1H2
 --
 To unsubscribe from this list: send the line unsubscribe linux-wireless
 in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Delivery Status Notification (Failure)

2015-01-15 Thread Johannes Berg
On Thu, 2015-01-15 at 14:39 -0600, Pat Erley wrote:

 I'd guess that the 6235 module has WLAN on the pci-e connector portion,
 and Bluetooth on the USB portion.

Yes, that's the case for all Intel wifi modules that have BT.

johannes

--
To unsubscribe from this list: send the line unsubscribe linux-wireless in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html