Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing slmodem2.9.10 with kernel 2.9.10-760
#1

Here is the output from scanModem:

 

[root@ravenmanor raven]# ./scanModem

 

 

UPDATE=2005_Feb_ 1

ONLY use scanModem downloaded as: [/url][url=http://linmodems.technion.ac.il/packages/scanModem.gz]http://linmodems.technion.ac.il/packages/scanModem.gz

 

./scanModem should ONLY be run within a Linux/UNIX partition.

If within a MicroSoft/DOS partition, abort with Ctrl-C now !!!

Copy scanModem.gz to your Linux partition and restart.

 

 

Providing detail for device at PCI_bus 00:1f.6

with vendor-ID:device-ID

----:----

Class 0703: 8086:24c6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])

SubSystem 134d:4c21 PCTel Inc: Unknown device 4c21

Flags: bus master, medium devsel, latency 0, IRQ 5

I/O ports at b400

I/O ports at b080

<span> </span>

<span> -----PCI_IDs------- --CompilerVer-</span>

<span> Feature List: Primary Subsystem Distr KernelVer kernel default CPU</span>

<span> ./scanModem test 8086:24c6 134d:4c21 redhat 2.6.10-1.760_FC3 3.4.2 3.4.2 i686</span>

<span> </span>

<span> </span>

<span> The soft modem Subsystem operates under a controller</span>

<span> 8086:24c6 82801DB ICH4</span>

<span> capable of supporting under Linux AT LEAST modem Subsystem chips from manufacturers:</span>

<span> Broadcom</span>

<span> AgereSystems</span>

<span> Conexant</span>

<span> Intel</span>

<span> Smartlink</span>

<span>Use the SmartLink slmodem software for support.</span>

<span> </span>

<span> To enable a soft modem test, please briefly login as Root:</span>

<span> su - root</span>

<span> Load a softmodem support module:</span>

<span> modprobe snd-intel8x0m</span>

<span> Exit Root status</span>

<span> exit</span>

<span> and rerun</span>

<span> ./scanModem</span>

<span> </span>

<span> </span>

<span>How can I get slmodem2.9.10 to compile under kernel 2.9.10-760 ? I have tried several diff files with no luck. </span>

<span> </span>

<span>Thanks for any help,</span>

<span>Raven Manor</span>

<span>raven@ravenmanor.net</span>

Reply
#2

[root@ravenmanor madwifi]# make

Checking if all requirements are met... ok.

mkdir -p ./symbols

for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \

(cd $i; make) || exit 1; \

done

make[1]: Entering directory `/home/raven/madwifi/ath_hal'

make -C /lib/modules/2.6.10-1.760_FC3/build SUBDIRS=/home/raven/madwifi/ath_hal MODVERDIR=/home/raven/madwifi/ath_hal/../symbols modules

make[2]: Entering directory `/lib/modules/2.6.10-1.760_FC3/build'

Building modules, stage 2.

MODPOST

Warning: could not find /home/raven/madwifi/ath_hal/.hal.o.cmd for /home/raven/madwifi/ath_hal/hal.o

make[2]: Leaving directory `/lib/modules/2.6.10-1.760_FC3/build'

make[1]: Leaving directory `/home/raven/madwifi/ath_hal'

make[1]: Entering directory `/home/raven/madwifi/ath_rate/onoe'

make -C /lib/modules/2.6.10-1.760_FC3/build SUBDIRS=/home/raven/madwifi/ath_rate/onoe MODVERDIR=/home/raven/madwifi/ath_rate/onoe/../../symbols modules

make[2]: Entering directory `/lib/modules/2.6.10-1.760_FC3/build'

Building modules, stage 2.

MODPOST

Warning: could not find /home/raven/madwifi/ath_hal/.hal.o.cmd for /home/raven/madwifi/ath_hal/hal.o

make[2]: Leaving directory `/lib/modules/2.6.10-1.760_FC3/build'

make[1]: Leaving directory `/home/raven/madwifi/ath_rate/onoe'

make[1]: Entering directory `/home/raven/madwifi/net80211'

make -C /lib/modules/2.6.10-1.760_FC3/build SUBDIRS=/home/raven/madwifi/net80211 MODVERDIR=/home/raven/madwifi/net80211/../symbols modules

make[2]: Entering directory `/lib/modules/2.6.10-1.760_FC3/build'

Building modules, stage 2.

MODPOST

Warning: could not find /home/raven/madwifi/ath_hal/.hal.o.cmd for /home/raven/madwifi/ath_hal/hal.o

make[2]: Leaving directory `/lib/modules/2.6.10-1.760_FC3/build'

make[1]: Leaving directory `/home/raven/madwifi/net80211'

make[1]: Entering directory `/home/raven/madwifi/ath'

make -C /lib/modules/2.6.10-1.760_FC3/build SUBDIRS=/home/raven/madwifi/ath MODVERDIR=/home/raven/madwifi/ath/../symbols modules

make[2]: Entering directory `/lib/modules/2.6.10-1.760_FC3/build'

Building modules, stage 2.

MODPOST

Warning: could not find /home/raven/madwifi/ath_hal/.hal.o.cmd for /home/raven/madwifi/ath_hal/hal.o

make[2]: Leaving directory `/lib/modules/2.6.10-1.760_FC3/build'

make[1]: Leaving directory `/home/raven/madwifi/ath'

Reply
#3

[root@ravenmanor madwifi]# make install

for i in ./ath_hal ath_rate/onoe ./net80211 ./ath; do \

(cd $i; make install) || exit 1; \

done

make[1]: Entering directory `/home/raven/madwifi/ath_hal'

test -d //lib/modules/2.6.10-1.760_FC3/net || mkdir -p //lib/modules/2.6.10-1.760_FC3/net

strip -S ath_hal.ko

cp ath_hal.ko //lib/modules/2.6.10-1.760_FC3/net

make[1]: Leaving directory `/home/raven/madwifi/ath_hal'

make[1]: Entering directory `/home/raven/madwifi/ath_rate/onoe'

test -d //lib/modules/2.6.10-1.760_FC3/net || mkdir -p //lib/modules/2.6.10-1.760_FC3/net

strip -S ath_rate_onoe.ko

cp ath_rate_onoe.ko //lib/modules/2.6.10-1.760_FC3/net

make[1]: Leaving directory `/home/raven/madwifi/ath_rate/onoe'

make[1]: Entering directory `/home/raven/madwifi/net80211'

test -d //lib/modules/2.6.10-1.760_FC3/net || mkdir -p //lib/modules/2.6.10-1.760_FC3/net

for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o; do \ f=`basename $i .o`; \

strip -S $f.ko; \

cp $f.ko //lib/modules/2.6.10-1.760_FC3/net; \

done

make[1]: Leaving directory `/home/raven/madwifi/net80211'

make[1]: Entering directory `/home/raven/madwifi/ath'

test -d //lib/modules/2.6.10-1.760_FC3/net || mkdir -p //lib/modules/2.6.10-1.760_FC3/net

strip -S ath_pci.ko

cp ath_pci.ko //lib/modules/2.6.10-1.760_FC3/net

make[1]: Leaving directory `/home/raven/madwifi/ath'

 

 

[root@ravenmanor madwifi]# modprobe slamr

FATAL: Module slamr not found.

Reply
#4

i think you need to resolve this issue

 

Quote:Warning: could not find /home/raven/madwifi/ath_hal/.hal.o.cmd for /home/raven/madwifi/ath_hal/hal.o
 

some info about that error here

 

