juhovh / xmm7360_usb

Kernel module for Fibocom L850-GL / Intel XMM7360 LTE modem
GNU General Public License v2.0
65 stars 17 forks source link

Complete novice issue: Module xmm7360_usb not found in directory #19

Open Alb3r7 opened 3 years ago

Alb3r7 commented 3 years ago

Hi,

I'm very new to Linux, and can't seem to find a solution to: modprobe: FATAL: Module xmm7360_usb not found in directory /lib/modules/5.8.0-7630-generic

This might become a long walkthrough with very basic stuff, but is anyone willing to lend a hand?

Alb3r7 commented 3 years ago

Hey I might have something. I found some errors after sudo make install

`make -C /lib/modules/5.8.0-7630-generic/build M=/home/alb3r7/Downloads/xmm7360_usb-master modules_install make[1]: Entering directory '/usr/src/linux-headers-5.8.0-7630-generic' INSTALL /home/alb3r7/Downloads/xmm7360_usb-master/xmm7360_usb.ko At main.c:160:

Any tips how to create the missing files and directories?

Alb3r7 commented 3 years ago

After even more trouple shooting (haha, this meaning learning how to add permissions and creating files as su) I finally got ./install_dkms.sh to run (based on this https://github.com/juhovh/xmm7360_usb/pull/17/commits/8b2e80a22a1f6db0ef22ec31addee215fc274967)

And it is giving this error message: cleaning build area...(bad exit status: 2) make -j8 KERNELRELEASE=5.8.0-7630-generic -C ./ KERNELDIR=/lib/modules/5.8.0-7630-generic/build...(bad exit status: 2) ERROR (dkms apport): binary package for xmm7360_usb: 0.1 not found Error! Bad return status for module build on kernel: 5.8.0-7630-generic (x86_64) Consult /var/lib/dkms/xmm7360_usb/0.1/build/make.log for more information.

Log file says: make: Entering directory '/var/lib/dkms/xmm7360_usb/0.1/build' make: *** No targets specified and no makefile found. Stop. make: Leaving directory '/var/lib/dkms/xmm7360_usb/0.1/build'

I can't find anything on this. Has anyone experienced anything similar?

yummy527 commented 2 years ago

Hey I might have something. I found some errors after sudo make install

`make -C /lib/modules/5.8.0-7630-generic/build M=/home/alb3r7/Downloads/xmm7360_usb-master modules_install make[1]: Entering directory '/usr/src/linux-headers-5.8.0-7630-generic' INSTALL /home/alb3r7/Downloads/xmm7360_usb-master/xmm7360_usb.ko At main.c:160:

* SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69

* SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
  sign-file: certs/signing_key.pem: No such file or directory
  DEPMOD  5.8.0-7630-generic
  Warning: modules_install: missing 'System.map' file. Skipping depmod.
  make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-7630-generic'
  `

Any tips how to create the missing files and directories?

Hi. I also got this error. Did you finally solve this problem? Or did your 4G modem work normally on linux?