Re: sudo modprobe ni_usb_gpib

Dale Smith <[email protected]>
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <CAFGZJC4tnW-PUuZLVrEnk3YjcSMnNhQMKNz+3hhbigt+-QBv0g@mail.gmail.com>
On 6/18/19, Anderson Minozzo Begossi <[email protected]> wrote:
> I updated my ubuntu and am trying to recompile the driver in the new
> kernel.
> But when I execute the command sudo modprobe ni_usb_gpib i get the
> following error:
> modprobe: ERROR: could not insert 'ni_usb_gpib': Exec format error
>
> dmesg | tail output
>
> [ 1646.522555] gpib_common: version magic '4.15.0-50-generic SMP mod_unload
> ' should be '4.15.0-51-generic SMP mod_unload '
>
> Can someone help me?

Doesn't this mean that your module was compiled against a different
kernel that the one currently running?  The version numbers are
different.

Make sure your various kernel packages match.  (linux-headers-* and
linux-image-*)

-Dale
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.