[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Alsa trouble in Xen guest



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.