[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] PCI devices forwarded but does not work
On Tue, Aug 30, 2011 at 2:55 PM, MisterE <MisterE2002@xxxxxxxxx> wrote: > Hello Xen folks, > > > I use Debian Squeeze > I seize a soundcard (inc. HDMI) and a network card with the next kernel > parameters: > module /vmlinuz-2.6.32-5-xen-amd64 placeholder > root=/dev/mapper/vg_dom0-lv_root ro xen-pciback.permissive > xen-pciback.hide=(00:14.2)(01:05.1)(03:00.0) > > root@dom0:/boot/grub# dmesg | grep seizing > [ 0.147445] pciback 0000:00:14.2: seizing device > [ 0.147934] pciback 0000:01:05.1: seizing device > [ 0.148070] pciback 0000:03:00.0: seizing device > > > root@dom0:/boot/grub# lspci -k > 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) > Subsystem: Giga-byte Technology Device a022 > Kernel driver in use: pciback > 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller > Subsystem: ATI Technologies Inc RS780 Azalia controller > Kernel driver in use: pciback > 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B > PCI Express Gigabit Ethernet controller (rev 02) > Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express > Gigabit Ethernet controller > Kernel driver in use: pciback > > > root@dom0:/etc/xen# grep pci /etc/xen/paradeb01.cfg > pci = [ '00:14.2', '01:05.1', '03:00.0' ] > > > In the DomU: > > > root@paradeb01:~# lspci -k > 00:00.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) > Subsystem: Giga-byte Technology Device a022 > Kernel driver in use: HDA Intel > 00:01.1 Audio device: ATI Technologies Inc RS780 Azalia controller > Subsystem: ATI Technologies Inc RS780 Azalia controller > Kernel driver in use: HDA Intel > 00:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B > PCI Express Gigabit Ethernet controller (rev 02) > Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express > Gigabit Ethernet controller > Kernel driver in use: r8169 > > > I see the network card with "ifconfig -a". But > The domu sees connecting/disconnect the device: > > root@paradeb01:~# [ 1059.451908] r8169: eth1: link up > root@paradeb01:~# dhclient eth1 > root@paradeb01:~# echo $? > 0 > > > But it fails to set an IP to the device. > > > > I see the soundcard with "alsamixer". But playing mp3 does not work. It > simply hangs: > root@paradeb01:~# mplayer -ao alsa *.mp3 > MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team > mplayer: could not connect to socket > mplayer: No such file or directory > Failed to open LIRC support. You will not be able to use your remote > control. > > ========================================================================== > Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 > AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) > Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) > > ========================================================================== > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) > Video: no video > Starting playback... > A: 0.0 (00.0) of 381.0 (06:21.0) ??,?% > > > With older Debian version (pre pvops?) i did not have many problems. At first > the audio was glitchy, but adding it to > "xend-pci permissive.sxp" fixed it. But now it failes to play completely. Some general debugging steps here: http://wiki.xensource.com/xenwiki/XenPCIpassthrough You may want to see if you can reproduce this issue on Jeremy's git tree. See: http://wiki.xensource.com/xenwiki/XenParavirtOps You may also be interested in the PV audio project that a Google Summer of Code student worked on: http://blog.xen.org/index.php/2011/06/08/george-boutsioukis-paravirtualized-audio/ Hope that helps. Thanks, Todd -- Todd Deshane http://www.linkedin.com/in/deshantm http://www.xen.org/products/cloudxen.html http://runningxen.com/ _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |