Bug 489828 - alsa doesn't recognize onboard sound on GA-MA69H-S3H.
Summary: alsa doesn't recognize onboard sound on GA-MA69H-S3H.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-lib
Version: 10
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Jaroslav Kysela
QA Contact: Fedora Extras Quality Assurance
URL: http://www.alsa-project.org/db/?f=af6...
Whiteboard:
: 475251 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-12 02:36 UTC by Emmanuel Chanel
Modified: 2009-12-18 09:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-18 09:00:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The result of 'lsmod|grep snd' (786 bytes, text/plain)
2009-03-12 08:56 UTC, Emmanuel Chanel
no flags Details
Result of lspci -v (6.87 KB, text/plain)
2009-03-12 08:57 UTC, Emmanuel Chanel
no flags Details
pulseaudio's message around /var/log/messages . I tried adding me to pulse-rt but not solved. (801 bytes, text/plain)
2009-03-12 09:01 UTC, Emmanuel Chanel
no flags Details
Full dmesg after boot. (29.62 KB, text/plain)
2009-03-12 12:04 UTC, Emmanuel Chanel
no flags Details
dmesg when I installed the alsa-driver snapshot. (29.67 KB, application/octet-stream)
2009-03-13 16:18 UTC, Emmanuel Chanel
no flags Details
dmesg when I installed the alsa-driver-1.0.19 (stable). (29.65 KB, application/octet-stream)
2009-03-14 14:43 UTC, Emmanuel Chanel
no flags Details
dmesg when I installed the alsa-driver-1.0.19 (stable) --with-debug=verbose. (30.19 KB, text/plain)
2009-03-14 16:42 UTC, Emmanuel Chanel
no flags Details
dmesg when acpi=off after I installed the alsa-driver-1.0.19 (stable) --with-debug=verbose. (25.29 KB, text/plain)
2009-03-14 16:44 UTC, Emmanuel Chanel
no flags Details
I tried UbuntuLinux8.10 amd64 and sound doesn't work, neither. That's the dmesg of it. (35.61 KB, text/plain)
2009-03-14 19:27 UTC, Emmanuel Chanel
no flags Details
When I got sound back by "kernel: hda-intel: Invalid position buffer, using LPIB read method instead."(random fallover) (29.83 KB, text/plain)
2009-03-14 23:26 UTC, Emmanuel Chanel
no flags Details

Description Emmanuel Chanel 2009-03-12 02:36:28 UTC
Description of problem:
I cannot hear sound on Fedora 10. It's onboard sound. My motherboard is GA-MA69H-S3H .
Pulse Audio Volume Control says that no hardware devices and that the output is "Null Output". But I can hear sound on Ubuntu 7.04 Live CD.
alsa-info.sh uploaded its result on the URL I pasted.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
I could hear sounds on an old HDD. I bought a new HDD and had a clean installation on it. And this problem occurs.

Actual results:


Expected results:
I can hear audio via pulse audio server.

Additional info:

Comment 1 Emmanuel Chanel 2009-03-12 08:53:52 UTC
I filled the form of URI. But the URI doesn't shown. So I add it.
http://www.alsa-project.org/db/?f=af6a6e787d4bd5212bf766bf5d09fda1ab5e2300

Comment 2 Emmanuel Chanel 2009-03-12 08:56:07 UTC
Created attachment 334906 [details]
The result of 'lsmod|grep snd'

Comment 3 Emmanuel Chanel 2009-03-12 08:57:01 UTC
Created attachment 334907 [details]
Result of lspci -v

Comment 4 Emmanuel Chanel 2009-03-12 09:01:51 UTC
Created attachment 334908 [details]
pulseaudio's message around /var/log/messages . I tried adding me to pulse-rt but not solved.

Comment 5 Emmanuel Chanel 2009-03-12 09:23:12 UTC
Oops... I forgot to say that I updated soon after the clean installation on my new HDD.
And kernel version is 2.6.27.19-170.2.35.fc10.x86_64

Comment 6 Emmanuel Chanel 2009-03-12 11:24:06 UTC
[root@star1 ~]# cat /proc/asound/cards
--- no soundcards ---

Comment 7 Jaroslav Kysela 2009-03-12 11:53:57 UTC
Please, attach full dmesg output just after boot. It seems that driver cannot use HDA bridge for some reason.

Comment 8 Emmanuel Chanel 2009-03-12 12:04:40 UTC
Created attachment 334919 [details]
Full dmesg after boot.

Is that correct file to attach?
Thanks advance.

Comment 9 Jaroslav Kysela 2009-03-12 15:54:25 UTC
Relevant messages from dmesg.

HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ALSA sound/pci/hda/hda_intel.c:1232: hda-intel: no codecs initialized
HDA Intel 0000:00:14.2: PCI INT A disabled

You may try to compile and install latest ALSA driver snapshot from http://www.alsa-project.org .

Comment 10 Emmanuel Chanel 2009-03-13 16:18:26 UTC
Created attachment 335113 [details]
dmesg when I installed the alsa-driver snapshot.