[/url][url=http://www.fedoraforum.org/forum/printthre...7&page=11&pp=15]http://www.fedoraforum.org/forum/printthre...7&page=11&pp=15

 

cheers

 

anyweb

Reply
#5

I didn't mean to post madwifi stuff. Madwifi works even with that error. Here is my problem with slmodem.

 

[root@ravenmanor Desktop]# cd slmodem-2.9.10/

[root@ravenmanor slmodem-2.9.10]# ls

Changes COPYING drivers Makefile modem patches README scripts

[root@ravenmanor slmodem-2.9.10]# make

make -C modem all

make[1]: Entering directory `/home/raven/Desktop/slmodem-2.9.10/modem'

rebuild profile...

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.cgcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c modem_datafile.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c

modem_ec.c:689: warning: 't403_timeout' defined but not used

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c homolog_data.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c sysdep_common.cgcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c

gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o

make[1]: Leaving directory `/home/raven/Desktop/slmodem-2.9.10/modem'

[root@ravenmanor slmodem-2.9.10]# make install

make -C modem all

make[1]: Entering directory `/home/raven/Desktop/slmodem-2.9.10/modem'

make[1]: Leaving directory `/home/raven/Desktop/slmodem-2.9.10/modem'

make -C drivers KERNEL_DIR=/lib/modules/2.6.10-1.766_FC3/build

make[1]: Entering directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

cc -I/lib/modules/2.6.10-1.766_FC3/build/include -o kernel-ver kernel-ver.c

make all KERNEL_VER=2.6.10-1.766_FC3

make[2]: Entering directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

make modules -C /lib/modules/2.6.10-1.766_FC3/build SUBDIRS=/home/raven/Desktop/slmodem-2.9.10/drivers

make[3]: Entering directory `/lib/modules/2.6.10-1.766_FC3/build'

CC [M] /home/raven/Desktop/slmodem-2.9.10/drivers/amrmo_init.o

/home/raven/Desktop/slmodem-2.9.10/drivers/amrmo_init.c: In function `amrmo_read':

/home/raven/Desktop/slmodem-2.9.10/drivers/amrmo_init.c:353: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result

/home/raven/Desktop/slmodem-2.9.10/drivers/amrmo_init.c: In function `amrmo_write':

/home/raven/Desktop/slmodem-2.9.10/drivers/amrmo_init.c:366: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result

CC [M] /home/raven/Desktop/slmodem-2.9.10/drivers/sysdep_amr.o

CC [M] /home/raven/Desktop/slmodem-2.9.10/drivers/st7554.o

/home/raven/Desktop/slmodem-2.9.10/drivers/st7554.c: In function `st7554_init':

/home/raven/Desktop/slmodem-2.9.10/drivers/st7554.c:1112: warning: implicit declaration of function `usb_endpoint_halted'

LD [M] /home/raven/Desktop/slmodem-2.9.10/drivers/slamr.o

LD [M] /home/raven/Desktop/slmodem-2.9.10/drivers/slusb.o

Building modules, stage 2.

MODPOST

Warning: could not find /home/raven/Desktop/slmodem-2.9.10/drivers/.amrlibs.o.cmd for /home/raven/Desktop/slmodem-2.9.10/drivers/amrlibs.o

*** Warning: "usb_endpoint_halted" [/home/raven/Desktop/slmodem-2.9.10/drivers/slusb.ko] undefined!

CC /home/raven/Desktop/slmodem-2.9.10/drivers/slamr.mod.o

LD [M] /home/raven/Desktop/slmodem-2.9.10/drivers/slamr.ko

CC /home/raven/Desktop/slmodem-2.9.10/drivers/slusb.mod.o

LD [M] /home/raven/Desktop/slmodem-2.9.10/drivers/slusb.ko

make[3]: Leaving directory `/lib/modules/2.6.10-1.766_FC3/build'

make[2]: Leaving directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

make[1]: Leaving directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

make install -C drivers KERNEL_DIR=/lib/modules/2.6.10-1.766_FC3/build

make[1]: Entering directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

cc -I/lib/modules/2.6.10-1.766_FC3/build/include -o kernel-ver kernel-ver.c

mkdir -p /dev

mknod -m 600 /dev/slamr0 c 212 0 ; mknod -m 600 /dev/slamr1 c 212 1 ; mknod -m 600 /dev/slamr2 c 212 2 ; mknod -m 600 /dev/slamr3 c 212 3 ; echo -n

mknod -m 600 /dev/slusb0 c 213 0 ; mknod -m 600 /dev/slusb1 c 213 1 ; mknod -m 600 /dev/slusb2 c 213 2 ; mknod -m 600 /dev/slusb3 c 213 3 ; echo -n

make install KERNEL_VER=2.6.10-1.766_FC3

make[2]: Entering directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

install -D -m 644 slamr.ko /lib/modules/2.6.10-1.766_FC3/extra/slamr.ko

install -D -m 644 slusb.ko /lib/modules/2.6.10-1.766_FC3/extra/slusb.ko

/sbin/depmod -a

make[2]: Leaving directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

make[1]: Leaving directory `/home/raven/Desktop/slmodem-2.9.10/drivers'

install -D -m 755 modem/slmodemd /usr/sbin/slmodemd

rm -f -rf /var/lib/slmodem

install -d -D -m 755 /var/lib/slmodem

[root@ravenmanor slmodem-2.9.10]# ls

Changes COPYING drivers Makefile modem patches README scripts

[root@ravenmanor slmodem-2.9.10]# emacs README&

[1] 3870

[root@ravenmanor slmodem-2.9.10]# slmodemd --country-USA

Usage: slmodemd [option...] <device>

Where 'device' is name of modem device (default `/dev/slamr0')

and 'option' may be:

-h, --help this usage

-u, --usage this usage

-v, --version show version and exit

-c, --country=VAL default modem country name (default `USA')

--countrylist show list of supported countries

-a, --alsa ALSA mode (see README for howto)

-g, --group=VAL Modem TTY group (default `uucp')

-p, --perm=VAL Modem TTY permission (default `0660')

-r, --ringdetector with internal ring detector (software)

-n, --nortpriority run with regular priority

-d, --debug=VAL debug level (default `0')

-l, --log=VAL logging mode (default `5')

[root@ravenmanor slmodem-2.9.10]# slmodemd --country=USA

error: mdm setup: cannot open dev `/dev/slamr0': No such device or address

error: cannot setup device `/dev/slamr0'

[root@ravenmanor slmodem-2.9.10]# modprobe slamr0

FATAL: Module slamr0 not found.

[root@ravenmanor slmodem-2.9.10]# modprobe slmodemd

FATAL: Module slmodemd not found.

[root@ravenmanor slmodem-2.9.10]# slmodemd

error: mdm setup: cannot open dev `/dev/slamr0': No such device or address

error: cannot setup device `/dev/slamr0'

[root@ravenmanor raven]# modprobe slamr

FATAL: Error inserting slamr (/lib/modules/2.6.10-1.766_FC3/extra/slamr.ko): Unknown symbol in module, or unknown parameter (see dmesg)

[root@ravenmanor raven]# dmesg

slamr: Unknown symbol get_device

slamr: Unknown symbol put_device

slamr: Unknown symbol device_release_driver

 

 

Thanks,

John Raven

raven@ravenmanor.net

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)