2010/2/28 Antonio Olivares <olivares14031@xxxxxxxxx>: > Arturo, > > Sadly as scanModem explains here, the slamr code does not work with > 2.6.31.X kernels :( > > It says 2.8 (it is a typo, means 2.6.31 > For kernels 2.8.31 the slamr driver is not (yet) functional, failing > within at the > Carrier Check > function. Thus for service, retain a 2.6.30 or earlier kernel. > > For kernels 2.6.31 the slamr driver is not (yet) functional, failing > within at the > Carrier Check > function. Thus for service, retain a 2.6.30 or earlier kernel. > > Also, the part about ungrab-winmodem-20090716.tar.gz and > slmodemd-2.9.11-20090222.tar.gz was not updated, that is why it says > as of October 2007, the packages are: > > \begin{quote} > For 2.6.31.12-174.2.22.fc12.i686 compiling drivers is necessary. As of > October 2007 the current packages at > http://linmodems.technion.ac.il/packages/smartlink/ are the > ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz > \end{quote} > > If you want to give it a try and compile the newer sources for both > slmodemd and slamr and see in case that it might work, go right ahead > and confirm the reports. I have yet to try newer 2.6.32.9 and/or > 2.6.33 released kernels, will do so as soon as I have a chance and see > if they return functionality to the slamr supported modems. > > Regards, > > Antonio > > > On 2/28/10, Arturo Neri <ciornjeja@xxxxxxxxx> wrote: >> I trying to install driver for my modem but I receive this error: >> >> [root@Fedora12 slmodem-2.9.11-20080126]# make >> make -C modem all >> make[1]: Entering directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/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.c >> gcc -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 >> modem_pack.c: In function ‘modem_async_get_bits’: >> modem_pack.c:100: warning: pointer targets in passing argument 2 of >> ‘m->get_chars’ differ in signedness >> modem_pack.c:100: note: expected ‘char *’ but argument is of type ‘u8 *’ >> modem_pack.c: In function ‘modem_async_put_bits’: >> modem_pack.c:148: warning: pointer targets in passing argument 2 of >> ‘m->put_chars’ differ in signedness >> modem_pack.c:148: note: expected ‘const char *’ but argument is of type ‘u8 >> *’ >> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c >> modem_ec.c: In function ‘tx_info’: >> modem_ec.c:723: warning: pointer targets in passing argument 2 of >> ‘l->modem->get_chars’ differ in signedness >> modem_ec.c:723: note: expected ‘char *’ but argument is of type ‘u8 *’ >> modem_ec.c: In function ‘push_rest_data’: >> modem_ec.c:811: warning: pointer targets in passing argument 2 of >> ‘l->modem->put_chars’ differ in signedness >> modem_ec.c:811: note: expected ‘const char *’ but argument is of type ‘u8 *’ >> modem_ec.c: In function ‘rx_info’: >> modem_ec.c:860: warning: pointer targets in passing argument 2 of >> ‘l->modem->put_chars’ differ in signedness >> modem_ec.c:860: note: expected ‘const char *’ but argument is of type ‘u8 *’ >> 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.c >> gcc -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/Ciornj/Documents/slmodem-2.9.11-20080126/modem' >> make -C drivers KERNEL_DIR=/lib/modules/2.6.31.12-174.2.22.fc12.i686/build >> make[1]: Entering directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> cc -I/lib/modules/2.6.31.12-174.2.22.fc12.i686/build/include -o >> kernel-ver kernel-ver.c >> make all KERNEL_VER=2.6.31.12-174.2.22.fc12.i686 >> make[2]: Entering directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build >> SUBDIRS=/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers >> make[3]: Entering directory `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686' >> CC [M] >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.o >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c: >> In function ‘amrmo_pci_probe’: >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> error: ‘SA_SHIRQ’ undeclared (first use in this function) >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> error: (Each undeclared identifier is reported only once >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> error: for each function it appears in.) >> make[4]: *** >> [/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.o] >> Error 1 >> make[3]: *** >> [_module_/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers] >> Error 2 >> make[3]: Leaving directory `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> make: *** [drivers] Error 2 >> >> And with make install >> >> [root@Fedora12 slmodem-2.9.11-20080126]# make install >> make -C modem all >> make[1]: Entering directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/modem' >> make[1]: Leaving directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/modem' >> make -C drivers KERNEL_DIR=/lib/modules/2.6.31.12-174.2.22.fc12.i686/build >> make[1]: Entering directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> cc -I/lib/modules/2.6.31.12-174.2.22.fc12.i686/build/include -o >> kernel-ver kernel-ver.c >> make all KERNEL_VER=2.6.31.12-174.2.22.fc12.i686 >> make[2]: Entering directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build >> SUBDIRS=/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers >> make[3]: Entering directory `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686' >> CC [M] >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.o >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c: >> In function ‘amrmo_pci_probe’: >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> error: ‘SA_SHIRQ’ undeclared (first use in this function) >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> error: (Each undeclared identifier is reported only once >> /home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> error: for each function it appears in.) >> make[4]: *** >> [/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers/amrmo_init.o] >> Error 1 >> make[3]: *** >> [_module_/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers] >> Error 2 >> make[3]: Leaving directory `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> `/home/Ciornj/Documents/slmodem-2.9.11-20080126/drivers' >> make: *** [drivers] Error 2 >> [root@Fedora12 slmodem-2.9.11-20080126]# >> >> thanks for your help >> Arturo >> >