I have build-essentials,binutils and kernel headers installed.
Also I can't find "agrsm-20080203a.tar.gz" but can find
"agrsm-20080203.tar.gz" and i tried "agrsm-20090418.tar.gz".
Make results
debian:/home/john/agrsm-20080203# make clean
rm -fR agrsoftmodem.o serial26.o \
serial26.o \
agrsm_core.o \
agrmodem.{o,ko,mod.{c,o}} \
agrserial.{o,ko,mod.{c,o}} \
..*.cmd .tmp_versions
debian:/home/john/agrsm-20080203# make
make -C /lib/modules/2.6.26-2-686/build
SUBDIRS=/home/john/agrsm-20080203 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
CC [M] /home/john/agrsm-20080203/agrsoftmodem.o
objcopy --weaken-symbol=LXHardwareInfoCreate \
--weaken-symbol=LXHardwareInfoDestroy \
/home/john/agrsm-20080203/agrmodemlib.o
/home/john/agrsm-20080203/agrsm_core.o
CC [M] /home/john/agrsm-20080203/lib.o
/home/john/agrsm-20080203/lib.c: In function ‘agr_pci_find_device’:
/home/john/agrsm-20080203/lib.c:134: warning: ‘pci_find_device’ is
deprecated (declared at include/linux/pci.h:514)
/home/john/agrsm-20080203/lib.c: In function ‘x_pcibios_read_config_byte’:
/home/john/agrsm-20080203/lib.c:145: warning: ‘pci_find_slot’ is
deprecated (declared at include/linux/pci.h:516)
/home/john/agrsm-20080203/lib.c: In function ‘x_pcibios_read_config_word’:
/home/john/agrsm-20080203/lib.c:148: warning: ‘pci_find_slot’ is
deprecated (declared at include/linux/pci.h:516)
/home/john/agrsm-20080203/lib.c: In function ‘x_pcibios_read_config_dword’:
/home/john/agrsm-20080203/lib.c:151: warning: ‘pci_find_slot’ is
deprecated (declared at include/linux/pci.h:516)
/home/john/agrsm-20080203/lib.c: In function ‘x_pcibios_write_config_byte’:
/home/john/agrsm-20080203/lib.c:154: warning: ‘pci_find_slot’ is
deprecated (declared at include/linux/pci.h:516)
/home/john/agrsm-20080203/lib.c: In function ‘x_pcibios_write_config_word’:
/home/john/agrsm-20080203/lib.c:157: warning: ‘pci_find_slot’ is
deprecated (declared at include/linux/pci.h:516)
/home/john/agrsm-20080203/lib.c: In function ‘x_pcibios_write_config_dword’:
/home/john/agrsm-20080203/lib.c:160: warning: ‘pci_find_slot’ is
deprecated (declared at include/linux/pci.h:516)
CC [M] /home/john/agrsm-20080203/serial26.o
/home/john/agrsm-20080203/serial26.c: In function ‘serial8250_get_mctrl’:
/home/john/agrsm-20080203/serial26.c:1371: warning: unused variable ‘flags’
/home/john/agrsm-20080203/serial26.c: In function ‘serial8250_config_port’:
/home/john/agrsm-20080203/serial26.c:2039: warning: unused variable ‘ret’
/home/john/agrsm-20080203/serial26.c: At top level:
/home/john/agrsm-20080203/serial26.c:2131: warning: initialization from
incompatible pointer type
/home/john/agrsm-20080203/serial26.c:2132: warning: initialization from
incompatible pointer type
/home/john/agrsm-20080203/serial26.c:1922: warning:
‘serial8250_request_rsa_resource’ defined but not used
LD [M] /home/john/agrsm-20080203/agrmodem.o
LD [M] /home/john/agrsm-20080203/agrserial.o
Building modules, stage 2.
MODPOST 2 modules
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC /home/john/agrsm-20080203/agrmodem.mod.o
LD [M] /home/john/agrsm-20080203/agrmodem.ko
CC /home/john/agrsm-20080203/agrserial.mod.o
LD [M] /home/john/agrsm-20080203/agrserial.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
debian:/home/john/agrsm-20080203#
Thank you
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.26-2-686
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,
Linux version 2.6.26-2-686 (Debian 2.6.26-15) (dannf@xxxxxxxxxx) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Mar 26 01:08:11 UTC 2009
scanModem update of: 2009_04_11
There are no blacklisted modem drivers in /etc/modprobe* files
Potentially useful modem drivers now loaded are:
If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@xxxxxxxxxxxxx
For candidate card in slot 00:0a.0, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:0a.0 11c1:048c 11c1:044c Communication controller: Agere Systems V.92 56K WinModem
Modem interrupt assignment and sharing:
===================================
The modem interrupt (IRQ) is 255 . IRQs of 0 or 255 are not functional!!
The CPU cannot control the modem until this situation is corrected!!
Possible corrections are:
1) Within the boot up BIOS, change from a Windows to a non-PNP/Other Operating System type.
Instructions for accessing BIOS are at:
http://linmodems.technion.ac.il/resources.html within: Additional Resourcces.
2a) Add an option "pci=routeirq" to the kernel boot up line.
Here is an example paragraph from /boot/grub/menu.lst :
title Ubuntu, kernel 2.6.15-26-686
root (hd0,6)
kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/hda7 ro pci=routeirq
initrd /boot/initrd.img-2.6.15-26-686
savedefault
2b) Same as above, but use "pollirq" instead of "pci=routeirq".
3) Within some BIOS setups, IRQ assignments can be changed.
4) On non-laptop systems, moving the modem card to another slot has helped.
5) Sometimes upgrading the kernel changes IRQ assignment.
=====================================
--- Bootup diagnostics for card in PCI slot 00:0a.0 ----
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===
Predictive diagnostics for card in bus 00:0a.0:
Modem chipset detected on
NAME="Communication controller: Agere Systems V.92 56K WinModem "
CLASS=0780
PCIDEV=11c1:048c
SUBSYS=11c1:044c
IRQ=255
IDENT=agrsm
For candidate modem in: 00:0a.0
0780 Communication controller: Agere Systems V.92 56K WinModem
Primary device ID: 11c1:048c
Support type needed or chipset: agrsm
Use agrsm-20080203a.tar.gz at http://linmodems.technion.ac.il/packages/ltmodem/sv92/
Read Modem/DOCs/Agrsm.txt
-------------- end Agere Systems section -------------------
Completed candidate modem analyses.
The base of the UDEV device file system is: /dev/.udev
Versions adequately match for the compiler installed: 4.1.3
and the compiler used in kernel assembly: 4.1.3
Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.1
linuc_headers base folder /lib/modules/2.6.26-2-686/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.
For Debian and some related distributions, a package kernel-kbuild-2.6-26 may be needed to support driver compiling.
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:
-rwsr-xr-- 1 root dip 269156 2008-11-28 11:48 /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
asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
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
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:
/etc/udev/rules.d/80-drivers.rules:SUBSYSTEM=="atm", RUN+="dsl-modem.agent"
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 --------
For Debian users, the linux-headers-2.6.26-2-686.deb can be used instead of kernel-source/