Ahoj!(It's one of few Czech greeting I know.)
I don't know how to make that snapshot work. I tried some, though. Unknown symbols occurs.
I did
./configure
make
make install
And error occurs:
> [root@star1 alsa-driver-1.0.19.34.g70f78.363.g0ec3b]# modprobe snd_hda_intel
> FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.27.19-170.2.35.fc10.x86_64/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or > unknown parameter (see dmesg)
I changed back by
> make uninstall
> rpm -ivh --replacepkgs /var/cache/yum/updates/packages/kernel-2.6.27.19-170.2.35.fc10.x86_64.rpm

Comment 11 Emmanuel Chanel 2009-03-13 16:25:55 UTC
Well, I write the chipset of its onboard sound.
It's Realtek ALC889A Audio Codec , as I see on the official website of the motherboard.

Comment 12 Emmanuel Chanel 2009-03-14 14:43:18 UTC
Created attachment 335209 [details]
dmesg when I installed the alsa-driver-1.0.19 (stable).

I tried the stable alsa-driver-1.0.19 and failed, too.

[root@star1 alsa-driver-1.0.19]# modprobe snd_hda_intel
[root@star1 alsa-driver-1.0.19]# lsmod|grep snd
snd_hda_codec_realtek   253700  1 
snd_hda_intel          35944  6 
snd_hda_codec          70016  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              16392  1 snd_hda_codec
snd_seq_dummy          11652  0 
snd_seq_oss            39616  0 
snd_seq_midi_event     15104  1 snd_seq_oss
snd_seq                58864  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         15508  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            45728  0 
snd_mixer_oss          23040  1 snd_pcm_oss
snd_pcm                80392  5 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              29584  2 snd_seq,snd_pcm
snd                    67576  22 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              14992  1 snd
snd_page_alloc         17296  2 snd_hda_intel,snd_pcm
[root@star1 alsa-driver-1.0.19]# /etc/init.d/alsasound restart
Shutting down sound driver: ERROR: Module snd_hda_codec_realtek is in use
ERROR: Module snd_hda_codec is in use by snd_hda_codec_realtek
ERROR: Module snd_hwdep is in use by snd_hda_codec
ERROR: Module snd_pcm is in use by snd_hda_codec
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd is in use by snd_hda_codec_realtek,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
done
ALSA driver is already running.
[root@star1 alsa-driver-1.0.19]# /etc/init.d/alsasound stop
Shutting down sound driver: /usr/sbin/alsactl: save_state:1502: No soundcards found...
done

And ...
[root@star1 ~]# cat /proc/asound/cards
--- no soundcards ---

Comment 13 Emmanuel Chanel 2009-03-14 16:42:58 UTC
Created attachment 335213 [details]
dmesg when I installed the alsa-driver-1.0.19 (stable) --with-debug=verbose.

Comment 14 Emmanuel Chanel 2009-03-14 16:44:08 UTC
Created attachment 335214 [details]
dmesg when acpi=off after I installed the alsa-driver-1.0.19 (stable) --with-debug=verbose.

Comment 15 Emmanuel Chanel 2009-03-14 19:27:11 UTC
Created attachment 335222 [details]
I tried UbuntuLinux8.10 amd64 and sound doesn't work, neither. That's the dmesg of it.

Comment 16 Emmanuel Chanel 2009-03-14 23:26:45 UTC
Created attachment 335234 [details]
When I got sound back by "kernel: hda-intel: Invalid position buffer, using LPIB read method instead."(random fallover)

It doesn't mean succeed. Sometimes sound get back and sometimes not, at random.

Comment 17 Daniel Koukola 2009-03-15 03:36:12 UTC
It looks like that it fails when the RIRB is placed at a physical address greater than 4 GB.

Comment 18 Daniel Koukola 2009-03-15 03:47:08 UTC
pci_set_dma_mask(pci, DMA_32BIT_MASK);
pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK);

seems to solve the problem.

Comment 19 Emmanuel Chanel 2009-03-15 08:56:43 UTC
I don't know how to make a patch file. But I modified hda_intel.c on the stable source by Daniel Koukola's idea. And the sound got back.

[emmanuel@star1 hda]$ pwd
/home/emmanuel/Softwares/alsa-driver-1.0.19/alsa-kernel/pci/hda
[emmanuel@star1 hda]$ diff hda_intel.c{0,}
2215,2216c2215,2218
<       if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK))
<               pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK);
---
>       /*      if ((gcap & 0x01) && !pci_set_dma_mask(pci, DMA_64BIT_MASK))
>               pci_set_consistent_dma_mask(pci, DMA_64BIT_MASK); */
>       pci_set_dma_mask(pci, DMA_32BIT_MASK);
>       pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK);

Comment 20 Daniel Koukola 2009-03-15 13:37:07 UTC
http://www.mail-archive.com/linux-ide@vger.kernel.org/msg06694.html …SB600's AHCI controller seems to have the same problem.

Comment 21 Jaroslav Kysela 2009-03-17 14:03:46 UTC
*** Bug 475251 has been marked as a duplicate of this bug. ***

Comment 22 Bug Zapper 2009-11-18 09:54:41 UTC
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 23 Bug Zapper 2009-12-18 09:00:29 UTC
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.