|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
success in building agrsm for ubuntu karmicAll,
I have been able to build and load agrsm for Ubuntu 9.10 dev release (kernel 2.6.31-13-generic). I could load the kernel modules, but would like to know how to test if my modem works. I do not have a PPP dialup account as of now. Can some one please suggest on how to test this out and what features would work? Regards, Shaji |
|
|
Re: success in building agrsm for ubuntu karmicwebkitdev@... wrote:
> All, > > I have been able to build and load agrsm for Ubuntu 9.10 dev release > (kernel 2.6.31-13-generic). I could load the kernel modules, but would > like to know how to test if my modem works. I do not have a PPP dialup > account as of now. Can some one please suggest on how to test this out > and what features would work? > > Regards, > Shaji > There are two steps. After loading the module, do sudo wvdialconf /etc/wvdial.conf If it finds the modem, your success is great. Then edit the file /etc/wvdial.conf There are three lines starting with a ; (semi colon). In these 3 lines: Remove the ; Remove the < Remove the > Modify the phone line to Phone = 1234567 but replace 1234567 by a phone number close to you so that you can hear it it rings. Make sure that there is a line Carrier Check = no in the file. Save and exit the editor. Now, just try sudo wvdial and listen if the dialled phone number rings (no sound from the modem; be enar that phone number or ask somebody to listen for you, a friend probably. If the dialled number rings, this is a very great step ahead. In which country/city do you live? Needed to try to find a free service nearby. Jacques |
|
|
Re: success in building agrsm for ubuntu karmicThanks Jacques.
Using wvdial, I am getting a kernel OOPS.. will look at this more closely .. Shaji [ 981.902086] * Hello Agere Driver ** [ 981.902158] usbcore: registered new interface driver agr12dec2006 [ 984.510433] Loading module Agere Modem Controller driver version 2.1.80 (2007-10-01) [ 989.115374] ttyAGS3 at I/O 0x400 (irq = 18) is a AgereModem [ 989.115533] Loading module Agere Modem Interface driver version 2.1.80.0 (2007-10-01) [ 1043.645147] ==> codecType = 0x32 [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference at 0000003c [ 1043.645210] IP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] [ 1043.645324] *pde = 00000000 [ 1043.645333] Oops: 0000 [#1] SMP [ 1043.645342] last sysfs file: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1/voltage_n ow [ 1043.645352] Modules linked in: agrserial agrmodem binfmt_misc ppdev bridge stp bnep snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss arc4 ecb btusb snd_mixer_oss ath5k snd_pcm snd_seq_dummy mac80211 snd_seq_oss snd_seq_midi ath iptable_filter uvcvideo snd_rawmidi joydev snd_seq_midi_event dm_crypt ip_tables x_tables videodev v4l1_compat snd_seq k8temp acer_wmi snd_timer snd_seq_device sdhci_pci sdhci led_class cfg80211 ricoh_mmc snd i2c_nforce2 nvidia(P) agpgart soundcore snd_page_alloc psmouse serio_raw lp parport ohci1394 ieee1394 video output forcedeth [ 1043.645465] [ 1043.645476] Pid: 2796, comm: cp Tainted: P (2.6.31-13-generic #45-Ubuntu) Aspire 4520 [ 1043.645486] EIP: 0060:[<fb959868>] EFLAGS: 00010246 CPU: 1 [ 1043.645565] EIP is at setResumeCallBack+0x8/0x20 [agrmodem] [ 1043.645573] EAX: 00000000 EBX: f81bc0c4 ECX: f6a27500 EDX: 00000000 [ 1043.645580] ESI: f81bc0c4 EDI: f81bc028 EBP: f67e9d00 ESP: f67e9d00 [ 1043.645587] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 1043.645596] Process cp (pid: 2796, ti=f67e8000 task=f69657f0 task.ti=f67e8000) [ 1043.645601] Stack: [ 1043.645606] f67e9d20 fb944765 fb929470 f81c65ea f67e9d20 c056a25e fb972c73 f67e9d6f [ 1043.645624] <0> f67e9d90 fb92d9e1 f81bc0c4 f8121048 00000008 00000001 f81bc39c 00000004 [ 1043.645641] <0> c15e4120 00000000 c077dd60 00000000 c01b468d 00000001 00000041 ffffffff [ 1043.645661] Call Trace: [ 1043.645756] [<fb944765>] ? CAzlIntelInit+0x39/0x3c4 [agrmodem] [ 1043.645855] [<fb929470>] ? ResumeCallBack+0x0/0x34 [agrmodem] [ 1043.645884] [<c056a25e>] ? printk+0x18/0x1a [ 1043.645985] [<fb92d9e1>] ? LXHardwareStart+0x11de/0x13fb [agrmodem] [ 1043.646014] [<c01b468d>] ? get_page_from_freelist+0x1bd/0x360 [ 1043.646028] [<c056c61a>] ? _spin_lock_irqsave+0x2a/0x40 [ 1043.646126] [<fb929198>] ? linux_modem_open+0x45/0x10e [agrmodem] [ 1043.646153] [<c014d48b>] ? mod_timer+0xcb/0x140 [ 1043.646215] [<fb883298>] ? wrap_linux_modem_open+0x8/0x10 [agrmodem] [ 1043.646276] [<fb8832f8>] ? modemPortOpen+0x8/0x20 [agrmodem] [ 1043.646290] [<f8125ff0>] ? serial8250_startup+0x210/0x380 [agrserial] [ 1043.646303] [<c03956b6>] ? uart_startup+0x46/0x140 [ 1043.646313] [<c03961f2>] ? uart_open+0x102/0x220 [ 1043.646325] [<c037d2a3>] ? __tty_open+0x1a3/0x460 [ 1043.646334] [<c037d57f>] ? tty_open+0x1f/0x40 [ 1043.646345] [<c01e6e4d>] ? chrdev_open+0xcd/0x190 [ 1043.646358] [<c01e1ff9>] ? __dentry_open+0xb9/0x230 [ 1043.646368] [<c01e2255>] ? nameidata_to_filp+0x55/0x70 [ 1043.646377] [<c01e6d80>] ? chrdev_open+0x0/0x190 [ 1043.646387] [<c01efd8a>] ? do_filp_open+0x53a/0x890 [ 1043.646398] [<c01dfbde>] ? mem_cgroup_update_mapped_file_stat+0x1e/0x70 [ 1043.646410] [<c01e1d90>] ? do_sys_open+0x50/0x150 [ 1043.646420] [<c01e1ef9>] ? sys_open+0x29/0x40 [ 1043.646430] [<c010334c>] ? syscall_call+0x7/0xb [ 1043.646436] Code: 74 26 00 89 15 8c c0 9a fb 8b 52 04 8b 45 08 83 e2 0f 88 10 5d c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 a1 8c c0 9a fb 55 89 e5 <8b> 50 3c 89 15 84 c0 9a fb 8b 55 08 89 50 3c b8 01 00 00 00 5d [ 1043.646533] EIP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] SS:ESP 0068:f67e9d00 [ 1043.646618] CR2: 000000000000003c [ 1043.646626] ---[ end trace 9cef1f4c85d99e1f ]--- -----Original Message----- From: Jacques Goldberg <Jacques.Goldberg@...> To: webkitdev@... Cc: discuss@... Sent: Wed, Oct 21, 2009 10:18 pm Subject: Re: success in building agrsm for ubuntu karmic webkitdev@... wrote: > All, > > I have been able to build and load agrsm for Ubuntu 9.10 dev release > (kernel 2.6.31-13-generic). I could load the kernel modules, but would > like to know how to test if my modem works. I do not have a PPP dialup > account as of now. Can some one please suggest on how to test this out > and what features would work? > > Regards, > Shaji > First thing, try wvdial There are two steps. After loading the module, do sudo wvdialconf /etc/wvdial.conf If it finds the modem, your success is great. Then edit the file /etc/wvdial.conf There are three lines starting with a ; (semi colon). In these 3 lines: Remove the ; Remove the < Remove the > Modify the phone line to Phone = 1234567 but replace 1234567 by a phone number close to you so that you can hear it it rings. Make sure that there is a line Carrier Check = no in the file. Save and exit the editor. Now, just try sudo wvdial and listen if the dialled phone number rings (no sound from the modem; be enar that phone number or ask somebody to listen for you, a friend probably. If the dialled number rings, this is a very great step ahead. In which country/city do you live? Needed to try to find a free service nearby. Jacques = |
|
|
Re: success in building agrsm for ubuntu karmic Shaji
There are three (at least) different agrsm code packages, for the various Agere chipsets. Please run scanModem and send us the ModemData.txt output, to more precisely identify your chipset. There are alternate ALSA drivers for some Agere/LSI chipsets. Which code package did you use to compile your driver?? An alternative may evade your problem: [ 989.115533] Loading module Agere Modem Interface driver version 2.1.80.0 (2007-10-01) [ 1043.645147] ==> codecType = 0x32 [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference at 0000003c etc. MarvS scanModem maintainer On Wed, Oct 21, 2009 at 1:38 PM, <webkitdev@...> wrote: > Thanks Jacques. > > Using wvdial, I am getting a kernel OOPS.. will look at this more closely .. > > Shaji > > [ 981.902086] * Hello Agere Driver ** > [ 981.902158] usbcore: registered new interface driver agr12dec2006 > [ 984.510433] Loading module Agere Modem Controller driver version 2.1.80 > (2007-10-01) > [ 989.115374] ttyAGS3 at I/O 0x400 (irq = 18) is a AgereModem > [ 989.115533] Loading module Agere Modem Interface driver version 2.1.80.0 > (2007-10-01) > [ 1043.645147] ==> codecType = 0x32 > [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference at > 0000003c > [ 1043.645210] IP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] > [ 1043.645324] *pde = 00000000 > [ 1043.645333] Oops: 0000 [#1] SMP > [ 1043.645342] last sysfs file: > /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1/voltage_n > ow > [ 1043.645352] Modules linked in: agrserial agrmodem binfmt_misc ppdev > bridge stp bnep snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep > snd_pcm_oss arc4 ecb btusb snd_mixer_oss ath5k snd_pcm snd_seq_dummy > mac80211 snd_seq_oss snd_seq_midi ath iptable_filter uvcvideo snd_rawmidi > joydev snd_seq_midi_event dm_crypt ip_tables x_tables videodev v4l1_compat > snd_seq k8temp acer_wmi snd_timer snd_seq_device sdhci_pci sdhci led_class > cfg80211 ricoh_mmc snd i2c_nforce2 nvidia(P) agpgart soundcore > snd_page_alloc psmouse serio_raw lp parport ohci1394 ieee1394 video output > forcedeth > [ 1043.645465] > [ 1043.645476] Pid: 2796, comm: cp Tainted: P (2.6.31-13-generic > #45-Ubuntu) Aspire 4520 > [ 1043.645486] EIP: 0060:[<fb959868>] EFLAGS: 00010246 CPU: 1 > [ 1043.645565] EIP is at setResumeCallBack+0x8/0x20 [agrmodem] > [ 1043.645573] EAX: 00000000 EBX: f81bc0c4 ECX: f6a27500 EDX: 00000000 > [ 1043.645580] ESI: f81bc0c4 EDI: f81bc028 EBP: f67e9d00 ESP: f67e9d00 > [ 1043.645587] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 > [ 1043.645596] Process cp (pid: 2796, ti=f67e8000 task=f69657f0 > task.ti=f67e8000) > [ 1043.645601] Stack: > [ 1043.645606] f67e9d20 fb944765 fb929470 f81c65ea f67e9d20 c056a25e > fb972c73 f67e9d6f > [ 1043.645624] <0> f67e9d90 fb92d9e1 f81bc0c4 f8121048 00000008 00000001 > f81bc39c 00000004 > [ 1043.645641] <0> c15e4120 00000000 c077dd60 00000000 c01b468d 00000001 > 00000041 ffffffff > [ 1043.645661] Call Trace: > [ 1043.645756] [<fb944765>] ? CAzlIntelInit+0x39/0x3c4 [agrmodem] > [ 1043.645855] [<fb929470>] ? ResumeCallBack+0x0/0x34 [agrmodem] > [ 1043.645884] [<c056a25e>] ? printk+0x18/0x1a > [ 1043.645985] [<fb92d9e1>] ? LXHardwareStart+0x11de/0x13fb [agrmodem] > [ 1043.646014] [<c01b468d>] ? get_page_from_freelist+0x1bd/0x360 > [ 1043.646028] [<c056c61a>] ? _spin_lock_irqsave+0x2a/0x40 > [ 1043.646126] [<fb929198>] ? linux_modem_open+0x45/0x10e [agrmodem] > [ 1043.646153] [<c014d48b>] ? mod_timer+0xcb/0x140 > [ 1043.646215] [<fb883298>] ? wrap_linux_modem_open+0x8/0x10 [agrmodem] > [ 1043.646276] [<fb8832f8>] ? modemPortOpen+0x8/0x20 [agrmodem] > [ 1043.646290] [<f8125ff0>] ? serial8250_startup+0x210/0x380 [agrserial] > [ 1043.646303] [<c03956b6>] ? uart_startup+0x46/0x140 > [ 1043.646313] [<c03961f2>] ? uart_open+0x102/0x220 > [ 1043.646325] [<c037d2a3>] ? __tty_open+0x1a3/0x460 > [ 1043.646334] [<c037d57f>] ? tty_open+0x1f/0x40 > [ 1043.646345] [<c01e6e4d>] ? chrdev_open+0xcd/0x190 > [ 1043.646358] [<c01e1ff9>] ? __dentry_open+0xb9/0x230 > [ 1043.646368] [<c01e2255>] ? nameidata_to_filp+0x55/0x70 > [ 1043.646377] [<c01e6d80>] ? chrdev_open+0x0/0x190 > [ 1043.646387] [<c01efd8a>] ? do_filp_open+0x53a/0x890 > [ 1043.646398] [<c01dfbde>] ? mem_cgroup_update_mapped_file_stat+0x1e/0x70 > [ 1043.646410] [<c01e1d90>] ? do_sys_open+0x50/0x150 > [ 1043.646420] [<c01e1ef9>] ? sys_open+0x29/0x40 > [ 1043.646430] [<c010334c>] ? syscall_call+0x7/0xb > [ 1043.646436] Code: 74 26 00 89 15 8c c0 9a fb 8b 52 04 8b 45 08 83 e2 0f > 88 10 5d c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 a1 8c c0 9a fb 55 89 e5 > <8b> 50 3c 89 15 84 c0 9a fb 8b 55 08 89 50 3c b8 01 00 00 00 5d > [ 1043.646533] EIP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] > SS:ESP 0068:f67e9d00 > [ 1043.646618] CR2: 000000000000003c > [ 1043.646626] ---[ end trace 9cef1f4c85d99e1f ]--- > > > > -----Original Message----- > From: Jacques Goldberg <Jacques.Goldberg@...> > To: webkitdev@... > Cc: discuss@... > Sent: Wed, Oct 21, 2009 10:18 pm > Subject: Re: success in building agrsm for ubuntu karmic > > > > > > > > webkitdev@... wrote: > > >> All, > >> > >> I have been able to build and load agrsm for Ubuntu 9.10 dev release >> (kernel 2.6.31-13-generic). I could load the kernel modules, but > > would >> >> like to know how to test if my modem works. I do not have a PPP > > dialup >> >> account as of now. Can some one please suggest on how to test this > > out >> >> and what features would work? > >> > >> Regards, > >> Shaji > >> > > First thing, try wvdial > > There are two steps. > > After loading the module, do sudo wvdialconf /etc/wvdial.conf > > If it finds the modem, your success is great. > > Then edit the file /etc/wvdial.conf > > > There are three lines starting with a ; (semi colon). In these 3 lines: > > Remove the ; > > Remove the < > > Remove the > > > Modify the phone line to Phone = 1234567 but replace 1234567 by > a phone number close to you so that you can hear it it rings. > > Make sure that there is a line > > Carrier Check = no > > in the file. > > Save and exit the editor. > > Now, just try sudo wvdial and listen if the dialled phone > number rings (no sound from the modem; be enar that phone number or ask > somebody to listen for you, a friend probably. > > > If the dialled number rings, this is a very great step ahead. > > > In which country/city do you live? Needed to try to find a free service > nearby. > > > Jacques > > > > > > > > > > > > > > > > > = > |
|
|
Re: success in building agrsm for ubuntu karmicThanks Marvin.
Below is the scanmodem output. I have downloaded the agrsm from : http://linux.zsolttech.com/linmodem/agrsm/Testing/dkms-agrsm_2.1.80-9mdv2009.0_i386.deb I have made minor fixes to get it compile with 2.6.31. Please let me know if you see something interesting or you need more information. Regards, Shaji -------------------------- System information ---------------------------- CPU=i686, Linux version 2.6.31-13-generic (buildd@rothera) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu7) ) #45-Ubuntu SMP Tue Oct 13 02:08:03 UTC 2009 scanModem update of: 2009_09_15 The dkms driver upgrade utilities are installed, There are no blacklisted modem drivers in /etc/modprobe* files Potentially useful modem drivers now loaded are: snd_hda_intel Attached USB devices are: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth 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@... For candidate card in slot 00:07.0, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:07.0 10de:055c 1025:0127 Audio device: nVidia Corporation MCP67 High Definition Audio Modem interrupt assignment and sharing: 18: 4 1478 IO-APIC-fasteoi ehci_hcd:usb2, HDA Intel --- Bootup diagnostics for card in PCI slot 00:07.0 ---- [ 1.138452] pci 0000:00:07.0: reg 10 32bit mmio: [0xf4480000-0xf4483fff] [ 1.138481] pci 0000:00:07.0: PME# supported from D3hot D3cold [ 1.138485] pci 0000:00:07.0: PME# disabled [ 1.139357] pci 0000:07:00.0: reg 10 64bit mmio: [0xf4000000-0xf400ffff] [ 14.806907] ath5k 0000:07:00.0: PCI INT A -> Link[LK3E] -> GSI 19 (level, low) -> IRQ 19 [ 14.806917] ath5k 0000:07:00.0: setting latency timer to 64 [ 14.806971] ath5k 0000:07:00.0: registered as 'phy0' [ 15.612332] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 18 (level, low) -> IRQ 18 [ 15.612364] HDA Intel 0000:00:07.0: setting latency timer to 64 [ 16.264883] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:07.0/input/input9 The PCI slot 00:07.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@... if help is needed. ===== 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.20 The modem cards detected by "aplay -l" are: None The /proc/asound/pcm file reports: ----------------------- 00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 1 00-01: ALC268 Digital : ALC268 Digital : playback 1 00-02: ALC268 Analog : ALC268 Analog : capture 1 about /proc/asound/cards: ------------------------ 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf4480000 irq 18 PCI slot 00:07.0 has a High Definition Audio Card The drivers are in the kernel modules tree at: /lib/modules/2.6.31-13-generic/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 Function Id: 0x2 Vendor Id: 0x11c11040 Subsystem Id: 0x10250127 Revision Id: 0x100200 Modem Function Group: 0x1 The audio card hosts a softmodem chip: 0x11c11040 If not a Conexant modem, the driver agrsm 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:07.0: Modem chipset detected on NAME="Audio device: nVidia Corporation MCP67 High Definition Audio " CLASS=0403 PCIDEV=10de:055c SUBSYS=1025:0127 IRQ=18 HDA=10de:055c SOFT=10de:055c.HDA HDAchipVendorID=11c1 CHIP=0x11c11040 IDENT=agrsm Driver=agrsm For candidate modem in: 00:07.0 0403 Audio device: nVidia Corporation MCP67 High Definition Audio Primary device ID: 10de:055c Subsystem PCI_id 1025:0127 Softmodem codec or chipset from diagnostics: 0x11c11040 from Archives: The HDA card softmodem chip is 0x11c11040 Support type needed or chipset: agrsm The AgereSystems/LSI agrsm code supports compiling of a agrmodem + agrsm driver pair. One resource site is http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ Thereat get the agrsm_howto.txt and one of the agrsm-tools packages. The initial agrsm_howto.txt compiling steps are only cogent to modems with PCI IDs: 11c1:0620, 11c1:048c and 11c1:048f chips. They use the agrsm-20090418.tar.gz package. The agrsm-tools sets a useful symbolic link and a agrsm-test utlity For AgereSystems/LSI with Vendor 11c1 chips hosted on High Definition Audio cards, there may be support through the agrsm resources (providing an agrmodem + agrserial driver pair) as an alternative to usage of the snd-hda-intel driver + slmodemd helper. For the 11c11040 modem chip, ONLY the agrsm code is competent. Your Linux distro's dkms package should be first installed, as it directs the installation of modem specific dkms-agrsm resources, and also directs auto-installation of new drivers upon kernel upgrades. Currently, the dkms-agrsm code is NOT competent for 2.26.28 and later kernels. A short term fix is to install linux-image + linux-headers packages for earlier kernels. For detailed instructions for Ubuntu Jaunty with 2.6.28 kernels, see http://linmodems.technion.ac.il/bigarch/archive-nineth/msg01316.html The primary dkms-agrsm resource site is http://linux.zsolttech.com/linmodem/agrsm/ whereat a few different packaging types are available. Debian type installers (supporting Ubuntu too) are copied to http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ . Thereat the current package is the dkms-agrsm_2.1.80-6_i386.deb is for Agere/LSI chipsets hosted on High Definition Audio cards. Read the Modem/DOCs/Agrsm.txt for details. -------------- 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.4.1 and the compiler used in kernel assembly: 4.4.1 Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.4 linuc_headers base folder /lib/modules/2.6.31-13-generic/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: -rwsr-xr-- 1 root dip 277352 2009-02-20 22:55 /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) sudo chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes sudo chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options asyncmap 0 noauth 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 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: Within /etc/modprobe.conf files: /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2 /etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines -------- -----Original Message----- From: Marvin Stodolsky <marvin.stodolsky@...> To: webkitdev@... Cc: discuss@... Sent: Thu, Oct 22, 2009 4:37 am Subject: Re: success in building agrsm for ubuntu karmic Shaji There are three (at least) different agrsm code packages, for the various Agere chipsets. Please run scanModem and send us the ModemData.txt output, to more precisely identify your chipset. There are alternate ALSA drivers for some Agere/LSI chipsets. Which code package did you use to compile your driver?? An alternative may evade your problem: [ 989.115533] Loading module Agere Modem Interface driver version 2.1.80.0 (2007-10-01) [ 1043.645147] ==> codecType = 0x32 [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference at 0000003c etc. MarvS scanModem maintainer On Wed, Oct 21, 2009 at 1:38 PM, <webkitdev@...> wrote: > Thanks Jacques. > > Using wvdial, I am getting a kernel OOPS.. will look at this more closely .. > > Shaji > > [ 981.902086] * Hello Agere Driver ** > [ 981.902158] usbcore: registered new interface driver agr12dec2006 > [ 984.510433] Loading module Agere Modem Controller driver version 2.1.80 > (2007-10-01) > [ 989.115374] ttyAGS3 at I/O 0x400 (irq = 18) is a AgereModem > [ 989.115533] Loading module Agere Modem Interface driver version 2.1.80.0 > (2007-10-01) > [ 1043.645147] ==> codecType = 0x32 > [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference at > 0000003c > [ 1043.645210] IP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] > [ 1043.645324] *pde = 00000000 > [ 1043.645333] Oops: 0000 [#1] SMP > [ 1043.645342] last sysfs file: > /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1/voltage_n > ow > [ 1043.645352] Modules linked in: agrserial agrmodem binfmt_misc ppdev > bridge stp bnep snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep > snd_pcm_oss arc4 ecb btusb snd_mixer_oss ath5k snd_pcm snd_seq_dummy > mac80211 snd_seq_oss snd_seq_midi ath iptable_filter uvcvideo snd_rawmidi > joydev snd_seq_midi_event dm_crypt ip_tables x_tables videodev v4l1_compat > snd_seq k8temp acer_wmi snd_timer snd_seq_device sdhci_pci sdhci led_class > cfg80211 ricoh_mmc snd i2c_nforce2 nvidia(P) agpgart soundcore > snd_page_alloc psmouse serio_raw lp parport ohci1394 ieee1394 video output > forcedeth > [ 1043.645465] > [ 1043.645476] Pid: 2796, comm: cp Tainted: P (2.6.31-13-generic > #45-Ubuntu) Aspire 4520 > [ 1043.645486] EIP: 0060:[<fb959868>] EFLAGS: 00010246 CPU: 1 > [ 1043.645565] EIP is at setResumeCallBack+0x8/0x20 [agrmodem] > [ 1043.645573] EAX: 00000000 EBX: f81bc0c4 ECX: f6a27500 EDX: 00000000 > [ 1043.645580] ESI: f81bc0c4 EDI: f81bc028 EBP: f67e9d00 ESP: f67e9d00 > [ 1043.645587] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 > [ 1043.645596] Process cp (pid: 2796, ti=f67e8000 task=f69657f0 > task.ti=f67e8000) > [ 1043.645601] Stack: > [ 1043.645606] f67e9d20 fb944765 fb929470 f81c65ea f67e9d20 c056a25e > fb972c73 f67e9d6f > [ 1043.645624] <0> f67e9d90 fb92d9e1 f81bc0c4 f8121048 00000008 > f81bc39c 00000004 > [ 1043.645641] <0> c15e4120 00000000 c077dd60 00000000 c01b468d 00000001 > 00000041 ffffffff > [ 1043.645661] Call Trace: > [ 1043.645756] [<fb944765>] ? CAzlIntelInit+0x39/0x3c4 [agrmodem] > [ 1043.645855] [<fb929470>] ? ResumeCallBack+0x0/0x34 [agrmodem] > [ 1043.645884] [<c056a25e>] ? printk+0x18/0x1a > [ 1043.645985] [<fb92d9e1>] ? LXHardwareStart+0x11de/0x13fb [agrmodem] > [ 1043.646014] [<c01b468d>] ? get_page_from_freelist+0x1bd/0x360 > [ 1043.646028] [<c056c61a>] ? _spin_lock_irqsave+0x2a/0x40 > [ 1043.646126] [<fb929198>] ? linux_modem_open+0x45/0x10e [agrmodem] > [ 1043.646153] [<c014d48b>] ? mod_timer+0xcb/0x140 > [ 1043.646215] [<fb883298>] ? wrap_linux_modem_open+0x8/0x10 [agrmodem] > [ 1043.646276] [<fb8832f8>] ? modemPortOpen+0x8/0x20 [agrmodem] > [ 1043.646290] [<f8125ff0>] ? serial8250_startup+0x210/0x380 [agrserial] > [ 1043.646303] [<c03956b6>] ? uart_startup+0x46/0x140 > [ 1043.646313] [<c03961f2>] ? uart_open+0x102/0x220 > [ 1043.646325] [<c037d2a3>] ? __tty_open+0x1a3/0x460 > [ 1043.646334] [<c037d57f>] ? tty_open+0x1f/0x40 > [ 1043.646345] [<c01e6e4d>] ? chrdev_open+0xcd/0x190 > [ 1043.646358] [<c01e1ff9>] ? __dentry_open+0xb9/0x230 > [ 1043.646368] [<c01e2255>] ? nameidata_to_filp+0x55/0x70 > [ 1043.646377] [<c01e6d80>] ? chrdev_open+0x0/0x190 > [ 1043.646387] [<c01efd8a>] ? do_filp_open+0x53a/0x890 > [ 1043.646398] [<c01dfbde>] ? > [ 1043.646410] [<c01e1d90>] ? do_sys_open+0x50/0x150 > [ 1043.646420] [<c01e1ef9>] ? sys_open+0x29/0x40 > [ 1043.646430] [<c010334c>] ? syscall_call+0x7/0xb > [ 1043.646436] Code: 74 26 00 89 15 8c c0 9a fb 8b 52 04 8b 45 08 83 e2 0f > 88 10 5d c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 a1 8c c0 9a fb 55 89 e5 > <8b> 50 3c 89 15 84 c0 9a fb 8b 55 08 89 50 3c b8 01 00 00 00 5d > [ 1043.646533] EIP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] > SS:ESP 0068:f67e9d00 > [ 1043.646618] CR2: 000000000000003c > [ 1043.646626] ---[ end trace 9cef1f4c85d99e1f ]--- > > > > -----Original Message----- > From: Jacques Goldberg <Jacques.Goldberg@...> > To: webkitdev@... > Cc: discuss@... > Sent: Wed, Oct 21, 2009 10:18 pm > Subject: Re: success in building agrsm for ubuntu karmic > > > > > > > > webkitdev@... wrote: > > >> All, > >> > >> I have been able to build and load agrsm for Ubuntu 9.10 dev release >> (kernel 2.6.31-13-generic). I could load the kernel modules, but > > would >> >> like to know how to test if my modem works. I do not have a PPP > > dialup >> >> account as of now. Can some one please suggest on how to test this > > out >> >> and what features would work? > >> > >> Regards, > >> Shaji > >> > > First thing, try wvdial > > There are two steps. > > After loading the module, do sudo wvdialconf /etc/wvdial.conf > > If it finds the modem, your success is great. > > Then edit the file /etc/wvdial.conf > > > There are three lines starting with a ; (semi colon). In these 3 > > Remove the ; > > Remove the < > > Remove the > > > Modify the phone line to Phone = 1234567 but replace 1234567 by > a phone number close to you so that you can hear it it rings. > > Make sure that there is a line > > Carrier Check = no > > in the file. > > Save and exit the editor. > > Now, just try sudo wvdial and listen if the dialled phone > number rings (no sound from the modem; be enar that phone number or > somebody to listen for you, a friend probably. > > > If the dialled number rings, this is a very great step ahead. > > > In which country/city do you live? Needed to try to find a free service > nearby. > > > Jacques > > > > > > > > > > > > > > > > > = > |
|
|
Re: success in building agrsm for ubuntu karmicShahji,
dkms-agrsm_2.1.80-9mdv2009.0 is the correct package for your 11c11040 Agere/LSI chip mdem. What were the "minor fixes" you applied? Zsolt had remarked to me concerned this last update of this code: There was not realy big changes, important are the alsa structs have to match the agrsm's for autoload of the module, new alsa version provide an module_alias extension for codecs macro. I think: MODULE_ALIAS("snd-hda-codec-id:11c11040"); should do the job. I have not coding depth myself MarvS On Thu, Oct 22, 2009 at 10:15 AM, <webkitdev@...> wrote: > Thanks Marvin. > > Below is the scanmodem output. > > I have downloaded the agrsm from : > > http://linux.zsolttech.com/linmodem/agrsm/Testing/dkms-agrsm_2.1.80-9mdv2009.0_i386.deb > > I have made minor fixes to get it compile with 2.6.31. > > Please let me know if you see something interesting or you need more > information. > > Regards, > Shaji > > -------------------------- System information ---------------------------- > CPU=i686, > Linux version 2.6.31-13-generic (buildd@rothera) (gcc version 4.4.1 (Ubuntu > 4.4.1-4ubuntu7) ) #45-Ubuntu SMP Tue Oct 13 02:08:03 UTC 2009 > scanModem update of: 2009_09_15 > > > The dkms driver upgrade utilities are installed, > > There are no blacklisted modem drivers in /etc/modprobe* files > > Potentially useful modem drivers now loaded are: > snd_hda_intel > > Attached USB devices are: > ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam > ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth > 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@... > > For candidate card in slot 00:07.0, firmware information and bootup > diagnostics are: > PCI slot PCI ID SubsystemID Name > ---------- --------- --------- -------------- > 00:07.0 10de:055c 1025:0127 Audio device: nVidia Corporation MCP67 > High Definition Audio > > Modem interrupt assignment and sharing: > 18: 4 1478 IO-APIC-fasteoi ehci_hcd:usb2, HDA Intel > --- Bootup diagnostics for card in PCI slot 00:07.0 ---- > [ 1.138452] pci 0000:00:07.0: reg 10 32bit mmio: [0xf4480000-0xf4483fff] > [ 1.138481] pci 0000:00:07.0: PME# supported from D3hot D3cold > [ 1.138485] pci 0000:00:07.0: PME# disabled > [ 1.139357] pci 0000:07:00.0: reg 10 64bit mmio: [0xf4000000-0xf400ffff] > [ 14.806907] ath5k 0000:07:00.0: PCI INT A -> Link[LK3E] -> GSI 19 (level, > low) -> IRQ 19 > [ 14.806917] ath5k 0000:07:00.0: setting latency timer to 64 > [ 14.806971] ath5k 0000:07:00.0: registered as 'phy0' > [ 15.612332] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 18 > (level, low) -> IRQ 18 > [ 15.612364] HDA Intel 0000:00:07.0: setting latency timer to 64 > [ 16.264883] input: HDA Digital PCBeep as > /devices/pci0000:00/0000:00:07.0/input/input9 > > The PCI slot 00:07.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@... > if help is needed. > > > > ===== 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.20 > The modem cards detected by "aplay -l" are: None > > > The /proc/asound/pcm file reports: > ----------------------- > 00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 1 > 00-01: ALC268 Digital : ALC268 Digital : playback 1 > 00-02: ALC268 Analog : ALC268 Analog : capture 1 > > about /proc/asound/cards: > ------------------------ > 0 [NVidia ]: HDA-Intel - HDA NVidia > HDA NVidia at 0xf4480000 irq 18 > > PCI slot 00:07.0 has a High Definition Audio Card > The drivers are in the kernel modules tree at: > /lib/modules/2.6.31-13-generic/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 > Function Id: 0x2 > Vendor Id: 0x11c11040 > Subsystem Id: 0x10250127 > Revision Id: 0x100200 > Modem Function Group: 0x1 > > The audio card hosts a softmodem chip: 0x11c11040 > If not a Conexant modem, the driver agrsm 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:07.0: > Modem chipset detected on > NAME="Audio device: nVidia Corporation MCP67 High Definition Audio " > CLASS=0403 > PCIDEV=10de:055c > SUBSYS=1025:0127 > IRQ=18 > HDA=10de:055c > SOFT=10de:055c.HDA > HDAchipVendorID=11c1 > CHIP=0x11c11040 > IDENT=agrsm > Driver=agrsm > > For candidate modem in: 00:07.0 > 0403 Audio device: nVidia Corporation MCP67 High Definition Audio > Primary device ID: 10de:055c > Subsystem PCI_id 1025:0127 > Softmodem codec or chipset from diagnostics: 0x11c11040 > from Archives: > The HDA card softmodem chip is 0x11c11040 > > > Support type needed or chipset: agrsm > > > The AgereSystems/LSI agrsm code supports compiling of a agrmodem + agrsm > driver pair. > One resource site is > http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ > Thereat get the agrsm_howto.txt and one of the agrsm-tools packages. > The initial agrsm_howto.txt compiling steps are only cogent to modems with > PCI IDs: > 11c1:0620, 11c1:048c and 11c1:048f chips. > They use the agrsm-20090418.tar.gz package. > The agrsm-tools sets a useful symbolic link and a agrsm-test utlity > > For AgereSystems/LSI with Vendor 11c1 chips hosted on High Definition Audio > cards, there may be support > through the agrsm resources (providing an agrmodem + agrserial driver pair) > as an alternative to usage > of the snd-hda-intel driver + slmodemd helper. For the 11c11040 modem chip, > ONLY the agrsm code is competent. > Your Linux distro's dkms package should be first installed, as it directs > the installation of modem > specific dkms-agrsm resources, and also directs auto-installation of new > drivers upon kernel upgrades. > > Currently, the dkms-agrsm code is NOT competent for 2.26.28 and later > kernels. > A short term fix is to install linux-image + linux-headers packages for > earlier kernels. > For detailed instructions for Ubuntu Jaunty with 2.6.28 kernels, see > http://linmodems.technion.ac.il/bigarch/archive-nineth/msg01316.html > > The primary dkms-agrsm resource site is > http://linux.zsolttech.com/linmodem/agrsm/ > whereat a few different packaging types are available. Debian type > installers (supporting Ubuntu too) > are copied to http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ . > Thereat the current package > is the dkms-agrsm_2.1.80-6_i386.deb is for Agere/LSI chipsets hosted on High > Definition Audio cards. > Read the Modem/DOCs/Agrsm.txt for details. > > -------------- 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.4.1 > and the compiler used in kernel assembly: 4.4.1 > > > > Minimal compiling resources appear complete: > make utility - /usr/bin/make > Compiler version 4.4 > linuc_headers base folder /lib/modules/2.6.31-13-generic/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: > -rwsr-xr-- 1 root dip 277352 2009-02-20 22:55 /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) > sudo chmod a+x /usr/sbin/pppd > or under Ubuntu related Linuxes > sudo chmod a+x /usr/sbin/pppd > > Checking settings of: /etc/ppp/options > asyncmap 0 > noauth > 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 > > 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: > > Within /etc/modprobe.conf files: > /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2 > /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2 > /etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to > blacklist unwanted modem drivers > /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem > /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem > Within any ancient /etc/devfs files: > > Within ancient kernel 2.4.n /etc/module.conf files: > > --------- end modem support lines -------- > > > > -----Original Message----- > From: Marvin Stodolsky <marvin.stodolsky@...> > To: webkitdev@... > Cc: discuss@... > Sent: Thu, Oct 22, 2009 4:37 am > Subject: Re: success in building agrsm for ubuntu karmic > > > > > > > > Shaji > > There are three (at least) different agrsm code packages, for the > various Agere chipsets. > Please run scanModem and send us the ModemData.txt output, to more > precisely identify your chipset. > There are alternate ALSA drivers for some Agere/LSI chipsets. > Which code package did you use to compile your driver?? > An alternative may evade your problem: > [ 989.115533] Loading module Agere Modem Interface driver version > 2.1.80.0 (2007-10-01) > [ 1043.645147] ==> codecType = 0x32 > [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference at > 0000003c > etc. > > MarvS > scanModem maintainer > > On Wed, Oct 21, 2009 at 1:38 PM, <webkitdev@...> wrote: >> >> Thanks Jacques. >> >> Using wvdial, I am getting a kernel OOPS.. will look at this more > > closely .. >> >> Shaji >> >> [ 981.902086] * Hello Agere Driver ** >> [ 981.902158] usbcore: registered new interface driver agr12dec2006 >> [ 984.510433] Loading module Agere Modem Controller driver version > > 2.1.80 >> >> (2007-10-01) >> [ 989.115374] ttyAGS3 at I/O 0x400 (irq = 18) is a AgereModem >> [ 989.115533] Loading module Agere Modem Interface driver version > > 2.1.80.0 >> >> (2007-10-01) >> [ 1043.645147] ==> codecType = 0x32 >> [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference > > at >> >> 0000003c >> [ 1043.645210] IP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] >> [ 1043.645324] *pde = 00000000 >> [ 1043.645333] Oops: 0000 [#1] SMP >> [ 1043.645342] last sysfs file: >> > /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT1/voltage_n > >> ow >> [ 1043.645352] Modules linked in: agrserial agrmodem binfmt_misc ppdev >> bridge stp bnep snd_hda_codec_realtek snd_hda_intel snd_hda_codec > > snd_hwdep >> >> snd_pcm_oss arc4 ecb btusb snd_mixer_oss ath5k snd_pcm snd_seq_dummy >> mac80211 snd_seq_oss snd_seq_midi ath iptable_filter uvcvideo > > snd_rawmidi >> >> joydev snd_seq_midi_event dm_crypt ip_tables x_tables videodev > > v4l1_compat >> >> snd_seq k8temp acer_wmi snd_timer snd_seq_device sdhci_pci sdhci > > led_class >> >> cfg80211 ricoh_mmc snd i2c_nforce2 nvidia(P) agpgart soundcore >> snd_page_alloc psmouse serio_raw lp parport ohci1394 ieee1394 video > > output >> >> forcedeth >> [ 1043.645465] >> [ 1043.645476] Pid: 2796, comm: cp Tainted: P > > (2.6.31-13-generic >> >> #45-Ubuntu) Aspire 4520 >> [ 1043.645486] EIP: 0060:[<fb959868>] EFLAGS: 00010246 CPU: 1 >> [ 1043.645565] EIP is at setResumeCallBack+0x8/0x20 [agrmodem] >> [ 1043.645573] EAX: 00000000 EBX: f81bc0c4 ECX: f6a27500 EDX: 00000000 >> [ 1043.645580] ESI: f81bc0c4 EDI: f81bc028 EBP: f67e9d00 ESP: f67e9d00 >> [ 1043.645587] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 >> [ 1043.645596] Process cp (pid: 2796, ti=f67e8000 task=f69657f0 >> task.ti=f67e8000) >> [ 1043.645601] Stack: >> [ 1043.645606] f67e9d20 fb944765 fb929470 f81c65ea f67e9d20 c056a25e >> fb972c73 f67e9d6f >> [ 1043.645624] <0> f67e9d90 fb92d9e1 f81bc0c4 f8121048 00000008 > > 00000001 >> >> f81bc39c 00000004 >> [ 1043.645641] <0> c15e4120 00000000 c077dd60 00000000 c01b468d > > 00000001 >> >> 00000041 ffffffff >> [ 1043.645661] Call Trace: >> [ 1043.645756] [<fb944765>] ? CAzlIntelInit+0x39/0x3c4 [agrmodem] >> [ 1043.645855] [<fb929470>] ? ResumeCallBack+0x0/0x34 [agrmodem] >> [ 1043.645884] [<c056a25e>] ? printk+0x18/0x1a >> [ 1043.645985] [<fb92d9e1>] ? LXHardwareStart+0x11de/0x13fb > > [agrmodem] >> >> [ 1043.646014] [<c01b468d>] ? get_page_from_freelist+0x1bd/0x360 >> [ 1043.646028] [<c056c61a>] ? _spin_lock_irqsave+0x2a/0x40 >> [ 1043.646126] [<fb929198>] ? linux_modem_open+0x45/0x10e [agrmodem] >> [ 1043.646153] [<c014d48b>] ? mod_timer+0xcb/0x140 >> [ 1043.646215] [<fb883298>] ? wrap_linux_modem_open+0x8/0x10 > > [agrmodem] >> >> [ 1043.646276] [<fb8832f8>] ? modemPortOpen+0x8/0x20 [agrmodem] >> [ 1043.646290] [<f8125ff0>] ? serial8250_startup+0x210/0x380 > > [agrserial] >> >> [ 1043.646303] [<c03956b6>] ? uart_startup+0x46/0x140 >> [ 1043.646313] [<c03961f2>] ? uart_open+0x102/0x220 >> [ 1043.646325] [<c037d2a3>] ? __tty_open+0x1a3/0x460 >> [ 1043.646334] [<c037d57f>] ? tty_open+0x1f/0x40 >> [ 1043.646345] [<c01e6e4d>] ? chrdev_open+0xcd/0x190 >> [ 1043.646358] [<c01e1ff9>] ? __dentry_open+0xb9/0x230 >> [ 1043.646368] [<c01e2255>] ? nameidata_to_filp+0x55/0x70 >> [ 1043.646377] [<c01e6d80>] ? chrdev_open+0x0/0x190 >> [ 1043.646387] [<c01efd8a>] ? do_filp_open+0x53a/0x890 >> [ 1043.646398] [<c01dfbde>] ? > > mem_cgroup_update_mapped_file_stat+0x1e/0x70 >> >> [ 1043.646410] [<c01e1d90>] ? do_sys_open+0x50/0x150 >> [ 1043.646420] [<c01e1ef9>] ? sys_open+0x29/0x40 >> [ 1043.646430] [<c010334c>] ? syscall_call+0x7/0xb >> [ 1043.646436] Code: 74 26 00 89 15 8c c0 9a fb 8b 52 04 8b 45 08 83 > > e2 0f >> >> 88 10 5d c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 a1 8c c0 9a fb 55 > > 89 e5 >> >> <8b> 50 3c 89 15 84 c0 9a fb 8b 55 08 89 50 3c b8 01 00 00 00 5d >> [ 1043.646533] EIP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] >> SS:ESP 0068:f67e9d00 >> [ 1043.646618] CR2: 000000000000003c >> [ 1043.646626] ---[ end trace 9cef1f4c85d99e1f ]--- >> >> >> >> -----Original Message----- >> From: Jacques Goldberg <Jacques.Goldberg@...> >> To: webkitdev@... >> Cc: discuss@... >> Sent: Wed, Oct 21, 2009 10:18 pm >> Subject: Re: success in building agrsm for ubuntu karmic >> >> >> >> >> >> >> >> webkitdev@... wrote: >> >> >>> All, >> >>> >> >>> I have been able to build and load agrsm for Ubuntu 9.10 dev release >>> (kernel 2.6.31-13-generic). I could load the kernel modules, but >> >> would >>> >>> like to know how to test if my modem works. I do not have a PPP >> >> dialup >>> >>> account as of now. Can some one please suggest on how to test this >> >> out >>> >>> and what features would work? >> >>> >> >>> Regards, >> >>> Shaji >> >>> >> >> First thing, try wvdial >> >> There are two steps. >> >> After loading the module, do sudo wvdialconf /etc/wvdial.conf >> >> If it finds the modem, your success is great. >> >> Then edit the file /etc/wvdial.conf >> >> >> There are three lines starting with a ; (semi colon). In these 3 > > lines: >> >> Remove the ; >> >> Remove the < >> >> Remove the > >> >> Modify the phone line to Phone = 1234567 but replace 1234567 > > by >> >> a phone number close to you so that you can hear it it rings. >> >> Make sure that there is a line >> >> Carrier Check = no >> >> in the file. >> >> Save and exit the editor. >> >> Now, just try sudo wvdial and listen if the dialled phone >> number rings (no sound from the modem; be enar that phone number or > > ask >> >> somebody to listen for you, a friend probably. >> >> >> If the dialled number rings, this is a very great step ahead. >> >> >> In which country/city do you live? Needed to try to find a free > > service >> >> nearby. >> >> >> Jacques >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> = >> > > > > > > > |
|
|
Re: success in building agrsm for ubuntu karmicMarv,
Here are the changes that I had to make. (along with all patches in patches directory). Which file should I modify for MODULE_ALIAS? Regards, Shaji --- ./serial26.c 2009-10-23 20:19:33.000000000 +0530 +++ /tmp/agrsm-2.1.80-9mdv2009.0/serial26.c 2009-10-23 19:57:37.000000000 +0530 @@ -72,6 +72,7 @@ //bala-dbg //#include <linux/config.h> #include <linux/module.h> +#include <linux/version.h> #include <linux/tty.h> #include <linux/ioport.h> #include <linux/init.h> @@ -2023,9 +2024,11 @@ /* * Don't probe for MCA ports on non-MCA machines. */ +#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 19) if (up->port.flags & UPF_BOOT_ONLYMCA && !MCA_bus) return; #endif +#endif /* * Find the region that we can probe for. This in turn --- ./agrsoftmodem.c 2009-10-23 20:19:33.000000000 +0530 +++ /tmp/agrsm-2.1.80-9mdv2009.0/agrsoftmodem.c 2009-10-23 19:57:37.000000000 +0530 @@ -207,7 +207,7 @@ MODULE_AUTHOR("Agere Systems Inc"); MODULE_DESCRIPTION("Agere Modem Controller driver"); // MODULE_LICENSE("Proprietary"); -MODULE_LICENSE("Proprietary"); +MODULE_LICENSE("GPL"); /************************ Memory allocation ************************/ fnatr void *x_vmalloc (unsigned int size) { return vmalloc (size); } @@ -311,7 +311,11 @@ fnatr int kill_proc_wrap(pid_t pid, int sig, int opt) { struct task_struct *p; if (pid > 500) { +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) p = find_task_by_vpid(pid); +#else + p = pid_task(pid, PIDTYPE_PID); +#endif if (p) return (send_sig(sig, p, opt)); else -----Original Message----- From: Marvin Stodolsky <marvin.stodolsky@...> To: webkitdev@... Cc: discuss@... Sent: Fri, Oct 23, 2009 4:43 am Subject: Re: success in building agrsm for ubuntu karmic Shahji, dkms-agrsm_2.1.80-9mdv2009.0 is the correct package for your 11c11040 Agere/LSI chip mdem. What were the "minor fixes" you applied? Zsolt had remarked to me concerned this last update of this code: There was not realy big changes, important are the alsa structs have to match the agrsm's for autoload of the module, new alsa version provide an module_alias extension for codecs macro. I think: MODULE_ALIAS("snd-hda-codec-id:11c11040"); should do the job. I have not coding depth myself MarvS On Thu, Oct 22, 2009 at 10:15 AM, <webkitdev@...> wrote: > Thanks Marvin. > > Below is the scanmodem output. > > I have downloaded the agrsm from : > > http://linux.zsolttech.com/linmodem/agrsm/Testing/dkms-agrsm_2.1.80-9mdv2009.0_i386.deb > > I have made minor fixes to get it compile with 2.6.31. > > Please let me know if you see something interesting or you need more > information. > > Regards, > Shaji > > -------------------------- System information > CPU=i686, > Linux version 2.6.31-13-generic (buildd@rothera) (gcc version 4.4.1 (Ubuntu > 4.4.1-4ubuntu7) ) #45-Ubuntu SMP Tue Oct 13 02:08:03 UTC 2009 > scanModem update of: 2009_09_15 > > > The dkms driver upgrade utilities are installed, > > There are no blacklisted modem drivers in /etc/modprobe* files > > Potentially useful modem drivers now loaded are: > snd_hda_intel > > Attached USB devices are: > ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam > ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth > 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@... > > For candidate card in slot 00:07.0, firmware information and bootup > diagnostics are: > PCI slot PCI ID SubsystemID Name > ---------- --------- --------- -------------- > 00:07.0 10de:055c 1025:0127 Audio device: nVidia Corporation > High Definition Audio > > Modem interrupt assignment and sharing: > 18: 4 1478 IO-APIC-fasteoi ehci_hcd:usb2, HDA Intel > --- Bootup diagnostics for card in PCI slot 00:07.0 ---- > [ 1.138452] pci 0000:00:07.0: reg 10 32bit mmio: [0xf4480000-0xf4483fff] > [ 1.138481] pci 0000:00:07.0: PME# supported from D3hot D3cold > [ 1.138485] pci 0000:00:07.0: PME# disabled > [ 1.139357] pci 0000:07:00.0: reg 10 64bit mmio: [0xf4000000-0xf400ffff] > [ 14.806907] ath5k 0000:07:00.0: PCI INT A -> Link[LK3E] -> GSI 19 (level, > low) -> IRQ 19 > [ 14.806917] ath5k 0000:07:00.0: setting latency timer to 64 > [ 14.806971] ath5k 0000:07:00.0: registered as 'phy0' > [ 15.612332] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 18 > (level, low) -> IRQ 18 > [ 15.612364] HDA Intel 0000:00:07.0: setting latency timer to 64 > [ 16.264883] input: HDA Digital PCBeep as > /devices/pci0000:00/0000:00:07.0/input/input9 > > The PCI slot 00:07.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@... > if help is needed. > > > > ===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== > The ALSA packages provide audio support and also drivers for some > ALSA diagnostics are written during bootup to /proc/asound/ folders. > > The ALSA verion is 1.0.20 > The modem cards detected by "aplay -l" are: None > > > The /proc/asound/pcm file reports: > ----------------------- > 00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 1 > 00-01: ALC268 Digital : ALC268 Digital : playback 1 > 00-02: ALC268 Analog : ALC268 Analog : capture 1 > > about /proc/asound/cards: > ------------------------ > 0 [NVidia ]: HDA-Intel - HDA NVidia > HDA NVidia at 0xf4480000 irq 18 > > PCI slot 00:07.0 has a High Definition Audio Card > The drivers are in the kernel modules tree at: > /lib/modules/2.6.31-13-generic/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 > Function Id: 0x2 > Vendor Id: 0x11c11040 > Subsystem Id: 0x10250127 > Revision Id: 0x100200 > Modem Function Group: 0x1 > > The audio card hosts a softmodem chip: 0x11c11040 > If not a Conexant modem, the driver agrsm with its dependent drivers: > > ---------- > provide audio + modem support with the modem chip residing on the > 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:07.0: > Modem chipset detected on > NAME="Audio device: nVidia Corporation MCP67 High Definition Audio " > CLASS=0403 > PCIDEV=10de:055c > SUBSYS=1025:0127 > IRQ=18 > HDA=10de:055c > SOFT=10de:055c.HDA > HDAchipVendorID=11c1 > CHIP=0x11c11040 > IDENT=agrsm > Driver=agrsm > > For candidate modem in: 00:07.0 > 0403 Audio device: nVidia Corporation MCP67 High Definition Audio > Primary device ID: 10de:055c > Subsystem PCI_id 1025:0127 > Softmodem codec or chipset from diagnostics: 0x11c11040 > from Archives: > The HDA card softmodem chip is 0x11c11040 > > > Support type needed or chipset: agrsm > > > The AgereSystems/LSI agrsm code supports compiling of a agrmodem + > driver pair. > One resource site is > http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ > Thereat get the agrsm_howto.txt and one of the agrsm-tools packages. > The initial agrsm_howto.txt compiling steps are only cogent to modems with > PCI IDs: > 11c1:0620, 11c1:048c and 11c1:048f chips. > They use the agrsm-20090418.tar.gz package. > The agrsm-tools sets a useful symbolic link and a agrsm-test utlity > > For AgereSystems/LSI with Vendor 11c1 chips hosted on High Definition Audio > cards, there may be support > through the agrsm resources (providing an agrmodem + agrserial driver pair) > as an alternative to usage > of the snd-hda-intel driver + slmodemd helper. For the 11c11040 modem chip, > ONLY the agrsm code is competent. > Your Linux distro's dkms package should be first installed, as it directs > the installation of modem > specific dkms-agrsm resources, and also directs auto-installation of new > drivers upon kernel upgrades. > > Currently, the dkms-agrsm code is NOT competent for 2.26.28 and later > kernels. > A short term fix is to install linux-image + linux-headers packages for > earlier kernels. > For detailed instructions for Ubuntu Jaunty with 2.6.28 kernels, see > http://linmodems.technion.ac.il/bigarch/archive-nineth/msg01316.html > > The primary dkms-agrsm resource site is > http://linux.zsolttech.com/linmodem/agrsm/ > whereat a few different packaging types are available. Debian type > installers (supporting Ubuntu too) > are copied to http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ . > Thereat the current package > is the dkms-agrsm_2.1.80-6_i386.deb is for Agere/LSI chipsets hosted on High > Definition Audio cards. > Read the Modem/DOCs/Agrsm.txt for details. > > -------------- 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.4.1 > and the compiler used in kernel assembly: 4.4.1 > > > > Minimal compiling resources appear complete: > make utility - /usr/bin/make > Compiler version 4.4 > linuc_headers base folder /lib/modules/2.6.31-13-generic/build > > However some compilations and executable functions may need > 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 > 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 277352 2009-02-20 22:55 /usr/sbin/pppd > > In case of an "error 17" "serial loopback" problem, see: > > > To enable dialout without Root permission do: > $ su - root (not for Ubuntu) > sudo chmod a+x /usr/sbin/pppd > or under Ubuntu related Linuxes > sudo chmod a+x /usr/sbin/pppd > > Checking settings of: /etc/ppp/options > asyncmap 0 > noauth > 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 > > 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: > > Within /etc/modprobe.conf files: > /etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2 > /etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2 > /etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in > blacklist unwanted modem drivers > /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem > /etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem > Within any ancient /etc/devfs files: > > Within ancient kernel 2.4.n /etc/module.conf files: > > --------- end modem support lines -------- > > > > -----Original Message----- > From: Marvin Stodolsky <marvin.stodolsky@...> > To: webkitdev@... > Cc: discuss@... > Sent: Thu, Oct 22, 2009 4:37 am > Subject: Re: success in building agrsm for ubuntu karmic > > > > > > > > Shaji > > There are three (at least) different agrsm code packages, for the > various Agere chipsets. > Please run scanModem and send us the ModemData.txt output, to more > precisely identify your chipset. > There are alternate ALSA drivers for some Agere/LSI chipsets. > Which code package did you use to compile your driver?? > An alternative may evade your problem: > [ 989.115533] Loading module Agere Modem Interface driver version > 2.1.80.0 (2007-10-01) > [ 1043.645147] ==> codecType = 0x32 > [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference > 0000003c > etc. > > MarvS > scanModem maintainer > > On Wed, Oct 21, 2009 at 1:38 PM, <webkitdev@...> wrote: >> >> Thanks Jacques. >> >> Using wvdial, I am getting a kernel OOPS.. will look at this more > > closely .. >> >> Shaji >> >> [ 981.902086] * Hello Agere Driver ** >> [ 981.902158] usbcore: registered new interface driver agr12dec2006 >> [ 984.510433] Loading module Agere Modem Controller driver version > > 2.1.80 >> >> (2007-10-01) >> [ 989.115374] ttyAGS3 at I/O 0x400 (irq = 18) is a AgereModem >> [ 989.115533] Loading module Agere Modem Interface driver version > > 2.1.80.0 >> >> (2007-10-01) >> [ 1043.645147] ==> codecType = 0x32 >> [ 1043.645196] BUG: unable to handle kernel NULL pointer dereference > > at >> >> 0000003c >> [ 1043.645210] IP: [<fb959868>] setResumeCallBack+0x8/0x20 [agrmodem] >> [ 1043.645324] *pde = 00000000 >> [ 1043.645333] Oops: 0000 [#1] SMP >> [ 1043.645342] last sysfs file: >> > > >> ow >> [ 1043.645352] Modules linked in: agrserial agrmodem binfmt_misc ppdev >> bridge stp bnep snd_hda_codec_realtek snd_hda_intel snd_hda_codec > > snd_hwdep >> >> snd_pcm_oss arc4 ecb btusb snd_mixer_oss ath5k snd_pcm snd_seq_dummy >> mac80211 snd_seq_oss snd_seq_midi ath iptable_filter uvcvideo > > snd_rawmidi >> >> joydev snd_seq_midi_event dm_crypt ip_tables x_tables videodev > > v4l1_compat >> >> snd_seq k8temp acer_wmi snd_timer snd_seq_device sdhci_pci sdhci > > led_class >> >> cfg80211 ricoh_mmc snd i2c_nforce2 nvidia(P) agpgart soundcore >> snd_page_alloc psmouse serio_raw lp parport ohci1394 ieee1394 video > > output >> >> forcedeth >> [ 1043.645465] >> [ 1043.645476] Pid: 2796, comm: cp Tainted: P > > (2.6.31-13-generic >> >> #45-Ubuntu) Aspire 4520 >> [ 1043.645486] EIP: 0060:[<fb959868>] EFLAGS: 00010246 CPU: 1 >> [ 1043.645565] EIP is at setResumeCallBack+0x8/0x20 [agrmodem] >> [ 1043.645573] EAX: 00000000 EBX: f81bc0c4 ECX: f6a27500 EDX: >> [ 1043.645580] ESI: f81bc0c4 EDI: f81bc028 EBP: f67e9d00 ESP: f67e9d00 >> [ 1043.645587] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 >> [ 1043.645596] Process cp (pid: 2796, ti=f67e8000 task=f69657f0 >> task.ti=f67e8000) >> [ 1043.645601] Stack: >> [ 1043.645606] f67e9d20 fb944765 fb929470 f81c65ea f67e9d20 c056a25e >> fb972c73 f67e9d6f >> [ 1043.645624] <0> f67e9d90 fb92d9e1 f81bc0c4 f8121048 00000008 > > 00000001 >> >> f81bc39c 00000004 >> [ 1043.645641] <0> c15e4120 00000000 c077dd60 00000000 c01b468d > > 00000001 >> >> 00000041 ffffffff >> [ 1043.645661] Call Trace: >> [ 1043.645756] [<fb944765>] ? CAzlIntelInit+0x39/0x3c4 [agrmodem] >> [ 1043.645855] [<fb929470>] ? ResumeCallBack+0x0/0x34 [agrmodem] >> [ 1043.645884] [<c056a25e>] ? printk+0x18/0x1a >> [ 1043.645985] [<fb92d9e1>] ? LXHardwareStart+0x11de/0x13fb > > [agrmodem] >> >> [ 1043.646014] [<c01b468d>] ? get_page_from_freelist+0x1bd/0x360 >> [ 1043.646028] [<c056c61a>] ? _spin_lock_irqsave+0x2a/0x40 >> [ 1043.646126] [<fb929198>] ? linux_modem_open+0x45/0x10e [agrmodem] >> [ 1043.646153] [<c014d48b>] ? mod_timer+0xcb/0x140 >> [ 1043.646215] [<fb883298>] ? wrap_linux_modem_open+0x8/0x10 > > [agrmodem] >> >> [ 1043.646276] [<fb8832f8>] ? modemPortOpen+0x8/0x20 [agrmodem] >> [ 1043.646290] [<f8125ff0>] ? serial8250_startup+0x210/0x380 > > [agrserial] >> >> [ 1043.646303] [<c03956b6>] ? uart_startup+0x46/0x140 >> [ 1043.646313] [<c03961f2>] ? uart_open+0x102/0x220 >> [ 1043.646325] [<c037d2a3>] ? __tty_open+0x1a3/0x460 >> [ 1043.646334] [<c037d57f>] ? tty_open+0x1f/0x40 >> [ 1043.646345] [<c01e6e4d>] ? chrdev_open+0xcd/0x190 >> [ 1043.646358] [<c01e1ff9>] ? __dentry_open+0xb9/0x230 >> [ 1043.646368] [<c01e2255>] ? nameidata_to_filp+0x55/0x70 >> [ 1043.646377] [<c01e6d80>] ? chrdev_open+0x0/0x190 >> [ 1043.646387] [<c01efd8a>] ? do_filp_open+0x53a/0x890 >> [ 1043.646398] [<c01dfbde>] ? > > mem_cgroup_update_mapped_file_stat+0x1e/0x70 >> >> [ 1043.646410] [<c01e1d90>] ? do_sys_open+0x50/0x150 >> [ 1043.646420] [<c01e1ef9>] ? sys_open+0x29/0x40 >> [ 1043.646430] [<c010334c>] ? syscall_call+0x7/0xb >> [ 1043.646436] Code: 74 26 00 89 15 8c c0 9a fb 8b 52 04 8b 45 08 83 > > e2 0f >> >> 88 10 5d c3 8d b6 00 00 00 00 8d bc 27 00 00 00 00 a1 8c c0 9a fb 55 > > 89 e5 >> >> <8b> 50 3c 89 15 84 c0 9a fb 8b 55 08 89 50 3c b8 01 00 00 00 5d >> [ 1043.646533] EIP: [<fb959868>] setResumeCallBack+0x8/0x20 >> SS:ESP 0068:f67e9d00 >> [ 1043.646618] CR2: 000000000000003c >> [ 1043.646626] ---[ end trace 9cef1f4c85d99e1f ]--- >> >> >> >> -----Original Message----- >> From: Jacques Goldberg <Jacques.Goldberg@...> >> To: webkitdev@... >> Cc: discuss@... >> Sent: Wed, Oct 21, 2009 10:18 pm >> Subject: Re: success in building agrsm for ubuntu karmic >> >> >> >> >> >> >> >> webkitdev@... wrote: >> >> >>> All, >> >>> >> >>> I have been able to build and load agrsm for Ubuntu 9.10 dev release >>> (kernel 2.6.31-13-generic). I could load the kernel modules, but >> >> would >>> >>> like to know how to test if my modem works. I do not have a PPP >> >> dialup >>> >>> account as of now. Can some one please suggest on how to test this >> >> out >>> >>> and what features would work? >> >>> >> >>> Regards, >> >>> Shaji >> >>> >> >> First thing, try wvdial >> >> There are two steps. >> >> After loading the module, do sudo wvdialconf /etc/wvdial.conf >> >> If it finds the modem, your success is great. >> >> Then edit the file /etc/wvdial.conf >> >> >> There are three lines starting with a ; (semi colon). In these 3 > > lines: >> >> Remove the ; >> >> Remove the < >> >> Remove the > >> >> Modify the phone line to Phone = 1234567 but replace 1234567 > > by >> >> a phone number close to you so that you can hear it it rings. >> >> Make sure that there is a line >> >> Carrier Check = no >> >> in the file. >> >> Save and exit the editor. >> >> Now, just try sudo wvdial and listen if the dialled phone >> number rings (no sound from the modem; be enar that phone number or > > ask >> >> somebody to listen for you, a friend probably. >> >> >> If the dialled number rings, this is a very great step ahead. >> >> >> In which country/city do you live? Needed to try to find a free > > service >> >> nearby. >> >> >> Jacques >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> = >> > > > > > > > |
| Free embeddable forum powered by Nabble | Forum Help |