2009-01-05 02:58:32

by Parag Warudkar

[permalink] [raw]
Subject: Lock up - probably ALSA related

After installing today's git my laptop has started to partially lock
up while listening to audio. This laptop was previously running
distro kernel 2.6 (2.6.27.9-159.fc10.i686) without any trouble.

While listening to audio, after a few minutes (10-15) the audio will
loop. I can most times move the mouse and click on windows but no new
process will start in reasonable time and the terminal will repeat
each key twice (type d and it will take dd for example) and thus no
command can be executed. I tried pre-entering various useful sysrq
commands (t, l, d, u,c) and tried hitting enter after reproducing the
problem but that command goes nowhere. Even shutdown button which
normally pops up the Gnome shutdown dialog will do nothing. Machine
isn't pingable.

The problem is 100% reproducible - I just can't figure out a good way
to get some debug data out. This laptop doesn't have a serial and
doesn't have the sysrq key, so I was thinking about using the USB
Serial adapter - will USB serial console via null modem cable work
here if I build in the driver for the USB-Serial dongle and set the
right config options? (Found the usb-serial dongle in the basement but
null modem cable is yet to be arranged.)

Parag


2009-01-05 09:43:50

by Takashi Iwai

[permalink] [raw]
Subject: Re: Lock up - probably ALSA related

At Sun, 4 Jan 2009 21:58:21 -0500,
Parag Warudkar wrote:
>
> After installing today's git my laptop has started to partially lock
> up while listening to audio. This laptop was previously running
> distro kernel 2.6 (2.6.27.9-159.fc10.i686) without any trouble.

Which audio hardware? Does it happen with 2.6.28 kernel, too?


Takashi

2009-01-05 11:29:29

by Parag Warudkar

[permalink] [raw]
Subject: Re: Lock up - probably ALSA related

On Mon, Jan 5, 2009 at 4:43 AM, Takashi Iwai <[email protected]> wrote:
> At Sun, 4 Jan 2009 21:58:21 -0500,
> Parag Warudkar wrote:
>>
>> After installing today's git my laptop has started to partially lock
>> up while listening to audio. This laptop was previously running
>> distro kernel 2.6 (2.6.27.9-159.fc10.i686) without any trouble.
>
> Which audio hardware? Does it happen with 2.6.28 kernel, too?
>

Hello,

Hardware is snd-hda-intel. This is a second generation Macbook Pro, no
special options in use.

[parag@fedora ~]$ dmesg|grep ALSA
ALSA sound/pci/hda/hda_codec.c:3419: autoconfig: line_outs=1
(0xc/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3423: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3427: hp_outs=1 (0xa/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3428: mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3436: inputs: mic=0xb, fmic=0x0,
line=0xf, fline=0x0, cd=0x0, aux=0x0
ALSA sound/pci/hda/patch_sigmatel.c:2908: stac92xx: dac_nids=1
(0x3/0x0/0x0/0x0/0x0)

[parag@fedora ~]$ cat /proc/asound/devices
2: : timer
3: : sequencer
4: [ 0- 1]: digital audio playback
5: [ 0- 1]: digital audio capture
6: [ 0- 0]: digital audio playback
7: [ 0- 0]: digital audio capture
8: [ 0- 0]: hardware dependent
9: [ 0] : control

[parag@fedora ~]$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xd8400000 irq 22

I think if I remember correctly it happened on 2.6.28 - but I need to
test out once again to make sure.

Thanks

Parag