[SOLVED] RTL8192EU Driver
-
- Posts: 4
- Joined: 17. Dec 2017, 09:39
[SOLVED] RTL8192EU Driver
Hello,
I have install SalixOS on old HP T5700 ThinClient (Transmeta Crusoe i586). And it's work good. But i also need driver for rtl8192eu from https://github.com/Mange/rtl8192eu-linux-driver.
Driver compiles, but when i want to modprobe module it was an error in dmesg:
version magic '4.4.88-smp SMP mod_unload PENTIUMIII ' should be '4.4.88 mod_unload 586TSC '
How to compile driver correctly?
I have install SalixOS on old HP T5700 ThinClient (Transmeta Crusoe i586). And it's work good. But i also need driver for rtl8192eu from https://github.com/Mange/rtl8192eu-linux-driver.
Driver compiles, but when i want to modprobe module it was an error in dmesg:
version magic '4.4.88-smp SMP mod_unload PENTIUMIII ' should be '4.4.88 mod_unload 586TSC '
How to compile driver correctly?
Last edited by zelkizwitami on 17. Dec 2017, 17:51, edited 1 time in total.
Re: RTL8192EU Driver
How did you compile the module? I was able to compile the module and install it without problems. I simply download the source from the link you provided, extracted the zip archive to a folder, then cd to the folder and as root did a " make && make install. After doing a modprobe 8192eu i get the following in dmesg:
Also please post the output of the following command:[70846.133791] RTL871X: module init start
[70846.133797] RTL871X: rtl8192eu v4.4.1_17696.20160509_BTCOEX20160412-0042
[70846.133799] RTL871X: build time: Dec 17 2017 06:28:52
[70846.133800] RTL871X: rtl8192eu BT-Coex version = BTCOEX20160412-0042
[70846.133858] usbcore: registered new interface driver rtl8192eu
[70846.133860] RTL871X: module init ret=0
Code: Select all
$ ls -l /var/log/packages/ | grep kernel
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
-
- Posts: 4
- Joined: 17. Dec 2017, 09:39
Re: RTL8192EU Driver
I used the same method, make && make install. But i identify a problem in kernel and kernel-source. I must use kernel-huge for i586, but kernel-source installing kernel with smp sufix.
Re: RTL8192EU Driver
Please post output from the following
Code: Select all
$ ls -l /boot/ | grep vmlinuz
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
-
- Posts: 539
- Joined: 20. Jun 2016, 20:15
Re: RTL8192EU Driver
Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one.
EDIT. Actually there is only one source package, my mistake.
However I think that generally speaking i586 can cope with smp kernels. I am not sure about specifically the Crusoe emulation though. Maybe that's work trying? You could just try installing an smp kernel, without removing the non-smp one that you would keep as a backup, make entries or stanzas for both in /etc/lilo.conf, then run "lilo -t -v" and if all goes well "lilo".
EDIT. Actually there is only one source package, my mistake.
However I think that generally speaking i586 can cope with smp kernels. I am not sure about specifically the Crusoe emulation though. Maybe that's work trying? You could just try installing an smp kernel, without removing the non-smp one that you would keep as a backup, make entries or stanzas for both in /etc/lilo.conf, then run "lilo -t -v" and if all goes well "lilo".
Re: RTL8192EU Driver
You seem to have a mismatch of kernel-headers and kernel-source to the kernel that your are running, Please post the output ofzelkizwitami wrote:I used the same method, make && make install. But i identify a problem in kernel and kernel-source. I must use kernel-huge for i586, but kernel-source installing kernel with smp sufix.
Code: Select all
$ ls-l /var/log/packages | grep kernel
Isn't there only one kernel-source package that is applicable to all the different complied kernels of a given version?DidierSpaier wrote:Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
-
- Posts: 539
- Joined: 20. Jun 2016, 20:15
Re: RTL8192EU Driver
Indeed, thanks for the correction Rich. Really, I shouldn't post after lunchlaprjns wrote:zelkizwitami wrote:Isn't there only on kernel-source package that is applicable to all the different complied kernels of a given version?DidierSpaier wrote:Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one

-
- Posts: 4
- Joined: 17. Dec 2017, 09:39
Re: RTL8192EU Driver
Problem solved.
I downloaded kernel source from https://www.kernel.org/pub/linux/kernel/v4.x/ and unpacked archive into /usr/src. Then:
And finally:
All done! 
I downloaded kernel source from https://www.kernel.org/pub/linux/kernel/v4.x/ and unpacked archive into /usr/src. Then:
Code: Select all
cd /usr/src/linux-4.4.19
make mrproper
zcat /proc/config.gz> .config
make prepare
make scripts
Code: Select all
cd /usr/src/rtl8192eu-linux-driver
make clean
make
make install

Re: [SOLVED] RTL8192EU Driver
From this is look as though you are running the 4.4.88 kernel.zelkizwitami wrote:Driver compiles, but when i want to modprobe module it was an error in dmesg:
version magic '4.4.88-smp SMP mod_unload PENTIUMIII ' should be '4.4.88 mod_unload 586TSC '
And now it looks like your building modules against the 4.4.19 kernel.zelkizwitami wrote:cd /usr/src/linux-4.4.19
make mrproper
zcat /proc/config.gz> .config
make prepare
make scripts
Somehow I don't think so.zelkizwitami wrote: All done!
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
-
- Posts: 4
- Joined: 17. Dec 2017, 09:39
Re: [SOLVED] RTL8192EU Driver
I returned to kernel 4.4.19, which is default after install Salix OS.