Re: agrmodem 048c compiles and installs but doesn't work

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

 



Patches,

It is not working because of a kernel oops/kernel panic error? from
last part of your data:

dmesg | grep -i agr
----------------------------
[11418.781429] agrmodem: module license 'Proprietary' taints kernel.
[11418.850254] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[11418.850312] agrsm: created 1 infos
[11423.574226] agrserial: Loading module Agere Modem Interface driver
version 2.1.60.0.Linspire (2005-11-16)
[11432.826219] agrsm 0000:02:09.0: PCI INT A disabled
[11432.977161] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[11432.978640] agrsm: created 1 infos
[11433.008150] agrserial: Loading module Agere Modem Interface driver
version 2.1.60.0.Linspire (2005-11-16)
[11435.161155]  [<f952c068>] ? wrap_LX_isr_handler+0x0/0x18 [agrmodem]
[11435.161209]  [<f952c22a>] x_request_irq+0x20/0x22 [agrmodem]
[11435.161276]  [<f95e3189>] lin_isr_obtain+0x39/0x50 [agrmodem]
[11435.161337]  [<f95e3130>] ? LX_isr_handler+0x0/0x20 [agrmodem]
[11435.161404]  [<f95d4329>] LXHardwareCommonStartISR+0xf9/0x170 [agrmodem]
[11435.161472]  [<f95d4540>] ? LXHardwareCommonTopHalf+0x0/0xe0 [agrmodem]
[11435.161539]  [<f95dcc10>] CodecInstallIsr+0x20/0x50 [agrmodem]
[11435.161597]  [<f95ef55d>] CAcadiaInit+0x18d/0x520 [agrmodem]
[11435.161665]  [<f95d3350>] LXHardwareStart+0x3b0/0xe40 [agrmodem]
[11435.161759]  [<f95d2318>] linux_modem_open+0x48/0x110 [agrmodem]
[11435.161809]  [<f952c113>] modemPortOpen+0xd/0x17 [agrmodem]
[11435.161819]  [<f7879b58>] serial8250_startup+0x3e/0x26e [agrserial]

If you try a newer kernel, does it do the same?

Regards,

Antonio

