Description of problem: There is no sound with the 2.6.18-164.el5 kernel on an nvidia MCP55 chipset. Version-Release number of selected component (if applicable): 2.6.18-164.el5 How reproducible: Always Steps to Reproduce: 1. Boot up the newer kernel 2. Try to play any sound Actual results: No sound Expected results: Sound playing The older kernel, kernel-2.6.18-128.7.1.el5 reproduces the audio correctly. Additional info: On boot up, the following message is displayed by the kernel right after the grub screen: FOUND MCP55 CHIP cfg value is 80c5 DETECTED RESTRICTED ROUTING ON MCP55! FLAGGING [dr126@phys44230 ~]$ /sbin/lspci | grep Audio 00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2) [dr126@phys44230 ~]$ /sbin/lsmod | grep snd snd_hda_intel 584593 7 snd_seq_dummy 37061 0 snd_seq_oss 65473 0 snd_seq_midi_event 41025 1 snd_seq_oss snd_seq 87777 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 41557 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 77377 0 snd_mixer_oss 49985 1 snd_pcm_oss snd_pcm 116681 4 snd_hda_intel,snd_pcm_oss snd_timer 57161 4 snd_seq,snd_pcm snd_page_alloc 44113 2 snd_hda_intel,snd_pcm snd_hwdep 43593 1 snd_hda_intel snd 100073 19 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep soundcore 41825 1 snd [dr126@phys44230 ~]$ amixer Simple mixer control 'Master',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [0.00dB] [on] Front Right: Playback 31 [100%] [0.00dB] [on] Simple mixer control 'PCM',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] Simple mixer control 'Front Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 3 [100%] Front Right: 3 [100%] Simple mixer control 'Line',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] Simple mixer control 'Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] Front Right: 0 [0%] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Aux',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 23 [74%] [0.00dB] [off] Front Right: Playback 23 [74%] [0.00dB] [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 31 [100%] [34.50dB] [on] Front Right: Capture 31 [100%] [34.50dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 31 [100%] [34.50dB] [on] Front Right: Capture 31 [100%] [34.50dB] [on] Simple mixer control 'Capture',2 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 31 [100%] [34.50dB] [on] Front Right: Capture 31 [100%] [34.50dB] [on] Simple mixer control 'Beep',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Digital',0 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 80 [67%] [10.00dB] Front Right: Capture 80 [67%] [10.00dB] Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic' Simple mixer control 'Input Source',2 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic'
Please, add output from 'alsa-info.sh --no-upload' script to this bug (can be obtained at http://www.alsa-project.org/alsa-info.sh URL).
Created attachment 363320 [details] Requested output from alsa-info.sh --no-upload
Could you remove 'model=tyan' from your snd-hda-intel module configuration and report result? Also, does 'aplay <some_wav_file>' command finish without errors?
Originally there was no 'model=tyan' in modprobe.conf, we added that in an attempt to fix the problem but it did not help. [root@phys44230 ~]# aplay /usr/share/apps/kasteroids/sounds/Explosion.wav Playing WAVE '/usr/share/apps/kasteroids/sounds/Explosion.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono [root@phys44230 ~]# The command finishes without errors.
Maybe hardware is supported in latest ALSA HDA driver. I'll prepare a test kernel in bug#525390 .
The latest ALSA HDA driver for RHEL 5.5 is available here: http://people.redhat.com/~jkysela/RHEL5/ Please, report back test results.
This is a copy paste from an e-mail I received from the user who uses the machine in question (he is Linux savvy) after booting up with the new kernel: "It is till not working. This time it mutes the rear output connector if I plug in something into the front jack, but does not output any sound through the front jack. With nothing plugged into the front jack I get output from the rear jack. I can sometimes get an analog loop from the rear microphone to the rear speaker to work (just turning on output for "Mic"), but not always. It seems to be connected to the control labelled digital (almost seems as if the digital SPDIF output uses the same pin as the microphone input). I can not record from the rear microphone even if I can hear it on the speakers. I tried this with both skype and sox (sox -t alsa default -t alsa default). Different models do not help either, with the basic or auto setting I could get the front output to work but never any recording from the microphone jacks even though (one or both) allows me to listen to the front microphone. All show noise and what might be digital voltage signals (ie clicks, crackles) that I can sometimes control in volume using the "digital" control."
Could you provide output from 'alsa-info.sh --no-upload' script for good kernel kernel-2.6.18-128.7.1.el5 and kernel from comment#6? Do not use any model options and try to set mixer to similar values as close as possible. If a Linux guru with kernel skills is available for this machine, it would be probably best to use 'git bisect' on kernel sources with latest vanilla linux kernels to check where things got broken for this hardware.
Created attachment 369441 [details] alsa-info.sh for 2.6.18-164.6.1.el5 kernel
Created attachment 369442 [details] alsa-info.sh for 2.6.18-171.el5.hda55x1 kernel
Created attachment 369443 [details] alsa-info.sh for 2.6.18-128.7.1.el5 kernel
I have to take the statement from Comment #7 back. I went today to work with the user in the machine and collect the output of alsa-info.sh for the different kernels and after playing with alsamixer, we were able to produce sound and capture audio from the microphone using the rear (motherboard built-in) audio connectors with your test kernel: 2.6.18-171.el5.hda55x1. I have attached the results of alsa-info.sh for three kernels: 2.6.18-128.7.1.el5 Last release kernel from 5.3 where sound was working correctly. 2.6.18-164.6.1.el5 Sound output is broken (no audio output at all), seems to be common in all 2.6.18-164.x.x kernel series. 2.6.18-171.el5.hda55x1 Sound is working fine again with your test kernel. Your patch works for this, so I will ask my people with a support contract to open a support request and point to this bugzilla so that the patch can be reviewed for inclusion in the next update.
The user of the machine just got back to me and he says that the front audio connectors in the case still do not work. This means that if a headphone and mic are connected to the front of the case, the speakers in the rear are muted, but no audio comes out on the headphones using the test 2.6.18-171.el5.hda55x1 kernel. The Mic recording also does not work when connected to the front panel. I think this is the reason why he said things still did not work in comment #7. When I arrived to test today, he had the headphones connected to the front of the case, so if this is still broken, he came to the conclusion the test kernel still did not fix the problem with the front connector on the case. The front connectors do work correctly with the 2.6.18-128.7.1.el5 kernel. So we do know that the wiring of the front panel is fine. I have not yet checked this motherboard, but sometimes they have a setting to change the front panel connector from HDAudio to Azalia and sometimes other options. I will try to change those settings using the test kernel 2.6.18-171.el5.hda55x1 to see if I can make more progress.
The motherboard is a Tyan S2915-E. It was running the 2.07 firmware where they added support for the ALC262 audio codec From: http://www.tyan.com/support_download_bios.aspx?model=S.S2915-E ------------------------------------- 2008/06/12 S2915-E_v207.zip v.2.07 Problem Fix Description: - Updated support for the Realtek ALC262 Audio Codec - Added support for ATI 3870X2 video cards ------------------------------------- I updated the Bios to the latest 4.01 to be current. According to the motherboard bios, the audio is "Azalia". The computer case is a Cooler Master Stacker which comes with 3 internal wiring harnesses for the onboard audio. One connector is labeled "HD Audio", which is the one I was using. Another connector is labeled "AC 97" and then there are 10 separate cables with the color coding for "Azalia". I went ahead and changed from using the "HD Audio" connector to the "Azalia" configuration and the problem persists with the test kernel 2.6.18-171.el5.hda55x1. One thing to notice is that with the older kernel, alsamixer shows an entry for Headphone, whereas with the new kernel, alsamixer does not show it (see screen shots attached as png files). Hope this helps.
Created attachment 369474 [details] alsamixer screenshot old kernel
Created attachment 369476 [details] alsamixer screenshot test kernel
You may try another ALC262 models for .171 kernel: http://git.alsa-project.org/?p=alsa-kmirror.git;a=blob_plain;f=Documentation/HD-Audio-Models.txt;hb=HEAD Also, try 'model=generic'.
I was wondering if there was any feedback concerning the suggestions proposed by comment #17. Thanks.
(In reply to comment #18) > I was wondering if there was any feedback concerning the suggestions proposed > by comment #17. > Thanks. We finally gave up, added a Creative labs PCI sound card and are using that. I will try to run more tests this week, but in general I do remember than trying different models did not help either.
Since the issue has not been worked on recently, I am going to close this bz. Hopefully next time there is a problem, it can be resolved more satisfactorily. Please re-open if something new becomes available.