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] PCI devices forwarded but does not work

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] PCI devices forwarded but does not work
From: MisterE <MisterE2002@xxxxxxxxx>
Date: Tue, 30 Aug 2011 20:55:50 +0200
Delivery-date: Tue, 30 Aug 2011 11:57:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: MisterE <MisterE2002@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.

-- 
Best regards,
 MisterE                          mailto:MisterE2002@xxxxxxxxx


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

<Prev in Thread] Current Thread [Next in Thread>