Re: Arturo, Italy, Kernel 2.6.31.12-174.2.22.fc12.i686

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

 



Arturo,

If the slmodemd script was successfully installed and upon startup you
still got the message, you might have forgotten to add the commands I
told you to the start{
procedure

In the meantime, as root (su -)

mkdir -p /dev
  mknod -m 600 /dev/slamr0 c 242 0

and try the slmodemd -c ITALY /dev/slamr0 command again.  Have you
tried to dialout/connect to your ISP?  This is the bigger question
that many would like to know(including me).

Regards,

Antonio

On 3/1/10, Arturo Neri <ciornjeja@xxxxxxxxx> wrote:
> Antonio now I understand not at all. I read in your msg:
>
> (when slmodemd worked) and I made:
>
> [root@Fedora12 scripts]# slmodemd -c ITALY /dev/slamr0
> but this is answer:
> error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
> error: cannot setup device `/dev/slamr0'
>
> I looked if modules are installed:
> [root@Fedora12 scripts]# lsmod
> Module                  Size  Used by
> slamr                 429352  0
> ungrab_winmodem         1888  0
>
> into dir /dev there isn't device slamr0
> Excuse me who made this device?
> Arturo
>
> 2010/3/1 Antonio Olivares <olivares14031@xxxxxxxxx>:
>> Arturo,
>>
>> This part
>>
>> # for i in 0 1 2 3 4 5 6
>>  > do
>>  > ls rc$i.d/*slmodemd*
>>  > done
>>
>> Is to check if the symbolic links exist or not
>> As root user (su -) type the commands exactly as they appear.  Then
>> you should see if they got created or not.
>>
>> As an example in my case (when slmodemd worked):
>>
>> root@localhost rc.d]# for i in 0 1 2 3 4 5 6
>>  > do
>>  > ls rc$i.d/*slmodemd*
>>  > done
>>  rc0.d/K10slmodemd
>>  rc1.d/K10slmodemd
>>  rc2.d/S90slmodemd
>>  rc3.d/S90slmodemd
>>  rc4.d/S90slmodemd
>>  rc5.d/S90slmodemd
>>  rc6.d/K10slmodemd
>>  [root@localhost rc.d]#
>>
>>  [root@localhost rc.d]# chkconfig slmodemd --list
>>  slmodemd        0:off   1:off   2:on    3:on    4:on
>>  5:on    6:off
>>
>>
>> Regards,
>>
>> Antonio
>>
>> On 3/1/10, Arturo Neri <ciornjeja@xxxxxxxxx> wrote:
>>> Antonio at a time I don't understand. Please look:
>>>
>>> [root@Fedora12 scripts]# cp slmodemd /etc/rc.d/init.d/
>>> [root@Fedora12 scripts]# chkconfig slmodemd --add
>>> [root@Fedora12 scripts]# chkconfig slmodemd on
>>> [root@Fedora12 scripts]# cd /etc/rc.d/
>>> [root@Fedora12 rc.d]# for i in 0 1 2 3 4 5 6
>>>> 7
>>> -bash: syntax error near unexpected token `7'
>>> [root@Fedora12 rc.d]# for i in 0 1 2 3 4 5 6
>>>> 1
>>> -bash: syntax error near unexpected token `1'
>>> [root@Fedora12 rc.d]# for i in 0
>>>> 1
>>> -bash: syntax error near unexpected token `1'
>>> [root@Fedora12 rc.d]# for i in 0 1 2 3 4 5 6
>>>> do
>>>> ^C
>>> [root@Fedora12 rc.d]#
>>> Arturo
>>>
>>> 2010/3/1 Antonio Olivares <olivares14031@xxxxxxxxx>:
>>>> Arturo,
>>>>
>>>> In the folder scripts, as root user (su -)
>>>> # cp slmodemd /etc/rc.d/init.d/
>>>>
>>>> # chkconfig slmodemd --add
>>>>  # chkconfig slmodemd on
>>>>
>>>> # cd /etc/rc.d/
>>>>
>>>>  type exactly as this appears.  When you get to 6 press Enter you
>>>>  should see a ">" continue with the numbers and type everything there
>>>>  pressing enter everytime till you get to done and press Enter you
>>>>  should see what is in the above example or something similar.
>>>>
>>>>  # for i in 0 1 2 3 4 5 6
>>>>  > do
>>>>  > ls rc$i.d/*slmodemd*
>>>>  > done
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Here's slmodemd script
>>>>
>>>> #!/bin/sh
>>>> #
>>>> # slmodemd:    Starts the SmartLink Modem Daemon
>>>> #
>>>> # chkconfig: 345 90 10
>>>> # description: This is the user space part of the SmartLink Modem driver
>>>> # processname: slmodemd
>>>> # config: /etc/sysconfig/slmodem
>>>>
>>>> # Source function library.
>>>> . /etc/init.d/functions
>>>>
>>>> prog=slmodemd
>>>> RETVAL=0
>>>>
>>>> # Default configuration
>>>> SLMODEMD_DEVICE=slamr0
>>>> SLMODEMD_COUNTRY=USA
>>>>
>>>> # Source configuration
>>>> CONFIG=/etc/sysconfig/$prog
>>>> if [ -f $CONFIG ]; then
>>>>        . $CONFIG
>>>>        # override default group and permissions if defined in $CONFIG;
>>>>        # other valid options also can be put into SLMODEMD_OPTS variable
>>>>        [ "$GROUP" ] && SLMODEMD_OPTS="$SLMODEMD_OPTS --group=$GROUP"
>>>>        [ "$PERMS" ] && SLMODEMD_OPTS="$SLMODEMD_OPTS --perm=$PERMS"
>>>> fi
>>>>
>>>> # uncomment this if you want this feature (if necessary edit module
>>>> pattern):
>>>> # do not try to start on a kernel which does not support it
>>>> # grep -q 'slamr\..*o' /lib/modules/`uname -r`/modules.dep || exit 0
>>>>
>>>> start() {
>>>>        echo -n "Starting SmartLink Modem driver for $SLMODEMD_DEVICE: "
>>>>        $prog </dev/null >/dev/null 2>/dev/null \
>>>>            --country=$SLMODEMD_COUNTRY $SLMODEMD_OPTS
>>>> /dev/$SLMODEMD_DEVICE &
>>>>        RETVAL=$?
>>>>        [ $RETVAL -eq 0 ] && success $"$prog startup" || failure
>>>> $"$prog startup"
>>>>        echo
>>>>        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
>>>>        return $RETVAL
>>>> }
>>>>
>>>> stop() {
>>>>        echo -n "Shutting down SmartLink Modem driver: "
>>>>        killproc $prog
>>>>        RETVAL=$?
>>>>        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
>>>>        return $RETVAL
>>>> }
>>>>
>>>> # See how we were called.
>>>> case "$1" in
>>>>  start)
>>>>        start
>>>>        ;;
>>>>  stop)
>>>>        stop
>>>>        ;;
>>>>  status)
>>>>        status $prog
>>>>        RETVAL=$?
>>>>        ;;
>>>>  restart|reload)
>>>>        stop
>>>>        start
>>>>        RETVAL=$?
>>>>        ;;
>>>>  condrestart)
>>>>        if [ -f /var/lock/subsys/$prog ]; then
>>>>                stop
>>>>                start
>>>>                RETVAL=$?
>>>>        fi
>>>>        ;;
>>>>  *)
>>>>        echo "*** Usage: $prog {start|stop|status|restart|condrestart}"
>>>>        exit 1
>>>> esac
>>>>
>>>> exit $RETVAL
>>>>
>>>>
>>>> Add after start procedure here:
>>>>
>>>> Change COUNTRY from USA to ITALY here:
>>>>
>>>> SLMODEMD_COUNTRY=USA
>>>>
>>>> add code below after start and before "         echo -n "Starting
>>>> SmartLink Modem driver for $SLMODEMD_DEVICE: ""
>>>>
>>>> start() {
>>>>
>>>>
>>>> if ! [[ -e $SLMODEMD_DEVICE ]] &> /dev/null; then
>>>>  {
>>>>  echo -n "Creating devices ..."
>>>>  mkdir -p /dev
>>>>  mknod -m 600 /dev/slamr0 c 242 0 ; mknod -m 600 /dev/slamr1 c 242 1 ;
>>>>  mknod -m 600 /dev/slamr2 c 242 2 ; mknod -m 600 /dev/slamr3 c 242 3 ;
>>>>  echo -n
>>>>  mknod -m 600 /dev/slusb0 c 243 0 ; mknod -m 600 /dev/slusb1 c 243 1 ;
>>>>  mknod -m 600 /dev/slusb2 c 243 2 ; mknod -m 600 /dev/slusb3 c 243 3 ;
>>>>  echo -n ||
>>>>  {
>>>>  echo "failed."
>>>>  exit -1
>>>>  }
>>>>  }
>>>>  fi
>>>>
>>>>  cat /proc/modules | grep 'ungrab_winmodem' >/dev/null ||
>>>>  {
>>>>  echo -n "Ungrabbing winmodem from kernel ... "
>>>>  modprobe ungrab-winmodem && echo "done." ||
>>>>  {
>>>>  echo "failed."
>>>>  exit -1
>>>>  }
>>>>  }
>>>>  cat /proc/modules | grep 'slamr' >/dev/null ||
>>>>  {
>>>>  echo -n "Loading SmartLink Modem driver into kernel ... "
>>>>  modprobe slamr && echo "done." ||
>>>>  {
>>>>  echo "failed."
>>>>  exit -1
>>>>  }
>>>>  }
>>>>
>>>> Have you tried to connect yet?
>>>> Let us know if it works or not.
>>>>
>>>> Regards,
>>>>
>>>> Antonio
>>>>
>>>>
>>>> On 3/1/10, Arturo Neri <ciornjeja@xxxxxxxxx> wrote:
>>>>> Hi Antonio, GOAL!!!!!!!!!!!!!!
>>>>> Excuse me if I continue with un other question.
>>>>> Now that the modules are installable can you explain me how can I
>>>>> automatically install these two modules and run slmodemd. Like I wrote
>>>>> in previous msg, into /Modem/DOCS/Scripts/ there are slmodemd scripts
>>>>> but I don't know if one is useful and where put it
>>>>> Thanks Arturo
>>>>>
>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# make clean
>>>>> make -C modem clean &&  make -C drivers clean &&  echo "done."
>>>>> make[1]: Entering directory
>>>>> `/home/Ciornj/Documents/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/Ciornj/Documents/slmodem-2.9.11-20090222/modem'
>>>>> make[1]: Entering directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> rm -f kernel-ver slamr.o  slamr.ko *st7554.o amrmo_init.o sysdep_amr.o
>>>>> *.mod.* .*.cmd *~ slusb.*
>>>>> rm -f -r .tmp_versions
>>>>> make[1]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> done.
>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# make
>>>>> KERNEL_VER=/lib/modules/2.6.31.12-174.2.22.fc12.i686/build/
>>>>> make -C modem all
>>>>> make[1]: Entering directory
>>>>> `/home/Ciornj/Documents/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/Ciornj/Documents/slmodem-2.9.11-20090222/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-20090222/drivers'
>>>>>         obj-m=slamr.o
>>>>>         slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
>>>>> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build
>>>>> SUBDIRS=/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers
>>>>> make[2]: Entering directory
>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>   CC [M]
>>>>> /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/amrmo_init.o
>>>>>   CC [M]
>>>>> /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/sysdep_amr.o
>>>>>   LD [M]
>>>>>  /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/slamr.o
>>>>>   Building modules, stage 2.
>>>>>   MODPOST 1 modules
>>>>> WARNING: could not find
>>>>> /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/.amrlibs.o.cmd
>>>>> for /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/amrlibs.o
>>>>>   CC
>>>>>  /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/slamr.mod.o
>>>>>   LD [M]
>>>>>  /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/slamr.ko
>>>>> make[2]: Leaving directory
>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>         finished all:
>>>>> make[1]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# make
>>>>> make -C modem all
>>>>> make[1]: Entering directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/modem'
>>>>> make[1]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/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-20090222/drivers'
>>>>> doing kernel-ver::
>>>>> 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-20090222/drivers'
>>>>>         obj-m=slamr.o
>>>>>         slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
>>>>> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build
>>>>> SUBDIRS=/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers
>>>>> make[3]: Entering directory
>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>   Building modules, stage 2.
>>>>>   MODPOST 1 modules
>>>>> WARNING: could not find
>>>>> /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/.amrlibs.o.cmd
>>>>> for /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/amrlibs.o
>>>>> make[3]: Leaving directory
>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>         finished all:
>>>>> make[2]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> make[1]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# make install
>>>>> make -C modem all
>>>>> make[1]: Entering directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/modem'
>>>>> make[1]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/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-20090222/drivers'
>>>>> doing kernel-ver::
>>>>> 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-20090222/drivers'
>>>>>         obj-m=slamr.o
>>>>>         slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
>>>>> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build
>>>>> SUBDIRS=/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers
>>>>> make[3]: Entering directory
>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>   Building modules, stage 2.
>>>>>   MODPOST 1 modules
>>>>> WARNING: could not find
>>>>> /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/.amrlibs.o.cmd
>>>>> for /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/amrlibs.o
>>>>> make[3]: Leaving directory
>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>         finished all:
>>>>> make[2]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> make[1]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> make install -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-20090222/drivers'
>>>>> doing kernel-ver::
>>>>> cc -I/lib/modules/2.6.31.12-174.2.22.fc12.i686/build/include -o
>>>>> kernel-ver kernel-ver.c
>>>>> mkdir -p /dev
>>>>> mknod -m 600 /dev/slamr0 c 242 0 ;   mknod -m 600 /dev/slamr1 c 242 1
>>>>> ;   mknod -m 600 /dev/slamr2 c 242 2 ;   mknod -m 600 /dev/slamr3 c
>>>>> 242 3 ;  echo -n
>>>>> make install KERNEL_VER=2.6.31.12-174.2.22.fc12.i686
>>>>> make[2]: Entering directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> install -D -m 644 slamr.ko
>>>>> /lib/modules/2.6.31.12-174.2.22.fc12.i686/extra/slamr.ko
>>>>> /sbin/depmod -a
>>>>> make[2]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>> make[1]: Leaving directory
>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/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@Fedora12 slmodem-2.9.11-20090222]# modprobe ungrab-winmodem
>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# modprobe slamr
>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# slmodemd -c ITALY /dev/slamr0
>>>>> SmartLink Soft Modem: version 2.9.11 Mar  1 2010 14:39:13
>>>>> symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
>>>>> modem `slamr0' created. TTY is `/dev/pts/2'
>>>>> Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
>>>>> ^C[root@Fedora12 slmodem-2.9.11-20090222]#
>>>>>
>>>>>
>>>>> 2010/3/1 Antonio Olivares <olivares14031@xxxxxxxxx>:
>>>>>> Arturo,
>>>>>>
>>>>>> Installation of ungrab-winmodem appears to be installed correctly, it
>>>>>> is the slmodem-2.9.11-20090222/ code that is not
>>>>>>
>>>>>> Here:
>>>>>>
>>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# make clean
>>>>>> after you run
>>>>>> make clean
>>>>>>
>>>>>> run
>>>>>>
>>>>>> make KERNEL_VER=/lib/modules/2.6.31.12-174.2.22.fc12.i686/build/
>>>>>> make
>>>>>> make install
>>>>>>
>>>>>> then test it with
>>>>>> # modprobe ungrab-winmodem
>>>>>> # modprobe slamr
>>>>>> then
>>>>>> # slmodemd -c ITALY /dev/slamr0
>>>>>>
>>>>>> if you get the error again, try to login with (su -) and not (su) by
>>>>>> itself.
>>>>>>
>>>>>> There have been little to no success reports, maybe you can report
>>>>>> back with a success report?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Antonio
>>>>>>
>>>>>> On 3/1/10, Arturo Neri <ciornjeja@xxxxxxxxx> wrote:
>>>>>>> I send un other time to discuss because in my copy first send are
>>>>>>> uncomplete. Sorry.
>>>>>>>
>>>>>>> Hi Antonio, this is what is happened, and really I understand not at
>>>>>>> all
>>>>>>>
>>>>>>> [root@Fedora12 ungrab-winmodem-20090716]# make
>>>>>>> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build
>>>>>>> SUBDIRS=/home/Ciornj/Documents/ungrab-winmodem-20090716
>>>>>>> make[1]: Entering directory
>>>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>>>   CC [M]
>>>>>>>  /home/Ciornj/Documents/ungrab-winmodem-20090716/ungrab-winmodem.o
>>>>>>>   Building modules, stage 2.
>>>>>>>   MODPOST 1 modules
>>>>>>>   CC
>>>>>>> /home/Ciornj/Documents/ungrab-winmodem-20090716/ungrab-winmodem.mod.o
>>>>>>>   LD [M]
>>>>>>>  /home/Ciornj/Documents/ungrab-winmodem-20090716/ungrab-winmodem.ko
>>>>>>> make[1]: Leaving directory
>>>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>>>
>>>>>>> [root@Fedora12 ungrab-winmodem-20090716]# make install
>>>>>>> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build
>>>>>>> SUBDIRS=/home/Ciornj/Documents/ungrab-winmodem-20090716
>>>>>>> make[1]: Entering directory
>>>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>>>   Building modules, stage 2.
>>>>>>>   MODPOST 1 modules
>>>>>>> make[1]: Leaving directory
>>>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>>> install -D -m 644 ungrab-winmodem.ko
>>>>>>> /lib/modules/2.6.31.12-174.2.22.fc12.i686/extra/ungrab-winmodem.ko
>>>>>>> /sbin/depmod -a
>>>>>>> [root@Fedora12 ungrab-winmodem-20090716]#
>>>>>>>
>>>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# make clean
>>>>>>> make -C modem clean &&  make -C drivers clean &&  echo "done."
>>>>>>> make[1]: Entering directory
>>>>>>> `/home/Ciornj/Documents/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/Ciornj/Documents/slmodem-2.9.11-20090222/modem'
>>>>>>> make[1]: Entering directory
>>>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>>>> rm -f kernel-ver slamr.o  slamr.ko *st7554.o amrmo_init.o
>>>>>>> sysdep_amr.o
>>>>>>> *.mod.* .*.cmd *~ slusb.*
>>>>>>> rm -f -r .tmp_versions
>>>>>>> make[1]: Leaving directory
>>>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>>>> done.
>>>>>>> [root@Fedora12 slmodem-2.9.11-20090222]# make install
>>>>>>> make -C modem all
>>>>>>> make[1]: Entering directory
>>>>>>> `/home/Ciornj/Documents/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/Ciornj/Documents/slmodem-2.9.11-20090222/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-20090222/drivers'
>>>>>>> doing kernel-ver::
>>>>>>> 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-20090222/drivers'
>>>>>>>         obj-m=slamr.o
>>>>>>>         slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
>>>>>>> make modules -C /lib/modules/2.6.31.12-174.2.22.fc12.i686/build
>>>>>>> SUBDIRS=/home/Ciornj/Documents/slmodem-2.9.11-20090222/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-20090222/drivers/amrmo_init.o
>>>>>>>   CC [M]
>>>>>>> /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/sysdep_amr.o
>>>>>>>   LD [M]
>>>>>>>  /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/slamr.o
>>>>>>>   Building modules, stage 2.
>>>>>>>   MODPOST 1 modules
>>>>>>> WARNING: could not find
>>>>>>> /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/.amrlibs.o.cmd
>>>>>>> for /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/amrlibs.o
>>>>>>>   CC
>>>>>>>  /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/slamr.mod.o
>>>>>>>   LD [M]
>>>>>>>  /home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers/slamr.ko
>>>>>>> make[3]: Leaving directory
>>>>>>> `/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686'
>>>>>>>         finished all:
>>>>>>> make[2]: Leaving directory
>>>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>>>> make[1]: Leaving directory
>>>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>>>> make install -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-20090222/drivers'
>>>>>>> doing kernel-ver::
>>>>>>> cc -I/lib/modules/2.6.31.12-174.2.22.fc12.i686/build/include -o
>>>>>>> kernel-ver kernel-ver.c
>>>>>>> mkdir -p /dev
>>>>>>> mknod -m 600 /dev/slamr0 c 242 0 ;   mknod -m 600 /dev/slamr1 c 242 1
>>>>>>> ;   mknod -m 600 /dev/slamr2 c 242 2 ;   mknod -m 600 /dev/slamr3 c
>>>>>>> 242 3 ;  echo -n
>>>>>>> make install KERNEL_VER=2.6.31.12-174.2.22.fc12.i686
>>>>>>> make[2]: Entering directory
>>>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>>>> install -D -m 644 slamr.ko
>>>>>>> /lib/modules/2.6.31.12-174.2.22.fc12.i686/extra/slamr.ko
>>>>>>> /sbin/depmod -a
>>>>>>> make[2]: Leaving directory
>>>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/drivers'
>>>>>>> make[1]: Leaving directory
>>>>>>> `/home/Ciornj/Documents/slmodem-2.9.11-20090222/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@Fedora12 slmodem-2.9.11-20090222]#
>>>>>>>
>>>>>>> [root@Fedora12 Ciornj]# modprobe ungrab-winmodem.ko
>>>>>>> FATAL: Module ungrab_winmodem.ko not found.
>>>>>>> [root@Fedora12 Ciornj]# cd
>>>>>>> /lib/modules/2.6.31.12-174.2.22.fc12.i686/extra/
>>>>>>> [root@Fedora12 extra]# modprobe ./ungrab-winmodem.ko
>>>>>>> FATAL: Module ./ungrab_winmodem.ko not found.
>>>>>>> [root@Fedora12 extra]# insmod ./ungrab-winmodem.ko
>>>>>>> [root@Fedora12 extra]# modprobe ./slamr.ko
>>>>>>> FATAL: Module ./slamr.ko not found.
>>>>>>> [root@Fedora12 extra]# insmod ./slamr.ko
>>>>>>> [root@Fedora12 extra]# lsmod
>>>>>>> Module                  Size  Used by
>>>>>>> slamr                 429352  0
>>>>>>> ungrab_winmodem         1888  0
>>>>>>>
>>>>>>> In Smartlink.txt is wrote:
>>>>>>> The modem should setup with:
>>>>>>>      modprobe ungrab-winmodem
>>>>>>>      modprobe slamr
>>>>>>>       slmodemd -c YOUR_COUNTRY  /dev/slamr0
>>>>>>>  which should announce creation of ports:
>>>>>>>     /dev/ttySL0 --> /dev/pts/N   , N some number
>>>>>>>  Specify the symbolic link  /dev/ttySL0  as the port to be used by
>>>>>>> dailer software.
>>>>>>>
>>>>>>> but in my /dev I haven't slamr0 and before modprobe don't mount
>>>>>>> modules how you can read above
>>>>>>>
>>>>>>> And an other question. If with your help I will can run the device
>>>>>>> ttySL0 how I can start automatically the daemon /usr/sbin/slmodemd?
>>>>>>> Into Modem/DOCS/scripts/ I see scripts for more SO but any for
>>>>>>> Fedora.
>>>>>>> Perhaps that for Mandrake is good?
>>>>>>>
>>>>>>> thank you very much for your very appreciate help
>>>>>>> Arturo
>>>>>>>
>>>>>>> 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
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>


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

  Powered by Linux