linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RTL8188SU(r8712u) - drivers/usb/core/urb.c:339 usb_submit_urb+0x11d/0x5f0()
@ 2014-09-28 22:13 poma
  2014-10-06 20:15 ` RTL8188SU(r8712u) - Unable to suspend/resume poma
  0 siblings, 1 reply; 2+ messages in thread
From: poma @ 2014-09-28 22:13 UTC (permalink / raw)
  To: linux-wireless, driverdev-devel, Larry Finger


0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter

r8712u: module is from the staging directory, the quality is unknown, you have been warned.
r8712u: Staging version
r8712u: register rtl8712_netdev_ops to netdev_ops
usb 2-1: r8712u: USB_SPEED_HIGH with 4 endpoints
usb 2-1: r8712u: Boot from EFUSE: Autoload OK
usb 2-1: r8712u: CustomerID = 0x0000
usb 2-1: r8712u: MAC Address from efuse = 00:e0:4c:87:00:00
usb 2-1: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
usbcore: registered new interface driver r8712u
r8712u 2-1:1.0 wlp0s4f1u1: renamed from wlan0
systemd-udevd[394]: renamed network interface wlan0 to wlp0s4f1u1

------------[ cut here ]------------
WARNING: CPU: 3 PID: 679 at drivers/usb/core/urb.c:339 usb_submit_urb+0x11d/0x5f0()
URB ffff8800cb25eb40 submitted while active
Modules linked in: r8712u(C) 
CPU: 3 PID: 679 Comm: NetworkManager Tainted: G         C     3.17.0-0.rc6.git2.1.fc22.x86_64 #1
Call Trace:
 [<ffffffff8173c341>] dump_stack+0x45/0x56
 [<ffffffff81096eed>] warn_slowpath_common+0x7d/0xa0
 [<ffffffff81096f6c>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffff817414f6>] ? __down_interruptible+0xa6/0xf0
 [<ffffffff8151f51d>] usb_submit_urb+0x11d/0x5f0
 [<ffffffffa047f7f5>] r8712_usb_write_mem+0xa5/0xc0 [r8712u]
 [<ffffffffa04801ba>] r8712_write_mem+0x1a/0x20 [r8712u]
 [<ffffffffa047de64>] rtl8712_hal_init+0x274/0x7e0 [r8712u]
 [<ffffffffa047e510>] rtl871x_hal_init+0x40/0x60 [r8712u]
 [<ffffffffa048f91e>] netdev_open+0xfe/0x260 [r8712u]
 [<ffffffff8163140e>] __dev_open+0xce/0x150
 [<ffffffff8163173d>] __dev_change_flags+0x9d/0x160
 [<ffffffff81631829>] dev_change_flags+0x29/0x70
 [<ffffffff8163f2b9>] do_setlink+0x409/0xb80
 [<ffffffff812027ab>] ? mem_cgroup_bad_page_check+0x1b/0x30
 [<ffffffff810cf673>] ? find_busiest_group+0x143/0x910
 [<ffffffff813aa7e2>] ? nla_parse+0x32/0x120
 [<ffffffff81641a4d>] rtnl_newlink+0x61d/0x780
 [<ffffffff8130c748>] ? security_capable+0x18/0x20
 [<ffffffff8109f09b>] ? ns_capable+0x2b/0x60
 [<ffffffff8163dea1>] rtnetlink_rcv_msg+0xa1/0x260
 [<ffffffff811f1111>] ? __kmalloc_node_track_caller+0x191/0x2e0
 [<ffffffff81394fd6>] ? rhashtable_lookup_compare+0x36/0x70
 [<ffffffff8163de00>] ? rtnetlink_rcv+0x30/0x30
 [<ffffffff8165fea9>] netlink_rcv_skb+0xa9/0xd0
 [<ffffffff8163ddf8>] rtnetlink_rcv+0x28/0x30
 [<ffffffff8165f4ca>] netlink_unicast+0x12a/0x1a0
 [<ffffffff8165f891>] netlink_sendmsg+0x351/0x7b0
 [<ffffffff8161344e>] sock_sendmsg+0x9e/0xe0
 [<ffffffff8161311e>] ? move_addr_to_kernel.part.20+0x1e/0x70
 [<ffffffff81614021>] ? move_addr_to_kernel+0x21/0x30
 [<ffffffff816138b8>] ___sys_sendmsg+0x3c8/0x3e0
 [<ffffffff8122a685>] ? __fget_light+0x25/0x70
 [<ffffffff81613a4d>] ? SYSC_sendto+0x17d/0x1c0
 [<ffffffff8122a685>] ? __fget_light+0x25/0x70
 [<ffffffff816147d1>] __sys_sendmsg+0x51/0x90
 [<ffffffff81614822>] SyS_sendmsg+0x12/0x20
 [<ffffffff817434a9>] system_call_fastpath+0x16/0x1b
---[ end trace c3332f64cf535dba ]---



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RTL8188SU(r8712u) - Unable to suspend/resume
  2014-09-28 22:13 RTL8188SU(r8712u) - drivers/usb/core/urb.c:339 usb_submit_urb+0x11d/0x5f0() poma
@ 2014-10-06 20:15 ` poma
  0 siblings, 0 replies; 2+ messages in thread
From: poma @ 2014-10-06 20:15 UTC (permalink / raw)
  To: linux-wireless, driverdev-devel, Larry Finger


$ dmesg
...
[    1.462812] usb 1-4: new high-speed USB device number 4 using ehci-pci
[    1.579359] usb 1-4: New USB device found, idVendor=0bda, idProduct=8171
[    1.579360] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.579361] usb 1-4: Product: RTL8188S WLAN Adapter 
[    1.579362] usb 1-4: Manufacturer: Manufacturer Realtek 
[    1.579363] usb 1-4: SerialNumber: 00e04c000001
[    2.026431] usb 2-3: Product: 802.11 n WLAN
[   21.295330] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[   21.296110] r8712u: Staging version
[   21.296288] r8712u: register rtl8712_netdev_ops to netdev_ops
[   21.296583] usb 1-4: r8712u: USB_SPEED_HIGH with 4 endpoints
[   21.297469] usb 1-4: r8712u: Boot from EFUSE: Autoload OK
[   21.863363] usb 1-4: r8712u: CustomerID = 0x0000
[   21.864014] usb 1-4: r8712u: MAC Address from efuse = 00:11:22:33:44:55
[   21.864622] usb 1-4: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[   21.865330] usbcore: registered new interface driver r8712u
[   21.980454] r8712u 1-4:1.0 wlp0s2f1u4: renamed from wlan0
[   21.997197] systemd-udevd[452]: renamed network interface wlan0 to wlp0s2f1u4
[   28.252740] r8712u 1-4:1.0 wlp0s2f1u4: 1 RCR=0x153f00e
[   28.253856] r8712u 1-4:1.0 wlp0s2f1u4: 2 RCR=0x553f00e
[   28.359221] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[   28.664239] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[   28.978248] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[   56.734442] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s2f1u4: link becomes ready
...


$ nmcli device 
DEVICE      TYPE      STATE      CONNECTION 
wlp0s2f1u4  wifi      connected  ap   


$ iwconfig wlp0s2f1u4 
wlp0s2f1u4  IEEE 802.11bgn  ESSID:"ap"  Nickname:"rtl_wifi"
          Mode:Managed  Frequency:2.457 GHz  Access Point: 00:11:33:55:77:99   
          Bit Rate:150 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=98/100  Signal level=48/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


$ systemctl suspend


$ dmesg
...
[ 6218.212944] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s2f1u4: link becomes ready
[ 6218.426509] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[ 6219.437930] r8712u 1-4:1.0 wlp0s2f1u4: Suspending...
[ 6219.437932] r8712u 1-4:1.0 wlp0s2f1u4: Unable to suspend
[ 6222.063982] r8712u 1-4:1.0 wlp0s2f1u4: Resuming...
[ 6222.063984] r8712u 1-4:1.0 wlp0s2f1u4: Unable to resume
[ 6222.380137] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[ 6222.703179] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[ 6222.718697] r8712u 1-4:1.0 wlp0s2f1u4: In r8711_wx_set_scan: bDriverStopped=1
[ 6246.403973] r8712u 1-4:1.0 wlp0s2f1u4: In r8711_wx_set_scan: bDriverStopped=1
[ 6269.423294] r8712u 1-4:1.0 wlp0s2f1u4: In r8711_wx_set_scan: bDriverStopped=1
[ 6302.435194] r8712u 1-4:1.0 wlp0s2f1u4: In r8711_wx_set_scan: bDriverStopped=1
...


$ nmcli radio wifi 
enabled


$ nmcli device 
DEVICE      TYPE      STATE         CONNECTION 
wlp0s2f1u4  wifi      disconnected  --         


$ iwconfig wlp0s2f1u4 
wlp0s2f1u4  unassociated  Nickname:"rtl_wifi"
          Mode:Managed  Access Point: Not-Associated   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


$ nmcli device connect wlp0s2f1u4 
Error: Device activation failed: The device has no connections available.


# modprobe -rv r8712u && modprobe -v r8712u
rmmod r8712u
insmod /lib/modules/3.17.0-1.fc21.x86_64/kernel/drivers/staging/rtl8712/r8712u.ko.xz 


$ dmesg
...
[ 6809.514301] usbcore: deregistering interface driver r8712u
[ 6809.858958] usb 1-4: reset high-speed USB device number 4 using ehci-pci
[ 6809.992458] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[ 6809.993163] r8712u: Staging version
[ 6809.993182] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 6809.993187] usb 1-4: r8712u: USB_SPEED_HIGH with 4 endpoints
[ 6809.994152] usb 1-4: r8712u: Boot from EFUSE: Autoload OK
[ 6810.373993] usb 1-4: r8712u: CustomerID = 0x0000
[ 6810.374007] usb 1-4: r8712u: MAC Address from efuse = 00:11:22:33:44:55
[ 6810.374015] usb 1-4: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 6810.374824] usbcore: registered new interface driver r8712u
[ 6810.380437] r8712u 1-4:1.0 wlp0s2f1u4: renamed from wlan0
[ 6810.395219] systemd-udevd[3533]: renamed network interface wlan0 to wlp0s2f1u4
[ 6811.110320] r8712u 1-4:1.0 wlp0s2f1u4: 1 RCR=0x153f00e
[ 6811.110849] r8712u 1-4:1.0 wlp0s2f1u4: 2 RCR=0x553f00e
[ 6811.215147] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[ 6811.520143] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[ 6811.827149] IPv6: ADDRCONF(NETDEV_UP): wlp0s2f1u4: link is not ready
[ 6832.218387] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s2f1u4: link becomes ready
...


$ nmcli device 
DEVICE      TYPE      STATE      CONNECTION 
wlp0s2f1u4  wifi      connected  sunlight   


$ iwconfig wlp0s2f1u4 
wlp0s2f1u4  IEEE 802.11bgn  ESSID:"ap"  Nickname:"rtl_wifi"
          Mode:Managed  Frequency:2.457 GHz  Access Point: 00:11:33:55:77:99   
          Bit Rate:150 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=90/100  Signal level=47/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


poma



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-06 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28 22:13 RTL8188SU(r8712u) - drivers/usb/core/urb.c:339 usb_submit_urb+0x11d/0x5f0() poma
2014-10-06 20:15 ` RTL8188SU(r8712u) - Unable to suspend/resume poma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).