You are not logged in.

#1 2015-09-11 18:23:04

wma
Member
Registered: 2015-09-07
Posts: 10

rtl8192ce system freezes

Hi,

I've been experiencing a bug that causes the system to completely freeze at random whenever the wireless connection is under heavy use for some time. For instance, while downloading at more than 1.5 MB/s for an extended period of time.

The freeze usually happens within the first 60 minutes but sometimes it takes a few hours. When it occurs I'm unable to do anything and I'm forced to hard reboot. The system appears wholly dead, keyboard and mouse become fully unresponsive. I can't switch to other tty or try REISUB.

I tried to leave dmesg -w and journalctl -xf open on a terminal window to check if anything useful is displayed just before the system freezes, but I've had no luck. I cannot find any useful log message after I reboot, either.

The program that is using the bandwidth is a torrent client. I tried with Deluge and Transmission.

The system is otherwise very stable and it can be up for days if I avoid using the torrent client.

I had the exact same issue in a Xubuntu install but it works fine in Windows.

I use netctl to connect to the wireless network.

$ lspci | grep -i wire
0c:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
$ uname -r
4.1.6-1-ARCH
$ dmesg | grep rtl
[    3.421278] rtl8192ce 0000:0c:00.0: enabling device (0000 -> 0003)
[    3.431239] rtl8192ce: rtl8192ce: Power Save off (module option)
[    3.431241] rtl8192ce: rtl8192ce: FW Power Save off (module option)
[    3.431249] rtl8192ce: Using firmware rtlwifi/rtl8192cfw.bin
[    3.440152] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    3.440383] rtlwifi: rtlwifi: wireless switch is on
[    3.448646] rtl8192ce 0000:0c:00.0 wlp12s0: renamed from wlan0

I've tried the suggestion found here to no avail:

$ systool -v -m rtl8192ce
Module = "rtl8192ce"

  Attributes:
    coresize            = "57344"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    debug               = "0"
    fwlps               = "N"
    ips                 = "N"
    swenc               = "N"
    swlps               = "N"

  Sections:
    .bss                = "0xffffffffa064ad48"
    .data               = "0xffffffffa0648000"
    .exit.text          = "0xffffffffa064621a"
    .gnu.linkonce.this_module= "0xffffffffa064aae0"
    .init.text          = "0xffffffffa0508000"
    .note.gnu.build-id  = "0xffffffffa0647000"
    .parainstructions   = "0xffffffffa0647958"
    .rodata             = "0xffffffffa0647040"
    .rodata.str1.1      = "0xffffffffa0647a20"
    .rodata.str1.8      = "0xffffffffa0647988"
    .strtab             = "0xffffffffa050a530"
    .symtab             = "0xffffffffa0509000"
    .text               = "0xffffffffa063e000"
    __mcount_loc        = "0xffffffffa0647780"
    __param             = "0xffffffffa0647a80"

I'm quite new to Linux so any suggestion or tip to find a useful log or other information would be appreciated.

Offline

#2 2015-09-11 20:24:32

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: rtl8192ce system freezes

wma wrote:

I cannot find any useful log message after I reboot, either.

How do you know what is "useful"?

Post the journal contents leading up to the freeze.

Just to note: REISUB will not work unless "kernel.sysrq=1" is added to /etc/sysctl.d/99-sysctl.conf
https://wiki.archlinux.org/index.php/Ke … uts#Kernel


Jin, Jîyan, Azadî

Offline

#3 2015-09-11 20:52:21

wma
Member
Registered: 2015-09-07
Posts: 10

Re: rtl8192ce system freezes

Head_on_a_Stick wrote:
wma wrote:

I cannot find any useful log message after I reboot, either.

How do you know what is "useful"?

What I meant by that is that I didn't see any error, warning, or even any activity at all in the logs before the freeze. I checked dmesg and journalctl -- I don't know anywhere else to look.

Head_on_a_Stick wrote:

Post the journal contents leading up to the freeze.

Sep 11 03:44:28 pasokon login[11035]: pam_unix(login:session): session opened for user wma by LOGIN(uid=0)
Sep 11 03:44:28 pasokon login[11035]: LOGIN ON tty2 BY wma
Sep 11 03:44:28 pasokon systemd-logind[375]: New session c6 of user wma.
Sep 11 03:44:28 pasokon systemd[1]: Started Session c6 of user wma.
Sep 11 03:45:20 pasokon login[11035]: pam_unix(login:session): session closed for user wma
Sep 11 03:45:20 pasokon systemd[1]: getty@tty2.service: Service has no hold-off time, scheduling restart.
Sep 11 03:45:20 pasokon systemd-logind[375]: Removed session c6.
Sep 11 03:45:20 pasokon systemd[1]: Stopped Getty on tty2.
Sep 11 03:45:20 pasokon systemd[1]: Started Getty on tty2.
Sep 11 03:45:26 pasokon login[17634]: pam_unix(login:session): session opened for user wma by LOGIN(uid=0)
Sep 11 03:45:26 pasokon systemd-logind[375]: New session c7 of user wma.
Sep 11 03:45:26 pasokon systemd[1]: Started Session c7 of user wma.
Sep 11 03:45:26 pasokon login[17634]: LOGIN ON tty2 BY wma
Sep 11 03:46:06 pasokon login[17634]: pam_unix(login:session): session closed for user wma
Sep 11 03:46:06 pasokon systemd[1]: getty@tty2.service: Service has no hold-off time, scheduling restart.
Sep 11 03:46:06 pasokon systemd[1]: Stopped Getty on tty2.
Sep 11 03:46:06 pasokon systemd[1]: Started Getty on tty2.
Sep 11 03:46:06 pasokon systemd-logind[375]: Removed session c7.
Sep 11 03:46:09 pasokon login[17650]: pam_tally(login:auth): pam_get_uid; no such user
Sep 11 03:46:15 pasokon login[17650]: pam_unix(login:auth): check pass; user unknown
Sep 11 03:46:15 pasokon login[17650]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=tty2 
Sep 11 03:46:16 pasokon login[17650]: FAILED LOGIN 1 FROM tty2 FOR exit, Authentication failure
Sep 11 03:47:09 pasokon systemd[1]: getty@tty2.service: Service has no hold-off time, scheduling restart.
Sep 11 03:47:09 pasokon systemd[1]: Stopped Getty on tty2.
Sep 11 03:47:09 pasokon systemd[1]: Started Getty on tty2.
Sep 11 03:58:19 pasokon login[17666]: pam_unix(login:session): session opened for user wma by LOGIN(uid=0)
Sep 11 03:58:19 pasokon login[17666]: LOGIN ON tty2 BY wma
Sep 11 03:58:19 pasokon systemd-logind[375]: New session c8 of user wma.
Sep 11 03:58:19 pasokon systemd[1]: Started Session c8 of user wma.

Those are the last entries before the reboot.

Head_on_a_Stick wrote:

Just to note: REISUB will not work unless "kernel.sysrq=1" is added to /etc/sysctl.d/99-sysctl.conf
https://wiki.archlinux.org/index.php/Ke … uts#Kernel

I did that to enable REISUB and see if it helped. No luck though. Even the NumLock key isn't responsive.

Offline

Board footer

Powered by FluxBB