Mailing List Archive

PCI-Devices in DomU
Hi,

I am using Xen 2.0.6 and want to add one NIC and one SCSI-Adapter to a
DomU. So what I did was:

grub.conf:
title Xen 2.0 / XenLinux 2.6.11.10
root (hd0,0)
kernel (hd0,0)/boot/xen.gz dom0_mem=131072
physdev_dom0_hide=(02:02.1)(03:01.0)(03:01.1)
module (hd0,0)/boot/2.6.11.10-dom0 root=/dev/md1 ro

and I added a line to my Domain-Configfile:
pci = ['02,02,01','03,01,00',"03,01,01"]

If I reboot the machine with this grub.conf it reboots before booting my
Dom0. If I put the physdev... in an extra line
title Xen 2.0 / XenLinux 2.6.11.10
root (hd0,0)
kernel (hd0,0)/boot/xen.gz dom0_mem=131072
physdev_dom0_hide=(02:02.1)(03:01.0)(03:01.1)
module (hd0,0)/boot/2.6.11.10-dom0 root=/dev/md1 ro

Dom0 will come up, but all three devices are visible within Dom0.

If I start the DomU xend.log gives me
[2005-06-17 11:26:33 xend] DEBUG (XendDomainInfo:1178) Creating pci device
dom=2 bus=2 dev=2 func=1
[2005-06-17 11:26:33 xend] DEBUG (XendDomainInfo:1178) Creating pci device
dom=2 bus=3 dev=1 func=0
[2005-06-17 11:26:33 xend] DEBUG (XendDomainInfo:1178) Creating pci device
dom=2 bus=3 dev=1 func=1

But the devices are not accessible within DomU.

Could anyone tell me where to start searching?

thx in advance

max

--
---------------------------------------------------------------------------
Max Bidlingmaier Tel: +49-3677-465084
Re: PCI-Devices in DomU [ In reply to ]
Hi Max,

The second version of your grub config comes up because with the
physdev on a separate line, its getting ignored.

Try using your first version, but use some single quotes:

physdev_dom0_hide='(02:02.1)(03:01.0)(03:01.1)'

Works for me.

Dave

On 6/17/05, Max Bidlingmaier <maks@ipx20268.ipxserver.de> wrote:
> Hi,
>
> I am using Xen 2.0.6 and want to add one NIC and one SCSI-Adapter to a
> DomU. So what I did was:
>
> grub.conf:
> title Xen 2.0 / XenLinux 2.6.11.10
> root (hd0,0)
> kernel (hd0,0)/boot/xen.gz dom0_mem=131072
> physdev_dom0_hide=(02:02.1)(03:01.0)(03:01.1)
> module (hd0,0)/boot/2.6.11.10-dom0 root=/dev/md1 ro
>
> and I added a line to my Domain-Configfile:
> pci = ['02,02,01','03,01,00',"03,01,01"]
>
> If I reboot the machine with this grub.conf it reboots before booting my
> Dom0. If I put the physdev... in an extra line
> title Xen 2.0 / XenLinux 2.6.11.10
> root (hd0,0)
> kernel (hd0,0)/boot/xen.gz dom0_mem=131072
> physdev_dom0_hide=(02:02.1)(03:01.0)(03:01.1)
> module (hd0,0)/boot/2.6.11.10-dom0 root=/dev/md1 ro
>
> Dom0 will come up, but all three devices are visible within Dom0.
>
> If I start the DomU xend.log gives me
> [2005-06-17 11:26:33 xend] DEBUG (XendDomainInfo:1178) Creating pci device
> dom=2 bus=2 dev=2 func=1
> [2005-06-17 11:26:33 xend] DEBUG (XendDomainInfo:1178) Creating pci device
> dom=2 bus=3 dev=1 func=0
> [2005-06-17 11:26:33 xend] DEBUG (XendDomainInfo:1178) Creating pci device
> dom=2 bus=3 dev=1 func=1
>
> But the devices are not accessible within DomU.
>
> Could anyone tell me where to start searching?
>
> thx in advance
>
> max
>
> --
> ---------------------------------------------------------------------------
> Max Bidlingmaier Tel: +49-3677-465084
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
>
>


--
David Muench - davemuench@gmail.com
Jabber ID: dave@jabber.wasteland.org

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