* [BUG] Ali snd soft lookup on 2.6.14 (regression)
@ 2005-11-10 22:18 roucaries bastien
2005-11-11 14:06 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: roucaries bastien @ 2005-11-10 22:18 UTC (permalink / raw)
To: linux-kernel
Recently I upgrade from 2.6.10 to 2.6.14 and I my sound card doesn't
work anymore.
dmesg shows:
BUG: soft lockup detected on CPU#0!
Pid: 3798, comm: modprobe
EIP: 0060:[<dcb09031>] CPU: 0
EIP is at snd_ali_codec_ready+0x31/0x90 [snd_ali5451]
EFLAGS: 00000212 Not tainted (2.6.14-1-686)
EAX: 5374807e EBX: 5374807e ECX: 00008800 EDX: 00008840
ESI: fffbeeb4 EDI: dada6000 EBP: 00000040 DS: 007b ES: 007b
CR0: 8005003b CR2: b7f18000 CR3: 1acf4000 CR4: 000006d0
[<dcb092a8>] snd_ali_codec_peek+0xb8/0xf0 [snd_ali5451]
[<dcb09353>] snd_ali_codec_read+0x23/0x30 [snd_ali5451]
[<dcad9235>] snd_ac97_read+0x35/0x50 [snd_ac97_codec]
[<dcae0c91>] patch_ad1881_chained1+0x71/0x100 [snd_ac97_codec]
[<dcae0e85>] patch_ad1881_chained+0x165/0x1a0 [snd_ac97_codec]
[<dcae1057>] patch_ad1881+0x197/0x1e0 [snd_ac97_codec]
[<dcae13b0>] patch_ad1981b+0x10/0x50 [snd_ac97_codec]
[<dcadc74e>] snd_ac97_mixer+0x2ee/0xc90 [snd_ac97_codec]
[<dca069d4>] snd_info_register+0x34/0xa0 [snd]
[<c01492cf>] kzalloc+0x1f/0x50
[<dca0968d>] snd_device_new+0x1d/0x70 [snd]
[<dcadc338>] snd_ac97_bus+0x78/0xb0 [snd_ac97_codec]
[<dcb0b0cd>] snd_ali_mixer+0xed/0x120 [snd_ali5451]
[<dcb0afc0>] snd_ali_mixer_free_ac97+0x0/0x20 [snd_ali5451]
[<dcb0bbdf>] snd_ali_probe+0xcf/0x170 [snd_ali5451]
[<c01da326>] pci_match_device+0x26/0xc0
[<c01da436>] __pci_device_probe+0x56/0x70
[<c01da47f>] pci_device_probe+0x2f/0x50
[<c0231fa3>] driver_probe_device+0x43/0xd0
[<c02320b0>] __driver_attach+0x0/0x50
[<c02320f1>] __driver_attach+0x41/0x50
[<c02314dd>] bus_for_each_dev+0x5d/0x80
[<c0232125>] driver_attach+0x25/0x30
[<c02320b0>] __driver_attach+0x0/0x50
[<c0231a39>] bus_add_driver+0x89/0xf0
[<c01da6f2>] pci_register_driver+0x62/0x90
[<dca8f00f>] alsa_card_ali_init+0xf/0x11 [snd_ali5451]
[<c01371d1>] sys_init_module+0xc1/0x1a0
[<c01030b5>] syscall_call+0x7/0xb
lspci -v
0000:00:04.0 Multimedia audio controller: ALi Corporation M5451 PCI
AC-Link Controller Audio Device (rev 02)
Subsystem: Sony Corporation: Unknown device 8158
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort-<MAbort- >SERR+ <PERR+
Latency: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at 8800 [size=256]
Region 1: Memory at e0401000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Regards
Bastien
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [BUG] Ali snd soft lookup on 2.6.14 (regression) 2005-11-10 22:18 [BUG] Ali snd soft lookup on 2.6.14 (regression) roucaries bastien @ 2005-11-11 14:06 ` Takashi Iwai 2005-11-11 18:40 ` roucaries bastien 0 siblings, 1 reply; 7+ messages in thread From: Takashi Iwai @ 2005-11-11 14:06 UTC (permalink / raw) To: roucaries bastien; +Cc: linux-kernel At Thu, 10 Nov 2005 22:18:36 +0000, roucaries bastien wrote: > > Recently I upgrade from 2.6.10 to 2.6.14 and I my sound card doesn't > work anymore. > dmesg shows: > BUG: soft lockup detected on CPU#0! > > Pid: 3798, comm: modprobe > EIP: 0060:[<dcb09031>] CPU: 0 > EIP is at snd_ali_codec_ready+0x31/0x90 [snd_ali5451] > EFLAGS: 00000212 Not tainted (2.6.14-1-686) > EAX: 5374807e EBX: 5374807e ECX: 00008800 EDX: 00008840 > ESI: fffbeeb4 EDI: dada6000 EBP: 00000040 DS: 007b ES: 007b > CR0: 8005003b CR2: b7f18000 CR3: 1acf4000 CR4: 000006d0 > [<dcb092a8>] snd_ali_codec_peek+0xb8/0xf0 [snd_ali5451] > [<dcb09353>] snd_ali_codec_read+0x23/0x30 [snd_ali5451] > [<dcad9235>] snd_ac97_read+0x35/0x50 [snd_ac97_codec] > [<dcae0c91>] patch_ad1881_chained1+0x71/0x100 [snd_ac97_codec] > [<dcae0e85>] patch_ad1881_chained+0x165/0x1a0 [snd_ac97_codec] > [<dcae1057>] patch_ad1881+0x197/0x1e0 [snd_ac97_codec] > [<dcae13b0>] patch_ad1981b+0x10/0x50 [snd_ac97_codec] > [<dcadc74e>] snd_ac97_mixer+0x2ee/0xc90 [snd_ac97_codec] > [<dca069d4>] snd_info_register+0x34/0xa0 [snd] > [<c01492cf>] kzalloc+0x1f/0x50 > [<dca0968d>] snd_device_new+0x1d/0x70 [snd] > [<dcadc338>] snd_ac97_bus+0x78/0xb0 [snd_ac97_codec] > [<dcb0b0cd>] snd_ali_mixer+0xed/0x120 [snd_ali5451] > [<dcb0afc0>] snd_ali_mixer_free_ac97+0x0/0x20 [snd_ali5451] > [<dcb0bbdf>] snd_ali_probe+0xcf/0x170 [snd_ali5451] > [<c01da326>] pci_match_device+0x26/0xc0 > [<c01da436>] __pci_device_probe+0x56/0x70 > [<c01da47f>] pci_device_probe+0x2f/0x50 > [<c0231fa3>] driver_probe_device+0x43/0xd0 > [<c02320b0>] __driver_attach+0x0/0x50 > [<c02320f1>] __driver_attach+0x41/0x50 > [<c02314dd>] bus_for_each_dev+0x5d/0x80 > [<c0232125>] driver_attach+0x25/0x30 > [<c02320b0>] __driver_attach+0x0/0x50 > [<c0231a39>] bus_add_driver+0x89/0xf0 > [<c01da6f2>] pci_register_driver+0x62/0x90 > [<dca8f00f>] alsa_card_ali_init+0xf/0x11 [snd_ali5451] > [<c01371d1>] sys_init_module+0xc1/0x1a0 > [<c01030b5>] syscall_call+0x7/0xb Does the patch below fix? Takashi --- --- linux/sound/pci/ali5451/ali5451.c 24 Oct 2005 13:59:31 -0000 1.75 +++ linux/sound/pci/ali5451/ali5451.c 11 Nov 2005 14:00:52 -0000 @@ -387,26 +387,24 @@ } static int snd_ali_codec_ready( ali_t *codec, - unsigned int port, - int sched ) + unsigned int port ) { unsigned long end_time; unsigned int res; - end_time = jiffies + 10 * msecs_to_jiffies(250); + end_time = jiffies + msecs_to_jiffies(250); do { res = snd_ali_5451_peek(codec,port); if (! (res & 0x8000)) return 0; - if (sched) - schedule_timeout_uninterruptible(1); + schedule_timeout_uninterruptible(1); } while (time_after_eq(end_time, jiffies)); snd_ali_5451_poke(codec, port, res & ~0x8000); snd_printdd("ali_codec_ready: codec is not ready.\n "); return -EIO; } -static int snd_ali_stimer_ready(ali_t *codec, int sched) +static int snd_ali_stimer_ready(ali_t *codec) { unsigned long end_time; unsigned long dwChk1,dwChk2; @@ -414,13 +412,12 @@ dwChk1 = snd_ali_5451_peek(codec, ALI_STIMER); dwChk2 = snd_ali_5451_peek(codec, ALI_STIMER); - end_time = jiffies + 10 * msecs_to_jiffies(250); + end_time = jiffies + msecs_to_jiffies(250); do { dwChk2 = snd_ali_5451_peek(codec, ALI_STIMER); if (dwChk2 != dwChk1) return 0; - if (sched) - schedule_timeout_uninterruptible(1); + schedule_timeout_uninterruptible(1); } while (time_after_eq(end_time, jiffies)); snd_printk(KERN_ERR "ali_stimer_read: stimer is not ready.\n"); return -EIO; @@ -440,9 +437,9 @@ port = codec->chregs.regs.ac97write; - if (snd_ali_codec_ready(codec, port, 0) < 0) + if (snd_ali_codec_ready(codec, port) < 0) return; - if (snd_ali_stimer_ready(codec, 0) < 0) + if (snd_ali_stimer_ready(codec) < 0) return; dwVal = (unsigned int) (reg & 0xff); @@ -469,9 +466,9 @@ port = codec->chregs.regs.ac97read; - if (snd_ali_codec_ready(codec, port, 0) < 0) + if (snd_ali_codec_ready(codec, port) < 0) return ~0; - if (snd_ali_stimer_ready(codec, 0) < 0) + if (snd_ali_stimer_ready(codec) < 0) return ~0; dwVal = (unsigned int) (reg & 0xff); @@ -480,9 +477,9 @@ snd_ali_5451_poke(codec, port, dwVal); - if (snd_ali_stimer_ready(codec, 0) < 0) + if (snd_ali_stimer_ready(codec) < 0) return ~0; - if (snd_ali_codec_ready(codec, port, 0) < 0) + if (snd_ali_codec_ready(codec, port) < 0) return ~0; return (snd_ali_5451_peek(codec, port) & 0xffff0000)>>16; @@ -770,7 +767,7 @@ currenttimer = inl(ALI_REG(codec, ALI_STIMER)); while (currenttimer < begintimer + interval) { - if(snd_ali_stimer_ready(codec, 1) < 0) + if(snd_ali_stimer_ready(codec) < 0) break; currenttimer = inl(ALI_REG(codec, ALI_STIMER)); } @@ -1065,35 +1062,34 @@ static snd_ali_voice_t *snd_ali_alloc_voice(ali_t * codec, int type, int rec, int channel) { snd_ali_voice_t *pvoice = NULL; - unsigned long flags; int idx; snd_ali_printk("alloc_voice: type=%d rec=%d\n",type,rec); - spin_lock_irqsave(&codec->voice_alloc, flags); + spin_lock_irq(&codec->voice_alloc); if (type == SNDRV_ALI_VOICE_TYPE_PCM) { idx = channel > 0 ? snd_ali_alloc_pcm_channel(codec, channel) : snd_ali_find_free_channel(codec,rec); if(idx < 0) { snd_printk(KERN_ERR "ali_alloc_voice: err.\n"); - spin_unlock_irqrestore(&codec->voice_alloc, flags); + spin_unlock_irq(&codec->voice_alloc); return NULL; } pvoice = &(codec->synth.voices[idx]); + pvoice->codec = codec; pvoice->use = 1; pvoice->pcm = 1; pvoice->mode = rec; - spin_unlock_irqrestore(&codec->voice_alloc, flags); + spin_unlock_irq(&codec->voice_alloc); return pvoice; } - spin_unlock_irqrestore(&codec->voice_alloc, flags); + spin_unlock_irq(&codec->voice_alloc); return NULL; } static void snd_ali_free_voice(ali_t * codec, snd_ali_voice_t *pvoice) { - unsigned long flags; void (*private_free)(void *); void *private_data; @@ -1101,7 +1097,7 @@ if (pvoice == NULL || !pvoice->use) return; snd_ali_clear_voices(codec, pvoice->number, pvoice->number); - spin_lock_irqsave(&codec->voice_alloc, flags); + spin_lock_irq(&codec->voice_alloc); private_free = pvoice->private_free; private_data = pvoice->private_data; pvoice->private_free = NULL; @@ -1111,7 +1107,7 @@ } pvoice->use = pvoice->pcm = pvoice->synth = 0; pvoice->substream = NULL; - spin_unlock_irqrestore(&codec->voice_alloc, flags); + spin_unlock_irq(&codec->voice_alloc); if (private_free) private_free(private_data); } @@ -1357,7 +1353,6 @@ snd_pcm_runtime_t *runtime = substream->runtime; snd_ali_voice_t *pvoice = (snd_ali_voice_t *) runtime->private_data; snd_ali_voice_t *evoice = pvoice->extra; - unsigned long flags; unsigned int LBA; unsigned int Delta; @@ -1370,7 +1365,7 @@ snd_ali_printk("playback_prepare ...\n"); - spin_lock_irqsave(&codec->reg_lock, flags); + spin_lock_irq(&codec->reg_lock); /* set Delta (rate) value */ Delta = snd_ali_convert_rate(runtime->rate, 0); @@ -1435,7 +1430,7 @@ CTRL, EC); } - spin_unlock_irqrestore(&codec->reg_lock, flags); + spin_unlock_irq(&codec->reg_lock); return 0; } @@ -1445,7 +1440,6 @@ ali_t *codec = snd_pcm_substream_chip(substream); snd_pcm_runtime_t *runtime = substream->runtime; snd_ali_voice_t *pvoice = (snd_ali_voice_t *) runtime->private_data; - unsigned long flags; unsigned int LBA; unsigned int Delta; unsigned int ESO; @@ -1456,7 +1450,7 @@ unsigned int EC; u8 bValue; - spin_lock_irqsave(&codec->reg_lock, flags); + spin_lock_irq(&codec->reg_lock); snd_ali_printk("ali_prepare...\n"); @@ -1471,15 +1465,16 @@ unsigned int rate; - if (codec->revision != ALI_5451_V02) { - spin_unlock_irqrestore(&codec->reg_lock, flags); + spin_unlock_irq(&codec->reg_lock); + if (codec->revision != ALI_5451_V02) return -1; - } + rate = snd_ali_get_spdif_in_rate(codec); if (rate == 0) { snd_printk(KERN_WARNING "ali_capture_preapre: spdif rate detect err!\n"); rate = 48000; } + spin_lock_irq(&codec->reg_lock); bValue = inb(ALI_REG(codec,ALI_SPDIF_CTRL)); if (bValue & 0x10) { outb(bValue,ALI_REG(codec,ALI_SPDIF_CTRL)); @@ -1521,7 +1516,7 @@ EC); - spin_unlock_irqrestore(&codec->reg_lock, flags); + spin_unlock_irq(&codec->reg_lock); return 0; } @@ -1554,16 +1549,15 @@ snd_pcm_runtime_t *runtime = substream->runtime; snd_ali_voice_t *pvoice = (snd_ali_voice_t *) runtime->private_data; unsigned int cso; - unsigned long flags; - spin_lock_irqsave(&codec->reg_lock, flags); + spin_lock(&codec->reg_lock); if (!pvoice->running) { - spin_unlock_irqrestore(&codec->reg_lock, flags); + spin_unlock_irq(&codec->reg_lock); return 0; } outb(pvoice->number, ALI_REG(codec, ALI_GC_CIR)); cso = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2)); - spin_unlock_irqrestore(&codec->reg_lock, flags); + spin_unlock(&codec->reg_lock); return cso; } @@ -1618,15 +1612,12 @@ static void snd_ali_pcm_free_substream(snd_pcm_runtime_t *runtime) { - unsigned long flags; snd_ali_voice_t *pvoice = (snd_ali_voice_t *) runtime->private_data; ali_t *codec; if (pvoice) { codec = pvoice->codec; - spin_lock_irqsave(&codec->reg_lock, flags); snd_ali_free_voice(pvoice->codec, pvoice); - spin_unlock_irqrestore(&codec->reg_lock, flags); } } @@ -1636,16 +1627,10 @@ ali_t *codec = snd_pcm_substream_chip(substream); snd_pcm_runtime_t *runtime = substream->runtime; snd_ali_voice_t *pvoice; - unsigned long flags = 0; - spin_lock_irqsave(&codec->reg_lock, flags); pvoice = snd_ali_alloc_voice(codec, SNDRV_ALI_VOICE_TYPE_PCM, rec, channel); - if (pvoice == NULL) { - spin_unlock_irqrestore(&codec->reg_lock, flags); + if (pvoice == NULL) return -EAGAIN; - } - pvoice->codec = codec; - spin_unlock_irqrestore(&codec->reg_lock, flags); pvoice->substream = substream; runtime->private_data = pvoice; @@ -1864,13 +1849,12 @@ static int snd_ali5451_spdif_get(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol) { - unsigned long flags; ali_t *codec = kcontrol->private_data; unsigned int enable; enable = ucontrol->value.integer.value[0] ? 1 : 0; - spin_lock_irqsave(&codec->reg_lock, flags); + spin_lock_irq(&codec->reg_lock); switch(kcontrol->private_value) { case 0: enable = (codec->spdif_mask & 0x02) ? 1 : 0; @@ -1885,19 +1869,18 @@ break; } ucontrol->value.integer.value[0] = enable; - spin_unlock_irqrestore(&codec->reg_lock, flags); + spin_unlock_irq(&codec->reg_lock); return 0; } static int snd_ali5451_spdif_put(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol) { - unsigned long flags; ali_t *codec = kcontrol->private_data; unsigned int change = 0, enable = 0; enable = ucontrol->value.integer.value[0] ? 1 : 0; - spin_lock_irqsave(&codec->reg_lock, flags); + spin_lock_irq(&codec->reg_lock); switch (kcontrol->private_value) { case 0: change = (codec->spdif_mask & 0x02) ? 1 : 0; @@ -1942,7 +1925,7 @@ default: break; } - spin_unlock_irqrestore(&codec->reg_lock, flags); + spin_unlock_irq(&codec->reg_lock); return change; } ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] Ali snd soft lookup on 2.6.14 (regression) 2005-11-11 14:06 ` Takashi Iwai @ 2005-11-11 18:40 ` roucaries bastien 2005-11-11 18:49 ` Takashi Iwai 0 siblings, 1 reply; 7+ messages in thread From: roucaries bastien @ 2005-11-11 18:40 UTC (permalink / raw) To: Takashi Iwai; +Cc: linux-kernel On 11/11/05, Takashi Iwai <tiwai@suse.de> wrote: > At Thu, 10 Nov 2005 22:18:36 +0000, > roucaries bastien wrote: > > > > Recently I upgrade from 2.6.10 to 2.6.14 and I my sound card doesn't > > work anymore. > Does the patch below fix? It fix the BUG but I have always no sound :-( dmesg shows now: AC'97 1 does not respond - RESET AC'97 1 access is not valid [0xffffffff], removing mixer. I hope it help PS: HZ is 1000 > > Takashi ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] Ali snd soft lookup on 2.6.14 (regression) 2005-11-11 18:40 ` roucaries bastien @ 2005-11-11 18:49 ` Takashi Iwai 2005-11-11 19:02 ` roucaries bastien 0 siblings, 1 reply; 7+ messages in thread From: Takashi Iwai @ 2005-11-11 18:49 UTC (permalink / raw) To: roucaries bastien; +Cc: linux-kernel At Fri, 11 Nov 2005 18:40:25 +0000, roucaries bastien wrote: > > On 11/11/05, Takashi Iwai <tiwai@suse.de> wrote: > > At Thu, 10 Nov 2005 22:18:36 +0000, > > roucaries bastien wrote: > > > > > > Recently I upgrade from 2.6.10 to 2.6.14 and I my sound card doesn't > > > work anymore. > > Does the patch below fix? > It fix the BUG but I have always no sound :-( > > dmesg shows now: > > AC'97 1 does not respond - RESET > AC'97 1 access is not valid [0xffffffff], removing mixer. This is the secondary codec, so it's no fatal error. Make sure that you set up your mixer correctly again. Takashi ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] Ali snd soft lookup on 2.6.14 (regression) 2005-11-11 18:49 ` Takashi Iwai @ 2005-11-11 19:02 ` roucaries bastien 2005-11-11 19:05 ` Takashi Iwai 0 siblings, 1 reply; 7+ messages in thread From: roucaries bastien @ 2005-11-11 19:02 UTC (permalink / raw) To: Takashi Iwai; +Cc: linux-kernel On 11/11/05, Takashi Iwai <tiwai@suse.de> wrote: > At Fri, 11 Nov 2005 18:40:25 +0000, > roucaries bastien wrote: > > > > On 11/11/05, Takashi Iwai <tiwai@suse.de> wrote: > > > At Thu, 10 Nov 2005 22:18:36 +0000, > > > roucaries bastien wrote: > > > > > > > > Recently I upgrade from 2.6.10 to 2.6.14 and I my sound card doesn't > > > > work anymore. > > > Does the patch below fix? > > It fix the BUG but I have always no sound :-( > > > > dmesg shows now: > > > > AC'97 1 does not respond - RESET > > AC'97 1 access is not valid [0xffffffff], removing mixer. > > This is the secondary codec, so it's no fatal error. > > Make sure that you set up your mixer correctly again. For sure: $amixer Simple mixer control 'Master',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 31 [100%] [on] Front Right: Playback 31 [100%] [on] Simple mixer control 'Master Mono',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 31 Mono: Playback 31 [100%] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 23 [74%] [on] Front Right: Playback 23 [74%] [on] Simple mixer control 'Headphone Jack Sense',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'PCM',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 28 [90%] [on] Front Right: Playback 28 [90%] [on] Simple mixer control 'Line',0 Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 0 [0%] [off] Capture [off] Front Right: Playback 0 [0%] [off] Capture [off] Simple mixer control 'Line Jack Sense',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'CD',0 Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 28 [90%] [on] Capture [off] Front Right: Playback 28 [90%] [on] Capture [off] Simple mixer control 'Mic',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Playback channels: Mono Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Playback 0 [0%] [off] Front Left: Capture [on] Front Right: Capture [on] Simple mixer control 'Mic Boost (+20dB)',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Mic Select',0 Capabilities: Mono: Simple mixer control 'Video',0 Capabilities: cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'Phone',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Playback channels: Mono Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Playback 0 [0%] [on] Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'Aux',0 Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 2 [6%] [on] Capture [off] Front Right: Playback 2 [6%] [on] Capture [off] Simple mixer control 'Mono Output Select',0 Capabilities: Mono: Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 0 [0%] [on] Front Right: Capture 0 [0%] [on] Simple mixer control 'Mix',0 Capabilities: cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'Mix Mono',0 Capabilities: cswitch cswitch-joined cswitch-exclusive Capture exclusive group: 0 Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'External Amplifier',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Stereo Mic',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] > > Before your patch I can hear something like the headphone setup (a little noise like water falling on water) but now didn't hear anything. Any idea > Takashi > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] Ali snd soft lookup on 2.6.14 (regression) 2005-11-11 19:02 ` roucaries bastien @ 2005-11-11 19:05 ` Takashi Iwai 2005-11-11 19:49 ` roucaries bastien 0 siblings, 1 reply; 7+ messages in thread From: Takashi Iwai @ 2005-11-11 19:05 UTC (permalink / raw) To: roucaries bastien; +Cc: linux-kernel At Fri, 11 Nov 2005 19:02:00 +0000, roucaries bastien wrote: > > On 11/11/05, Takashi Iwai <tiwai@suse.de> wrote: > > At Fri, 11 Nov 2005 18:40:25 +0000, > > roucaries bastien wrote: > > > > > > On 11/11/05, Takashi Iwai <tiwai@suse.de> wrote: > > > > At Thu, 10 Nov 2005 22:18:36 +0000, > > > > roucaries bastien wrote: > > > > > > > > > > Recently I upgrade from 2.6.10 to 2.6.14 and I my sound card doesn't > > > > > work anymore. > > > > Does the patch below fix? > > > It fix the BUG but I have always no sound :-( > > > > > > dmesg shows now: > > > > > > AC'97 1 does not respond - RESET > > > AC'97 1 access is not valid [0xffffffff], removing mixer. > > > > This is the secondary codec, so it's no fatal error. > > > > Make sure that you set up your mixer correctly again. > > For sure: > $amixer > Simple mixer control 'Master',0 > Capabilities: pvolume pswitch > Playback channels: Front Left - Front Right > Limits: Playback 0 - 31 > Front Left: Playback 31 [100%] [on] > Front Right: Playback 31 [100%] [on] > Simple mixer control 'Master Mono',0 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined > Playback channels: Mono > Limits: Playback 0 - 31 > Mono: Playback 31 [100%] [on] > Simple mixer control 'Headphone',0 > Capabilities: pvolume pswitch > Playback channels: Front Left - Front Right > Limits: Playback 0 - 31 > Front Left: Playback 23 [74%] [on] > Front Right: Playback 23 [74%] [on] > Simple mixer control 'Headphone Jack Sense',0 > Capabilities: pswitch pswitch-joined > Playback channels: Mono > Mono: Playback [on] > Simple mixer control 'PCM',0 > Capabilities: pvolume pswitch > Playback channels: Front Left - Front Right > Limits: Playback 0 - 31 > Front Left: Playback 28 [90%] [on] > Front Right: Playback 28 [90%] [on] > Simple mixer control 'Line',0 > Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Playback channels: Front Left - Front Right > Capture channels: Front Left - Front Right > Limits: Playback 0 - 31 > Front Left: Playback 0 [0%] [off] Capture [off] > Front Right: Playback 0 [0%] [off] Capture [off] > Simple mixer control 'Line Jack Sense',0 > Capabilities: pswitch pswitch-joined > Playback channels: Mono > Mono: Playback [on] > Simple mixer control 'CD',0 > Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Playback channels: Front Left - Front Right > Capture channels: Front Left - Front Right > Limits: Playback 0 - 31 > Front Left: Playback 28 [90%] [on] Capture [off] > Front Right: Playback 28 [90%] [on] Capture [off] > Simple mixer control 'Mic',0 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch > cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Playback channels: Mono > Capture channels: Front Left - Front Right > Limits: Playback 0 - 31 > Mono: Playback 0 [0%] [off] > Front Left: Capture [on] > Front Right: Capture [on] > Simple mixer control 'Mic Boost (+20dB)',0 > Capabilities: pswitch pswitch-joined > Playback channels: Mono > Mono: Playback [on] > Simple mixer control 'Mic Select',0 > Capabilities: > Mono: > Simple mixer control 'Video',0 > Capabilities: cswitch cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Capture channels: Front Left - Front Right > Front Left: Capture [off] > Front Right: Capture [off] > Simple mixer control 'Phone',0 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch > cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Playback channels: Mono > Capture channels: Front Left - Front Right > Limits: Playback 0 - 31 > Mono: Playback 0 [0%] [on] > Front Left: Capture [off] > Front Right: Capture [off] > Simple mixer control 'Aux',0 > Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Playback channels: Front Left - Front Right > Capture channels: Front Left - Front Right > Limits: Playback 0 - 31 > Front Left: Playback 2 [6%] [on] Capture [off] > Front Right: Playback 2 [6%] [on] Capture [off] > Simple mixer control 'Mono Output Select',0 > Capabilities: > Mono: > Simple mixer control 'Capture',0 > Capabilities: cvolume cswitch > Capture channels: Front Left - Front Right > Limits: Capture 0 - 15 > Front Left: Capture 0 [0%] [on] > Front Right: Capture 0 [0%] [on] > Simple mixer control 'Mix',0 > Capabilities: cswitch cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Capture channels: Front Left - Front Right > Front Left: Capture [off] > Front Right: Capture [off] > Simple mixer control 'Mix Mono',0 > Capabilities: cswitch cswitch-joined cswitch-exclusive > Capture exclusive group: 0 > Capture channels: Front Left - Front Right > Front Left: Capture [off] > Front Right: Capture [off] > Simple mixer control 'External Amplifier',0 > Capabilities: pswitch pswitch-joined > Playback channels: Mono > Mono: Playback [on] > Simple mixer control 'Stereo Mic',0 > Capabilities: pswitch pswitch-joined > Playback channels: Mono > Mono: Playback [on] > > > > > > > > Before your patch I can hear something like the headphone setup (a > little noise like water falling on water) but now didn't hear > anything. Toggle 'Headphone Jack Sense' and 'Line Jack Sense' mixer switches. Don't touch these switches unless you're sure. Takashi ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] Ali snd soft lookup on 2.6.14 (regression) 2005-11-11 19:05 ` Takashi Iwai @ 2005-11-11 19:49 ` roucaries bastien 0 siblings, 0 replies; 7+ messages in thread From: roucaries bastien @ 2005-11-11 19:49 UTC (permalink / raw) To: Takashi Iwai; +Cc: linux-kernel On 11/11/05, Takashi Iwai <tiwai@suse.de> wrote: > At Fri, 11 Nov 2005 19:02:00 +0000, > roucaries bastien wrote: > > > > > Does the patch below fix? > > > > It fix the BUG but I have always no sound :-( > > > > > > > > dmesg shows now: > > > > > > > > AC'97 1 does not respond - RESET > > > > AC'97 1 access is not valid [0xffffffff], removing mixer. > > > > > > This is the secondary codec, so it's no fatal error. > > > > > > Make sure that you set up your mixer correctly again. > Toggle 'Headphone Jack Sense' and 'Line Jack Sense' mixer switches. > Don't touch these switches unless you're sure. If I toggle off the two switch below it work (with obviously your patch applied). Thank you very much for your quick fix. Bastien ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-11-11 19:50 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-11-10 22:18 [BUG] Ali snd soft lookup on 2.6.14 (regression) roucaries bastien 2005-11-11 14:06 ` Takashi Iwai 2005-11-11 18:40 ` roucaries bastien 2005-11-11 18:49 ` Takashi Iwai 2005-11-11 19:02 ` roucaries bastien 2005-11-11 19:05 ` Takashi Iwai 2005-11-11 19:49 ` roucaries bastien
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®