Can we disable secondary_bus_reset in runtime?
I think we need this feature at least for debugging purpose, right?
Or, do we already have this feature?
Thanks,
Neo
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
Hi Neo,
I think you mean the python function do_secondary_bus_reset().
Could you please detail the issue you meet with?
If you want to not use that for debug's perpose temporarily, you can just modify tools/python/xen/util/pci.py: do_FLR(). (and you may also need to remove some checkings in tools/python/xen/xend/server/pciif.py:setupDevice()), then execute "xend restart" to make the changes take effect.
-- Dexuan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年9月3日 7:41
To: [email protected]
Subject: [Xen-devel] Can we disable secondary_bus_reset in runtime?
I think we need this feature at least for debugging purpose, right?
Or, do we already have this feature?
Thanks,
Neo
Signature · 7 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using! _______________________________________________ Xen-devel mailing list [email protected] http://lists.xensource.com/xen-devel
Which one I need to change? /usr/lib64/ptython/xen/util/pci.py or the one in the tools/python/xen/util/pci.py?
Thanks,
Neo
2008/9/2 Cui, Dexuan <[email protected]>:
Quoted 30 lines
Hi Neo,
I think you mean the python functiondo_secondary_bus_reset().
Could you please detail the issue you meet with?
If you want to not use that for debug's perpose temporarily, you can just modifytools/python/xen/util/pci.py:do_FLR(). (and you may also need to remove some checkings in tools/python/xen/xend/server/pciif.py:setupDevice()), then execute "xend restart" to make the changes take effect.-- Dexuan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年9月3日 7:41
To: [email protected]
Subject: [Xen-devel] Can we disablesecondary_bus_resetin runtime?I think we need this feature at least for debugging purpose, right?
Or, do we already have this feature?
Thanks,
Neo--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Oh, it's /usr/lib64/python/xen/util/pci.py (if you're using a 32e system).
Thanks,
-- Dexuan
-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年9月3日 8:22
To: Cui, Dexuan
Cc: [email protected]
Subject: Re: [Xen-devel] Can we disable secondary_bus_reset in runtime?
Which one I need to change? /usr/lib64/ptython/xen/util/pci.py or the one in the tools/python/xen/util/pci.py?
Thanks,
Neo
2008/9/2 Cui, Dexuan <[email protected]>:
Quoted 30 lines
Hi Neo,
I think you mean the python functiondo_secondary_bus_reset().
Could you please detail the issue you meet with?
If you want to not use that for debug's perpose temporarily, you can just modifytools/python/xen/util/pci.py:do_FLR(). (and you may also need to remove some checkings in tools/python/xen/xend/server/pciif.py:setupDevice()), then execute "xend restart" to make the changes take effect.-- Dexuan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年9月3日 7:41
To: [email protected]
Subject: [Xen-devel] Can we disablesecondary_bus_resetin runtime?I think we need this feature at least for debugging purpose, right?
Or, do we already have this feature?
Thanks,
Neo--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
Dexuan,
Have you ever try/test the secondary bus reset on any NIC?
Thanks,
Neo
2008/9/2 Cui, Dexuan <[email protected]>:
Quoted 30 lines
Hi Neo,
I think you mean the python functiondo_secondary_bus_reset().
Could you please detail the issue you meet with?
If you want to not use that for debug's perpose temporarily, you can just modifytools/python/xen/util/pci.py:do_FLR(). (and you may also need to remove some checkings in tools/python/xen/xend/server/pciif.py:setupDevice()), then execute "xend restart" to make the changes take effect.-- Dexuan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年9月3日 7:41
To: [email protected]
Subject: [Xen-devel] Can we disablesecondary_bus_resetin runtime?I think we need this feature at least for debugging purpose, right?
Or, do we already have this feature?
Thanks,
Neo--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Yes. I plugged a 82541PI NIC(01:00.0) into motherborad and tested the SecondaryBusReset against 00:1e.0. (Please see the below for the PCI hierarchy of my host)
And actually the same python function was tested on many hosts by our QA. No issue is reported about it. I haven't received other issue report before you. :-)
Your host is also DQ35? What is the details of the issue?
[root@cui ~]# lspci -tv
-[0000:00]-+-00.0 Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
+-02.0 Intel Corporation 82G33/G31 Express Integrated Graphics Controller
+-03.0 Intel Corporation 82G33/G31/P35/P31 Express MEI Controller
+-03.1 Intel Corporation 82G33/G31/P35/P31 Express MEI Controller
+-03.2 Intel Corporation 82G33/G31/P35/P31 Express PT IDER Controller
+-03.3 Intel Corporation 82G33/G31/P35/P31 Express Serial KT Controller
+-19.0 Intel Corporation 82566DM-2 Gigabit Network Connection
+-1a.0 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4
+-1a.1 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5
+-1a.2 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6
+-1a.7 Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2
+-1b.0 Intel Corporation 82801I (ICH9 Family) HD Audio Controller
+-1d.0 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1
+-1d.1 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2
+-1d.2 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3
+-1d.7 Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1
+-1e.0-[0000:01]----00.0 Intel Corporation 82541PI Gigabit Ethernet Controller
+-1f.0 Intel Corporation Unknown device 2910
+-1f.2 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller
+-1f.3 Intel Corporation 82801I (ICH9 Family) SMBus Controller
\-1f.5 Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller -----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年9月3日 11:10
To: Cui, Dexuan
Cc: [email protected]
Subject: Re: [Xen-devel] Can we disable secondary_bus_reset in runtime?
Dexuan,
Have you ever try/test the secondary bus reset on any NIC?
Thanks,
Neo
2008/9/2 Cui, Dexuan <[email protected]>:
Quoted 30 lines
Hi Neo,
I think you mean the python functiondo_secondary_bus_reset().
Could you please detail the issue you meet with?
If you want to not use that for debug's perpose temporarily, you can just modifytools/python/xen/util/pci.py:do_FLR(). (and you may also need to remove some checkings in tools/python/xen/xend/server/pciif.py:setupDevice()), then execute "xend restart" to make the changes take effect.-- Dexuan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年9月3日 7:41
To: [email protected]
Subject: [Xen-devel] Can we disablesecondary_bus_resetin runtime?I think we need this feature at least for debugging purpose, right?
Or, do we already have this feature?
Thanks,
Neo--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
Dexuan,
If you don't do a SecondaryBusReset, will the NIC card driver be loaded after you reboot the guest VM?
Just want to make sure if the reset works.
I will also check on my side about the failure case.
Thanks,
Neo
Quoted 83 lines · Dexuan
Yes. I plugged a 82541PI NIC(01:00.0) into motherborad and tested the SecondaryBusReset against 00:1e.0. (Please see the below for the PCI hierarchy of my host)
And actually the same python function was tested on many hosts by our QA. No issue is reported about it. I haven't received other issue report before you. :-)
Your host is also DQ35? What is the details of the issue?[root@cui ~]# lspci -tv
-[0000:00]-+-00.0 Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller+-02.0 Intel Corporation 82G33/G31 Express Integrated Graphics Controller +-03.0 Intel Corporation 82G33/G31/P35/P31 Express MEI Controller +-03.1 Intel Corporation 82G33/G31/P35/P31 Express MEI Controller +-03.2 Intel Corporation 82G33/G31/P35/P31 Express PT IDER Controller +-03.3 Intel Corporation 82G33/G31/P35/P31 Express Serial KT Controller +-19.0 Intel Corporation 82566DM-2 Gigabit Network Connection +-1a.0 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 +-1a.1 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 +-1a.2 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 +-1a.7 Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 +-1b.0 Intel Corporation 82801I (ICH9 Family) HD Audio Controller +-1d.0 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 +-1d.1 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 +-1d.2 Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 +-1d.7 Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 +-1e.0-[0000:01]----00.0 Intel Corporation 82541PI Gigabit Ethernet Controller +-1f.0 Intel Corporation Unknown device 2910 +-1f.2 Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller +-1f.3 Intel Corporation 82801I (ICH9 Family) SMBus Controller \-1f.5 Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年9月3日 11:10
To: Cui, Dexuan
Cc: [email protected]
Subject: Re: [Xen-devel] Can we disablesecondary_bus_resetin runtime?Dexuan,
Have you ever try/test the secondary bus reset on any NIC?
Thanks,
Neo2008/9/2 Cui, Dexuan <[email protected]>:
Quoted 21 lines
Hi Neo,
I think you mean the python functiondo_secondary_bus_reset().
Could you please detail the issue you meet with?
If you want to not use that for debug's perpose temporarily, you can just modifytools/python/xen/util/pci.py:do_FLR(). (and you may also need to remove some checkings in tools/python/xen/xend/server/pciif.py:setupDevice()), then execute "xend restart" to make the changes take effect.-- Dexuan
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年9月3日 7:41
To: [email protected]
Subject: [Xen-devel] Can we disablesecondary_bus_resetin runtime?I think we need this feature at least for debugging purpose, right?
Or, do we already have this feature?
Thanks,
NeoQuoted 9 lines
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Yes. Just now I added a "return" at the beginning of the "def do_secondary_bus_reset(...)" then "xend restart". The assigned NIC still works well inside the 32e HVM guest. I tried the Xen c/s 18409 and 18414.
Please note: the SecondBusReset does work here on my host.
-- Dexuan
-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年9月3日 12:27
To: Cui, Dexuan
Cc: [email protected]
Subject: Re: [Xen-devel] Can we disable secondary_bus_reset in runtime?
Dexuan,
If you don't do a SecondaryBusReset, will the NIC card driver be loaded after you reboot the guest VM?
Just want to make sure if the reset works.
I will also check on my side about the failure case.
Thanks,
Neo
Dexuan,
I don't think this experiment can verify that if the SecondaryBusReset works or not, as it (the device driver of this NIC) can work on the VM reboot case without reset the HW.
Thanks,
Neo
2008/9/2 Cui, Dexuan <[email protected]>:
Quoted 26 lines
Yes. Just now I added a "return" at the beginning of the "def
do_secondary_bus_reset(...)" then "xend restart". The assigned NIC still works well inside the 32e HVM guest. I tried the Xen c/s 18409 and 18414.
Please note: the SecondBusReset does work here on my host.-- Dexuan
-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年9月3日 12:27
To: Cui, Dexuan
Cc: [email protected]
Subject: Re: [Xen-devel] Can we disablesecondary_bus_resetin runtime?Dexuan,
If you don't do a SecondaryBusReset, will the NIC card driver be loaded after you reboot the guest VM?
Just want to make sure if the reset works.
I will also check on my side about the failure case.
Thanks,
Neo
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Neo,
You're right. I tried that only as you asked if that would work or not. :-)
I tested the SecondaryBusReset manually as what the function defines:
After I "Assert Secondary Bus Reset", I notice all the config space of the NIC (01:00.0) becomes inaccessible (reading returns 0xffffffff). Next, after I "De-assert Secondary Bus Reset", the config space of NIC becomes accessible again.
what's your failure case?
-- Dexuan
-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年9月3日 15:02
To: Cui, Dexuan
Cc: [email protected]
Subject: Re: [Xen-devel] Can we disable secondary_bus_reset in runtime?
Dexuan,
I don't think this experiment can verify that if the SecondaryBusReset works or not, as it (the device driver of this NIC) can work on the VM reboot case without reset the HW.
Thanks,
Neo
2008/9/2 Cui, Dexuan <[email protected]>:
Quoted 26 lines
Yes. Just now I added a "return" at the beginning of the "def
do_secondary_bus_reset(...)" then "xend restart". The assigned NIC still works well inside the 32e HVM guest. I tried the Xen c/s 18409 and 18414.
Please note: the SecondBusReset does work here on my host.-- Dexuan
-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年9月3日 12:27
To: Cui, Dexuan
Cc: [email protected]
Subject: Re: [Xen-devel] Can we disablesecondary_bus_resetin runtime?Dexuan,
If you don't do a SecondaryBusReset, will the NIC card driver be loaded after you reboot the guest VM?
Just want to make sure if the reset works.
I will also check on my side about the failure case.
Thanks,
Neo
Signature · 2 lines
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!