Tuesday 12 of February 2008 15:04:59 Takashi Iwai napisaĆ(a):
At Tue, 12 Feb 2008 16:00:51 +0200,
Ustun ERGENOGLU wrote:
I have read the whole thread and I have the same exact problem of recording with a realtek ALC861 codec on a ATI chipset board. My harddisk controller is also using sata_sil module. I have this problem for a long time too. Would the same patch solve the problem for me as well?
Well, the patch does have effect only when you enable MSI. And, MSI is disabled on many ATI chipsets as default unless you patch the kernel. I suggest it just to check whether any unknown IRQs are issued or the hardware is just screwed up.
It looks like this is a generic problem of ATI SB chipset. Which model is it? SB450, SB460 or SB600?
Below are results of my tests with patch from Takashi (and MSI enabled).
Using arecord everytime ends in freezing machine. My laptop freezes exactly when recording stops working. My test procedure looks like this:
1) on one console run arecord and see the output (You should see some garbage) 2) on another console run cat /etc/* 3) wait for freeze ;)
Here is section from /var/log/messages (text in <> can be seen only on console, syslog doesn't catch to save it to disk, and machine freezes):
1232171 Feb 12 18:38:15 ensima-hp [ 63.888029] ALSA sound/pci/hda/hda_intel.c:1258: azx_pcm_prepare: bufsize=0x10000, fragsize=0x2000, format=0x21 1232172 Feb 12 18:38:15 ensima-hp [ 63.888081] ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x4, stream=0x1, channel=0, format=0x21 1232173 Feb 12 18:38:22 ensima-hp [ 70.913893] ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x4, stream=0x0, channel=0, format=0x0 1232174 Feb 12 18:38:27 ensima-hp [ 75.885448] ALSA sound/pci/hda/hda_intel.c:1258: azx_pcm_prepare: bufsize=0x10000, fragsize=0x2000, format=0x21 1232175 Feb 12 18:38:27 ensima-hp [ 75.885490] ALSA sound/pci/hda/hda_codec.c:682: hda_codec_setup_stream: NID=0x4, stream=0x1, channel=0, format=0x21 ####### Recording stops to work and machine freezes ####### <XXX hda-intel: status=0> <XXX hda-intel: status=0> <XXX hda-intel: status=0> <XXX hda-intel: status=0>