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

Re: [Xen-users] Usage of pci-attach


  • To: "Yosuke Iwamatsu" <y-iwamatsu@xxxxxxxxxxxxx>
  • From: Asim <linkasim@xxxxxxxxx>
  • Date: Wed, 3 Sep 2008 21:11:08 -0500
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 03 Sep 2008 19:11:42 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AftCyMtSWAJf3RbrgZutWU9kQZTzbPCaLcRSnWj6oiq2gnof69Bfaea8arPaXHz29b PpOuR4nCJGYIxXLpykoI7VTfubhnX9+oqjuf+bq7wH4XtG2AAH0XxIILWf6C9/upMoVW YPCxMw5GEW8CkmgXaZ3zfZAYL6YGNca6h35r0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I could nail down my problem to the xen-store entry for the event
channel not being created.  Once I issue: -

xenstore-write /local/domain/17/device/pci/0/event-channel 6

The PCI device shows up in my domU. Also, after this the network takes
quite a while to become active (sometimes its really soon). So,

1. How do I fix the above problem that I dont have to issue a manual store?
2. Is there a poll that goes on here to check for backend changes -
can I force it in code so that my network becomes accessible real
soon?

Regards,
Asim

On 9/3/08, Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx> wrote:
> Hi,
>
> Asim wrote:
>> Hi,
>>
>> Can anyone tell me if I'm using the pci-attach and detach correctly? I
>> am running Xen which has been built with CONFIG_XEN_BACKEND_PASS
>> enabled. When I issue the below command to test the hot plug feature
>> :-
>>
>> Device is attached :-
>>
>> [root@adsl-01 ~]# xm pci-attach 20 01:0a.0
>> Error: Device 0000:01:0a.00 is already connected.
>> Usage: xm pci-attach <Domain> <PciDev>
>>
>> Create a new pass-through pci device.
>
> This shows the pci device 01:0a.0 was already attached to your domain.
>
>> Device is detached:-
>> [root@adsl-01 ~]# xm pci-detach 20 01:0a.0
>>
>> uh?what happenned?
>
> If you got no error message here, you had successfully removed the pci
> device from your domain. To check if the device is really hot-removed,
> execute 'lspci' command inside domain 20 before and after pci-detach
> and compare the results.
>
>> [root@adsl-01 ~]# xm pci-attach 20 01:0a.0
>> Error: Device 0 not connected
>> Usage: xm pci-attach <Domain> <PciDev>
>>
>> Create a new pass-through pci device.
>
> pci-attach was failed for some reason here. The information of xend.log,
> dmesg in domu, dmesg in dom0 and the result of 'xenstore-ls -f' would
> help us investigating the problem further.
>
> Regards,
> -- Yosuke
>
>>
>> Am I using this correctly? If any one has used it successfully - kindly
>> help me.
>>
>> Regards,
>> Asim
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>
>

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