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

Re: [Xen-users] PCI-Devices in DomU


  • To: Max Bidlingmaier <maks@xxxxxxxxxxxxxxxxxxxxx>
  • From: David Muench <davemuench@xxxxxxxxx>
  • Date: Sun, 19 Jun 2005 19:04:27 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 19 Jun 2005 23:03:35 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hayF/n5GBy0De0IKOgtGoSYGXcdVsxPKn+fp5rsBAlF3pkktQFQXFhvv10D1iNwZ+dcNpBE6VMnESQDi49CBq8wwU2zRk4wWLBw8FvwuVgOGdGq3NJbjRBCg5U5NYOqoUlMaoxkZpQwlUwBZnBktXYgH3N/3wXh7M4RsndXw7vg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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@xxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 


-- 
David Muench - davemuench@xxxxxxxxx
Jabber ID: dave@xxxxxxxxxxxxxxxxxxxx

_______________________________________________
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®.