[hsflinux] Invalid module format for 2.6.5-gentoo-r1

Linuxant Support (Jonathan) support at linuxant.com
Wed Jun 30 11:34:11 EDT 2004


Hi,

as the error message suggest, please make sure that you have installed the 
kernel source code for the '2.6.5-gentoo-r1' kernel and the 
'/lib/modules/2.6.5-gentoo-r1/build' symlink points to the directory where 
the kernel source code is installed. It is possible that the '2.6.5-gentoo' 
kernel source code is installed instead (notice the lack of '-r1').

If you require more assistance, please send at support at linuxant.com the output 
of 'dumpdiag'. Type the following in a root shell:

---
hsfconfig --dumpdiag
---

Just send us the generated file located in /tmp ('hsfdiag.txt').
It'll help us solve the problem.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support at linuxant.com


Le 29 Juin 2004 18:33, Steven a écrit :
> I have a US Robotics 56K PCI Faxmodem 5660A, and want to get it working
> with my 2.6.5 kernel.  I'm running Gentoo, and am having incredible
> trouble getting this to work.  This is my fifth try using different
> methods, and it's the farthest I've gotten ->
>
>
> I downloaded hsfmodem-6.03.00lnxt04061800full.tar.gz, installed, and
> ran hsfconfig.  It compiled fine, but then this:
>
>
> Trying to automatically build the driver modules...
> (this requires a C compiler and proper kernel sources to be installed)
>
> Where is the linux source build directory that matches your running
> kernel?
> [/lib/modules/2.6.5-gentoo-r1/build]
>
> WARNING: the kernel version (2.6.5-gentoo) defined in
> /lib/modules/2.6.5-gentoo-r1/build/include/linux/version.h
> does not match the currently running kernel (2.6.5-gentoo-r1)
> The cause of this problem is an incorrect kernel source path.
> Please check that /lib/modules/2.6.5-gentoo-r1/build points to the
> right tree.
> The cause of this is usually a missing or unconfigured
> kernel source tree (and sometimes an incorrect directory or symbolic
> link).
>
> However, proper /boot/config-2.6.5-gentoo-r1 was found.
> Would you like to try using it (in a temporary kernel tree)? [yes]
>
> Building modules for kernel 2.6.5-gentoo, using source directory
> /usr/src/linux-2.6.5-gentoo-cnxttmp27167. Please wait...
> done.
>
> ERROR: hsf driver not active
>
>
> Upon running modprobe /dev/ttySHSF, this came out:
>
>
> WARNING: Error inserting hsfsoar
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfsoar.ko): Invalid module format
> WARNING: Error inserting hsfosspec
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfosspec.ko): Invalid module format
> WARNING: Error inserting hsfengine
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfengine.ko): Invalid module format
> WARNING: Error inserting hsfserial
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfserial.ko): Invalid module format
> FATAL: Error inserting hsfpcibasic2
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfpcibasic2.ko): Invalid module
> format
> WARNING: Error inserting hsfsoar
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfsoar.ko): Invalid module format
> WARNING: Error inserting hsfosspec
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfosspec.ko): Invalid module format
> WARNING: Error inserting hsfengine
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfengine.ko): Invalid module format
> WARNING: Error inserting hsfserial
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfserial.ko): Invalid module format
> FATAL: Error inserting hsfmc97ich
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfmc97ich.ko): Invalid module
> format
> WARNING: Error inserting hsfsoar
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfsoar.ko): Invalid module format
> WARNING: Error inserting hsfosspec
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfosspec.ko): Invalid module format
> WARNING: Error inserting hsfengine
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfengine.ko): Invalid module format
> WARNING: Error inserting hsfserial
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfserial.ko): Invalid module format
> FATAL: Error inserting hsfmc97via
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfmc97via.ko): Invalid module
> format
> WARNING: Error inserting hsfsoar
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfsoar.ko): Invalid module format
> WARNING: Error inserting hsfosspec
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfosspec.ko): Invalid module format
> WARNING: Error inserting hsfengine
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfengine.ko): Invalid module format
> WARNING: Error inserting hsfserial
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfserial.ko): Invalid module format
> FATAL: Error inserting hsfmc97ali
> (/lib/modules/2.6.5-gentoo-r1/misc/hsfmc97ali.ko): Invalid module
> format
>
> Any clues why it would compile invalid modules?  Thanks for any help,
> Steven Schlansker
>
> _______________________________________________
> hsflinux mailing list
> hsflinux at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/hsflinux


More information about the hsflinux mailing list