LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-08-2009, 07:26 PM   #1
gimpy530
Member
 
Registered: Oct 2007
Posts: 98

Rep: Reputation: 16
No sound in VM with Ubuntu Server host


I have an Ubuntu Server which hosts VMs running on VMware Server 2.0. These VMs cannot get sound because VMware thinks there is no sound device on the host because it is not enabled, how do I get sound to work?


Ubuntu Server 9.04 x64
Chipset: nVidia nForce 4

person@place:~$ uname -a
Linux place 2.6.28-14-server #47-Ubuntu SMP Sat Jul 25 02:03:55 UTC 2009 x86_64 GNU/Linux


Sound information for the host:

person@place:~$ lspci -v|less
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
Subsystem: Micro-Star International Co., Ltd. Device 7585
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
I/O ports at f000 [size=256]
I/O ports at ec00 [size=256]
Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0

person@place:~$ aplay -l
aplay: device_list:217: no soundcards found...

person@place:~$ sudo asoundconf list
Names of available sound cards:
CK804

person@place:~$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory

person@place:~$ lsmod | grep snd
snd_intel8x0 43816 0
snd_ac97_codec 133848 1 snd_intel8x0
ac97_bus 10368 1 snd_ac97_codec
snd_pcm 99464 2 snd_intel8x0,snd_ac97_codec
snd_timer 34064 1 snd_pcm
snd 78920 4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 16800 1 snd
snd_page_alloc 18704 2 snd_intel8x0,snd_pcm
 
Old 08-09-2009, 09:53 PM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Enable sound device on the host, or maybe redirect sound output to /dev/null like VirtualBox can do.
 
Old 08-10-2009, 04:42 AM   #3
gimpy530
Member
 
Registered: Oct 2007
Posts: 98

Original Poster
Rep: Reputation: 16
I know I have to enable sound on the host; my question is how do I actually do it? I found a number of threads here and elsewhere of people asking the same thing, no one has said how to do it via command line though. (This server does not have a GUI)
 
Old 08-10-2009, 07:28 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well enabling sound usually just needs to be done by having the appropriate driver loaded do you know what kind of audio hardware you have in the server? If not maybe you can post an lspci output and we can look into it with you.
 
Old 08-10-2009, 12:46 PM   #5
gimpy530
Member
 
Registered: Oct 2007
Posts: 98

Original Poster
Rep: Reputation: 16
This was in my first post:

person@place:~$ lspci -v|less
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
Subsystem: Micro-Star International Co., Ltd. Device 7585
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
I/O ports at f000 [size=256]
I/O ports at ec00 [size=256]
Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0

I tried "sudo modprobe -a snd-intel8x0" which produced no errors, but when I try to add a sound adapter on a VM I get: Cannot connect virtual device sound. No corresponding device is available on the host.
 
Old 08-13-2009, 12:59 PM   #6
gimpy530
Member
 
Registered: Oct 2007
Posts: 98

Original Poster
Rep: Reputation: 16
Any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bonded NICs at host OS (Ubuntu Server) bridged to virtual OS (UServ) in VMware server Xiiph Linux - Networking 1 10-21-2009 01:04 PM
using ubuntu server to host IM 3vra Linux - Server 3 05-29-2009 03:39 PM
Ubuntu Server 8.10 cannot resolve host wvw Linux - Server 2 02-17-2009 07:31 AM
Host website on non-web server ubuntu solarbike Linux - Server 1 03-09-2008 08:40 PM
Ubuntu Errors: sound problems, host identification problem, and more... bad_ronald Linux - Newbie 1 09-19-2004 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration