Issue with creative Xfi PCIe ca0110-IBG
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
my output from alsa-info:
http://www.alsa-project.org/db/?f=09087914dfdd85a07dca432cf71a9626b4fc4251
regards,
Guillem Solà
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 14 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.
Quoted 6 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: take cmd_mutex in probe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: take reg_lock in azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP inside reg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codec
The suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
If you can use git, git-bisect would be the best to try. Do bisect only for changes in sound/pci/hda directory between 2.6.31-rc5 and rc6.
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 45 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 7 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 10 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
thanks,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 57 lines · Guillem Solà
Quoted 45 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 7 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 10 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 6 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for sound/pci/hda directory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 78 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 59 lines · Guillem Solà
Quoted 46 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 8 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 11 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 7 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for
sound/pci/hdadirectory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.
Quoted 6 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Thanks for all,
This is a log about how is it going. I think I'm doing things right.
I have to reboot every time because I cannot get the soundcard work again.
I started from 2.6.31-rc6, compiled and installed it and then reboot to my 2.6.31-rc6 from git.
# git bisect start -- sound/pci/hda/ # git bisect good v2.6.31-rc5 # git bisect bad Bisecting: 6 revisions left to test after this [feb273404f15d86098cb0e81e46330d5c1e22b1b] ALSA: hda: remember last command for each codec -- HAVE TO REBOOT -- # make M=sound/pci/hda # make modules_install M=sound/pci/hda
# /etc/init.d/alsasound stop # rmmod snd_hda_codec_ca0110 # rmmod snd_hda_codec # /etc/init.d/alsasound start
- HAVE TO REBOOT CANNOT GET CARD WORKING AGAIN--
# git bisect log git bisect start 'sound/pci/hda/' # good: [ed680c4ad478d0fee9740f7d029087f181346564] Linux 2.6.31-rc5 git bisect good ed680c4ad478d0fee9740f7d029087f181346564 # bad: [64f1607ffbbc772685733ea63e6f7f4183df1b16] Linux 2.6.31-rc6 git bisect bad 64f1607ffbbc772685733ea63e6f7f4183df1b16
# git bisect bad Bisecting: 2 revisions left to test after this [a678cdee25a387c8fc3b2754974695412baf1d85] ALSA: hda: take cmd_mutex in probe_codec()
# /etc/init.d/alsasound stop # make modules_install M=sound/pci/hda # /etc/init.d/alsasound start # /etc/init.d/alsasound stop # modprobe snd-hda-codec-ca0110 # /etc/init.d/alsasound start
- HAVE TO REBOOT CANNOT GET CARD WORKING AGAIN--
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 78 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 59 lines · Guillem Solà
Quoted 46 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 8 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 11 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 7 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for
sound/pci/hdadirectory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.
Quoted 6 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660 is first bad commit
an there are no more after that
LOG WITH LATEST STEPS:
- HAVE TO REBOOT CANNOT GET CARD WORKING AGAIN--
- TEST - DOESN'T WORK -
# git bisect bad Bisecting: 0 revisions left to test after this [ce577e8cf5ddb4216553c9d563a9835d6de70ffa] ALSA: hda - Fix quirk for Toshiba Satellite A135-S4527
# /etc/init.d/alsasound stop # rmmod snd_page_alloc # make M=sound/pci/hda # make modules_install M=sound/pci/hda # modprobe snd-hda-codec-ca0110
- HAVE TO REBOOT CANNOT GET CARD WORKING AGAIN--
- HERE STARTS TO WORK AGAIN -
# git bisect good deadff1665491afce124a8ff83f00f784161f660 is first bad commit commit deadff1665491afce124a8ff83f00f784161f660 Author: Wu Fengguang <[email protected]> Date: Sat Aug 1 18:45:16 2009 +0800
ALSA: hda: track CIRB/CORB command/response states for each codec
Recently we hit a bug in our dev board, whose HDMI codec#3 may emit redundant/spurious responses, which were then taken as responses to command for another onboard Realtek codec#2, and mess up both codecs.
Extend the azx_rb.cmds and azx_rb.res to array and track each codec's commands/responses separately. This helps keep good codec safe from broken ones.
:040000 040000 344e29e487277ab9354ab4b44e127f0ae906cf8c411a475d6307af6021f0882d1dfee6bdb18b66b6 M sound
regards,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 86 lines · Guillem Solà
Quoted 78 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 59 lines · Guillem Solà
Quoted 46 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 8 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 11 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 7 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for
sound/pci/hdadirectory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.Quoted 6 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 7 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commit
Thanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +5 -0
@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {
@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)
@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 138 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 92 lines · Guillem Solà
Quoted 83 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 63 lines · Guillem Solà
Quoted 48 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 9 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 12 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 8 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for
sound/pci/hdadirectory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.Quoted 7 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 8 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)
sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else
I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp bfa83f1c error 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabled
and after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabled
It seems something went wrong
regards,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 10:48:48 +0200,
Quoted 170 lines · Guillem Solà
Quoted 138 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 92 lines · Guillem Solà
Quoted 83 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 63 lines · Guillem Solà
Quoted 48 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 9 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 12 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 8 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for
sound/pci/hdadirectory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.Quoted 7 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 8 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp
bfa83f1cerror 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabledand after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel:azx_get_responsetimeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabled
Quoted 1 line
It seems something went wrong
It's not a right fix but a band-aid. With that patch, load with probe_mask=0x01 option.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 190 lines · Takashi Iwai
At Tue, 13 Oct 2009 10:48:48 +0200,
Quoted 180 lines · Guillem Solà
Quoted 148 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 100 lines · Guillem Solà
Quoted 89 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 67 lines · Guillem Solà
Quoted 50 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 10 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 13 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 9 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for
sound/pci/hdadirectory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.Quoted 8 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 9 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp
bfa83f1cerror 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabledand after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel:azx_get_responsetimeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabledQuoted 2 lines
It seems something went wrong
It's not a right fix but a band-aid. With that patch, load with probe_mask=0x01 option.
Quoted 6 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
uhmm... don't know if I'm doing something wrong but
modprobe snd-hda-codec-ca0110 probe_mask=0x01
says:
FATAL: Error inserting snd_hda_codec_ca0110 (/lib/modules/2.6.31-rc6/extra/snd-hda-codec-ca0110.ko): Unknown symbol in module, or unknown parameter (see dmesg)
in dmesgsnd_hda_codec_ca0110: Unknown parameter `probe_mask'
probe_mask option isn't only for snd-hda-intel?
thanks,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 11:59:14 +0200,
Quoted 204 lines · Guillem Solà
Quoted 190 lines · Takashi Iwai
At Tue, 13 Oct 2009 10:48:48 +0200,
Quoted 180 lines · Guillem Solà
Quoted 148 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 100 lines · Guillem Solà
Quoted 89 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Quoted 67 lines · Guillem Solà
Quoted 50 lines · Takashi Iwai
At Fri, 09 Oct 2009 11:19:04 +0200,
Quoted 13 lines · Guillem Solà
Hi,
I have a Creative XFi PCIe with ca0110-IBG chip. It's primary use is audio input for streaming on a brand new Dell server with RHEL. I have been testing latest kernel 2.6.31 through it's releases candidates and the card stoped working on 2.6.31-rc6, so now I'm stuck at 2.6.31-rc5. With rc5 I made a 2 weeks test and it went flawlessly.
There's another guy who referenced this issue on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/020876.html
and Takashi Iwai said that there is a communication error between the codec and the controller.Quoted 10 lines
Any workaround? Is there a bug created related to this issue?
I tried to "extract" the alsa-driver on 2.6.31-rc5 and install it 2.6.31 final without success. Also tried to get old snapshots from alsa-driver and alsa-kmirror but I cannot compile them. Any place where get some info about how to create
Then some codes added after rc5 regressed?
The candidates are not so many but a few:
deadff1665491afce124a8ff83f00f784161f660
ALSA: hda: track CIRB/CORB command/response states for each codec
a678cdee25a387c8fc3b2754974695412baf1d85
ALSA: hda: takecmd_mutexinprobe_codec()
cdb1fbf23181c133fb24f12ad14ccea7dc399599
ALSA: hda: takereg_lockin azx_init_cmd_io/azx_free_cmd_io
c32649feb4573b31f0a2bfdf35cbe1351256c764
ALSA: hda: read CORBWP insidereg_lock
feb273404f15d86098cb0e81e46330d5c1e22b1b
ALSA: hda: remember last command for each codecThe suspicious changes are the first one and the third one. But, anyway, it'd be helpful if you can bisect these.
Quoted 13 lines
If you can use git, git-bisect would be the best to try. Do bisect only for changes in
sound/pci/hdadirectory between 2.6.31-rc5 and rc6.thanks,
Takashi
Quoted 9 lines
Ok I read how to do bisect with git and so on. Also take latest alsa from git.
Now the question is do I have to do bisect from alsa-kernel? (that's what I'm trying now) but that implies recompile kernel in every step, isn't it?
If you can build the kernel by yourself, and you already find that 2.6.31-rc5 works as is, I recommend you to bisect the kernel tree.
As mentioned, the commits to bisect are only for
sound/pci/hdadirectory, and there aren't so many. You can just rebuild the module with "make M=sound/pci/hda" during bisecting.Quoted 8 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 9 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp
bfa83f1cerror 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabledand after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel:azx_get_responsetimeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabledQuoted 2 lines
It seems something went wrong
It's not a right fix but a band-aid. With that patch, load with probe_mask=0x01 option.
Quoted 6 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develuhmm... don't know if I'm doing something wrong but
modprobe snd-hda-codec-ca0110 probe_mask=0x01
says:
Quoted 8 lines
FATAL: Error inserting
snd_hda_codec_ca0110(/lib/modules/2.6.31-rc6/extra/snd-hda-codec-ca0110.ko): Unknown symbol in module, or unknown parameter (see dmesg)in dmesg
snd_hda_codec_ca0110: Unknown parameter `probe_mask'
probe_maskoption isn't only for snd-hda-intel?
Yes. Load it like
modprobe snd-hda-intel probe_mask=0x01
The codec modules will be loaded automatically by that.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 135 lines · Takashi Iwai
At Tue, 13 Oct 2009 11:59:14 +0200,
Quoted 118 lines · Guillem Solà
Quoted 103 lines · Takashi Iwai
At Tue, 13 Oct 2009 10:48:48 +0200,
Quoted 92 lines · Guillem Solà
Quoted 59 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 8 lines · Guillem Solà
Quoted 4 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Guillem Solà wrote:Quoted 10 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp
bfa83f1cerror 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabledand after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel:azx_get_responsetimeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabledQuoted 3 lines
It seems something went wrong
It's not a right fix but a band-aid. With that patch, load with probe_mask=0x01 option.
Quoted 7 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develuhmm... don't know if I'm doing something wrong but
modprobe snd-hda-codec-ca0110 probe_mask=0x01
says:
Quoted 9 lines
FATAL: Error inserting
snd_hda_codec_ca0110(/lib/modules/2.6.31-rc6/extra/snd-hda-codec-ca0110.ko): Unknown symbol in module, or unknown parameter (see dmesg)in dmesg
snd_hda_codec_ca0110: Unknown parameter `probe_mask'
probe_maskoption isn't only for snd-hda-intel?Yes. Load it like
modprobe snd-hda-intel probe_mask=0x01
Quoted 9 lines
The codec modules will be loaded automatically by that.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I did it too without success, hda-intel seems not to load automatically snd-hda-codec-ca0110
(dmesg)
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabled
thanks,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 12:26:29 +0200,
Quoted 146 lines · Guillem Solà
Quoted 135 lines · Takashi Iwai
At Tue, 13 Oct 2009 11:59:14 +0200,
Quoted 118 lines · Guillem Solà
Quoted 103 lines · Takashi Iwai
At Tue, 13 Oct 2009 10:48:48 +0200,
Quoted 92 lines · Guillem Solà
Quoted 59 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 8 lines · Guillem Solà
Quoted 4 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Guillem Solà wrote:Quoted 10 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp
bfa83f1cerror 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabledand after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel:azx_get_responsetimeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabledQuoted 3 lines
It seems something went wrong
It's not a right fix but a band-aid. With that patch, load with probe_mask=0x01 option.
Quoted 7 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develuhmm... don't know if I'm doing something wrong but
modprobe snd-hda-codec-ca0110 probe_mask=0x01
says:
Quoted 9 lines
FATAL: Error inserting
snd_hda_codec_ca0110(/lib/modules/2.6.31-rc6/extra/snd-hda-codec-ca0110.ko): Unknown symbol in module, or unknown parameter (see dmesg)in dmesg
snd_hda_codec_ca0110: Unknown parameter `probe_mask'
probe_maskoption isn't only for snd-hda-intel?Yes. Load it like
modprobe snd-hda-intel probe_mask=0x01Quoted 9 lines
The codec modules will be loaded automatically by that.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 7 lines
I did it too without success, hda-intel seems not to load automatically snd-hda-codec-ca0110
(dmesg)
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabled
Without the patch, which slot was detected? It's possible that the h/w communication stack is already disturbed somehow...
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 170 lines · Takashi Iwai
At Tue, 13 Oct 2009 12:26:29 +0200,
Quoted 158 lines · Guillem Solà
Quoted 146 lines · Takashi Iwai
At Tue, 13 Oct 2009 11:59:14 +0200,
Quoted 128 lines · Guillem Solà
Quoted 111 lines · Takashi Iwai
At Tue, 13 Oct 2009 10:48:48 +0200,
Quoted 98 lines · Guillem Solà
Quoted 64 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 10 lines · Guillem Solà
Quoted 5 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Guillem Solà wrote:Quoted 11 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp
bfa83f1cerror 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabledand after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel:azx_get_responsetimeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabledQuoted 4 lines
It seems something went wrong
It's not a right fix but a band-aid. With that patch, load with probe_mask=0x01 option.
Quoted 8 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develuhmm... don't know if I'm doing something wrong but
modprobe snd-hda-codec-ca0110 probe_mask=0x01
says:
Quoted 10 lines
FATAL: Error inserting
snd_hda_codec_ca0110(/lib/modules/2.6.31-rc6/extra/snd-hda-codec-ca0110.ko): Unknown symbol in module, or unknown parameter (see dmesg)in dmesg
snd_hda_codec_ca0110: Unknown parameter `probe_mask'
probe_maskoption isn't only for snd-hda-intel?Yes. Load it like
modprobe snd-hda-intel probe_mask=0x01Quoted 10 lines
The codec modules will be loaded automatically by that.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 8 lines
I did it too without success, hda-intel seems not to load automatically snd-hda-codec-ca0110
(dmesg)
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabled
Quoted 7 lines
Without the patch, which slot was detected? It's possible that the h/w communication stack is already disturbed somehow...
Takashi
Hi,
Without the patch it seems that lspci shows the same slot, isn't it?
05:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
Subsystem: Creative Labs Unknown device 0018
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: 32 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 38
Region 0: Memory at df9fc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [dc] Power Management version 3
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mAPME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-ze=16K]
Capabilities: [dc] Power Management version 3
output from alsa-info.sh
http://www.alsa-project.org/db/?f=7cd29b83a727482af373c50d7d8b5e2edb10f738
thanks,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 13:28:05 +0200,
Quoted 176 lines · Guillem Solà
Quoted 174 lines · Takashi Iwai
At Tue, 13 Oct 2009 12:26:29 +0200,
Quoted 158 lines · Guillem Solà
Quoted 146 lines · Takashi Iwai
At Tue, 13 Oct 2009 11:59:14 +0200,
Quoted 128 lines · Guillem Solà
Quoted 111 lines · Takashi Iwai
At Tue, 13 Oct 2009 10:48:48 +0200,
Quoted 98 lines · Guillem Solà
Quoted 64 lines · Takashi Iwai
At Fri, 09 Oct 2009 18:05:28 +0200,
Quoted 10 lines · Guillem Solà
Quoted 5 lines · Takashi Iwai
At Fri, 09 Oct 2009 16:15:00 +0200,
Guillem Solà wrote:Quoted 11 lines
Ok Think I Finally get it :-)
those are the latest steps I did, AFAIK it was the first commit after 2.6.31-rc5 as you said "The suspicious changes are the first one and the third one."
deadff1665491afce124a8ff83f00f784161f660is first bad commitThanks! That's what I expected (and worried)...
What happens if you apply the patch below to the latest alsa driver (or 2.6.31-rc6)?
Takashi
---
sound/pci/hda/hda_intel.c +4
-0@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)static unsigned int azx_command_addr (u32 cmd) { +#if 0 /* XXX */ unsigned int addr = cmd >>28 ;if (addr >=AZX_MAX_CODECS ) {@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd) }return addr; +#else +return 0 ; +#endif }static unsigned int azx_response_addr (u32 res)sound/pci/hda/hda_intel.c static unsigned int azx_get_response(struct hda_bus *bus, · line 828
Quoted 7 lines
sound/pci/hda/hda_intel.c +1
-0@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus, unsigned int addr) {struct azx *chip = bus->private_data; + addr =0 ;/* XXX */ if (chip->single_cmd)return azx_single_get_response (bus, addr);else I tried the patch you have attached, it patched well (I checked it) but seems to not work
After make I tried to modprobe snd-hda-intel-ca0110 and I saw in dmesg:
hda-intel: Invalid position buffer, using LPIB read method instead. alsactl[8292]: segfault at 0 ip (null) sp
bfa83f1cerror 14 in ld-2.5.so[54c000+1a000]
HDA Intel 0000:05:00.0: PCI INT A disabledand after reboot:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000
hda-intel:azx_get_responsetimeout, switching to polling mode: last cmd=0x100f0000
hda-intel: Codec #1 probe error; disabling it...
hda-intel: spurious response 0x1102000a:0x1, last cmd=0x000000hda_intel:azx_get_responsetimeout, switching tosingle_cmdmode: last cmd=0x100f0000
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabledQuoted 4 lines
It seems something went wrong
It's not a right fix but a band-aid. With that patch, load with probe_mask=0x01 option.
Quoted 8 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develuhmm... don't know if I'm doing something wrong but
modprobe snd-hda-codec-ca0110 probe_mask=0x01
says:
Quoted 10 lines
FATAL: Error inserting
snd_hda_codec_ca0110(/lib/modules/2.6.31-rc6/extra/snd-hda-codec-ca0110.ko): Unknown symbol in module, or unknown parameter (see dmesg)in dmesg
snd_hda_codec_ca0110: Unknown parameter `probe_mask'
probe_maskoption isn't only for snd-hda-intel?Yes. Load it like
modprobe snd-hda-intel probe_mask=0x01Quoted 10 lines
The codec modules will be loaded automatically by that.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develQuoted 8 lines
I did it too without success, hda-intel seems not to load automatically snd-hda-codec-ca0110
(dmesg)
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38
hda-intel: no codecs initialized
HDA Intel 0000:05:00.0: PCI INT A disabledWithout the patch, which slot was detected? It's possible that the h/w communication stack is already disturbed somehow...
Quoted 6 lines
Quoted 3 lines
Takashi
Hi,
Without the patch it seems that lspci shows the same slot, isn't it?
It's not about the PCI slot but the codec address in HD-audio bus.
Quoted 15 lines
05:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
Subsystem: Creative Labs Unknown device 0018
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: 32 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 38
Region 0: Memory atdf9fc000(32-bit, non-prefetchable) [size=16K]
Capabilities: [dc] Power Management version 3
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mAPME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-ze=16K]
Capabilities: [dc] Power Management version 3
Quoted 3 lines
output from
alsa-info.shhttp://www.alsa-project.org/db/?f=7cd29b83a727482af373c50d7d8b5e2edb10f738
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 7 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
---
sound/pci/hda/hda_intel.cazx_single_get_response(bus, addr); renamed from sound/pci/hda/hda_intel.c +0 -0
else
@@ -566,6 +566,7 @@ static void azx_free_cmd_io(struct azx *chip)
static unsigned int azx_command_addr(u32 cmd)
{
+#if 0 /* XXX */
unsigned int addr = cmd >> 28;
if (addr >= AZX_MAX_CODECS) {
@@ -574,6 +575,9 @@ static unsigned int azx_command_addr(u32 cmd)
}
return addr;+#else
+ return 1;
+#endif
}
static unsigned int azx_response_addr(u32 res)
@@ -818,6 +822,7 @@ static unsigned int azx_get_response(struct hda_bus *bus,
unsigned int addr)
{
struct azx *chip = bus->private_data;
+ addr = 1; /* XXX */
if (chip->single_cmd)
return azx_single_get_response(bus, addr);
elseThanks
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 9 lines · Guillem Solà
Quoted 7 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Quoted 6 lines
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
Now the question is whether probe_mask=0x03 (or 0x02) works without this patch. How is it?
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 18 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 15 lines · Guillem Solà
Quoted 8 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
Quoted 10 lines
Quoted 2 lines
and the patch let this way ( I changed both return 1 and addr=1)
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or 0x02 both can work.
So it seems to be fickle because not all the times you modprobe the intel module it worked.
regards
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 27 lines · Guillem Solà
Quoted 25 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 10 lines · Guillem Solà
Quoted 8 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Quoted 7 lines
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?
Quoted 8 lines
Quoted 3 lines
thanks,
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.
OK, good to hear.
Quoted 2 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with probe_mask option, or it is when without?
If probe_mask fixes its fickleness (or flirtation :), the patch below should help. It will set the default probe_mask for your device. Give it a try.
Takashi
---
sound/pci/hda/hda_intel.c +2 -0
@@ -2264,6 +2264,8 @@ static struct snd_pci_quirk probe_mask_list[] __devinitdata = {SND_PCI_QUIRK (0x17aa ,0x20ac ,"Thinkpad X/T/R61" ,0x01 ),/* broken BIOS */ SND_PCI_QUIRK (0x1028 ,0x20ac ,"Dell Studio Desktop" ,0x01 ), +/* CA0110-IBG: causes errors when other slots accessed */ +SND_PCI_QUIRK (0x1102 ,0x0018 ,"SB X-Fi Xtreme Audio" ,0x02 ),/* including bogus ALC268 in slot#2 that conflicts with ALC888 */ SND_PCI_QUIRK(0x17c0, 0x4085, "Medion MD96630", 0x01),/* forced codec slots */
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 54 lines · Takashi Iwai
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 34 lines · Guillem Solà
Quoted 21 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 17 lines · Guillem Solà
Quoted 9 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
Quoted 11 lines
Quoted 3 lines
and the patch let this way ( I changed both return 1 and addr=1)
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Quoted 6 lines
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.OK, good to hear.
Quoted 3 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with
probe_maskoption, or it is when without?
Quoted 8 lines
If
probe_maskfixes its fickleness (or flirtation :), the patch below should help. It will set the defaultprobe_maskfor your device. Give it a try.Takashi
Hi,
By fickle I mean that when modprobing hda-intel module sometimes it works fine and others cannot get audio although the system seems to always recognize the card, and yes, I'm always using probe_mask=0x02 option.
Actually, about one of five times I can successfully load the module. As I said the first patch doesn't affect, it has been only the casualty that made me believe it did something.
When module loads successfully I can see in dmesg
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38hda_intel: probe_mask set to 0x2 for device 1102:0018
hda-intel: Invalid position buffer, using LPIB read method instead.
or:
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38hda_intel: probe_mask set to 0x2 for device 1102:0018
hda-intel: spurious response 0x0:0x0, last cmd=0x000000
hda-intel: Invalid position buffer, using LPIB read method instead.
And when the module doesn't load properly
HDA Intel 0000:05:00.0: PCI INT A -> GSI 38 (level, low) -> IRQ 38hda_intel: probe_mask set to 0x2 for device 1102:0018
hda-intel: spurious response 0x0:0x0, last cmd=0x000000
hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x107f0d00hda_intel: azx_get_response timeout, switching to single_cmd mode: last cmd=0x107f0d00__ratelimit: 28 callbacks suppressed
Thanks,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 17:01:35 +0200,
Quoted 66 lines · Guillem Solà
Quoted 54 lines · Takashi Iwai
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 34 lines · Guillem Solà
Quoted 21 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 17 lines · Guillem Solà
Quoted 9 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
Quoted 11 lines
Quoted 3 lines
and the patch let this way ( I changed both return 1 and addr=1)
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Quoted 6 lines
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.OK, good to hear.
Quoted 3 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with
probe_maskoption, or it is when without?Quoted 8 lines
If
probe_maskfixes its fickleness (or flirtation :), the patch below should help. It will set the defaultprobe_maskfor your device. Give it a try.Takashi
Hi,
Quoted 7 lines
By fickle I mean that when modprobing hda-intel module sometimes it works fine and others cannot get audio although the system seems to always recognize the card, and yes, I'm always using probe_mask=0x02 option.
Actually, about one of five times I can successfully load the module. As I said the first patch doesn't affect, it has been only the casualty that made me believe it did something.
Hm, then it's still puzzling what causes the problem in the recent kernel. Or is it coincidence?
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 91 lines · Takashi Iwai
At Tue, 13 Oct 2009 17:01:35 +0200,
Quoted 75 lines · Guillem Solà
Quoted 62 lines · Takashi Iwai
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 40 lines · Guillem Solà
Quoted 28 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 14 lines · Guillem Solà
Quoted 10 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Quoted 9 lines
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
Quoted 9 lines
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Quoted 7 lines
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.OK, good to hear.
Quoted 4 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with
probe_maskoption, or it is when without?Quoted 9 lines
If
probe_maskfixes its fickleness (or flirtation :), the patch below should help. It will set the defaultprobe_maskfor your device. Give it a try.Takashi
Hi,
Quoted 8 lines
By fickle I mean that when modprobing hda-intel module sometimes it works fine and others cannot get audio although the system seems to always recognize the card, and yes, I'm always using probe_mask=0x02 option.
Actually, about one of five times I can successfully load the module. As I said the first patch doesn't affect, it has been only the casualty that made me believe it did something.
Hm, then it's still puzzling what causes the problem in the recent kernel. Or is it coincidence?
Quoted 6 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Uff, really don't know what to say, when I thought I saw some light... I've been testing with 2.6.31-rc6 and 2.6.31 (final) with and without patches and maybe is only the probe_mask option what make it work sometimes.
Perhaps I did bisect bad and wasn't deadff1665491afce124a8ff83f00f784161f660 first bad commit?
regards,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Tue, 13 Oct 2009 18:59:23 +0200,
Quoted 99 lines · Guillem Solà
Quoted 91 lines · Takashi Iwai
At Tue, 13 Oct 2009 17:01:35 +0200,
Quoted 75 lines · Guillem Solà
Quoted 62 lines · Takashi Iwai
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 40 lines · Guillem Solà
Quoted 28 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 14 lines · Guillem Solà
Quoted 10 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Quoted 9 lines
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
Quoted 9 lines
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Quoted 7 lines
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.OK, good to hear.
Quoted 4 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with
probe_maskoption, or it is when without?Quoted 9 lines
If
probe_maskfixes its fickleness (or flirtation :), the patch below should help. It will set the defaultprobe_maskfor your device. Give it a try.Takashi
Hi,
Quoted 8 lines
By fickle I mean that when modprobing hda-intel module sometimes it works fine and others cannot get audio although the system seems to always recognize the card, and yes, I'm always using probe_mask=0x02 option.
Actually, about one of five times I can successfully load the module. As I said the first patch doesn't affect, it has been only the casualty that made me believe it did something.
Hm, then it's still puzzling what causes the problem in the recent kernel. Or is it coincidence?
Quoted 6 lines
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 6 lines
Uff, really don't know what to say, when I thought I saw some light... I've been testing with 2.6.31-rc6 and 2.6.31 (final) with and without patches and maybe is only the
probe_maskoption what make it work sometimes.Perhaps I did bisect bad and wasn't
deadff1665491afce124a8ff83f00f784161f660first bad commit?
Possible. But, before bisecting, we should be really sure which release was really OK. Did 2.6.30 work without any problems?
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 103 lines · Takashi Iwai
At Tue, 13 Oct 2009 18:59:23 +0200,
Quoted 100 lines · Guillem Solà
Quoted 85 lines · Takashi Iwai
At Tue, 13 Oct 2009 17:01:35 +0200,
Quoted 81 lines · Guillem Solà
Quoted 65 lines · Takashi Iwai
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 40 lines · Guillem Solà
Quoted 26 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 12 lines · Guillem Solà
Quoted 8 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Quoted 10 lines
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
Quoted 10 lines
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Quoted 8 lines
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.OK, good to hear.
Quoted 4 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with
probe_maskoption, or it is when without?Quoted 7 lines
If
probe_maskfixes its fickleness (or flirtation :), the patch below should help. It will set the defaultprobe_maskfor your device. Give it a try.Takashi
Hi,
By fickle I mean that when modprobing hda-intel module sometimes it works fine and others cannot get audio although the system seems to always recognize the card, and yes, I'm always using probe_mask=0x02 option.
Quoted 9 lines
Quoted 5 lines
Actually, about one of five times I can successfully load the module. As I said the first patch doesn't affect, it has been only the casualty that made me believe it did something.
Hm, then it's still puzzling what causes the problem in the recent kernel. Or is it coincidence?
Uff, really don't know what to say, when I thought I saw some light... I've been testing with 2.6.31-rc6 and 2.6.31 (final) with and without patches and maybe is only the
probe_maskoption what make it work sometimes.
Quoted 8 lines
Quoted 3 lines
Perhaps I did bisect bad and wasn't
deadff1665491afce124a8ff83f00f784161f660first bad commit?Possible. But, before bisecting, we should be really sure which release was really OK. Did 2.6.30 work without any problems?
Hi,
AFAIK in 2.6.30 ca0110 was not implemented. I see it start working in 2.6.31-rc3 and did a two weeks running test with 2.6.31-rc5.
So I bisected from 2.6.31-rc6 to 2.6.31-rc5
regards,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Wed, 14 Oct 2009 18:03:15 +0200,
Quoted 114 lines · Guillem Solà
Quoted 103 lines · Takashi Iwai
At Tue, 13 Oct 2009 18:59:23 +0200,
Quoted 100 lines · Guillem Solà
Quoted 85 lines · Takashi Iwai
At Tue, 13 Oct 2009 17:01:35 +0200,
Quoted 81 lines · Guillem Solà
Quoted 65 lines · Takashi Iwai
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 40 lines · Guillem Solà
Quoted 26 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 12 lines · Guillem Solà
Quoted 8 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Quoted 10 lines
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
Quoted 10 lines
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Quoted 8 lines
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.OK, good to hear.
Quoted 4 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with
probe_maskoption, or it is when without?Quoted 7 lines
If
probe_maskfixes its fickleness (or flirtation :), the patch below should help. It will set the defaultprobe_maskfor your device. Give it a try.Takashi
Hi,
By fickle I mean that when modprobing hda-intel module sometimes it works fine and others cannot get audio although the system seems to always recognize the card, and yes, I'm always using probe_mask=0x02 option.
Quoted 9 lines
Quoted 5 lines
Actually, about one of five times I can successfully load the module. As I said the first patch doesn't affect, it has been only the casualty that made me believe it did something.
Hm, then it's still puzzling what causes the problem in the recent kernel. Or is it coincidence?
Uff, really don't know what to say, when I thought I saw some light... I've been testing with 2.6.31-rc6 and 2.6.31 (final) with and without patches and maybe is only the
probe_maskoption what make it work sometimes.Quoted 8 lines
Quoted 3 lines
Perhaps I did bisect bad and wasn't
deadff1665491afce124a8ff83f00f784161f660first bad commit?Possible. But, before bisecting, we should be really sure which release was really OK. Did 2.6.30 work without any problems?
Quoted 6 lines
Hi,
AFAIK in 2.6.30 ca0110 was not implemented. I see it start working in 2.6.31-rc3 and did a two weeks running test with 2.6.31-rc5.
So I bisected from 2.6.31-rc6 to 2.6.31-rc5
OK. It's possible that a regression occurs at rc6 because of the core HD-audio changes. But, I still wonder why the patch doesn't change anything.
At least, it'd be nice if you can reconfirm that rc5 is really working stably. You can just copy sound/pci/hda/* over any newer kernels.
Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 142 lines · Takashi Iwai
At Wed, 14 Oct 2009 18:03:15 +0200,
Quoted 131 lines · Guillem Solà
Quoted 120 lines · Takashi Iwai
At Tue, 13 Oct 2009 18:59:23 +0200,
Quoted 116 lines · Guillem Solà
Quoted 98 lines · Takashi Iwai
At Tue, 13 Oct 2009 17:01:35 +0200,
Quoted 93 lines · Guillem Solà
Quoted 75 lines · Takashi Iwai
At Tue, 13 Oct 2009 16:12:47 +0200,
Quoted 46 lines · Guillem Solà
Quoted 30 lines · Takashi Iwai
At Tue, 13 Oct 2009 14:10:44 +0200,
Quoted 14 lines · Guillem Solà
Quoted 9 lines · Takashi Iwai
It shows the address 1. So, my patch doesn't work, as it assumes address 0. Replace it with 1, and pass probe_mask=0x02.
Takashi
Quoted 11 lines
Yeah great, it's working again!
I did modprobe snd-hda-intel probe_mask=0x03 instead of mask=0x02 to make it work
and the patch let this way ( I changed both return 1 and addr=1)
Quoted 11 lines
Now the question is whether probe_mask=0x03 (or
0x02) works without this patch. How is it?thanks,
Quoted 9 lines
Hi,
after few tests I can conclude that it could work with and without the patch. The same happens with modprobe snd-hda-intel probe_mask=0x03 or
0x02both can work.OK, good to hear.
Quoted 5 lines
So it seems to be fickle because not all the times you modprobe the intel module it worked.
Do you mean it's still unstable even with
probe_maskoption, or it is when without?Quoted 8 lines
If
probe_maskfixes its fickleness (or flirtation :), the patch below should help. It will set the defaultprobe_maskfor your device. Give it a try.Takashi
Hi,
By fickle I mean that when modprobing hda-intel module sometimes it works fine and others cannot get audio although the system seems to always recognize the card, and yes, I'm always using probe_mask=0x02 option.
Quoted 11 lines
Quoted 6 lines
Actually, about one of five times I can successfully load the module. As I said the first patch doesn't affect, it has been only the casualty that made me believe it did something.
Hm, then it's still puzzling what causes the problem in the recent kernel. Or is it coincidence?
Uff, really don't know what to say, when I thought I saw some light... I've been testing with 2.6.31-rc6 and 2.6.31 (final) with and without patches and maybe is only the
probe_maskoption what make it work sometimes.Quoted 9 lines
Quoted 4 lines
Perhaps I did bisect bad and wasn't
deadff1665491afce124a8ff83f00f784161f660first bad commit?Possible. But, before bisecting, we should be really sure which release was really OK. Did 2.6.30 work without any problems?
Quoted 7 lines
Hi,
AFAIK in 2.6.30 ca0110 was not implemented. I see it start working in 2.6.31-rc3 and did a two weeks running test with 2.6.31-rc5.
So I bisected from 2.6.31-rc6 to 2.6.31-rc5
Quoted 9 lines
OK. It's possible that a regression occurs at rc6 because of the core HD-audio changes. But, I still wonder why the patch doesn't change anything.
At least, it'd be nice if you can reconfirm that rc5 is really working stably. You can just copy
sound/pci/hda/*over any newer kernels.
Yes, rc5 works ok. I've also copied it's hda/* to 2.6.31 final and also works well too.
I did the same with 2.6.32.rc2 but I cannot load the snd-hda-intel module because it's
complaining about what seems some incompatibilities.
snd_hda_codec: disagrees about version of symbol snd_iprintfsnd_hda_codec: Unknown symbol snd_iprintfsnd_hda_intel: Unknown symbol snd_hda_bus_newsnd_hda_intel: Unknown symbol snd_hda_build_pcmssnd_hda_intel: Unknown symbol snd_hda_codec_newsnd_hda_intel: Unknown symbol snd_hda_queue_unsol_eventsnd_hda_intel: Unknown symbol snd_hda_calc_stream_formatsnd_hda_intel: Unknown symbol snd_hda_suspendsnd_hda_intel: Unknown symbol snd_hda_resumesnd_hda_intel: Unknown symbol snd_hda_build_controls
regards,
Guillem Solà
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel