How to install modules into system?
#1
I compiled the usb wifi driver for system,but make filed,information of error is 

make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/3.10.101-3-pine64-longsleep/build M=/home/pine64user/Downloads/rtl8192eu  modules
make[1]: *** /lib/modules/3.10.101-3-pine64-longsleep/build: No such file or directory.  Stop.
Makefile:1335: recipe for target 'modules' failed
make: *** [modules] Error 2

Can someone help me please?

THanks
  Reply
#2
Lucky you that i fixed out of tree module compilation today (https://github.com/longsleep/build-pine6...e9d862d161) - next Kernel build will have it, either wait for it or build your own Kernel.
  Reply
#3
How about just building all the modules that compile cleanly and included them in the longsleep release? For example I was going to use the net/bonding.ko until I learned it was missing.
  Reply
#4
(05-26-2016, 08:00 AM)longsleep Wrote: Lucky you that i fixed out of tree module compilation today (https://github.com/longsleep/build-pine6...e9d862d161) - next Kernel build will have it, either wait for it or build your own Kernel.

I don't know how to compiled the kernel. so i am looking forward to the new kernel version
  Reply
#5
(05-26-2016, 08:18 AM)JamesHarris Wrote: How about just building all the modules that compile cleanly and included them in the longsleep release? For example I was going to use the net/bonding.ko until I learned it was missing.

Make a use case which was tested and create a PR on GitHub. I am willing to accept modules if the use case makes sense, works and has been tested.
  Reply
#6
3.10.101-4-pine64-longsleep-51 was released, with support for out-of-tree compiling. I also added network bonding as module.

@MicroDiery for proper and maintainable extra modules, i suggest to look at DKMS and integrate your module with it.
  Reply
#7
Thanks for the bonding module. With so many network interfaces I like to use bonding in master-slave mode so ethernet is backed up by wifi and the others.

I have used dkms with zfs on my file server for a few years. When it works it is great unfortunately that seems to be about 50% of the time. If your module code isn't changing and you just need to compile for new kernels it works well. When the module code revs it can have trouble building and installing for all installed kernels. At least that is my experience. I often need to do a dkms remove the dkms install when my module code is updated. Just a heads up.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Digital drawing tablet Huion - proper drivers install janeku 20 32,313 05-19-2019, 09:24 PM
Last Post: xinhua
  How install Qbittorrent on Debian? Callisto 5 10,079 03-17-2018, 10:31 PM
Last Post: Callisto
  root running from usb connected ssd locks up system marcelser 0 2,754 11-17-2017, 04:50 PM
Last Post: marcelser
  libssl-dev eon't install williamcolls 2 5,549 11-01-2017, 10:20 PM
Last Post: dkryder
Exclamation How to install JavaFX tommypine 3 7,110 01-09-2017, 03:21 AM
Last Post: dkryder
  install shashlik bilylilyli 1 3,989 11-20-2016, 06:59 PM
Last Post: Ghelorn
  Install 32bit java Trond 7 11,228 11-03-2016, 10:07 AM
Last Post: Trond
  Cannot install Dstat on Debian Base PineA64 image ywoody 6 8,609 07-11-2016, 07:15 PM
Last Post: dkryder
  Debian Video Performance/"Driver" Install Fawks 8 12,634 06-15-2016, 07:55 AM
Last Post: Luke
  i2c-bus kernel modules robertvaldimarsson 15 18,902 06-07-2016, 01:48 PM
Last Post: robertvaldimarsson

Forum Jump:


Users browsing this thread: 2 Guest(s)