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 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
 Only plain text email is forwarded by the  Discuss@xxxxxxxxxxxxx List Server,
 as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry  kernel 2.6.31.12-174.2.22.fc12.i686 
 With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
 YourCountry will enable Country specific guidance. Linux experts in YourCountry 
 can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org 
--------------------------  System information ----------------------------
CPU=i686,  fedora ,  ALSA_version=1.0.20
Linux version 2.6.31.12-174.2.22.fc12.i686 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC) ) #1 SMP Fri Feb 19 19:26:06 UTC 2010
 scanModem update of:  2010_02_25

/etc/lsb-release not found


The dkms driver upgrade utilities are installed,

 There are no blacklisted modem drivers in /etc/modprobe*  files 

 Potentially useful modem drivers now loaded are:
                  

Attached USB devices are:
 ID 12d1:140c Huawei Technologies Co., Ltd. 
 ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is:  http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx

Candidate PCI devices with modem chips are:
02:02.0 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem
High Definition Audio cards can host modem chips.

For candidate card in slot 02:02.0, firmware information and bootup diagnostics are:
 PCI slot	PCI ID		SubsystemID	Name
 ----------	---------	---------	--------------
 02:02.0	10b9:5459	10a0:5459	Modem: ALi Corporation SmartLink SmartPCI561 56K Modem

 Modem interrupt assignment and sharing: 
 --- Bootup diagnostics for card in PCI slot 02:02.0 ----
pci 0000:02:02.0: reg 10 32bit mmio: [0xfb004000-0xfb004fff]
pci 0000:02:02.0: reg 14 io port: [0xa800-0xa8ff]
serial 0000:02:02.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
0000:02:02.0: ttyS2 at I/O 0xa828 (irq = 22) is a 8250
0000:02:02.0: ttyS3 at I/O 0xa840 (irq = 22) is a 8250
Couldn't register serial port 0000:02:02.0: -28

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 02:02.0:
	Modem chipset  detected on
NAME="Modem: ALi Corporation SmartLink SmartPCI561 56K Modem"
CLASS=0703
PCIDEV=10b9:5459
SUBSYS=10a0:5459
IRQ=22
IDENT=slamr

 For candidate modem in:  02:02.0
   0703 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem
      Primary device ID:  10b9:5459
 Support type needed or chipset:	slamr
 

The modem is supported by the Smartlink 
plus the slmodemd helper utility.  Read the
DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.

 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.8.30 or earlier kernel. For Ubuntu users this
 can be done by downloading the kernel from http://packages.ubuntu.com/jaunty/linux-image-2.6.28-16-generic
 and from http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/ the slamr-2.6.28-16-generic.tar.gz 


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

Writing DOCs/Smartlink.txt
============ end Smartlink section =====================

 Completed candidate modem analyses.

 The base of the UDEV device file system is: /dev/.udev

 Versions adequately match for the compiler installed: 4.4.3
             and the compiler used in kernel assembly: 4.4.3


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.4
   linuc_headers base folder /lib/modules/2.6.31.12-174.2.22.fc12.i686/build

 However some compilations and executable functions may need additional files,
 in the FileNames.h (so called kernel "h"eaders) collection installed in  /usr/include/ .
 For martian_modem, additional required packages are needed. The also required headers of package libc6 are commonly installed by default. 
 Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
 In not included on your install CD, search for them at http://packages.ubuntu.com
 or comparable Repository for other Linux distros.
 When compiling ALSA drivers, the utility "patch" will also be needed.




If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb


Checking pppd properties:
	-r-xr-xr-x. 1 root root 327048 2009-12-11 12:02 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
	$ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
	 chmod a+x /usr/sbin/pppd

Checking settings of:	/etc/ppp/options
lock

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/  get faxing.tar.gz
It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port.

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0:  
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:

     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------


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

  Powered by Linux