Skip to contentSkip to conversation

Secondary bus reset for VT-d device

DISCUSSION Neo Jia 4 participants 19 messages Aug 29, 2008 – Aug 30, 2008 Kbuild

lore
Share & tools
lore

Neo Jia

author
#0 lore raw

hi,

Did the current Xen in unstable branch already support the secondary bus reset for VT-d devices?

Thanks,
Neo

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#1 lore raw

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset. Currently the FLR is done in xend.

-- Dexuan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年8月29日 12:34
To: [email protected]
Cc: Han, Weidong
Subject: [Xen-devel] Secondary bus reset for VT-d device

hi,

Did the current Xen in unstable branch already support the secondary bus reset for VT-d devices?

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
author
#2 lore raw

Thanks! But, how to trigger it? Is there a separate command I can issue or it is done automatically after reboot/shutdown guest?

Neo

2008/8/28 Cui, Dexuan <[email protected]>:

Quoted 29 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset. Currently the FLR is done in xend.

-- Dexuan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年8月29日 12:34
To: [email protected]
Cc: Han, Weidong
Subject: [Xen-devel] Secondary bus reset for VT-d device

hi,

Did the current Xen in unstable branch already support the secondary bus reset for VT-d devices?

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

#3 lore raw

Now the FLR is done automatically when a domain is destroyed (such as "xm destroy/reboot/shutdown" a domain, or the domain shutdowns normally or crashes) .

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月29日 12:45
To: Cui, Dexuan
Cc: [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

Thanks! But, how to trigger it? Is there a separate command I can issue or it is done automatically after reboot/shutdown guest?

Neo

2008/8/28 Cui, Dexuan <[email protected]>:

Quoted 29 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset. Currently the FLR is done in xend.

-- Dexuan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年8月29日 12:34
To: [email protected]
Cc: Han, Weidong
Subject: [Xen-devel] Secondary bus reset for VT-d device

hi,

Did the current Xen in unstable branch already support the secondary bus reset for VT-d devices?

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!
author
#4 lore raw

Can I trigger it manually? What happens if I just use setpci to do a "secondary bus reset"? Will Xen be able to check if the host BARs are enabled for the device before putting it into the guest?

Thanks,
Neo

Quoted 54 lines · Dexuan

Now the FLR is done automatically when a domain is destroyed (such as "xm destroy/reboot/shutdown" a domain, or the domain shutdowns normally or crashes) .

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月29日 12:45
To: Cui, Dexuan
Cc: [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

Thanks! But, how to trigger it? Is there a separate command I can issue or it is done automatically after reboot/shutdown guest?

Neo

2008/8/28 Cui, Dexuan <[email protected]>:

Quoted 24 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset. Currently the FLR is done in xend.

-- Dexuan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neo Jia
Sent: 2008年8月29日 12:34
To: [email protected]
Cc: Han, Weidong
Subject: [Xen-devel] Secondary bus reset for VT-d device

hi,

Did the current Xen in unstable branch already support the secondary bus reset for VT-d devices?

Thanks,
Neo
--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

Quoted 5 lines

_______________________________________________
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

#5 lore raw

I think we should not trigger it manually. What's the purpose?
If you use setpci to do SecondaryBusReset directly, all the devices behind the bridge are reset suddenly while xend/Dom0/Xen don't know that... We don't check if "the host BARs are enabled" or not.

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月29日 13:16
To: Cui, Dexuan
Cc: [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

Can I trigger it manually? What happens if I just use setpci to do a "secondary bus reset"? Will Xen be able to check if the host BARs are enabled for the device before putting it into the guest?

Thanks,
Neo

author
#6 lore raw

Just want to get some flexibility for testing.

If Xen do it automatically, is there any log for this?

Thanks,
Neo

2008/8/28 Cui, Dexuan <[email protected]>:

Quoted 21 lines

I think we should not trigger it manually. What's the purpose?
If you use setpci to do SecondaryBusReset directly, all the devices behind the bridge are reset suddenly while xend/Dom0/Xen don't know that... We don't check if "the host BARs are enabled" or not.

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月29日 13:16
To: Cui, Dexuan
Cc: [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

Can I trigger it manually? What happens if I just use setpci to do a "secondary bus reset"? Will Xen be able to check if the host BARs are enabled for the device before putting it into the guest?

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

author
#7 lore raw

So, Xen will call the function "do_secondary_bus_reset" in pci.py automatically after it detects reboot/shutdown/crashes, right?

Thanks,
Neo

2008/8/28 Neo Jia <[email protected]>:

Quoted 36 lines

Just want to get some flexibility for testing.

If Xen do it automatically, is there any log for this?

Thanks,
Neo

2008/8/28 Cui, Dexuan <[email protected]>:

Quoted 14 lines

I think we should not trigger it manually. What's the purpose?
If you use setpci to do SecondaryBusReset directly, all the devices behind the bridge are reset suddenly while xend/Dom0/Xen don't know that... We don't check if "the host BARs are enabled" or not.

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月29日 13:16
To: Cui, Dexuan
Cc: [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

Quoted 7 lines

Can I trigger it manually? What happens if I just use setpci to do a "secondary bus reset"? Will Xen be able to check if the host BARs are enabled for the device before putting it into the guest?

Thanks,
Neo

--
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

#8 lore raw

When a guest died due to various reasons, finally xend will know this and invokes xc.domain_destroy() -- it's xend (not xen) that invokes. Now there is a do_FLR() before xc.domain_destroy(). You can refer to "tools/python/xen/xend/XendDomainInfo.py": do_FLR() for the details.
You can also add log messages as you like.

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月29日 14:10
To: Cui, Dexuan
Cc: [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

So, Xen will call the function "do_secondary_bus_reset" in pci.py automatically after it detects reboot/shutdown/crashes, right?

Thanks,
Neo

2008/8/28 Neo Jia <[email protected]>:

Quoted 36 lines

Just want to get some flexibility for testing.

If Xen do it automatically, is there any log for this?

Thanks,
Neo

2008/8/28 Cui, Dexuan <[email protected]>:

Quoted 14 lines

I think we should not trigger it manually. What's the purpose?
If you use setpci to do SecondaryBusReset directly, all the devices behind the bridge are reset suddenly while xend/Dom0/Xen don't know that... We don't check if "the host BARs are enabled" or not.

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月29日 13:16
To: Cui, Dexuan
Cc: [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

Quoted 7 lines

Can I trigger it manually? What happens if I just use setpci to do a "secondary bus reset"? Will Xen be able to check if the host BARs are enabled for the device before putting it into the guest?

Thanks,
Neo

--
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!
#9 lore raw
In reply to Cui, Dexuan
Quoted 4 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset.
Currently the FLR is done in xend.

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

Quoted 31 lines

-- Dexuan

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Neo Jia
Sent: 2008年8月29日 12:34
To: [email protected]
Cc: Han, Weidong
Subject: [Xen-devel] Secondary bus reset for VT-d device

hi,

Did the current Xen in unstable branch already support the secondary bus reset for VT-d devices?

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 4 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset.
Currently the FLR is done in xend.

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

author
#11 lore raw

I just tried it on my Q35 board. It looks that there is something wrong with the secondary bus reset, but I can't get log to prove it.

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 1 line

hg tip

changeset:   18387:6c50c7d089d9
tag:         tip
user:        Keir Fraser <[email protected]>
date:        Wed Aug 27 15:16:13 2008 +0100
summary:     hvmloader: Fix e820_malloc() after bug I introduced in c/s 18383

Thanks,
Neo

2008/8/29 Cui, Dexuan <[email protected]>:

Quoted 25 lines

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 4 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset.
Currently the FLR is done in xend.

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

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

#12 lore raw

What issue did you find?
I tested the python function do_secondary_bus_reset() on DQ35 and don't find issues.

You may add your log.debug(...) (the output is at /var/log/xen/xend.log) to tools/python/xen/xend/server/pciif.py and tools/python/xen/util/pci.py to debug the issue you found.

BTW, can you try the latest xen-unstable.hg (like 18407: c503269192f2) to see if your issue is still there?

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月30日 7:26
To: Cui, Dexuan
Cc: Ian Pratt; [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

I just tried it on my Q35 board. It looks that there is something wrong with the secondary bus reset, but I can't get log to prove it.

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 1 line

hg tip

changeset:   18387:6c50c7d089d9
tag:         tip
user:        Keir Fraser <[email protected]>
date:        Wed Aug 27 15:16:13 2008 +0100
summary:     hvmloader: Fix e820_malloc() after bug I introduced in c/s 18383

Thanks,
Neo

2008/8/29 Cui, Dexuan <[email protected]>:

Quoted 25 lines

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 4 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset.
Currently the FLR is done in xend.

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
author
#13 lore raw

Could you show me how to do the unit testing for the python function? Should it be called automatically by Xend or pciback driver?

It looks that I encountered some PCI cfg restore problem after the bus reset. BTW, inside the guest, we are still emulating a PCI-X system, right?

Thanks,
Neo

Quoted 67 lines · Dexuan

What issue did you find?
I tested the python function do_secondary_bus_reset() on DQ35 and don't find issues.

You may add your log.debug(...) (the output is at /var/log/xen/xend.log) to tools/python/xen/xend/server/pciif.py and tools/python/xen/util/pci.py to debug the issue you found.

BTW, can you try the latest xen-unstable.hg (like 18407: c503269192f2) to see if your issue is still there?

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月30日 7:26
To: Cui, Dexuan
Cc: Ian Pratt; [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

I just tried it on my Q35 board. It looks that there is something wrong with the secondary bus reset, but I can't get log to prove it.

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 1 line

hg tip

changeset:   18387:6c50c7d089d9
tag:         tip
user:        Keir Fraser <[email protected]>
date:        Wed Aug 27 15:16:13 2008 +0100
summary:     hvmloader: Fix e820_malloc() after bug I introduced in c/s 18383

Thanks,
Neo

2008/8/29 Cui, Dexuan <[email protected]>:

Quoted 19 lines

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 4 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset.
Currently the FLR is done in xend.

Quoted 6 lines

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

--
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

#14 lore raw

I made some very basic tests manually... :-)
You can check tools/python/xen/xend/XendDomainInfo.py:do_FLR() to see when and how the do_secondary_bus_reset() is invoked.

-- Dexuan

Quoted 84 lines · Neo Jia

Could you show me how to do the unit testing for the python function? Should it be called automatically by Xend or pciback driver?

It looks that I encountered some PCI cfg restore problem after the bus reset. BTW, inside the guest, we are still emulating a PCI-X system, right?

Thanks,
Neo

Quoted 72 lines · Dexuan

What issue did you find?
I tested the python function do_secondary_bus_reset() on DQ35 and don't find issues.

You may add your log.debug(...) (the output is at /var/log/xen/xend.log) to tools/python/xen/xend/server/pciif.py and tools/python/xen/util/pci.py to debug the issue you found.

BTW, can you try the latest xen-unstable.hg (like 18407:
c503269192f2) to see if your issue is still there?

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月30日 7:26
To: Cui, Dexuan
Cc: Ian Pratt; [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

I just tried it on my Q35 board. It looks that there is something wrong with the secondary bus reset, but I can't get log to prove it.

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 1 line

hg tip

changeset:   18387:6c50c7d089d9
tag:         tip
user:        Keir Fraser <[email protected]>
date:        Wed Aug 27 15:16:13 2008 +0100
summary:     hvmloader: Fix e820_malloc() after bug I introduced in

c/s 18383

Thanks,
Neo

2008/8/29 Cui, Dexuan <[email protected]>:

Quoted 18 lines

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 3 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset. Currently the FLR is done in xend.

Quoted 8 lines

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

author
#15 lore raw
In reply to Cui, Dexuan

Got a build error with 18407.

Any idea? The file crosstool is in the right place, I think

gcc -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include
-D__MINIOS__ -DHAVE_LIBC -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix
-isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../tools/xenstore
-isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86
-isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86/x86_64
-U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix
-isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include/ipv4 -I/home/franck/xen/xen-unstable-tip.hg/stubdom/include -mno-red-zone
-O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64
-mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64
-g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement -fno-stack-protector
-I/home/franck/xen/xen-unstable-tip.hg/extras/mini-os/include -O2
-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -O1
-fno-omit-frame-pointer -fno-optimize-sibling-calls -m64
-mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64
-g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/posix -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../tools/xenstore
-isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/x86
-isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/x86/x86_64
-c -o minios.o minios.c
minios.c: In function â:
minios.c:15: warning: unused parameter â
minios.c: In function â:
minios.c:42: warning: no previous prototype for â
minios.c:41: warning: ISO C90 forbids mixed declarations and code
rm -f libpci.a
ar rcs libpci.a access.o generic.o dump.o names.o filter.o minios.o
ranlib libpci.a

sed <libpci.pc.in >libpci.pc -e 's,@PREFIX@,/usr/local,' \
                -e 's,@INCDIR@,/usr/local/include,' \
                -e 's,@LIBDIR@,/usr/local/lib64,' \
                -e 's,@IDSDIR@,/usr/local/share,' \
                -e 's,@VERSION@,2.2.9,' \
                -e 's,@LIBZ@,-lz,'

make[4]: Leaving directory /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib' make[3]: Leaving directory /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64' /bin/sh: line 5: ../tools/cross-install: No such file or directory make[2]: *** [cross-root-x86_64/x86_64-xen-elf/lib/libpci.a] Error 127 make[2]: Leaving directory `/home/franck/xen/xen-unstable-tip.hg/stubdom' make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/home/franck/xen/xen-unstable-tip.hg'
make: *** [world] Error 2

Thanks,
Neo

Quoted 67 lines · Dexuan

What issue did you find?
I tested the python function do_secondary_bus_reset() on DQ35 and don't find issues.

You may add your log.debug(...) (the output is at /var/log/xen/xend.log) to tools/python/xen/xend/server/pciif.py and tools/python/xen/util/pci.py to debug the issue you found.

BTW, can you try the latest xen-unstable.hg (like 18407: c503269192f2) to see if your issue is still there?

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月30日 7:26
To: Cui, Dexuan
Cc: Ian Pratt; [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

I just tried it on my Q35 board. It looks that there is something wrong with the secondary bus reset, but I can't get log to prove it.

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 1 line

hg tip

changeset:   18387:6c50c7d089d9
tag:         tip
user:        Keir Fraser <[email protected]>
date:        Wed Aug 27 15:16:13 2008 +0100
summary:     hvmloader: Fix e820_malloc() after bug I introduced in c/s 18383

Thanks,
Neo

2008/8/29 Cui, Dexuan <[email protected]>:

Quoted 19 lines

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 4 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset.
Currently the FLR is done in xend.

Quoted 6 lines

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

--
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

#16 lore raw

I changed the Makefile to not build/install stubdomain for now . :-) Attach the changes FYI.

-- Dexuan

Quoted 68 lines · Neo Jia

Got a build error with 18407.

Any idea? The file crosstool is in the right place, I think

gcc -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix -isystem
/home/franck/xen/xen-unstable-tip.hg/stubdom/../tools/xenstore
-isystem
/home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86 -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include/ipv4

(quoted diff) +0 -10
-I/home/franck/xen/xen-unstable-tip.hg/stubdom/include -mno-red-zone
-O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls  -m64
-mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64
-g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement   -fno-stack-protector
 -I/home/franck/xen/xen-unstable-tip.hg/extras/mini-os/include -O2
-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -O1
-fno-omit-frame-pointer -fno-optimize-sibling-calls  -m64
-mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64
-g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement  -isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/posix -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../tools/xenstore
-isystem
/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/x86 -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/x86/x86_64
-c -o minios.o minios.c
minios.c: In function â:
minios.c:15: warning: unused parameter â
minios.c: In function â:
minios.c:42: warning: no previous prototype for â
minios.c:41: warning: ISO C90 forbids mixed declarations and code
rm -f libpci.a
ar rcs libpci.a access.o generic.o dump.o names.o filter.o minios.o
ranlib libpci.a

sed <libpci.pc.in >libpci.pc -e 's,@PREFIX@,/usr/local,' \
                -e 's,@INCDIR@,/usr/local/include,' \
                -e 's,@LIBDIR@,/usr/local/lib64,' \
                -e 's,@IDSDIR@,/usr/local/share,' \
                -e 's,@VERSION@,2.2.9,' \
                -e 's,@LIBZ@,-lz,'

make[4]: Leaving directory /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib' make[3]: Leaving directory /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64' /bin/sh: line 5: ../tools/cross-install: No such file or directory make[2]: *** [cross-root-x86_64/x86_64-xen-elf/lib/libpci.a] Error 127 make[2]: Leaving directory `/home/franck/xen/xen-unstable-tip.hg/stubdom'
make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/home/franck/xen/xen-unstable-tip.hg'
make: *** [world] Error 2

Quoted 77 lines

Thanks,
Neo

Quoted 72 lines · Dexuan

What issue did you find?
I tested the python function do_secondary_bus_reset() on DQ35 and don't find issues.

You may add your log.debug(...) (the output is at /var/log/xen/xend.log) to tools/python/xen/xend/server/pciif.py and tools/python/xen/util/pci.py to debug the issue you found.

BTW, can you try the latest xen-unstable.hg (like 18407:
c503269192f2) to see if your issue is still there?

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月30日 7:26
To: Cui, Dexuan
Cc: Ian Pratt; [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

I just tried it on my Q35 board. It looks that there is something wrong with the secondary bus reset, but I can't get log to prove it.

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 1 line

hg tip

changeset:   18387:6c50c7d089d9
tag:         tip
user:        Keir Fraser <[email protected]>
date:        Wed Aug 27 15:16:13 2008 +0100
summary:     hvmloader: Fix e820_malloc() after bug I introduced in

c/s 18383

Thanks,
Neo

2008/8/29 Cui, Dexuan <[email protected]>:

Quoted 18 lines

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 3 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset. Currently the FLR is done in xend.

Quoted 8 lines

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

Makefile Fri Aug 29 10:13:42 2008 +0800 renamed from Makefile Thu Aug 28 13:31:49 2008 +0100 +2 -3
diff -r a37902923a67 Makefile
@@ -15,13 +15,12 @@ include buildconfigs/Rules.mk
 
 # build and install everything into the standard system directories
 .PHONY: install
-install: install-xen install-kernels install-tools install-stubdom install-docs
+install: install-xen install-kernels install-tools install-docs
 
 .PHONY: build
 build: kernels
    $(MAKE) -C xen build
    $(MAKE) -C tools build
-   $(MAKE) -C stubdom build
 ifeq (x86_64,$(XEN_TARGET_ARCH))
    XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom pv-grub
 endif
@@ -37,7 +36,7 @@ test:
 # build and install everything into local dist directory
 .PHONY: dist
 dist: DESTDIR=$(DISTDIR)/install
-dist: dist-xen dist-kernels dist-tools dist-stubdom dist-docs
+dist: dist-xen dist-kernels dist-tools dist-docs
    $(INSTALL_DIR) $(DISTDIR)/check
    $(INSTALL_DATA) ./COPYING $(DISTDIR)
    $(INSTALL_DATA) ./README $(DISTDIR)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#17 lore raw

But this will break the build, right? And the stubdomain can't be built even just running make stubdomain.

Quoted 162 lines · Dexuan

I changed the Makefile to not build/install stubdomain for now . :-) Attach the changes FYI.

-- Dexuan

Quoted 68 lines · Neo Jia

Got a build error with 18407.

Any idea? The file crosstool is in the right place, I think

gcc -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix -isystem
/home/franck/xen/xen-unstable-tip.hg/stubdom/../tools/xenstore
-isystem
/home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86 -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include/ipv4

(quoted diff) +0 -10
-I/home/franck/xen/xen-unstable-tip.hg/stubdom/include -mno-red-zone
-O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls  -m64
-mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64
-g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement   -fno-stack-protector
 -I/home/franck/xen/xen-unstable-tip.hg/extras/mini-os/include -O2
-Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -O1
-fno-omit-frame-pointer -fno-optimize-sibling-calls  -m64
-mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64
-g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement  -isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/posix -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../tools/xenstore
-isystem
/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/x86 -isystem /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extras/mini-os/include/x86/x86_64
-c -o minios.o minios.c
minios.c: In function â:
minios.c:15: warning: unused parameter â
minios.c: In function â:
minios.c:42: warning: no previous prototype for â
minios.c:41: warning: ISO C90 forbids mixed declarations and code
rm -f libpci.a
ar rcs libpci.a access.o generic.o dump.o names.o filter.o minios.o
ranlib libpci.a

sed <libpci.pc.in >libpci.pc -e 's,@PREFIX@,/usr/local,' \
                -e 's,@INCDIR@,/usr/local/include,' \
                -e 's,@LIBDIR@,/usr/local/lib64,' \
                -e 's,@IDSDIR@,/usr/local/share,' \
                -e 's,@VERSION@,2.2.9,' \
                -e 's,@LIBZ@,-lz,'

make[4]: Leaving directory /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib' make[3]: Leaving directory /home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64' /bin/sh: line 5: ../tools/cross-install: No such file or directory make[2]: *** [cross-root-x86_64/x86_64-xen-elf/lib/libpci.a] Error 127 make[2]: Leaving directory `/home/franck/xen/xen-unstable-tip.hg/stubdom'
make[1]: *** [install-stubdom] Error 2
make[1]: Leaving directory `/home/franck/xen/xen-unstable-tip.hg'
make: *** [world] Error 2

Quoted 77 lines

Thanks,
Neo

Quoted 72 lines · Dexuan

What issue did you find?
I tested the python function do_secondary_bus_reset() on DQ35 and don't find issues.

You may add your log.debug(...) (the output is at /var/log/xen/xend.log) to tools/python/xen/xend/server/pciif.py and tools/python/xen/util/pci.py to debug the issue you found.

BTW, can you try the latest xen-unstable.hg (like 18407:
c503269192f2) to see if your issue is still there?

-- Dexuan

-----Original Message-----
From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月30日 7:26
To: Cui, Dexuan
Cc: Ian Pratt; [email protected]; Han, Weidong
Subject: Re: [Xen-devel] Secondary bus reset for VT-d device

I just tried it on my Q35 board. It looks that there is something wrong with the secondary bus reset, but I can't get log to prove it.

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 1 line

hg tip

changeset:   18387:6c50c7d089d9
tag:         tip
user:        Keir Fraser <[email protected]>
date:        Wed Aug 27 15:16:13 2008 +0100
summary:     hvmloader: Fix e820_malloc() after bug I introduced in

c/s 18383

Thanks,
Neo

2008/8/29 Cui, Dexuan <[email protected]>:

Quoted 18 lines

Hi Ian,
Yes, I'm moving it to the pciback driver.

Thanks,
-- Dexuan

-----Original Message-----
From: Ian Pratt [mailto:[email protected]]
Sent: 2008年8月29日 16:15
To: Cui, Dexuan; Neo Jia; [email protected]
Cc: Han, Weidong; Ian Pratt
Subject: RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 3 lines

Yes. When FLR-ing device, if the device lacks proper FLR capability (PCIe FLR, PCI Advanced Capabilities or ssomething), we will try SecondaryBusReset. Currently the FLR is done in xend.

Quoted 8 lines

Now that 3.3 is out, are we going to move the FLR functionality from xend to blkback as per the email discussion a couple of months ago?

Thanks,
Ian

--
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

#18 lore raw

Hopefully I've fixed this as of changeset 18409.

-- Keir

Quoted 1 line · Neo Jia

But this will break the build, right? And the stubdomain can't be

built even

Quoted 1 line

just running make stubdomain.

On Fri, Aug 29, 2008 at 11:45 PM, Cui, Dexuan

Quoted 247 lines

<[email protected]> wrote:
I changed the Makefile to not build/install
stubdomain for now . :-)
Attach the changes FYI.

-- Dexuan

Neo Jia

Quoted 3 lines · wrote:

Got a build error with 18407.

Any idea? The file crosstool is

in the right place, I think

Quoted 3 lines

gcc -isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include

Quoted 1 line

-D__MINIOS__ -DHAVE_LIBC -isystem

Quoted 1 line

/home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix

Quoted 2 lines

-isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/../tools/xenstore

Quoted 2 lines

-isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86

Quoted 1 line

-isystem

Quoted 1 line

/home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/x86/x86 _64

Quoted 2 lines

-U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/../extras/mini-os/include/posix

Quoted 2 lines

-isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/ include

Quoted 2 lines

-isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include -isystem

Quoted 1 line

/home/franck/xen/xen-unstable-tip.hg/stubdom/lwip/src/include/ipv4

Quoted 1 line

-I/home/franck/xen/xen-unstable-tip.hg/stubdom/include -mno-red-zone

Quoted 1 line

-O1

-fno-omit-frame-pointer -fno-optimize-sibling-calls -m64

Quoted 1 line

-mno-red-zone

-fno-reorder-blocks -fno-asynchronous-unwind-tables -m64

Quoted 1 line

-g

-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes

Quoted 1 line

-Wno-unused-value

-Wdeclaration-after-statement -fno-stack-protector

Quoted 1 line

-I/home/franck/xen/xen-unstable-tip.hg/extras/mini-os/include -O2

Quoted 1 line

-Wall -W

-Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -O1

Quoted 1 line

-fno-omit-frame-pointer -fno-optimize-sibling-calls -m64

Quoted 1 line

-mno-red-zone

-fno-reorder-blocks -fno-asynchronous-unwind-tables -m64

Quoted 1 line

-g

-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes

Quoted 1 line

-Wno-unused-value

-Wdeclaration-after-statement -isystem

Quoted 1 line

/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extr as/mini-os/include

Quoted 2 lines

-D__MINIOS__ -DHAVE_LIBC -isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extr as/mini-os/include/posix

Quoted 2 lines

-isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../tool s/xenstore

Quoted 2 lines

-isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extr as/mini-os/include/x86

Quoted 2 lines

-isystem

/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib/../../../extr as/mini-os/include/x86/x86_64

Quoted 2 lines

-c -o minios.o minios.c
minios.c: In

function â:

Quoted 2 lines

minios.c:15: warning: unused parameter â
minios.c: In

function â:

Quoted 2 lines

minios.c:42: warning: no previous prototype for â

minios.c:41: warning: ISO C90 forbids mixed declarations and code

Quoted 1 line

rm -f

libpci.a

Quoted 1 line

ar rcs libpci.a access.o generic.o dump.o names.o filter.o

minios.o

Quoted 2 lines

ranlib libpci.a
sed <libpci.pc.in >libpci.pc -e

's,@PREFIX@,/usr/local,' \

Quoted 1 line
                -e

's,@INCDIR@,/usr/local/include,' \

Quoted 1 line
                -e

's,@LIBDIR@,/usr/local/lib64,' \

Quoted 1 line
                -e

's,@IDSDIR@,/usr/local/share,' \

Quoted 1 line
                -e 's,@VERSION@,2.2.9,'

\

Quoted 3 lines
                -e 's,@LIBZ@,-lz,'

make[4]: Leaving directory

`/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64/lib'

Quoted 1 line

make[3]:

Leaving directory

Quoted 1 line

`/home/franck/xen/xen-unstable-tip.hg/stubdom/pciutils-x86_64'

Quoted 1 line

/bin/sh:

line 5: ../tools/cross-install: No such file or directory

Quoted 1 line

make[2]: ***

[cross-root-x86_64/x86_64-xen-elf/lib/libpci.a] Error 127

Quoted 1 line

make[2]: Leaving

directory

Quoted 2 lines

`/home/franck/xen/xen-unstable-tip.hg/stubdom'
make[1]: ***

[install-stubdom] Error 2

Quoted 1 line

make[1]: Leaving directory

`/home/franck/xen/xen-unstable-tip.hg'

Quoted 3 lines

make: *** [world] Error 2

Thanks,

Quoted 3 lines

Neo

On Fri, Aug 29, 2008 at 6:26 PM, Cui, Dexuan

<[email protected]>

Quoted 3 lines
Quoted 2 lines · wrote:

What issue did you find?
I tested the

python function do_secondary_bus_reset() on DQ35 and

Quoted 1 line
Quoted 1 line

don't find

issues.

Quoted 3 lines
Quoted 3 lines

You may add your log.debug(...) (the output is at

/var/log/xen/xend.log) to tools/python/xen/xend/server/pciif.py and

Quoted 1 line
Quoted 1 line

tools/python/xen/util/pci.py to debug the issue you found.

Quoted 2 lines
Quoted 2 lines

BTW, can

you try the latest xen-unstable.hg (like 18407:

Quoted 1 line
Quoted 1 line

c503269192f2) to see if

your issue is still there?

Quoted 5 lines
Quoted 5 lines

-- Dexuan

-----Original

Message-----

Quoted 2 lines
Quoted 2 lines

From: Neo Jia [mailto:[email protected]]
Sent: 2008年8月30日

7:26

Quoted 2 lines
Quoted 2 lines

To: Cui, Dexuan
Cc: Ian Pratt; [email protected];

Han, Weidong

Quoted 1 line
Quoted 1 line

Subject: Re: [Xen-devel] Secondary bus reset for VT-d

device

Quoted 2 lines
Quoted 2 lines

I just tried it on my Q35 board. It looks that there is

something

Quoted 1 line
Quoted 1 line

wrong with the secondary bus reset, but I can't get log to prove

it.

Quoted 4 lines
Quoted 4 lines

So, anybody test it on Q35 board? Or, how to debug it?

Here is the tip I am using:

Quoted 3 lines
Quoted 3 lines
Quoted 2 lines

hg tip

changeset:

18387:6c50c7d089d9

Quoted 2 lines
Quoted 2 lines
tag:         tip
user:        Keir Fraser

<[email protected]>

Quoted 2 lines
Quoted 2 lines

date: Wed Aug 27 15:16:13 2008 +0100

summary: hvmloader: Fix e820_malloc() after bug I introduced in

Quoted 1 line
Quoted 1 line

c/s

18383

Quoted 5 lines
Quoted 5 lines

Thanks,
Neo

2008/8/29 Cui, Dexuan

<[email protected]>:

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Hi Ian,
Yes, I'm moving it to the pciback

driver.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Thanks,
-- Dexuan

-----Original

Message-----

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

From: Ian Pratt [mailto:[email protected]]
Sent:

2008年8月29日 16:15

Quoted 1 line
Quoted 1 line
Quoted 1 line

To: Cui, Dexuan; Neo Jia;

[email protected]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Cc: Han, Weidong; Ian Pratt
Subject:

RE: [Xen-devel] Secondary bus reset for VT-d device

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Yes. When

FLR-ing device, if the device lacks proper FLR capability

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

(PCIe FLR, PCI

Advanced Capabilities or ssomething), we will try

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

SecondaryBusReset.

Currently the FLR is done in xend.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Now that 3.3 is out, are we going

to move the FLR functionality

Quoted 1 line
Quoted 1 line
Quoted 1 line

from xend to blkback as per the email

discussion a couple of months

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

ago?

Thanks,

Ian

Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

--
I would remember that if researchers were

not ambitious

Quoted 1 line
Quoted 1 line

probably today we haven't the technology we are

using!

Quoted 8 lines

_______________________________________________
Xen-devel
mailing list
[email protected]

http://lists.xensource.com/xen-devel

--
I would remember that if

Quoted 1 line

researchers were not ambitious

probably today we haven't the technology we are

Quoted 6 lines

using!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel