No sound w/CentOS 6 x86_64

Issues related to applications and software problems
builder
Posts: 14
Joined: 2011/08/05 21:22:14
Location: Pollock Pines, CA
Contact:

No sound w/CentOS 6 x86_64

Post by builder » 2011/08/05 21:34:11

Having issues with a new system getting sound to function. Fresh install of CentOS 6 during which the soundcore and snd_ca0106 kernel modules were enabled to support a Creative SoundBlaster Live 24bit PCI card. I have since installed kmod_alsa from the elrepo repository.

No sounds of any kind. Card, wire, and speakers tested on another system using Fedora 11 32bit (the system that is being replaced). All working normally.

I assume that there is some magic I'm missing. Any ideas?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

No sound w/CentOS 6 x86_64

Post by pschaff » 2011/08/06 15:19:11

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

I can't think of much other than the obvious - check connections, bring up your favorite mixer, and make sure nothing is muted. You have not given us much to go on. How have you tested that sound is not working and what else have you done to debug?

If more help is needed then please [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh" and showing us the output file.

builder
Posts: 14
Joined: 2011/08/05 21:22:14
Location: Pollock Pines, CA
Contact:

Re: No sound w/CentOS 6 x86_64

Post by builder » 2011/08/06 17:06:43

SuperMicro motherboard without built in audio (re-purposed server guts to build new desktop)
Two (2) Intel Xeon dual-core CPUs
Eight (8) GB RAM
Lots of HDD in RAID 5 arrays
Radeon HD 5770 dual head graphics card
Two (2) HP 24" flat panel monitors
New Logitec (el cheapo) speakers
CentOS 6 x86_64 - standard Desktop installation

I installed the SoundBlaster card because I do not have the appropriate HDMI digital audio (provided by the graphics card) converter to use the analog stereo speakers.

Physical checks... two different sets of speakers both of which work when plugged into other computers (Macbook Pro, Fedora 11 32bit PC). Sound Blaster card installed in Fedora 11 desktop works.

Configuration choices -- used gnome-volume-control utility to turn off Juniper HDMI Audio (provided by the graphics card) and select "CA0106 Soundblaser Analog Stereo" as output device. Selected "Analog Stereo Output" as the profile prior to using the "Test Speakers" function. No sound. At no time has the Mute been activated.

I have not installed much in the way of mixers or other programs that may affect the operation of the speakers.

[code]
== BEGIN uname -rmi ==
2.6.32-71.29.1.el6.x86_64 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-6-0.el6.centos.5.x86_64
adobe-release-i386-1.0-1.noarch
elrepo-release-6-4.el6.elrepo.noarch
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS Linux release 6.0 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 7874 3269 4604 0 203 1019
-/+ buffers/cache: 2045 5828
Swap: 10063 0 10063
== END free -m ==

== BEGIN rpm -q yum rpm python ==
yum-3.2.27-14.el6.centos.noarch
rpm-4.8.0-12.el6.x86_64
python-2.6.5-3.el6_0.2.x86_64
== END rpm -q yum rpm python ==

== BEGIN ls /etc/yum.repos.d ==
adobe-linux-i386.repo
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
elrepo.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, refresh-packagekit


Exiting on user cancel
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Sun Jul 24 18:03:47 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_mckinley-lv_root / ext4 defaults 1 1
UUID=d8fdecde-dfe5-4d81-9189-07c20a15fb20 /boot ext4 defaults 1 2
/dev/mapper/vg_mckinley-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_mckinley-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_mckinley-lv_root
50G 3.5G 44G 8% /
tmpfs 3.9G 3.1M 3.9G 1% /dev/shm
/dev/sda1 485M 60M 400M 13% /boot
/dev/mapper/vg_mckinley-lv_home
5.4T 124G 5.0T 3% /home
== END df -h ==

== BEGIN blkid ==
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-71.29.1.el6.x86_64
kernel-2.6.32-71.el6.x86_64
kernel-firmware-2.6.32-71.29.1.el6.noarch
kernel-headers-2.6.32-71.29.1.el6.x86_64
== END rpm -qa kernel\* | sort ==

== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev 0c)
00:00.1 Unassigned class [ff00]: Intel Corporation E7525/E7520 Error Reporting Registers (rev 0c)
00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A (rev 0c)
00:04.0 PCI bridge: Intel Corporation E7525/E7520 PCI Express Port B (rev 0c)
00:06.0 PCI bridge: Intel Corporation E7520 PCI Express Port C (rev 0c)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
01:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
01:00.1 PIC: Intel Corporation 6700/6702PXH I/OxAPIC Interrupt Controller A (rev 09)
01:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
01:00.3 PIC: Intel Corporation 6700PXH I/OxAPIC Interrupt Controller B (rev 09)
02:01.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster
02:03.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)
03:02.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
03:02.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03)
04:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series]
04:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
05:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
05:00.1 PIC: Intel Corporation 6700/6702PXH I/OxAPIC Interrupt Controller A (rev 09)
05:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
05:00.3 PIC: Intel Corporation 6700PXH I/OxAPIC Interrupt Controller B (rev 09)
06:01.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)
== END lspci ==

