We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2019-04-06 21:41:05 +0200 |
Hello, I'm trying to build the r8152 module on Sailfish OS version 2.0.2.8 kernel 4.4.172 on Xperia XA2, to use my usb C to ethernet adapter on Sailfish. I tried to install make, and to then build the module on the device with those instructions : https://www.pcsuggest.com/install-rtl8153-driver-linux/ However, I have the following errors when I run #make -j2 :
find: /lib/modules/4.4.172/kernel/drivers/net/usb: No such file or directory
make -C /lib/modules/4.4.172/build SUBDIRS=/home/nemo/Documents/Ethernet/realtek-r8152-linux-2.11 modules make: * /lib/modules/4.4.172/build: No such file or directory. Stop. make: * [modules] Error 2
Creating the directory /lib/modules/4.4.172/build leads to the following error:
make[1]: Entering directory `/lib/modules/4.4.172/build'
make[1]: * No rule to make target modules'. Stop.
make[1]: Leaving directory
/lib/modules/4.4.172/build'
make: * [modules] Error 2
Also, #lsmod returns no modules loaded, which is weird because some modules are needed for the OS to function right?
How do I proceed to build a kernel module in Sailfish OS?
Btw, I got the module from here : https://github.com/wget/realtek-r8152-linux/archive/v2.11.tar.gz
2 | No.2 Revision |
Hello, I'm trying to build the r8152 module on Sailfish OS version 2.0.2.8 kernel 4.4.172 on Xperia XA2, to use my usb C to ethernet adapter on Sailfish. I tried to install make, and to then build the module on the device with those instructions : https://www.pcsuggest.com/install-rtl8153-driver-linux/ However, I have the following errors when I run #make -j2 :
find: /lib/modules/4.4.172/kernel/drivers/net/usb: No such file or directory
make -C /lib/modules/4.4.172/build SUBDIRS=/home/nemo/Documents/Ethernet/realtek-r8152-linux-2.11 modules
make: * *** /lib/modules/4.4.172/build: No such file or directory. Stop.
Stop.
make: * *** [modules] Error 2
Creating the directory /lib/modules/4.4.172/build leads to the following error:
make[1]: Entering directory `/lib/modules/4.4.172/build'
make[1]: * *** No rule to make target `modules'. Stop.
make[1]: Leaving modules'.
directory/lib/modules/4.4.172/build'
directory `/lib/modules/4.4.172/build'
make: * *** [modules] Error 2
Also, #lsmod returns no modules loaded, which is weird because some modules are needed for the OS to function right?
How do I proceed to build a kernel module in Sailfish OS?
Btw, I got the module from here : https://github.com/wget/realtek-r8152-linux/archive/v2.11.tar.gz
3 | No.3 Revision |
Hello, I'm trying to build the r8152 module on Sailfish OS version 2.0.2.8 kernel 4.4.172 on Xperia XA2, to use my usb C to ethernet adapter on Sailfish.
I tried to install make, and to then build the module on the device with those instructions : https://www.pcsuggest.com/install-rtl8153-driver-linux/
https://www.pcsuggest.com/install-rtl8153-driver-linux/
However, I have the following errors when I run #make -j2 :
find: /lib/modules/4.4.172/kernel/drivers/net/usb: No such file or directory
make -C /lib/modules/4.4.172/build SUBDIRS=/home/nemo/Documents/Ethernet/realtek-r8152-linux-2.11 modules
make: *** /lib/modules/4.4.172/build: No such file or directory. Stop.
make: *** [modules] Error 2
Creating the directory /lib/modules/4.4.172/build leads to the following error:
make[1]: Entering directory `/lib/modules/4.4.172/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/4.4.172/build'
make: *** [modules] Error 2
Also, #lsmod returns no modules loaded, which is weird because some modules are needed for the OS to function right?
How do I proceed to build a kernel module in Sailfish OS? OS?
Btw, I got the module from here : https://github.com/wget/realtek-r8152-linux/archive/v2.11.tar.gz