Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: alsa-devel@alsa-project.org
Subject: ac97 oops in ali modem driver
Date: Sun, 2 Oct 2005 21:01:09 -0400	[thread overview]
Message-ID: <20051003010109.GA27888@redhat.com> (raw)

I just had a user file a Fedora bug with the following oops.

Unable to handle kernel NULL pointer dereference at virtual address 000001a4
 printing eip:
df969005
*pde = 12620067
Oops: 0000 [#1]
Modules linked in: nfs radeon drm nfsd exportfs lockd nfs_acl autofs4 sunrpc pcmcia dm_mod vid
eo button battery ac yenta_socket rsrc_nonstatic pcmcia_core ohci_hcd shpchp i2c_ali1535 i2c_c
ore snd_ali5451 snd_ac97_codec snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_de
vice snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc prism54 8139cp m
ii floppy joydev ext3 jbd
CPU:    0
EIP:    0060:[<df969005>]    Not tainted VLI
EFLAGS: 00010202   (2.6.13-1.1526_FC4)
EIP is at snd_ac97_valid_reg+0x5/0x135 [snd_ac97_codec]
eax: 00000000   ebx: 00000040   ecx: 00000000   edx: 00000040
esi: 00000000   edi: 00000040   ebp: 00001f40   esp: ca515edc
ds: 007b   es: 007b   ss: 0068
Process gstreamer-prope (pid: 10503, threadinfo=ca515000 task=da809aa0)
Stack: 00000040 df969149 de2ac800 00000001 d4fb1000 de3bf560 df9207ca 00000000
       fffffff4 de3bf560 db6b9000 df92d6b2 00000000 00000001 00000246 00000000
       00000000 00000000 0000025c 0000025c d4fb1000 d4fb1000 fffffff4 de3bf560
Call Trace:
 [<df969149>] snd_ac97_write+0x14/0x5a [snd_ac97_codec]
 [<df9207ca>] snd_ali_modem_hw_params+0x2c/0x4c [snd_ali5451]
 [<df92d6b2>] snd_pcm_hw_params+0x290/0x609 [snd_pcm]
 [<df92da7b>] snd_pcm_hw_params_user+0x50/0x6a [snd_pcm]
 [<df9349b5>] snd_pcm_capture_ioctl1+0x2e/0x1ce [snd_pcm]
 [<df934b70>] snd_pcm_capture_ioctl+0x0/0x1b [snd_pcm]
 [<c01bf0e9>] do_ioctl+0x19/0x55
 [<c01bf217>] vfs_ioctl+0x50/0x1aa
 [<c01bf3ce>] sys_ioctl+0x5d/0x6b
 [<c0104409>] sysenter_past_esp+0x56/0x79
Code:  Bad EIP value.


It looks like we're somehow ending up with card->ac97 == NULL.
This kernel is based on 2.6.13.2, with no ALSA patches other than
an unrelated emu10k1 diff.  From eyeballing a quick diff of
the ali driver between 2.6.13.2 and current upstream 2.6.14rc3,
it doesn't look like this has been addressed already.

		Dave



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

             reply	other threads:[~2005-10-03  1:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03  1:01 Dave Jones [this message]
2005-10-03 14:34 ` ac97 oops in ali modem driver Sasha Khapyorsky
2005-10-04 11:05   ` Takashi Iwai
2005-10-05  0:01     ` Sasha Khapyorsky
2005-10-05  9:57       ` Takashi Iwai
2005-10-06 10:00         ` Sasha Khapyorsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051003010109.GA27888@redhat.com \
    --to=davej@redhat.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox