Re: Victor Hahn, 11c11040

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just installed a vanilla 2.6.26.1 kernel and sound works flawlessly here. 
Maybe Ubuntu messed something up, maybe it's just that it's a newer version, 
I don't know.

However, now the modem doesn't work anymore.

I patched the sound driver and compiled the modem driver. The modules load 
without any problems:

# modprobe agrmodem
# modprobe agrserial
#

dmesg says:

agrmodem: module license 'Proprietary' taints kernel.
* Hello Agere Driver **
Loading module Agere Modem Controller driver version 2.1.80 (2007-10-1)
ttyAGS3 at I/O 0x4 (irq = 22) is a AgereModem
Loading module Agere Modem Interface driver version 2.1.80.0 (2007-10-01)

So I create a symlink to /dev/modem and try running wvdial:

# ln -s /dev/ttyAGS3 /dev/modem
# wvdial
- --> WvDial: Internet dialer version 1.60
Segmentation fault

dmesg shows some rather nasty looking errors:

==> codecType = 0x32
BUG: unable to handle kernel paging request at 00b351b5
IP: [<f9135508>] :agrmodem:findHDACodec+0x18/0x40
*pde = 00000000
Oops: 0000 [#1] SMP
Modules linked in: agrserial agrmodem(P) af_packet rfcomm l2cap i915 drm ppdev 
ipv6 acpi_cpufreq cpufreq_userspace cpufreq_stats cpufreq_ondemand freq_table 
cpufreq_conservative cpufreq_powersave sbs sbshc container iptable_filter 
ip_tables x_tables coretemp sbp2 parport_pc lp parport loop joydev serio_raw 
psmouse pcspkr iTCO_wdt iTCO_vendor_support hci_usb sdhci bluetooth mmc_core 
snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss shpchp 
pci_hotplug battery snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq 
snd_timer snd_seq_device snd soundcore ac snd_page_alloc video output button 
intel_agp agpgart evdev ext3 jbd mbcache sha256_generic aes_i586 aes_generic 
cbc sr_mod cdrom sg sd_mod ata_piix pata_acpi ahci ata_generic ohci1394 
ieee1394 libata scsi_mod dock tg3 ehci_hcd uhci_hcd usbcore dm_crypt dm_mod 
crypto_blkcipher thermal processor fan thermal_sys fuse

Pid: 6200, comm: wvdial Tainted: P          (2.6.26.1 #2)
EIP: 0060:[<f9135508>] EFLAGS: 00210206 CPU: 1
EIP is at findHDACodec+0x18/0x40 [agrmodem]
EAX: 00b3519f EBX: f8cff0c4 ECX: f7bff000 EDX: 00000000
ESI: f8cff0c4 EDI: f8cff028 EBP: f2aadd60 ESP: f2aadd40
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process wvdial (pid: 6200, ti=f2aac000 task=efb72aa0 task.ti=f2aac000)
Stack: f9135535 f91204b9 f8d095e9 f8d095ea f2aaddd0 c0124f2b f914e90b f2aaddaf
       f2aaddd0 f9109741 f8cff0c4 f8c6c048 00000008 00000001 f8cff39c 00000004
       00000001 00000000 00000000 00000000 c03b3394 00200202 00000000 00000001
Call Trace:
 [<f9135535>] azlGetResourceInformation+0x5/0x10 [agrmodem]
 [<f91204b9>] CAzlIntelInit+0x2d/0x3c4 [agrmodem]
 [<c0124f2b>] printk+0x1b/0x20
 [<f9109741>] LXHardwareStart+0x11de/0x13fb [agrmodem]
 [<f9104ef8>] linux_modem_open+0x45/0x10e [agrmodem]
 [<c012d72e>] __mod_timer+0x8e/0xa0
 [<f905ef45>] modemPortOpen+0x5/0x10 [agrmodem]
 [<f8cedecb>] serial8250_startup+0x18b/0x350 [agrserial]
 [<c026ad89>] uart_startup+0x49/0x160
 [<c026c831>] uart_open+0xf1/0x400
 [<c0254b14>] check_tty_count+0x14/0xb0
 [<c020c4bf>] kobject_get+0xf/0x20
 [<c026c740>] uart_open+0x0/0x400
 [<c0258ab5>] tty_open+0x145/0x2f0
 [<c0258970>] tty_open+0x0/0x2f0
 [<c018d01f>] chrdev_open+0x9f/0x190
 [<c0188373>] __dentry_open+0xb3/0x230
 [<c0188537>] nameidata_to_filp+0x47/0x60
 [<c018cf80>] chrdev_open+0x0/0x190
 [<c01952d1>] do_filp_open+0x181/0x7d0
 [<c0137180>] autoremove_wake_function+0x0/0x40
 [<c0102c33>] __switch_to+0xa3/0x160
 [<c011e5e9>] hrtick_set+0x69/0x130
 [<c01a178d>] mnt_drop_write+0x1d/0xe0
 [<c0188092>] get_unused_fd_flags+0x52/0xd0
 [<c0192f7a>] getname+0xaa/0xe0
 [<c018815c>] do_sys_open+0x4c/0xe0
 [<c018826c>] sys_open+0x2c/0x40
 [<c0103dbf>] sysenter_past_esp+0x78/0xb9
 =======================
Code: 00 00 c3 a1 40 2b a4 f8 8b 80 38 01 00 00 8b 40 28 c3 90 a1 40 2b a4 f8 
31 d2 8b 80 38 01 00 00 8b 48 6c 8b 44 91 24 85 c0 74 12 <66> 81 78 16 c1 11 
74 0d 83 c2 01 83 fa 10 75 e8 f3 c3 31 c0 c3
EIP: [<f9135508>] findHDACodec+0x18/0x40 [agrmodem] SS:ESP 0068:f2aadd40
- ---[ end trace b90962ad5b03bfcc ]---

If I try running wvdial again it just prints:

# wvdial
- --> WvDial: Internet dialer version 1.60

and stays running. Not even kill -9 will terminate it. It does not print any 
further messages to dmesg.

With the Ubuntu kernel the modem driver worked, even if the sound driver was 
messed up. Any ideas what to do about this now?

Beste regards,
Victor

On Sunday 03 August 2008, Bjorn Wielens wrote:
> Hi Victor,
> In this case, it would seem to be a bug in ALSA. Upgrading to ALSA
> 1.0.17 would likely resolve it, but this would disable the modem's
> functionality (at least until you also upgrade to a kernel that ships
> with ALSA 1.0.16 or newer (version info in /proc/asound/version) . -- we
> do have a driver for this version of ALSA, but it will not compile if
> the kernel source's ALSA version is not correct.)
> We've received several reports of strange behaviour with ALSA modules in
> Ubuntu- for example, one user reports that his volume sliders changed
> after loading the patched module, which would again suggest differences
> between what shipped precompiled with the kernel and what is in the
> kernel source.
> Best,
> Bjorn.
>
> Victor Hahn wrote:
> > Hi Bjorn,
> >
> > I just tried it and indeed, it does! I commented out the two extra
> > lines and
> > it's still the same error. That very strange - shouldn't Ubuntu's
> > linux-source package exactly match the precompiled kernel? This
> > doesn't seem
> > to be a compilation problem here as exactly the same happens with
> > Marvin's
> > precompiled module. But if this module were a different version from the
> > original's it wouldn't work with the precompiled Ubuntu kernel, would
> > it? I'm
> > really confused about this...
> >
> > Best regards,
> > Victor
> >
> > On Sunday 03 August 2008, Bjorn Wielens wrote:
> > > Hi Victor,
> > > Does it also do such if you build/install the snd-hda-intel module in
> > > /usr/src/linux without patching hda_codec.c?
> > > If so, then it would seem the kernel has a different version of the
> > > module than is provided by the source you're building from.
> > > Bjorn.
> > >
> > > Victor Hahn wrote:
> > >> Hi,
> > >>
> > >> thanks to your help, I got my modem working too. Thanks a lot!
> > >>
> > >> However, there's still one rather major problem. The patched
> > >> snd-hda-intel.ko
> > >> module rips my sound device off it's master channel. Whenever I
> >
> > start KDE
> >
> > >> (guess this has something to do with artsd, but I'm not too keen to
> > >> investigate this) it produces a tone at (probably) maximum volume and
> > >> won't
> > >> stop any more.
> > >>
> > >> The modem modules don't have anything to do with it. This error also
> > >> occurs
> > >> when I compile a new kernel and patch the snd-hda-intel module as
> > >> described
> > >> in the howto. I don't quite understand how this small patch can cause
> > >> such a
> > >> strange behavior. Any ideas what to do about this?
> > >>
> > >> Best regards,
> > >> Victor
> > >>
> > >> On Sunday 03 August 2008, Bjorn Wielens wrote:
> > >>> Congrats, and thanks for letting us know!
> > >>> Happy modeming!
> > >>> Bjorn.
> > >>>
> > >>> Hugo Canalli wrote:
> > >>>> New modem hardware is working.
> > >>>>
> > >>>> hugleo@hugleo-desktop:~$ sudo dmesg | grep agr
> > >>>> [  105.709233] agrmodem: module license 'Proprietary' taints kernel.
> > >>>> [  105.709812] agrmodem: no version for "snd_cards" found: kernel
> > >>>> tainted. hugleo@hugleo-desktop:~$ wvdial
> > >>>> --> WvDial: Internet dialer version 1.60
> > >>>> --> Cannot set information for serial port.
> > >>>> --> Initializing modem.
> > >>>> --> Sending: ATZ
> > >>>> ATZ
> > >>>> OK
> > >>>> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > >>>> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> > >>>> OK
> > >>>> --> Modem initialized.
> > >>>>
> > >>>> thanks.
> > >>>>
> > >>>>
> > >>>> On Sat, Aug 2, 2008 at 1:11 AM, Hugo Canalli <hugocanalli@xxxxxxxxx
> > >>>> <mailto:hugocanalli@xxxxxxxxx>> wrote:
> > >>>>
> > >>>>     Are there a script error?
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     sudo ./setup
> > >>>>
> > >>>>     Drivers to be installed are: agrmodem.ko
> > >>>>     agrserial.ko
> > >>>>     snd-hda-intel.ko
> > >>>>     installing drivers for kernel version 2.6.24-19-generic
> > >>>>     Saving existing driver to /root/
> > >>>>     Desktop  snd-hda-intel.ko
> > >>>>     Copying snd-hda-intel.ko to
> >
> > /lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-i
> >
> > >>>> ntel.ko
> > >>>>
> > >>>>     Making folder /lib/modules/2.6.24-19-generic/extra
> > >>>>     Copying drivers to extra
> > >>>>     cp: cannot stat `ageserial.ko': No such file or directory
> > >>>>     Drivers agrmodem.ko ageserial.ko and snd-hda-intel.ko should
> > >>>> next be displayed
> > >>>>     -rw-r--r-- 1 root root 2056474 2008-08-02 00:57
> >
> > /lib/modules/2.6.24-19-generic/ubuntu/sound/alsa-driver/pci/hda/snd-hda-i
> >
> > >>>> ntel.ko
> > >>>>
> > >>>>     /lib/modules/2.6.24-19-generic/extra/:
> > >>>>     total 4596
> > >>>>     -rw-r--r-- 1 root root 1817731 2008-08-02 00:57 agrmodem.ko
> > >>>>     -rw-r--r-- 1 root root  152226 2008-07-25 01:14 agrserial.ko
> > >>>>     -rw-r--r-- 1 root root 2716872 2008-07-24 18:48 rt61.ko
> > >>>>
> > >>>>     Checking dependencies, will take a while.
> > >>>>
> > >>>>     Report any warnings to Discuss@xxxxxxxxxxxxx
> > >>>>     <mailto:Discuss@xxxxxxxxxxxxx>
> > >>>>     If no warnings, report and test the modem
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     modem
> > >>>>     FATAL: Error inserting agrserial
> >
> > (/lib/modules/2.6.24-19-generic/kernel/drivers/char/agrserial.ko):
> > >>>>     No such device
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     ls /lib/modules/2.6.24-16-generic/extra/
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     cp: cannot stat `ageserial.ko': No such file or directory
> > >>>>
> > >>>>     I've changed to `agrserial.ko': but there are other error:
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     modem
> > >>>>     FATAL: Error inserting agrserial
> >
> > (/lib/modules/2.6.24-19-generic/kernel/drivers/char/agrserial.ko):
> > >>>>     No such device
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     ls /lib/modules/2.6.24-16-generic/extra/ -la
> > >>>>     total 8
> > >>>>     drwxr-xr-x 2 root root 4096 2008-08-02 00:56 .
> > >>>>     drwxr-xr-x 9 root root 4096 2008-04-27 19:21 ..
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     ls /lib/modules/2.6.24-19-generic/kernel/drivers/char/ -la
> > >>>>     total 4692
> > >>>>     drwxr-xr-x  9 root root    4096 2008-07-25 21:45 .
> > >>>>     drwxr-xr-x 51 root root    4096 2008-06-29 08:26 ..
> > >>>>     drwxr-xr-x  2 root root    4096 2008-07-24 23:02 agp
> > >>>>     -rw-r--r--  1 root root 1820902 2008-07-25 21:45 agrmodem.ko
> > >>>>     -rw-r--r--  1 root root 1820902 2008-07-25 21:43 agrmodem.old
> > >>>>     -rw-r--r--  1 root root  159612 2008-07-25 21:45 agrserial.ko
> > >>>>     -rw-r--r--  1 root root  159612 2008-07-25 21:43 agrserial.old
> > >>>>     -rw-r--r--  1 root root   17640 2008-07-12 02:32 applicom.ko
> > >>>>     -rw-r--r--  1 root root    8972 2008-07-12 02:32 cs5535_gpio.ko
> > >>>>     -rw-r--r--  1 root root   58152 2008-07-12 02:32 cyclades.ko
> > >>>>     drwxr-xr-x  2 root root    4096 2008-07-24 23:02 drm
> > >>>>     -rw-r--r--  1 root root   10608 2008-07-12 02:32 dtlk.ko
> > >>>>     -rw-r--r--  1 root root   34024 2008-07-12 02:32 epca.ko
> > >>>>     -rw-r--r--  1 root root   20216 2008-07-12 02:32
> >
> > generic_serial.ko
> >
> > >>>>     -rw-r--r--  1 root root    8360 2008-07-12 02:32
> > >>>> hangcheck-timer.ko drwxr-xr-x  2 root root    4096 2008-07-24 23:02
> > >>>> hw_random -rw-r--r--  1 root root   11144 2008-07-12 02:32 i8k.ko
> > >>>>     drwxr-xr-x  2 root root    4096 2008-07-24 23:02 ipmi
> > >>>>     -rw-r--r--  1 root root   16012 2008-07-12 02:32 lp.ko
> > >>>>     drwxr-xr-x  2 root root    4096 2008-07-24 23:02 mwave
> > >>>>     -rw-r--r--  1 root root   36904 2008-07-12 02:32 mxser_new.ko
> > >>>>     -rw-r--r--  1 root root   14136 2008-07-12 02:32 n_hdlc.ko
> > >>>>     -rw-r--r--  1 root root   12896 2008-07-12 02:32 n_r3964.ko
> > >>>>     -rw-r--r--  1 root root    6468 2008-07-12 02:32 nsc_gpio.ko
> > >>>>     -rw-r--r--  1 root root   13640 2008-07-12 02:32 nvram.ko
> > >>>>     -rw-r--r--  1 root root   10368 2008-07-12 02:32 pc8736x_gpio.ko
> > >>>>     drwxr-xr-x  2 root root    4096 2008-07-24 23:02 pcmcia
> > >>>>     -rw-r--r--  1 root root   13088 2008-07-12 02:32 ppdev.ko
> > >>>>     -rw-r--r--  1 root root    9620 2008-07-12 02:32 raw.ko
> > >>>>     -rw-r--r--  1 root root   44060 2008-07-12 02:32 rocket.ko
> > >>>>     -rw-r--r--  1 root root    8684 2008-07-12 02:32 scx200_gpio.ko
> > >>>>     -rw-r--r--  1 root root   31308 2008-07-12 02:32 sonypi.ko
> > >>>>     -rw-r--r--  1 root root   49628 2008-07-12 02:32 specialix.ko
> > >>>>     -rw-r--r--  1 root root   45420 2008-07-12 02:32 sx.ko
> > >>>>     -rw-r--r--  1 root root   56064 2008-07-12 02:32 synclink_gt.ko
> > >>>>     -rw-r--r--  1 root root   71240 2008-07-12 02:32 synclink.ko
> > >>>>     -rw-r--r--  1 root root   61504 2008-07-12 02:32 synclinkmp.ko
> > >>>>     -rw-r--r--  1 root root   18284 2008-07-12 02:32 tlclk.ko
> > >>>>     -rw-r--r--  1 root root   10100 2008-07-12 02:32 toshiba.ko
> > >>>>     drwxr-xr-x  2 root root    4096 2008-07-24 23:02 tpm
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     sudo chmod +x
> > >>>>     /lib/modules/2.6.24-19-generic/kernel/drivers/char/agrserial.ko
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     sudo chmod +x
> > >>>>     /lib/modules/2.6.24-19-generic/kernel/drivers/char/agrserial.ko
> > >>
> > >> hugleo@hugleo-desktop:~/Desktop/agrsm-ubuntu8.04.1-2.6.24-19-generic$
> > >>
> > >>>>     modem
> > >>>>     FATAL: Error inserting agrserial
> >
> > (/lib/modules/2.6.24-19-generic/kernel/drivers/char/agrserial.ko):
> > >>>>     No such device
> > >>>>
> > >>>>     And don't work.
> > >>>>
> > >>>>     :(
> > >>>>
> > >>>>     On Fri, Aug 1, 2008 at 10:17 PM, Marvin Stodolsky
> > >>>>     <marvin.stodolsky@xxxxxxxxx <mailto:marvin.stodolsky@xxxxxxxxx>>
> > >>>>     wrote:
> > >>>>
> > >>>>         Victor,
> > >>>>
> > >>>>         Unpack with:
> > >>>>         $ tar zxf agrsm*.tar.gz
> > >>>>         $ cd  agrsm-ubuntu8.04.1-2.6.24-19-generic
> > >>>>         Run
> > >>>>         $ sudo ./setup
> > >>>>         Read the HowTOs
> > >>>>
> > >>>>         Package information below.
> > >>>>
> > >>>>         MarvS
> > >>>>
> > >>>>         $ tar cvfz agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic/
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic/
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic/agrmodem.ko
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic/snd-hda-intel.ko
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic/agrserial.ko
> > >>>>
> > >>>> agrsm-ubuntu8.04.1-2.6.24-19-generic/HOWTO-Agere-11c11040-HDA.html
> > >>>> agrsm-ubuntu8.04.1-2.6.24-19-generic/agrsm_howto.txt
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic/HOWTO-11c11040-ru.html
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic/setup
> > >>>>         marv@marvlap:~/Desktop$ ls -lh
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz
> > >>>>         -rw-r--r-- 1 marv marv 1.5M 2008-08-01 21:14
> > >>>>         agrsm-ubuntu8.04.1-2.6.24-19-generic.tar.gz
> > >>>>
> > >>>>
> > >>>>
> > >>>>         On Fri, Aug 1, 2008 at 8:33 PM, Marvin Stodolsky
> > >>>>         <marvin.stodolsky@xxxxxxxxx
> > >>>>
> > >>>>         <mailto:marvin.stodolsky@xxxxxxxxx>> wrote:
> > >>>>         > Bjorn,
> > >>>>         >
> > >>>>         > This is your support case
> > >>>>         >
> > >>>>         > Audio device: Intel Corporation 82801H "
> > >>>>         > CLASS=0403
> > >>>>         > PCIDEV=8086:284b
> > >>>>         > SUBSYS=17aa:384e
> > >>>>         > IRQ=22
> > >>>>         > HDA=8086:284b
> > >>>>         > SOFT=8086:284b.HDA
> > >>>>         > CHIP=0x11c11040
> > >>>>         > on
> > >>>>         > CPU=i686, Linux version 2.6.24-19-generic
> > >>>>         >
> > >>>>         > Victor
> > >>>>         >
> > >>>>         > Start with the HowTos on
> > >>>>         > http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
> > >>>>         > We have a set of three compiled drivers you need from
> >
> > Roan's
> >
> > >>>>         success,
> > >>>>
> > >>>>         > which I'll separately forward.
> > >>>>         >
> > >>>>         >
> > >>>>         > MarvS
> > >>>>
> > >>>>     --
> > >>>>     Is we on the tape!
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> --
> > >>>> Is we on the tape!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIliXOHcN9/iUDLnoRAqd2AKCSTS7DhiHRiby45Q+7WlyioXHCSQCfeX0M
4B62RHg5391J2Gd8Qs1kXX8=
=7Idg
-----END PGP SIGNATURE-----

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

  Powered by Linux