LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   HSF modem driver install problem (https://www.linuxquestions.org/questions/slackware-14/hsf-modem-driver-install-problem-340703/)

Castor 07-06-2005 04:03 PM

HSF modem driver install problem
 
First of all, please don't blame me if there is another topic on this question,
i am just very short of time.

here is the deal,
i got the linuxant modem driver, i used it befor w/ my same modem, it used to work fine

now, i installed a new kernel (compiled from 2.6.12),
and after installing, the modem driver, hsfconfig just can't find the path to the kernel source.

i know exactly what i am doing, and i know that it is right.

and another deal, if the kernel version is not 2.6.12 the driver works fine.
but the problem is that i need the 2.6.12 kernel, cause it has got built in audio, and video drivers for my MB

here's my hardware bunch:

P4 LGA775 2.8GHz,
Intel D915GAV
512 ram
120 Gb hd

Slackware 10 on it

any help, ideas would be greatly appreciated.

_plx_

priller 07-06-2005 04:26 PM

why not just give hsfconfig the path?

Castor 07-06-2005 04:32 PM

Quote:

why not just give hsfconfig the path?
lol,i knew that someone was gonna post sth like your post, and after all i forgot to mention that i did that
i do give the correct path of my kernel source, but it won't work

priller 07-06-2005 05:31 PM

So what error does it give?

elyk 07-07-2005 12:58 AM

What driver version are you using? If it's the last free one (5.03.27) I don't believe it will work with the 2.6.x kernels.

From the readme:
Quote:

The drivers should work on most current Linux distributions, based on
the 2.4.x kernels. A Pentium processor with the MMX enhancements
is required. Some systems may require kernel recompilation with
special ACPI patches. Preemptible kernels are not yet supported.

Some people are successfully using the drivers under 2.2 and 2.5 kernels
but they are not officially supported. We strongly recommend that 2.2
users upgrade to 2.4 before reporting bugs.
It might be the preemtible kernel option that's holding you back. Right now I'm using the HSF, which is the only reason I still keep the 2.4.x kernel around. If you can get this working, let us know how.

-elyk

priller 07-07-2005 08:30 AM

Depends which version of the driver, the 14kbps driver work with 2.6, the full speed beta driver only works with 2.4.

Castor 07-07-2005 02:41 PM

I am using the latest free linuxant driver (6.0.3 if im not mistaking), which is limited to 14.4

the reason i don't want to use the 2.4 kernel is that i'm having bunch of problems w/ audio/video drivers, i got them all but somehow while installed they either don't work at all, or, even if they do work, the PC becomes so got damned slow, that it irritates.

this is the only thing hsfconfig gives me after i give it the path to the source:

Quote:

ERROR: Module build failed!
Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine why.
i did examine this file, and didn't get what made things go wrong, here it is:

Quote:

rm -f *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd

/usr/src/linux/.tmp_versions/hsfosspec.mod /usr/src/linux/.tmp_versions/hsfserial.mod

/usr/src/linux/.tmp_versions/hsfengine.mod /usr/src/linux/.tmp_versions/hsfpcibasic2.mod

/usr/src/linux/.tmp_versions/hsfmc97ich.mod /usr/src/linux/.tmp_versions/hsfmc97via.mod

/usr/src/linux/.tmp_versions/hsfmc97ali.mod /usr/src/linux/.tmp_versions/hsfsoar.mod
(cd

/usr/src/linux && make "KERNELSRC=/usr/src/linux" "SUBDIRS+=/usr/lib/hsfmodem/modules"

"SUBDIRS+=/usr/lib/hsfmodem/modules" modules)
make[1]: Entering directory

`/usr/src/linux-2.6.12'
Makefile:1110: target `_module_/usr/lib/hsfmodem/modules' given more

than once in the same rule.
Makefile:1124: target `_clean_/usr/lib/hsfmodem/modules' given

more than once in the same rule.
CC [M] /usr/lib/hsfmodem/modules/mod_engine.o
/usr/lib/hsfmodem/modules/mod_engine.c:18: warning: type defaults to `int' in declaration of

`EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:18: warning: parameter names

(without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:18: warning:

data definition has no type or storage class
/usr/lib/hsfmodem/modules/mod_engine.c:19:

warning: type defaults to `int' in declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:19: warning: parameter names (without types) in

function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:19: warning: data definition has

no type or storage class
/usr/lib/hsfmodem/modules/mod_engine.c:20: warning: type defaults

to `int' in declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:20:

warning: parameter names (without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:20: warning: data definition has no type or storage

class
/usr/lib/hsfmodem/modules/mod_engine.c:21: warning: type defaults to `int' in

declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:21: warning:

parameter names (without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:21: warning: data definition has no type or storage

class
/usr/lib/hsfmodem/modules/mod_engine.c:22: warning: type defaults to `int' in

declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:22: warning:

parameter names (without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:22: warning: data definition has no type or storage

class
/usr/lib/hsfmodem/modules/mod_engine.c:23: warning: type defaults to `int' in

declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:23: warning:

parameter names (without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:23: warning: data definition has no type or storage

class
/usr/lib/hsfmodem/modules/mod_engine.c:24: warning: type defaults to `int' in

declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:24: warning:

parameter names (without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:24: warning: data definition has no type or storage

class
/usr/lib/hsfmodem/modules/mod_engine.c:25: warning: type defaults to `int' in

declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:25: warning:

parameter names (without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:25: warning: data definition has no type or storage

class
/usr/lib/hsfmodem/modules/mod_engine.c:26: warning: type defaults to `int' in

declaration of `EXPORT_SYMBOL_NOVERS'
/usr/lib/hsfmodem/modules/mod_engine.c:26: warning:

parameter names (without types) in function declaration
/usr/lib/hsfmodem/modules/mod_engine.c:26: warning: data definition has no type or storage

class
CC [M] /usr/lib/hsfmodem/modules/mod_mc97ali.o
In file included from

/usr/lib/hsfmodem/modules/mod_mc97ali.c:32:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In

function `cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:36: error:

structure has no member named `slot_name'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:55:

error: structure has no member named `slot_name'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:81: warning: `pm_register' is deprecated

(declared at include/linux/pm.h:106)
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:132:

warning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_remove':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:155: warning: `pm_unregister' is deprecated

(declared at include/linux/pm.h:111)
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In

function `cnxthwpci_init':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:190: error:

structure has no member named `slot_name'
make[2]: ***

[/usr/lib/hsfmodem/modules/mod_mc97ali.o] Error 1
make[1]: ***

[_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory

`/usr/src/linux-2.6.12'
make: *** [all] Error 2


Castor 07-07-2005 02:46 PM

i don't think that preemtible kernel option has anything to do with this.

any ideas?


All times are GMT -5. The time now is 04:18 AM.