slmodem-2.9.11-20090222 and kernel 2.6.31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear fellow slmodemd users and experts,

The slmodem-2.9.11-20090222 code compiles and installs, but wvdial
gives NO CARRIER error all the time, regardless of NO CARRIER
parameter in wvdial.conf file.  When compiling I see a message:

make -C drivers KERNEL_DIR=/lib/modules/2.6.31/build
/bin/sh: line 0: [: 31/build: integer expression expected

when I run
make KERNEL_DIR=/lib/modules/2.6.31/build

I get the above error, slamr.ko gets created and all, but when I try
to dialout I get the same error.  the error did not occur with
2.6.30.5 and I skipped 2.6.30.6 and went straight into 2.6.31.  Advice
suggestions, are welcome.  For the meantime, I'll have to revert to
kernel 2.6.30.5 or run Slax because I'll have to rebuild nvidia driver
everytime(no dkms or akmod, since I run kernel directly from
kernel.org and not Fedora).  I

[olivares@localhost ~]$ uname -r
2.6.31
[olivares@localhost ~]$ su -
Password:
[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=90
ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=90
OK
--> Modem initialized.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR



[root@localhost slmodem-2.9.11-20090222]# make clean
make -C modem clean &&  make -C drivers clean &&  echo "done."
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20090222/modem'
rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.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 sysdep_common.o
rm -f *~ *.orig *.rej
make[1]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20090222/modem'
/bin/sh: line 0: [: 31/build: integer expression expected
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20090222/drivers'
rm -f kernel-ver slamr.o  slusb.o  slamr.ko slusb.ko *st7554.o
amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~ slusb.*
rm -f -r .tmp_versions
make[1]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20090222/drivers'
done.
[root@localhost slmodem-2.9.11-20090222]# make
KERNEL_VER=/lib/modules/2.6.31/build/
make -C modem all
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20090222/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
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
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/olivares/Download/slmodem-2.9.11-20090222/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.31/build
/bin/sh: line 0: [: 31/build: integer expression expected
make[1]: Entering directory
`/home/olivares/Download/slmodem-2.9.11-20090222/drivers'
        obj-m=slamr.o  slusb.o
        slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
make modules -C /lib/modules/2.6.31/build
SUBDIRS=/home/olivares/Download/slmodem-2.9.11-20090222/drivers
make[2]: Entering directory `/home/olivares/Download/linux-2.6.31'
/bin/sh: line 0: [: 31/build: integer expression expected
  CC [M]  /home/olivares/Download/slmodem-2.9.11-20090222/drivers/amrmo_init.o
  CC [M]  /home/olivares/Download/slmodem-2.9.11-20090222/drivers/sysdep_amr.o
  CC [M]  /home/olivares/Download/slmodem-2.9.11-20090222/drivers/st7554.o
/home/olivares/Download/slmodem-2.9.11-20090222/drivers/st7554.c: In
function âst7554_probeâ:
/home/olivares/Download/slmodem-2.9.11-20090222/drivers/st7554.c:1336:
warning: passing argument 2 of âdevice_createâ makes pointer from
integer without a cast
/home/olivares/Download/slmodem-2.9.11-20090222/drivers/st7554.c:1336:
warning: passing argument 3 of âdevice_createâ makes integer from
pointer without a cast
/home/olivares/Download/slmodem-2.9.11-20090222/drivers/st7554.c:1336:
warning: passing argument 5 of âdevice_createâ makes pointer from
integer without a cast
  LD [M]  /home/olivares/Download/slmodem-2.9.11-20090222/drivers/slamr.o
  LD [M]  /home/olivares/Download/slmodem-2.9.11-20090222/drivers/slusb.o
  Building modules, stage 2.
/bin/sh: line 0: [: 31/build: integer expression expected
  MODPOST 2 modules
WARNING: could not find
/home/olivares/Download/slmodem-2.9.11-20090222/drivers/.amrlibs.o.cmd
for /home/olivares/Download/slmodem-2.9.11-20090222/drivers/amrlibs.o
  CC      /home/olivares/Download/slmodem-2.9.11-20090222/drivers/slamr.mod.o
  LD [M]  /home/olivares/Download/slmodem-2.9.11-20090222/drivers/slamr.ko
  CC      /home/olivares/Download/slmodem-2.9.11-20090222/drivers/slusb.mod.o
  LD [M]  /home/olivares/Download/slmodem-2.9.11-20090222/drivers/slusb.ko
make[2]: Leaving directory `/home/olivares/Download/linux-2.6.31'
        finished all:
make[1]: Leaving directory
`/home/olivares/Download/slmodem-2.9.11-20090222/drivers'

[root@localhost ~]# uname -r
2.6.31
[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=90
ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=90
OK
--> Modem initialized.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
--> Sending: ATDT7072000
--> Waiting for carrier.
ATDT7072000
NO CARRIER
ERROR
--> No Carrier!  Trying again.
^CCaught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Sat Sep 12 13:46:18 2009


Regards,

Antonio


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux