Hi everybody,
this is my first post in this mailing list :-). I've recently moved back to
iran and have to connect to the internet using a slow dialup connection (
Damn, I miss the broadband internet connection I had in germany :-( ). I
use gentoo linux and am currently running the 2.6.26er kernel. I also have
the 2.6.25er kernel at disposal. I tried to get my agere modem** (11C11040
HDA) up and running following this guide:
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
but had no luck so far. The 2.6.26er kernel fails completely, i.e. the modem
kernel modules (agrmodem and agrserial) do compile properly but using them
to connect exposes a kernel bug. The kernel logs say this:
ep 21 20:25:22 [kernel] agrmodem: module license 'Proprietary' taints
kernel.
Sep 21 20:25:22 [kernel] * Hello Agere Driver **
Sep 21 20:25:24 [kernel] Loading module Agere Modem Controller driver
version 2.1.80 (2007-10-1)
Sep 21 20:25:34 [kernel] ttyAGS3 at I/O 0x4 (irq = 17) is a AgereModem
Sep 21 20:25:34 [kernel] Loading module Agere Modem Interface driver version
2.1.80.0 (2007-10-01)
Sep 21 20:29:51 [kernel] ==> codecType = 0x32
Sep 21 20:29:51 [kernel] BUG: unable to handle kernel paging request at
00b364b0
Sep 21 20:29:51 [kernel] IP: [<f8f34580>]
:agrmodem:azlGetResourceInformation+0x20/0x70
Sep 21 20:29:51 [kernel] *pde = 00000000
Sep 21 20:29:51 [kernel] Modules linked in: agrserial agrmodem(P) bluetooth
i915 snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq
snd_seq_device loop iwl3945 firmware_class snd_hda_intel mac80211 snd_pcm
ohci1394 psmouse led_class sdhci ieee1394 evdev uhci_hcd sg ehci_hcd
yenta_socket rsrc_nonstatic pcmcia_core snd_timer i2c_i801 mmc_core
ide_pci_generic snd soundcore snd_page_alloc thermal button sky2 cfg80211
processor
Sep 21 20:29:51 [kernel] Pid: 3590, comm: wvdialconf Tainted: P
(2.6.26-gentoo-r1 #2)
Sep 21 20:29:51 [kernel] EIP: 0060:[<f8f34580>] EFLAGS: 00210206 CPU: 1
Sep 21 20:29:51 [kernel] EIP is at azlGetResourceInformation+0x20/0x70
[agrmodem]
Sep 21 20:29:51 [kernel] EAX: 00b3649a EBX: f8bda0c4 ECX: f72eb000 EDX:
00000000
Sep 21 20:29:51 [kernel] ESI: f8bda0c4 EDI: f8bda028 EBP: f6fa5d58 ESP:
f6fa5d38
Sep 21 20:29:51 [kernel] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Sep 21 20:29:51 [kernel] ---[ end trace 23cbbe622dbebbf5 ]---
Sep 21 20:30:02 [cron] (root) CMD (test -x /usr/sbin/run-crons &&
/usr/sbin/run-crons )
I've used both the Alsa 1.15 and the 1.16 kernel modules. I am using the
In-Kernel drivers shipped with the kernel (on gentoo you can also use the
alsa-driver package with slightly more up to date drivers) and the version
reported is 1.16. I've nonetheless tried the 1.15er drivers to make sure
they also don't work. Using the 2.6.25er Kernel I get a little farther.
Since the 2.6.25er Kernel - I am talking about the gentoo patched kernels
that contains a number of patches and not about the vanilla kernel here -
ships alsa-1.16pre it gives me the "No stream" error mentioned on the Howto.
Thus I've used the 1.15er driver and I can at least query the modem using
Kppp. Trying to connect with the internet using wvdial or Kppp however
results in a full scale Kernel-Panik :-(. I want to make sure these issues
are related to the 2.6.25er and 2.6.26er kernel before going through the
hassle of downloading the 2.6.24er kernel sources in the hope of having more
success with it. Can anyone tell me about the state of the drivers regarding
the newer versions of the linux kernel I mentioned above?
Thanks in advance,
M. Mehdi Salem Naraghi
p.s. this is what scanModem says:
======= [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
This is kernel 2.6.26-gentoo-r1
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, This is
Linux version 2.6.26-gentoo-r1 (root@Parseh) (gcc version 4.3.1 (Gentoo
4.3.1-r1 p1.1) ) #1 SMP Mon Aug 25 04:01:44 CEST 2008
scanModem update of: 2008_08_26
There are no blacklisted modem drivers in /etc/modprobe* files
Attached USB devices are:
ID 1d6b:0002 ID 1d6b:0001 ID 1d6b:0001 ID 1d6b:0001 ID 2162:500c Creative
(?) DE5771 Modem Blaster
ID 1d6b:0001
USB modems not recognized
For candidate card in slot 00:1b.0, firmware information and bootup
diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:1b.0 8086:27d8 10cf:1397 Audio device: Intel Corporation 82801G
Modem interrupt assignment and sharing:
17: 327 0 IO-APIC-fasteoi HDA Intel, ohci1394
--- Bootup diagnostics for card in PCI slot 00:1b.0 ----
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1b.0 to 64
===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.
The ALSA verion is 1.0.16
The modem cards detected by "aplay -l" are: None
The /proc/asound/pcm file reports:
-----------------------
00-01: ALC262 Digital : ALC262 Digital : playback 1
00-00: ALC262 Analog : ALC262 Analog : playback 1 : capture 1
about /proc/asound/cards:
------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf0640000 irq 17
PCI slot 00:1b.0 has a High Definition Audio Card
The drivers are in the kernel modules tree at:
/lib/modules/2.6.25-gentoo-r1/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.25-gentoo-r4/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-tuxonice-r3/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-gentoo-r2/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-gentoo-r3/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.24-gentoo-r4/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.23-gentoo-r3/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.23-gentoo-r6/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.26-gentoo-r1/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.22-gentoo-r5/alsa-driver/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.22-gentoo-r9/alsa-driver/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.25-rc2/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.25-rc3/kernel/sound/pci/hda/snd-hda-intel.ko
The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: LSI ID 1040
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11c10001
Revision Id: 0x100200
Modem Function Group: 0x1
The audio card hosts a softmodem chip: 0x11c11040
If not a Conexant modem, the driver agrmodem+agrserial+patched_snd-hda-intel
with its dependent drivers:
----------
provide audio + modem support with the modem chip residing on the subsystem.
Any particular card can host any one of several soft modem chips.
=== Finished firmware and bootup diagnostics, next deducing cogent software.
===
Predictive diagnostics for card in bus 00:1b.0:
Modem chipset detected on
NAME="Audio device: Intel Corporation 82801G "
CLASS=0403
PCIDEV=8086:27d8
SUBSYS=10cf:1397
IRQ=17
HDA=8086:27d8
SOFT=8086:27d8.HDA
CHIP=0x11c11040
IDENT=11c11040
Driver=agrmodem+agrserial+patched_snd-hda-intel
For candidate modem in: 00:1b.0
0403 Audio device: Intel Corporation 82801G
Primary device ID: 8086:27d8
Subsystem PCI_id 10cf:1397
Softmodem codec or chipset from diagnostics: 0x11c11040
from Archives:
The HDA card softmodem chip is 0x11c11040
Support type needed or chipset: 11c11040
----------------end Softmodem section --------------
Writing DOCs/Intel.txt
Vendor 11c1 is Lucent Technologies with modem technology now under LSI Inc.
Their Linux code developer/maintainer is Soumyendu Sarkar. Support for a
chipset and its
continued maintenance is only initiated at the request of a major chipset
buyer,
or comparable sponsor. Several different modem chipset types are produced:
with varying support under Linux.
Device ID Support Name Comment
--------- ------------- ----------- -----------------------------
0480 serial_drivers Venus controller chipset 1673JV7
0440-045d martian Mars/Apollo DSP (digital signal processing)
chipsets
0462 none 56K.V90/ADSL Wildwire
048d none SV2P soft modem
048(c or f) AGRSM SV2P soft modem
0600 none soft modem, very few in the field.
0620 AGRSM Pinball soft modem, in some HP desktop PCs
011c11040 AGRSM hosted on High Definition Audio cards
062(1-3) none SV92PP,Pinball soft modem, in some HP desktop
PCs
martian - At
http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/
AGRSM - At http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
Compiling resources for a driver module pair: agrmodem.ko + agrserial.ko
Use the agrsm-HDA-20080721-ALSA15.tar.bz2 or agrsm-HDA-20080721.tar.bz2
Read the agrsm_howto.txt. For 11c11040 chips, also the
HOWTO-Agere-11c11040-HDA.html
-------------- 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.3.1
and the compiler used in kernel assembly: 4.3.1
Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.3
linuc_headers base folder /lib/modules/2.6.26-gentoo-r1/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-s--x--x 1 root root 256644 Jun 29 23:28 /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
Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 wlan0
wmaster0
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:
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",
NAME="modems/mwave", GROUP="uucp"
Within /etc/modprobe.conf files:
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
/etc/modules.conf:### update-modules: start processing
/etc/modules.d/slmodem
/etc/modules.conf:# slmodem 2.9.x kernel modules' configuration file
/etc/modules.conf:### update-modules: end processing /etc/modules.d/slmodem
--------- end modem support lines --------
====== end of ModemData.txt ======