Ask Your Question
3

Kernel 4.17 wifi usb restarts

asked 2018-07-05 01:41:51 -0600

EtherealSoul gravatar image

updated 2018-08-13 01:12:14 -0600

I'm using an USB Wifi dongle (rtl8188eu) and it has been working fine with kernel 4.16.x. Once I upgraded to 4.17.x it "silently" crashes. I do not see any error on journalct. As far as I can tell, as long as I do not configure to connect to the wifi it is fine. Once I configure it to join a wifi network. It conects, hangs and after ~90'secs it enters into reboot. Boot -> connect Wifi -> hang -> reboot.

P.S. it does not matter in which USB port the dogle is connected to.

Update as of kernel 4.17.12 the bundled wifi driver (r8188eu) main issue now is during reboot in case I boot first to windows that the dongle does not start, it forces me to make a replug of the wifi dongle.

edit retag flag offensive close merge delete

Comments

I'm experiencing the same problem, every thing works okay with kernel-lts or without using usb wifi with module rtl8188eu.

EDIT: also I compiled the module from git hub, that half resolve part of problem, the system doesn't instantly freeze anymore, but randomly will freezes anytime, without a log error in anywhere. Without using the usb wifi the randomly freezes doesn't occour.

lsdw gravatar imagelsdw ( 2018-07-05 12:21:26 -0600 )edit

Related fedora bug report: 1596311

genodeftest gravatar imagegenodeftest ( 2018-07-08 17:30:32 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2018-07-13 04:28:48 -0600

EtherealSoul gravatar image

updated 2018-07-14 04:08:12 -0600

"I got it working" typing this on kernel-4.17.4.

But it is not straight forward nor using the official module. For the time being I used this module: https://github.com/quickreflex/rtl818... Overall the steps I did were:

  1. Boot kernel-4.16.3 or previous working kernel
  2. Clone git repository git clone https://github.com/quickreflex/rtl818...
  3. dnf update ( to install kernel-4.17.4)
  4. dnf install make gcc kernel-headers-4.17.4 kernel-devel-4.17.4 elfutils-libelf-devel
  5. remove USB dongle
  6. reboot into new kernel
  7. cd /path/to/git_clone/rtl8188eus
  8. make all
  9. reboot
  10. cd /path/to/git_clone/rtl8188eus && make install
  11. modprobe 8188eu
  12. plug in wifi dongle
  13. enjoy network.

I big thanks to quickreflex for the module.

As mentioned in the comments by genodeftest, with each new kernel there is the possibility that we will need to generate a new module.

UPDATE: the make install does not seem to work when you want to install the new module for the new kernel. Fr me the quickiest way was to reboot and do a modprobe. Just did it with kernel-4.17.5

edit flag offensive delete link more

Comments

There is one catch: You may need to rebuild (make all and make install) the module for every kernel version.

Also, you should not need to reboot your computer. Using rmmod and lsmod should be sufficient.

genodeftest gravatar imagegenodeftest ( 2018-07-14 02:39:10 -0600 )edit

You are right, I'll update the answer to include these points.

EtherealSoul gravatar imageEtherealSoul ( 2018-07-14 03:33:51 -0600 )edit
-2

answered 2018-07-08 10:04:22 -0600

I have a similar issue - I too use UBS Wifi and get the "silent" dying of my server - although mine does seem to run for a few days (mostly) before it "dies". I have been unable to work out what's going on either. Mine too started with the 4.17 kernel (specifically 4.17.2 but it also occurs with 4.17.3).

edit flag offensive delete link more

Comments

do not post problems in the answers, it causes confusion for people looking for solutions.

steveebey73742 gravatar imagesteveebey73742 ( 2018-07-13 07:30:46 -0600 )edit
-2

answered 2018-07-08 07:39:41 -0600

dani77 gravatar image

Same problem; Surface Pro 3 with 4.16 kernel working fine, with the 4.17 the wifi crashes.

edit flag offensive delete link more

Comments

This seems to be different from @EtherealSoul's problem. His computer reboots, in your case only the wifi stops.

In your case I recommend searching for a kernel panic or debugging the driver. In some cases unloading and reloading any related kernel modules helps work around the problem.

genodeftest gravatar imagegenodeftest ( 2018-07-08 17:26:22 -0600 )edit

do not post problems in the answers, it causes confusion for people looking for solutions.

steveebey73742 gravatar imagesteveebey73742 ( 2018-07-13 07:30:12 -0600 )edit
-2

answered 2018-07-12 07:55:28 -0600

I am not a developer and to be honest I wouldn't know where to start with debugging a driver. I'll have a look and see what I can find. I have just had another crash after about two days of running.

edit flag offensive delete link more

Comments

do not post problems in the answers, it causes confusion for people looking for solutions.

steveebey73742 gravatar imagesteveebey73742 ( 2018-07-13 07:31:06 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-05 01:41:51 -0600

Seen: 156 times

Last updated: Aug 13