== BEGIN lspci -n ==
00:00.0 0600: 8086:3590 (rev 0c)
00:00.1 ff00: 8086:3591 (rev 0c)
00:02.0 0604: 8086:3595 (rev 0c)
00:04.0 0604: 8086:3597 (rev 0c)
00:06.0 0604: 8086:3599 (rev 0c)
00:1d.0 0c03: 8086:24d2 (rev 02)
00:1d.1 0c03: 8086:24d4 (rev 02)
00:1d.2 0c03: 8086:24d7 (rev 02)
00:1d.3 0c03: 8086:24de (rev 02)
00:1d.7 0c03: 8086:24dd (rev 02)
00:1e.0 0604: 8086:244e (rev c2)
00:1f.0 0601: 8086:24d0 (rev 02)
00:1f.3 0c05: 8086:24d3 (rev 02)
01:00.0 0604: 8086:0329 (rev 09)
01:00.1 0800: 8086:0326 (rev 09)
01:00.2 0604: 8086:032a (rev 09)
01:00.3 0800: 8086:0327 (rev 09)
02:01.0 0401: 1102:0007
02:03.0 0100: 11ab:6081 (rev 09)
03:02.0 0200: 8086:1079 (rev 03)
03:02.1 0200: 8086:1079 (rev 03)
04:00.0 0300: 1002:68b8
04:00.1 0403: 1002:aa58
05:00.0 0604: 8086:0329 (rev 09)
05:00.1 0800: 8086:0326 (rev 09)
05:00.2 0604: 8086:032a (rev 09)
05:00.3 0800: 8086:0327 (rev 09)
06:01.0 0100: 11ab:6081 (rev 09)
== END lspci -n ==

== BEGIN lsusb ==
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 1a40:0101 TERMINUS TECHNOLOGY INC. USB-2.0 4-Port HUB
Bus 001 Device 003: ID 1a40:0101 TERMINUS TECHNOLOGY INC. USB-2.0 4-Port HUB
Bus 001 Device 002: ID 03f0:1205 Hewlett-Packard ScanJet 4500C/5550C
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
== END lsusb ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr 00:30:48:30:58:16
inet addr:192.168.0.183 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe30:5816/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:632087 errors:0 dropped:0 overruns:0 frame:0
TX packets:267104 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:437426969 (417.1 MiB) TX bytes:26926781 (25.6 MiB)

eth1 Link encap:Ethernet HWaddr 00:30:48:30:58:17
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:786 (786.0 b) TX bytes:786 (786.0 b)

== END ifconfig -a ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager
domain DSLWest.com
search DSLWest.com
nameserver 208.67.222.222
nameserver 208.67.220.220
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]

builder
Posts: 14
Joined: 2011/08/05 21:22:14
Location: Pollock Pines, CA
Contact:

Re: No sound w/CentOS 6 x86_64

Post by builder » 2011/08/12 04:00:21

Alright, now I have a related dilemma. I thought to verify that the hardware was working properly by booting a live CD, just to find out if the speakers would do something. I ran into something interesting...

