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

Re: [Xen-users] A xenu kernel 2.6.11 with physical access to a PCI netca

To: Xen-users@xxxxxxxxxxxxxxxxxxx, ariel@xxxxxxxxxxxxx
Subject: Re: [Xen-users] A xenu kernel 2.6.11 with physical access to a PCI netcard.
From: Gildas LE NADAN <gildas.le-nadan@xxxxxxx>
Date: Wed, 12 Oct 2005 09:36:02 +0200
Delivery-date: Wed, 12 Oct 2005 07:34:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <434B4522.3010006@xxxxxxxxxxxxx>
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>
Organization: Institut National d'Histoire de l'Art (INHA)
References: <434AF95E.7070200@xxxxxxxxxxxxx> <434B4522.3010006@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)
I guess this is because your domU need a privileged kernel to access the pci device.

From what I found out, having the "CONFIG_XEN_PRIVILEGED_GUEST=y" in your .config is not enough. There's probably code missing in the domU kernel tree that might be needed there.

So, using either -xen or -xen0 kernel might do the trick (it worked for me).

Ariel E. Antigua wrote:
Ariel E. Antigua wrote:

I just compile one kernel to the domU but cant see the PCI netcard, i
hide the card from dom0
physdev_dom0_hide='(00:11.0)' and added to the domU config pci = [
'0,11,0' ] and dint work.. any howto  to do that?

    - ariel       ariel en BSDlatino . org
    ariel en ferreras . info
    http://www.BSDlatino.org
    http://ariel.BSDlatino.org

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


Me again... the last email was so kind useless cause i dint give any information about Xen and the domU, well this is a second shoot.

I`m running 2.0.7 with a xenu kernel 2.6.11, in xend.log i see this:

DEBUG (XendDomainInfo:1178) Creating pci device dom=3 bus=0 dev=11 func=0

and in ( xm dmesg ) i got this:
(XEN) Hiding PCI device 00:11.0 from DOM0

but in my domUs i dint see the PCI device, the first try was with Debian Sarge and second with NetBSD and nothing.

here is my entry in grub menu.lst

title           Xen-Debian GNU/Linux, kernel 2.6.11dualxen0
root            (hd0,4)
kernel          /xen.gz dom0_mem=131072 physdev_dom0_hide='(00:11.0)'
module          /xen-linux-2.6.11-dualxen0 root=/dev/hda1 ro console=tty0
savedefault
boot

and debian .cfg:

kernel = "/boot/xen-linux-2.6.11-deualxenu"
ramdisk = "/boot/initrd.img-2.6.11.dual-xenu"
memory = 128
nics=1
name = "debian"
cpu = -1
disk=[ 'phy:mivg/debian,sda1,w', 'phy:mivg/debianswap,sda2,w' ]
root="/dev/sda1 ro"
restart = "onreboot"
pci = [ '00,11,0' ]
netif = 1

i missing something ??

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

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