On Thu, Jan 13, 2011 at 2:33 PM, Patches Houlihan
<patchesthecaveman@xxxxxxxxx> wrote:
> The driver for my agrmodem 048c compiles successfully (though I do get
> some warnings shown below) and the module loads and appears to
> recognize the modem, but wvdial in agrsm-test fails to recognize the
> modem.  I have verified that the modem works fine in Windows.
>
> Thank you for any suggestions you can offer.
>
> ModemData.txt
> ---------------------
>  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.35.6-45.fc14.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.23
> Linux version 2.6.35.6-45.fc14.i686
> (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.5.1 20100924
> (Red Hat 4.5.1-4) (GCC) ) #1 SMP Mon Oct 18 23:56:17 UTC 2010
>  scanModem update of:  2010_12_12
>
> /etc/lsb-release not found
>
>
> Presently install your Linux Distributions dkms package. It provides
> for automated driver updates,
> following upgrade of your kernel.  For details see
> http://linux.dell.com/projects.shtml#dkms
>
>  There are no blacklisted modem drivers in /etc/modprobe*  files
>
>  Potentially useful modem drivers now loaded are:
>            agrmodem agrserial
>
> Attached USB devices are:
>  ID 1038:0100 Ideazon, Inc. Zboard
>  ID 03eb:3301 Atmel Corp. at43301 4-Port Hub
>  ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
>  ID 0bc2:3008 Seagate RSS LLC
> 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:09.0 Communication controller: Agere Systems V.92 56K WinModem (rev 03)
> High Definition Audio cards can host modem chips.
>
> For candidate card in slot 02:09.0, firmware information and bootup
> diagnostics are:
>  PCI slot       PCI ID          SubsystemID     Name
>  ----------     ---------       ---------       --------------
>  02:09.0        11c1:048c       11c1:044c       Communication
> controller: Agere Systems V.92 56K WinModem
>
>  Modem interrupt assignment and sharing:
>  18:     119466   IO-APIC-fasteoi   uhci_hcd:usb4, eth0
>  --- Bootup diagnostics for card in PCI slot 02:09.0 ----
> [    0.122480] pci 0000:02:09.0: reg 10: [mem 0xfe1ffc00-0xfe1ffcff]
> [    0.122492] pci 0000:02:09.0: reg 14: [io  0xecf8-0xecff]
> [    0.122503] pci 0000:02:09.0: reg 18: [io  0xe800-0xe8ff]
> [    0.122552] pci 0000:02:09.0: supports D2
> [    0.122556] pci 0000:02:09.0: PME# supported from D2 D3hot D3cold
> [    0.122564] pci 0000:02:09.0: PME# disabled
> [11418.850254] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [11432.826219] agrsm 0000:02:09.0: PCI INT A disabled
> [11432.977161] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
>
>  The PCI slot 02:09.0 of the modem card may be disabled early in
>  a bootup process,  but then enabled later. If modem drivers load
>  but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
>  Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
>  if help is needed.
>
>
> === Finished firmware and bootup diagnostics, next deducing cogent software. ===
>
> Predictive  diagnostics for card in bus 02:09.0:
>        Modem chipset  detected on
> NAME="Communication controller: Agere Systems V.92 56K WinModem "
> CLASS=0780
> PCIDEV=11c1:048c
> SUBSYS=11c1:044c
> IRQ=18
> IDENT=agrsm
>
>  For candidate modem in:  02:09.0
>   0780 Communication controller: Agere Systems V.92 56K WinModem
>      Primary device ID:  11c1:048c
>  Support type needed or chipset:        agrsm
>
>
>
> The AgereSystems/LSI agrsm code supports compiling of a agrmodem +
> agrserial driver pair.
> There are a few different chipsets which use this driver pair, but
> they use different code resources:
> Chipsets                        KV*     PackageNames (most current as
> of November 2009)
> ----------------------------------------------------------------------------------------------
> 11c1:048c and 11c1:048f         2.6.29
> agrsm048pci-2.1.60_20100108_i386.deb or
> agrsm048pci-2.1.60_20100108.tar.gz
> 11c1:0620                       2.6.31
> agrsm06pci-2.1.80_20100106_i386.deb or
> agrsm06pci-2.1.80~20100106.tar.gz !!
> 11c11040 (on HDA audio cards)   2.6.31
> agrsm-11c11040_20091225_i386.deb or
> agrsm-11c11040-2.1.80~20091225.tar.bz2  !!
>   All available at:
> http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
> Additionally there are;
> automation & testing                    agrsm-tools_0.0.1_all.deb or
> agrsm-tools-0.0.1-2.noarch.rpm
> General background                      agrsm_howto.txt
> ------------------------------------------------------------------------------------------------
> * KV == latest kernel release with a reported success
> !! Latest update with major credit to  Nikolay Zhuravlev
>   But see conflict issue:
> http://linmodems.technion.ac.il/bigarch/archive-nineth/msg02753.html
>   For the 11c11040 chip with kernels 2.6.31 and later a change in a
> modules loading settingmay be necessary.
>   Within the file /etc/modprobe.d/alsa-base.conf  (or equivalent for
> your Distro), change the phrase:
>      options snd-hda-intel power_save=10
>   to:
>      options snd-hda-intel power_save=0
>   or the agrsm drivers will not function. For Ubuntu related systems
> this can be done with:
>   $ sudo gedit /etc/modprobe.d/alsa-base.conf
>
> Report from  Bjorn Wielens:
> Please note- trying to load the modules on a OpenSuSE 11.2 system gives
>  an error about the module_version symbol. Using:
> # modprobe --force agrmodem
> # modprobe --force agrserial
> is necessary to load the drivers, and does not appear to cause ill effects.
>
>
> All of the above packages are dkms competent.  This means that if your
> Linux distros dkms package
> is previously installed, if provides for future updates matching
> forthcoming kernels.
>
> -------------- 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.5.1
>             and the compiler used in kernel assembly: 4.5.1
>
>  linux-headers-2.6.35.6-45.fc14.i686 resources needed for compiling
> are not manifestly ready!
>  The patch utility is needed for compiling ALSA drivers, and possibly others.
>
>  If compiling is necessary packages must be installed, providing:
>
>
>
> 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 350632 Jun 16  2010 /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:
> /etc/modprobe.d/agrsm.conf:## setup agrsm modem with only: "sudo
> modprobe agrserial"
> /etc/modprobe.d/agrsm.conf:install agrserial /sbin/modprobe
> --ignore-install agrmodem ; /sbin/modprobe --ignore-install agrserial
> && \
> /etc/modprobe.d/agrsm.conf:remove agrserial /sbin/modprobe -r
> --ignore-remove agrserial ; /sbin/modprobe -r --ignore-remove agrmodem
> && { if test -L /dev/ttySAGR; then rm /dev/ttySAGR; fi } ; true
> /etc/modprobe.d/agrsm.conf:# to automate bootup  "sudo modprobe agrmodem"
> /etc/modprobe.d/agrsm.conf:## to setup agrsm modem with only: "sudo
> modprobe agrmodem"
> /etc/modprobe.d/agrsm.conf:# install agrmodem /sbin/modprobe
> --ignore-install agrmodem && \
> /etc/modprobe.d/agrsm.conf:## of effects of agrmodem and agrserial loading
>     Within any ancient /etc/devfs files:
>
>     Within ancient kernel 2.4.n /etc/module.conf files:
>
> --------- end modem support lines --------
>
>
> agrsm-test
> ---------------
>
> Found drivers for boot kernel 2.6.35.6-45.fc14.i686 at:
> find: paths must precede expression: agrserial.ko
> Usage: find [-H] [-L] [-P] [-Olevel] [-D
> help|tree|search|stat|rates|opt|exec] [path...] [expression]
>
>
>
> Loading drivers:
>
> Drivers loaded:
> agrserial               8586  0
> agrmodem             1182405  1 agrserial
>
> and symbolic link created:
> lrwxrwxrwx. 1 root root 12 Jan 13 12:17 /dev/ttySAGR -> /dev/ttyAGS3
>
> Checking for utility wvdialconf
> Found /usr/bin/wvdialconf, preparing to run:
>        wvdialconf /etc/wvdial.conf
> A file /etc/wvdial.conf already exists, first renaming to
> /etc/wvdial.201101131701
>
> ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
> ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
> ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
> Modem Port Scan<*1>: S1   S2   S3
> ttySAGR<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
> ttySAGR<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
> ttySAGR<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
>
> A reboot may be necessary before modem detection through:
>        sudo modprobe agrserial
> Which will load agrmodem, agrserial and create the symbolic link needed for:
>        sudo wvdialconf
>
>
> The installation record has been written to ./agrsm-test.txt
>
> make
> -----------
> make -C /lib/modules/2.6.35.6-45.fc14.i686/build
> SUBDIRS=/home/me/Downloads/agrsm048pci-2.1.60 modules
> make[1]: Entering directory `/usr/src/kernels/2.6.35.6-45.fc14.i686'
>  CC [M]  /home/me/Downloads/agrsm048pci-2.1.60/agrsoftmodem.o
> objcopy --weaken-symbol=LXHardwareInfoCreate \
>        --weaken-symbol=LXHardwareInfoDestroy \
>        /home/me/Downloads/agrsm048pci-2.1.60/agrmodemlib.o
> /home/me/Downloads/agrsm048pci-2.1.60/agrsm_core.o
>  CC [M]  /home/me/Downloads/agrsm048pci-2.1.60/lib.o
> /home/me/Downloads/agrsm048pci-2.1.60/lib.c: In function ‘x_linux_dbg_print’:
> /home/me/Downloads/agrsm048pci-2.1.60/lib.c:109:2: warning: the frame
> size of 1540 bytes is larger than 1024 bytes
> /home/me/Downloads/agrsm048pci-2.1.60/lib.c: In function
> ‘x_linux_dbg_print_crit’:
> /home/me/Downloads/agrsm048pci-2.1.60/lib.c:120:2: warning: the frame
> size of 1540 bytes is larger than 1024 bytes
>  CC [M]  /home/me/Downloads/agrsm048pci-2.1.60/serial26.o
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c: In function
> ‘serial8250_get_mctrl’:
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:1383:16: warning:
> unused variable ‘flags’
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c: In function
> ‘serial8250_config_port’:
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:2051:6: warning:
> unused variable ‘ret’
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c: At top level:
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:2143:2: warning:
> initialization from incompatible pointer type
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:2144:2: warning:
> initialization from incompatible pointer type
> /home/me/Downloads/agrsm048pci-2.1.60/serial26.c:1933:1: warning:
> ‘serial8250_request_rsa_resource’ defined but not used
>  LD [M]  /home/me/Downloads/agrsm048pci-2.1.60/agrmodem.o
>  LD [M]  /home/me/Downloads/agrsm048pci-2.1.60/agrserial.o
>  Building modules, stage 2.
>  MODPOST 2 modules
> WARNING: could not find
> /home/me/Downloads/agrsm048pci-2.1.60/.agrsm_core.o.cmd for
> /home/me/Downloads/agrsm048pci-2.1.60/agrsm_core.o
> WARNING: modpost: Found 3 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>  CC      /home/me/Downloads/agrsm048pci-2.1.60/agrmodem.mod.o
>  LD [M]  /home/me/Downloads/agrsm048pci-2.1.60/agrmodem.ko
>  CC      /home/me/Downloads/agrsm048pci-2.1.60/agrserial.mod.o
>  LD [M]  /home/me/Downloads/agrsm048pci-2.1.60/agrserial.ko
> make[1]: Leaving directory `/usr/src/kernels/2.6.35.6-45.fc14.i686'
>
> dmesg | grep -i agr
> ----------------------------
> [11418.781429] agrmodem: module license 'Proprietary' taints kernel.
> [11418.850254] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [11418.850312] agrsm: created 1 infos
> [11423.574226] agrserial: Loading module Agere Modem Interface driver
> version 2.1.60.0.Linspire (2005-11-16)
> [11432.826219] agrsm 0000:02:09.0: PCI INT A disabled
> [11432.977161] agrsm 0000:02:09.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [11432.978640] agrsm: created 1 infos
> [11433.008150] agrserial: Loading module Agere Modem Interface driver
> version 2.1.60.0.Linspire (2005-11-16)
> [11435.161155]  [<f952c068>] ? wrap_LX_isr_handler+0x0/0x18 [agrmodem]
> [11435.161209]  [<f952c22a>] x_request_irq+0x20/0x22 [agrmodem]
> [11435.161276]  [<f95e3189>] lin_isr_obtain+0x39/0x50 [agrmodem]
> [11435.161337]  [<f95e3130>] ? LX_isr_handler+0x0/0x20 [agrmodem]
> [11435.161404]  [<f95d4329>] LXHardwareCommonStartISR+0xf9/0x170 [agrmodem]
> [11435.161472]  [<f95d4540>] ? LXHardwareCommonTopHalf+0x0/0xe0 [agrmodem]
> [11435.161539]  [<f95dcc10>] CodecInstallIsr+0x20/0x50 [agrmodem]
> [11435.161597]  [<f95ef55d>] CAcadiaInit+0x18d/0x520 [agrmodem]
> [11435.161665]  [<f95d3350>] LXHardwareStart+0x3b0/0xe40 [agrmodem]
> [11435.161759]  [<f95d2318>] linux_modem_open+0x48/0x110 [agrmodem]
> [11435.161809]  [<f952c113>] modemPortOpen+0xd/0x17 [agrmodem]
> [11435.161819]  [<f7879b58>] serial8250_startup+0x3e/0x26e [agrserial]
>



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

  Powered by Linux