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]

 



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