Page 1 of 3

[SOLVED] RTL8192EU Driver

Posted: 17. Dec 2017, 09:48
by zelkizwitami
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?

Re: RTL8192EU Driver

Posted: 17. Dec 2017, 12:24
by laprjns
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:
[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
Also please post the output of the following command:

Code: Select all

$ ls -l /var/log/packages/ | grep kernel

Re: RTL8192EU Driver

Posted: 17. Dec 2017, 12:50
by zelkizwitami
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

Posted: 17. Dec 2017, 13:14
by laprjns
Please post output from the following

Code: Select all

$ ls -l /boot/ | grep vmlinuz

Re: RTL8192EU Driver

Posted: 17. Dec 2017, 13:21
by DidierSpaier
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".

Re: RTL8192EU Driver

Posted: 17. Dec 2017, 14:38
by laprjns
zelkizwitami 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.
You seem to have a mismatch of kernel-headers and kernel-source to the kernel that your are running, Please post the output of

Code: Select all

$ ls-l /var/log/packages | grep kernel
DidierSpaier wrote:Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one
Isn't there only one kernel-source package that is applicable to all the different complied kernels of a given version?

Re: RTL8192EU Driver

Posted: 17. Dec 2017, 16:02
by DidierSpaier
laprjns wrote:
zelkizwitami wrote:
DidierSpaier wrote:Yes, you should install the kernel-source package that matches the running kernel, so in this case not the smp one
Isn't there only on kernel-source package that is applicable to all the different complied kernels of a given version?
Indeed, thanks for the correction Rich. Really, I shouldn't post after lunch :?

Re: RTL8192EU Driver

Posted: 17. Dec 2017, 17:35
by zelkizwitami
Problem solved.

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
And finally:

Code: Select all

cd /usr/src/rtl8192eu-linux-driver
make clean
make
make install
All done! :)

Re: [SOLVED] RTL8192EU Driver

Posted: 17. Dec 2017, 18:20
by laprjns
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 '
From this is look as though you are running the 4.4.88 kernel.
zelkizwitami wrote:cd /usr/src/linux-4.4.19
make mrproper
zcat /proc/config.gz> .config
make prepare
make scripts
And now it looks like your building modules against the 4.4.19 kernel.
zelkizwitami wrote: All done!
Somehow I don't think so.

Re: [SOLVED] RTL8192EU Driver

Posted: 17. Dec 2017, 19:05
by zelkizwitami
I returned to kernel 4.4.19, which is default after install Salix OS.