I first downloaded and burned the Fedora 15 LIVE image. When I booted the CD all I got was the ISOLINUX display message and the system hung. I then downloaded the Ubuntu 11.04 install CD (purported to have a LIVE boot variant built in) and got the same result --- the ISOLINUX display message and the system hung again. As a check (on my sanity), I put the original CentOS install disk in the drive and it booted like normal. Shazzam, even.

So, what do I do now? Does anyone know of a LIVE distro that will allow me to check the audio hardware?

builder
Posts: 14
Joined: 2011/08/05 21:22:14
Location: Pollock Pines, CA
Contact:

Re: No sound w/CentOS 6 x86_64

Post by builder » 2011/08/12 06:51:43

Well, I think I'm going to give up on the Creative SoundBlaster Live 24bit PCI card. It seems to be the culprit here. It seems to work fine in a Fedora 32 bit system but I guess it is a little out of its depth in a CentOS 6 x86_64 environment. Someone on another community board suggested an ASUS Xonar D2 but that seems to have a eeprom issue or some such.

Anyone recommend a PCI (PCI-X) sound card compatible with CentOS 6 x86_64?

User avatar
TrevorH
Forum Moderator
Posts: 26324
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No sound w/CentOS 6 x86_64

Post by TrevorH » 2011/08/12 08:28:55

It's not just selecting the HDMI audio device instead?

builder
Posts: 14
Joined: 2011/08/05 21:22:14
Location: Pollock Pines, CA
Contact:

Re: No sound w/CentOS 6 x86_64

Post by builder » 2011/08/21 22:25:57

Well, I replaced the Creative Labs Sound Blaster card with an ASUS Xonar D2 PCI card. Still no sound. I guess I'm not holding my mouth right.

Can anyone tell me which kernel mods I should have installed? Have I gotten something out of whack? How can I tell?

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: No sound w/CentOS 6 x86_64

Post by AlanBartlett » 2011/08/21 23:16:47

[quote]
Can anyone tell me which kernel mods I should have installed? Have I gotten something out of whack? How can I tell?
[/quote]
When investigating a potential driver issue, the first essential piece of information required is that of the [i]Vendor:Device ID Pairing[/i] (a.k.a. the [i]fingerprint[/i]) for the controller. As, in this case, it is a pci device, execute --

[code]
[b]lspci -nn | grep -iE 'audio|sound'[/b]
[/code]
If it returns a line describing your new sound controller card, please post it here. If it does not produce any output, then just post the entire output returned by --

[code]
[b]lspci -nn[/b]
[/code]

builder
Posts: 14
Joined: 2011/08/05 21:22:14
Location: Pollock Pines, CA
Contact:

Re: No sound w/CentOS 6 x86_64

Post by builder » 2011/08/23 04:44:34

There are two "cards" listed; the audio portion of my graphics card and the ASUS Xonar (here listed as "Oxygen HD Audio")
[code]
# lspci -nn | grep -iE 'audio|sound'
04:00.1 Audio device [0403]: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series] [1002:aa58]
06:01.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
#
[/code]
After digging through the alsa-project site's troubleshooting documentation it appears that this may be the root of the problem - the graphics card seems to be "card0" and the Xonar D2 is "card1".

The /proc/asound/cards file reads:
[code]
# cat cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xc0d00000 irq 124
1 [D2 ]: AV200 - Xonar D2
Asus Virtuoso 200 (rev 2) at 0x5000, irq 72
#
[/code]
Does anyone know how to force these two to switch places?
How about some thoughts on disabling the audio portion of the Radeon HD 5770?
Maybe there is some magical device to allow me to hook up a pair of standard speakers (Logitech X-140 2.0) to that HDMI output and I'll just pull the ASUS Xonar card...

It is becoming obvious that I do not fully grok the wonders of CentOS. :-)

User avatar
TrevorH
Forum Moderator
Posts: 26324
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: No sound w/CentOS 6 x86_64

Post by TrevorH » 2011/08/23 06:13:38

You can change which card is seen first/2nd etc by using options line in /etc/modprobe.conf like so

[code]
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=0
[/code]

(Adjust module names for your environment!)

Post Reply