Alsa update in mainline broke ATI-IXP sound driver
Since I updated an ATI x86-64 box to 2.6.17-git6 sound doesn't work anymore.
I just get
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name
ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
no matter how often I try. OSS clients also don't seem to work.
(in older kernels it sometimes didn't work on first try after boot, now it doesn't work at all)
The module loaded ok:
snd_pcm_oss 39328 0 snd_mixer_oss 14784 1 snd_pcm_oss snd_atiixp 16536 0 snd_ac97_codec 97980 1 snd_atiixp snd_ac97_bus 2688 1 snd_ac97_codec snd_pcm 72328 3 snd_pcm_oss,snd_atiixp,snd_ac97_codec snd_timer 19784 1 snd_pcm snd_page_alloc 7824 2 snd_atiixp,snd_pcm snd 49280 6 snd_pcm_oss,snd_mixer_oss,snd_atiixp,snd_ac97_codec,snd_pcm,snd_timer
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller
I can't find any output from alsa in the kernel log except for
PCI: Enabling device 0000:00:14.5 (0000 -> 0002)
ACPI: PCI Interrupt 0000:00:14.5[B] -> GSI 17 (level, low) -> IRQ 217
when restarting rcalsasoudn
User land is from SUSE 10.0
-Andi
config:
#CONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_RAWMIDI=mCONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not setCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_RTCTIMER=mCONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not setCONFIG_SND_SUPPORT_OLD_API=yCONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#CONFIG_SND_MPU401_UART=mCONFIG_SND_AC97_CODEC=mCONFIG_SND_AC97_BUS=m
# CONFIG_SND_DUMMY is not setCONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not setCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=m
#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not setCONFIG_SND_ATIIXP=m
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Sun, 25 Jun 2006 21:39:35 +0200,
Quoted 8 lines · Andi Kleen
Since I updated an ATI x86-64 box to 2.6.17-git6 sound doesn't work anymore.
I just get
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) functionsnd_func_card_driverreturned error: No such device
(snip)
Quoted 1 line
User land is from SUSE 10.0
First check /proc/asound/cards after loading snd-atiixp. If the ATI IXP entry appears, the device was initialized and set up. If not, something wrong in the driver initialization.
Then check whether /dev/snd/controlC0 exists. If not, it's likely a udev thingy. Possibly upgrading udev package might help...
Takashi
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 8 lines · Takashi Iwai
At Sun, 25 Jun 2006 21:39:35 +0200,
Quoted 6 lines · Andi Kleen
Since I updated an ATI x86-64 box to 2.6.17-git6 sound doesn't work anymore.
I just get
Quoted 8 lines
Quoted 2 lines
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) functionsnd_func_card_driverreturned error: No such device(snip)
Quoted 1 line
User land is from SUSE 10.0
First check
/proc/asound/cardsafter loading snd-atiixp. If the ATI IXP entry appears, the device was initialized and set up. If not, something wrong in the driver initialization.
I'll defer testing because -git9 broke SATA too until after that is fixed.
-Andi (who hasn't had such a low quality kernel for a long time)
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Re: Alsa update in mainline broke ATI-IXP sound driver II
In reply to Takashi IwaiQuoted 6 lines · Takashi Iwai
At Sun, 25 Jun 2006 21:39:35 +0200,
Quoted 4 lines · Andi Kleen
Since I updated an ATI x86-64 box to 2.6.17-git6 sound doesn't work anymore.
Quoted 8 lines
Quoted 4 lines
I just get
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) functionsnd_func_card_driverreturned error: No such device(snip)
Quoted 1 line
User land is from SUSE 10.0
First check
/proc/asound/cardsafter loading snd-atiixp.
Checking it now. There is no /proc/asound.
% ls /proc/asound/bin/ls: /proc/asound: No such file or directory
These are my config options
CONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_RAWMIDI=mCONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not setCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_RTCTIMER=mCONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not setCONFIG_SND_SUPPORT_OLD_API=yCONFIG_SND_VERBOSE_PROCFS=yCONFIG_SND_VERBOSE_PRINTK=yCONFIG_SND_DEBUG=yCONFIG_SND_DEBUG_DETECT=y
# CONFIG_SND_PCM_XRUN_DEBUG is not set
#
# Generic devices
#CONFIG_SND_MPU401_UART=mCONFIG_SND_AC97_CODEC=mCONFIG_SND_AC97_BUS=m
# CONFIG_SND_DUMMY is not setCONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not setCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=m
#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not setCONFIG_SND_ATIIXP=m
Quoted 6 lines
If the ATI
IXP entry appears, the device was initialized and set up. If not, something wrong in the driver initialization.Then check whether
/dev/snd/controlC0exists. If not, it's likely a udev thingy. Possibly upgrading udev package might help...
% ls -l /dev/snd/controlC0
crw------- 1 andi audio 116, 0 2006-06-25 21:38 /dev/snd/controlC0
% grep sound /proc/devices
14 sound
-Andi
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Re: Alsa update in mainline broke ATI-IXP sound driver II
In reply to Takashi IwaiQuoted 11 lines · Takashi Iwai
At Sun, 25 Jun 2006 21:39:35 +0200,
Quoted 8 lines · Andi Kleen
Since I updated an ATI x86-64 box to 2.6.17-git6 sound doesn't work anymore.
I just get
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) functionsnd_func_card_driverreturned error: No such device(snip)
Quoted 8 lines
Quoted 1 line
User land is from SUSE 10.0
First check
/proc/asound/cardsafter loading snd-atiixp. If the ATI IXP entry appears, the device was initialized and set up. If not, something wrong in the driver initialization.Then check whether
/dev/snd/controlC0exists. If not, it's likely a udev thingy. Possibly upgrading udev package might help...
First /proc/asound appeared now - in the first try the modules weren't correctly loaded. The card is shown there
0 [IXP ]: ATIIXP - ATI IXP
ATI IXP rev 0 with ALC658D at 0xfe029000, irq 217
I added some instrumentation to the driver now and the probe function seems to run completely - at least it hits its return 0.
The device file is also still there so I don't think udev is to blame.
-Andi
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Re: Alsa update in mainline broke ATI-IXP sound driver II
In reply to Takashi IwaiQuoted 11 lines · Takashi Iwai
At Sun, 25 Jun 2006 21:39:35 +0200,
Quoted 8 lines · Andi Kleen
Since I updated an ATI x86-64 box to 2.6.17-git6 sound doesn't work anymore.
I just get
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) functionsnd_func_card_driverreturned error: No such device(snip)
Quoted 8 lines
Quoted 1 line
User land is from SUSE 10.0
First check
/proc/asound/cardsafter loading snd-atiixp. If the ATI IXP entry appears, the device was initialized and set up. If not, something wrong in the driver initialization.Then check whether
/dev/snd/controlC0exists. If not, it's likely a udev thingy. Possibly upgrading udev package might help...
First /proc/asound appeared now - in the first try the modules weren't correctly loaded. The card is shown there
0 [IXP ]: ATIIXP - ATI IXP
ATI IXP rev 0 with ALC658D at 0xfe029000, irq 217
I added some instrumentation to the driver now and the probe function seems to run completely - at least it hits its return 0.
The device file is also still there so I don't think udev is to blame.
-Andi
Re: Alsa update in mainline broke ATI-IXP sound driver II
At Mon, 26 Jun 2006 18:45:32 +0200,
Quoted 25 lines · Andi Kleen
Quoted 11 lines · Takashi Iwai
At Sun, 25 Jun 2006 21:39:35 +0200,
Quoted 8 lines · Andi Kleen
Since I updated an ATI x86-64 box to 2.6.17-git6 sound doesn't work anymore.
I just get
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3493:(_snd_config_evaluate) functionsnd_func_card_driverreturned error: No such device(snip)
Quoted 8 lines
Quoted 1 line
User land is from SUSE 10.0
First check
/proc/asound/cardsafter loading snd-atiixp. If the ATI IXP entry appears, the device was initialized and set up. If not, something wrong in the driver initialization.Then check whether
/dev/snd/controlC0exists. If not, it's likely a udev thingy. Possibly upgrading udev package might help...First
/proc/asoundappeared now - in the first try the modules weren't correctly loaded. The card is shown there
Quoted 8 lines
0 [IXP ]: ATIIXP - ATI IXP
ATI IXP rev 0 with ALC658D at 0xfe029000, irq 217I added some instrumentation to the driver now and the probe function seems to run completely - at least it hits its return 0.
The device file is also still there so I don't think udev is to blame.
OK, and still you get the same error like:
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ...
??
Any change if you set CONFIG_SND_DYNAMIC_MINORS=y ?
Takashi
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Re: Alsa update in mainline broke ATI-IXP sound driver II
Quoted 6 lines
OK, and still you get the same error like:
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ...??
Yes.
Quoted 1 line
Any change if you set
CONFIG_SND_DYNAMIC_MINORS=y?
With that it finally works. Thanks.
Still can it be fixed?
-Andi
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Re: Alsa update in mainline broke ATI-IXP sound driver II
In reply to Takashi IwaiQuoted 6 lines
OK, and still you get the same error like:
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ...??
Yes.
Quoted 1 line
Any change if you set
CONFIG_SND_DYNAMIC_MINORS=y?
With that it finally works. Thanks.
Still can it be fixed?
-Andi
Re: Alsa update in mainline broke ATI-IXP sound driver II
At Mon, 26 Jun 2006 20:28:31 +0200,
Quoted 8 lines · Andi Kleen
Quoted 7 lines
OK, and still you get the same error like:
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ...??
Quoted 7 lines
Yes.
Quoted 1 line
Any change if you set
CONFIG_SND_DYNAMIC_MINORS=y?With that it finally works. Thanks.
Still can it be fixed?
Well, the bug shall be fixed :)
Unfortunately I cannot reproduce this on my systems that are all based on SUSE 10.1, and the latest 2.6.17-git works fine even CONFIG_SND_DYNAMIC_MINORS=n as far as I've tested.
Could you check the strace and what open error occurs? I suppose it's /dev/snd/controlC0, but don't figure out exactly.
thanks,
Takashi
Re: Alsa update in mainline broke ATI-IXP sound driver II
Quoted 18 lines · Takashi Iwai
At Mon, 26 Jun 2006 20:28:31 +0200,
Quoted 8 lines · Andi Kleen
Quoted 7 lines
OK, and still you get the same error like:
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ...??
Quoted 7 lines
Yes.
Quoted 1 line
Any change if you set
CONFIG_SND_DYNAMIC_MINORS=y?With that it finally works. Thanks.
Still can it be fixed?
Quoted 8 lines
Well, the bug shall be fixed :)
Unfortunately I cannot reproduce this on my systems that are all based on SUSE 10.1, and the latest 2.6.17-git works fine even
CONFIG_SND_DYNAMIC_MINORS=nas far as I've tested.Could you check the strace and what open error occurs? I suppose it's
/dev/snd/controlC0, but don't figure out exactly.
Sorry for the delay
(as root) I get
5184 open("/dev/snd/controlC0", O_RDONLY) = -1 EACCES (Permission denied) 5184 open("/dev/snd/controlC1", O_RDONLY) = -1 EACCES (Permission denied) ... (upto 31) ...
5184 open("/dev/sound/dsp", O_WRONLY|O_NONBLOCK) = -1 ENOENT (No such file or d 5184 open("/dev/dsp", O_WRONLY|O_NONBLOCK) = -1 EACCES (Permission denied)
ccontrol0 is
crw------- 1 andi audio 116, 6 2006-06-29 11:49 /dev/snd/controlC0
It also doesn't work as andi
I stuck printks to the EACCES in sound/* and they don't trigger so it must be somewhere else.
-Andi
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Re: Alsa update in mainline broke ATI-IXP sound driver II
In reply to Takashi IwaiQuoted 18 lines · Takashi Iwai
At Mon, 26 Jun 2006 20:28:31 +0200,
Quoted 8 lines · Andi Kleen
Quoted 7 lines
OK, and still you get the same error like:
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ...??
Quoted 7 lines
Yes.
Quoted 1 line
Any change if you set
CONFIG_SND_DYNAMIC_MINORS=y?With that it finally works. Thanks.
Still can it be fixed?
Quoted 8 lines
Well, the bug shall be fixed :)
Unfortunately I cannot reproduce this on my systems that are all based on SUSE 10.1, and the latest 2.6.17-git works fine even
CONFIG_SND_DYNAMIC_MINORS=nas far as I've tested.Could you check the strace and what open error occurs? I suppose it's
/dev/snd/controlC0, but don't figure out exactly.
Sorry for the delay
(as root) I get
5184 open("/dev/snd/controlC0", O_RDONLY) = -1 EACCES (Permission denied) 5184 open("/dev/snd/controlC1", O_RDONLY) = -1 EACCES (Permission denied) ... (upto 31) ...
5184 open("/dev/sound/dsp", O_WRONLY|O_NONBLOCK) = -1 ENOENT (No such file or d 5184 open("/dev/dsp", O_WRONLY|O_NONBLOCK) = -1 EACCES (Permission denied)
ccontrol0 is
crw------- 1 andi audio 116, 6 2006-06-29 11:49 /dev/snd/controlC0
It also doesn't work as andi
I stuck printks to the EACCES in sound/* and they don't trigger so it must be somewhere else.
-Andi