- Hardware & Machines
- Computers and Hardware
- Compiling rt prempt kernel breaks kernel module rtl8192eu SOLVED!
Compiling rt prempt kernel breaks kernel module rtl8192eu SOLVED!
12 Mar 2020 20:37 - 13 Mar 2020 01:26 #159926
by bevins
Hi, I just got finished installing prempt kernel and the USB wifi module is now broke. It was working before. Does this have to do with not having the proper files when compiling?
Last edit: 13 Mar 2020 01:26 by bevins.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
12 Mar 2020 20:48 #159928
by BeagleBrainz
Replied by BeagleBrainz on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
What distro are you using ?
What kernel did you install, did you install the headers, did you compile the kernel yourself ?
Do you have dmks installed, if you are using a debian/ubuntu distro ?
Did you recompile the module after booting into the new kernel ?
What version of gcc do you have ?
When you try to load the module are there any messages in dmesg ?
What kernel did you install, did you install the headers, did you compile the kernel yourself ?
Do you have dmks installed, if you are using a debian/ubuntu distro ?
Did you recompile the module after booting into the new kernel ?
What version of gcc do you have ?
When you try to load the module are there any messages in dmesg ?
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
12 Mar 2020 22:47 - 12 Mar 2020 22:51 #159950
by bevins
this: mirrors.edge.kernel.org/pub/linux/kernel...-4.19.1-rt3.patch.gz
I assume the headers got installed from these files.
I am getting this over and over.
I forgot to add that it worked before compiling preempt kernel.
Output of ip a:
Replied by bevins on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
Linux Mint 18.3 MateWhat distro are you using ?
I compiled it from this. mirrors.edge.kernel.org/pub/linux/kernel.../linux-4.19.1.tar.xz and patched it withWhat kernel did you install, did you install the headers, did you compile the kernel yourself ?
this: mirrors.edge.kernel.org/pub/linux/kernel...-4.19.1-rt3.patch.gz
I assume the headers got installed from these files.
NoDo you have dmks installed, if you are using a debian/ubuntu distro ?
I did recompile the module after booting into the new kernel. I did not however unload the old module, I assume it would write over it. Not sure if this is true or not.Did you recompile the module after booting into the new kernel ?
gcc version 5.4.0What version of gcc do you have ?
When you try to load the module are there any messages in dmesg ?
I am getting this over and over.
[ 7310.838297] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa005cdd: link is not ready
[ 7312.007452] wlx503eaa005cdd: authenticate with 74:da:88:7d:5d:b7
[ 7312.030864] wlx503eaa005cdd: send auth to 74:da:88:7d:5d:b7 (try 1/3)
[ 7312.234680] wlx503eaa005cdd: send auth to 74:da:88:7d:5d:b7 (try 2/3)
[ 7312.438700] wlx503eaa005cdd: send auth to 74:da:88:7d:5d:b7 (try 3/3)
[ 7312.642681] wlx503eaa005cdd: authentication with 74:da:88:7d:5d:b7 timed out
[ 7323.835252] wlx503eaa005cdd: authenticate with 74:da:88:7d:5d:b7
[ 7323.857616] wlx503eaa005cdd: send auth to 74:da:88:7d:5d:b7 (try 1/3)
[ 7324.058453] wlx503eaa005cdd: send auth to 74:da:88:7d:5d:b7 (try 2/3)
[ 7324.262449] wlx503eaa005cdd: send auth to 74:da:88:7d:5d:b7 (try 3/3)
[ 7324.466435] wlx503eaa005cdd: authentication with 74:da:88:7d:5d:b7 timed out
I forgot to add that it worked before compiling preempt kernel.
Output of ip a:
3: wlx503eaa005cdd: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 50:3e:aa:00:5c:dd brd ff:ff:ff:ff:ff:ff
Last edit: 12 Mar 2020 22:51 by bevins.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
12 Mar 2020 23:22 #159955
by BeagleBrainz
Replied by BeagleBrainz on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
Ok no probs.
Go to this link
github.com/clnhub/rtl8192eu-linux
Clone the repo as you would for linuxcnc eg
And follow the instructions, except for the bit about installing the headers.
Hopefully this should get you sorted.
***************************************************************************
One tip when recompiling a kernel, for furture reference, if you runinstead of anything else,
it will build deb packages that you can install using your preferred method: eg dpkg or gdebi
The ones you will want with this method are linux-image-xxxx.deb & linux-headers-xxxx.deb
You can also keep them for the future.
Go to this link
github.com/clnhub/rtl8192eu-linux
Clone the repo as you would for linuxcnc eg
git clone https://github.com/clnhub/rtl8192eu-linux.git
And follow the instructions, except for the bit about installing the headers.
Hopefully this should get you sorted.
***************************************************************************
One tip when recompiling a kernel, for furture reference, if you run
make deb-pkg
it will build deb packages that you can install using your preferred method: eg dpkg or gdebi
The ones you will want with this method are linux-image-xxxx.deb & linux-headers-xxxx.deb
You can also keep them for the future.
The following user(s) said Thank You: bevins
Please Log in or Create an account to join the conversation.
12 Mar 2020 23:22 #159956
by andypugh
Replied by andypugh on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
At the command line, try the following
That is what I need to use to get my Wifi dongle to connect. (I have tried to make it automatic a couple if times). It is probable that the problem isn't the same, but the terminal output might contain clues.
sudo systemctl enable wpa_supplicant.service
sudo wpa_supplicant -c /etc/wpa_supplicant.conf -i wlx503eaa005cdd &
sudo dhclient wlx503eaa005cdd
That is what I need to use to get my Wifi dongle to connect. (I have tried to make it automatic a couple if times). It is probable that the problem isn't the same, but the terminal output might contain clues.
The following user(s) said Thank You: bevins
Please Log in or Create an account to join the conversation.
12 Mar 2020 23:23 #159957
by bevins
Replied by bevins on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
I do not have linux-headers for 4.19.1-rt3, nor can I find them on the net.
Please Log in or Create an account to join the conversation.
12 Mar 2020 23:27 #159959
by phillc54
Replied by phillc54 on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
I had a similar issue recently that was resolved like this:
forums.linuxmint.com/viewtopic.php?p=1703637#p1703637
forums.linuxmint.com/viewtopic.php?p=1703637#p1703637
Please Log in or Create an account to join the conversation.
12 Mar 2020 23:32 #159961
by andypugh
If you compiled the kernel yourself, then "sudo make headers_install" in the kernel source directory might work.
Replied by andypugh on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
I do not have linux-headers for 4.19.1-rt3, nor can I find them on the net.
If you compiled the kernel yourself, then "sudo make headers_install" in the kernel source directory might work.
The following user(s) said Thank You: bevins
Please Log in or Create an account to join the conversation.
13 Mar 2020 00:52 #159970
by bevins
Yeah, that just fixed the name for me to wlan
Replied by bevins on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
I had a similar issue recently that was resolved like this:
forums.linuxmint.com/viewtopic.php?p=1703637#p1703637
Yeah, that just fixed the name for me to wlan
Please Log in or Create an account to join the conversation.
13 Mar 2020 01:00 #159973
by bevins
Yeah, just did that and it installed the headers. I am recompiling the driver and see what it does. It seems to be taking longer.
Replied by bevins on topic Compiling rt prempt kernel breaks kernel module rtl8192eu
I do not have linux-headers for 4.19.1-rt3, nor can I find them on the net.
If you compiled the kernel yourself, then "sudo make headers_install" in the kernel source directory might work.
Yeah, just did that and it installed the headers. I am recompiling the driver and see what it does. It seems to be taking longer.
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Compiling rt prempt kernel breaks kernel module rtl8192eu SOLVED!
Time to create page: 0.093 seconds