WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Alsa trouble in Xen guest

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Alsa trouble in Xen guest
From: varacanero <varacanero@xxxxxxxxxxxx>
Date: Wed, 19 Dec 2007 11:47:40 +0100
Delivery-date: Wed, 19 Dec 2007 02:48:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
Hi,

i have problems to set up a soundcard in a xen guest. Actually i tried
the same in another xen guest system, with different hardware, so i
thinks it's not the hardware.
I assigned the pci soundcard to the guest with the xen kernel cmdline:

root=/dev/mapper/ru-root ro console=tty0 xencons=tty pciback.hide=(00:0d.0)


the guest is taking the card with

pci = [ '00:0d.0' ]

ru:~# lspci
00:00.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)

Everything looks fine, but when i use aplay i.e. :

ru:~# aplay
ALSA lib pcm_direct.c:985:(snd_pcm_direct_initialize_slave) unable to
install hw params
ALSA lib pcm_dmix.c:876:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:550: audio open error: Cannot allocate memory

Here are some additional infos:

Host:
Xen 3.1.0
Linux ... 2.6.18-4-xen-686 #1 SMP Thu May 10 03:24:35 UTC 2007 i686
GNU/Linux

Guest:
snd_cmipci             32384  0
gameport               15592  1 snd_cmipci
snd_pcm                69764  1 snd_cmipci
snd_page_alloc         10472  1 snd_pcm
snd_opl3_lib           10688  1 snd_cmipci
snd_timer              21924  2 snd_pcm,snd_opl3_lib
snd_hwdep               9604  1 snd_opl3_lib
snd_mpu401_uart         8864  1 snd_cmipci
snd_rawmidi            23456  1 snd_mpu401_uart
snd_seq_device          8588  2 snd_opl3_lib,snd_rawmidi
snd                    47876  8
snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10016  1 snd
ipv6                  229088  10
8250                   28164  0
serial_core            20288  1 8250
ext3                  120072  1
jbd                    53224  1 ext3
mbcache                 9124  1 ext3
dm_crypt               11656  0
dm_mirror              20048  0
dm_snapshot            16320  0
dm_mod                 51000  3 dm_crypt,dm_mirror,dm_snapshot
processor              29608  0


Hope someone can help.

Greetings !

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Alsa trouble in Xen guest, varacanero <=