From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Carsten Schiers <carsten@schiers.de>
Cc: jeremy <jeremy@goop.org>, xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Some test results on Xen 4.0 and 2.6.31 / 2.6.32 pvops kernels
Date: Thu, 8 Apr 2010 16:46:52 -0400 [thread overview]
Message-ID: <20100408204652.GA622@phenom.dumpdata.com> (raw)
In-Reply-To: <H000006700064494.1270756018.uhura.space.zz@MHS>
On Thu, Apr 08, 2010 at 09:46:58PM +0200, Carsten Schiers wrote:
> OK, I am still a bit fuzzy as I had to learn how to git and configure
> kernels, and I am still unsure whether I did everything
> right. Nevertheless, and even when I cannot provide a lot of details, I
> would like to inform you about some anomalies.
>
> Currently, I run Xen 3.4.1 and 2.6.18.8 kernels, 64 Bit Dom0 and some 32
> Bit and 64 Bit DomUs on a Gigabyte M56S-S3 / AMD 4050e
> with cpufreq on powernow-k8 in cpufreq=dom0-kernel mode. I make use of
> PCI Passthrough for DVB-C cards and onboard NIC, as well
> as for USB controller.
>
>
>
> Compile problem on xen/stable-2.6.32
> ------------------------------------
>
> I compiled 2.6.32.10-pvops for DomU only mode, resulting in compile
> error very similar to
>
>
> http://lists.xensource.com/archives/html/xen-devel/2010-03/msg00925.html
>
> I get a "static declaration of 'xen_register_gsi' follows a non-static
> declaration, because I have set CONFIG_XEN_PCI_MSI and
> CONFIG_PCI_XEN, but not CONFIG_XEN_DOM0_PCI. It will disappear when
> compiling a DOM0 kernel.
>
Can you do a copy-n-paste of your compile problem, please?
>
>
> PCI controller / 2nd Function? / working in xen/master-2.6.32.13, not
> working on xen/stable-2.6.32 on Xen 3.4.1
> ------------------------------------------------------------------------
> ---------------------------------------
>
> It will allow passthrough of all mentioned devices except one of the PCI
> controllers. It will not be detected. Using
> xm pci-attach will produce an error:
>
> troi kernel: [ 23.862294] ehci_hcd 0000:00:01.1: device not
> available because of BAR 0 [0xfc102000-0xfc1020ff] collisions
> troi kernel: [ 61.942809] ohci_hcd 0000:00:01.0: device not
> available because of BAR 0 [0xfc104000-0xfc104fff] collisions
How much memory did you assign to the guest? If it is below 4GB, say 2GB
did you see these errors?
> nVidia forcedeth, working on pvops/Xen 3.4.1, not working on pvops/Xen
> 4.0
> ------------------------------------------------------------------------
> --
>
> The whole experiment was done because when I use Xen 4.0 with my
> 2.6.18.8 kernels, I cannot use the onboard NIC any longer. The
> driver forcedeth will report an error. So, as using the pvops DomU on
> Xen 3.4.1 worked, I tried to also use a pvops Dom0 underneath
So.. DomU and Dom0 with the same kernel works?
> Xen 4.0, but the problem seems to be related to the Xen 4.0, which is
> killing forcedeth MAC address detection. By the way: MSI has
> never worked for me on that NIC. So I had pci=nomsi on kernel.
>
> not working example (MAC is random):
>
> troi kernel: [ 4.335591] forcedeth: Reverse Engineered nForce
> ethernet driver. Version 0.64.
> troi kernel: [ 4.335811] forcedeth 0000:00:00.0: enabling device
> (0000 -> 0003)
> troi kernel: [ 4.335942] forcedeth 0000:00:00.0: Xen PCI enabling
> IRQ: 23
> troi kernel: [ 4.336016] forcedeth 0000:00:00.0: setting latency
> timer to 64
> troi kernel: [ 4.336271] forcedeth 0000:00:00.0: Invalid Mac
> address detected: 00:00:00:00:00:00
> troi kernel: [ 4.336295] forcedeth 0000:00:00.0: Please complain to
> your hardware vendor. Switching to a random MAC.
> troi kernel: [ 4.860537] forcedeth 0000:00:00.0: ifname eth0, PHY
> OUI 0x732 @ 1, addr 5e:1a:09:69:77:5d
> troi kernel: [ 4.860593] forcedeth 0000:00:00.0: highdma pwrctl
> mgmt gbit lnktim msi desc-v3
>
> working example (real MAC, note different IRQ):
>
> troi kernel: [ 1.133102] forcedeth: Reverse Engineered nForce
> ethernet driver. Version 0.64.
> troi kernel: [ 1.133376] forcedeth 0000:00:01.0: enabling device
> (0000 -> 0003)
> troi kernel: [ 1.133463] forcedeth 0000:00:01.0: Xen PCI enabling
> IRQ: 19
> troi kernel: [ 1.652048] forcedeth 0000:00:01.0: ifname eth0, PHY
> OUI 0x732 @ 1, addr 00:1d:7d:e8:97:7b
> troi kernel: [ 1.652139] forcedeth 0000:00:01.0: highdma pwrctl
> mgmt gbit lnktim msi desc-v3
I got lost in your description. The failing case happens when
your Dom0 is 2.6.18 or the 2.6.31 (or 2.6.32?) And is the DomU pv-ops
or 2.6.18?
next prev parent reply other threads:[~2010-04-08 20:46 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-06 17:41 Xen 4.1 Feature Request List Stephen Spector
2010-04-06 19:10 ` [Xen-users] " David Markey
2010-04-07 11:07 ` Stefano Stabellini
2010-04-07 11:15 ` Grant McWilliams
2010-04-07 11:18 ` [Xen-devel] " Stefano Stabellini
2010-04-07 11:27 ` Pasi Kärkkäinen
2010-04-07 13:06 ` David Markey
2010-04-07 14:07 ` Re: [Xen-users] " Stefano Stabellini
2010-04-07 11:13 ` Grant McWilliams
2010-04-07 14:51 ` Pasi Kärkkäinen
2010-04-07 20:59 ` Grant McWilliams
2010-04-07 21:04 ` [Xen-users] " Pasi Kärkkäinen
2010-04-07 17:17 ` Jeremy Fitzhardinge
2010-04-07 18:07 ` Keir Fraser
2010-04-07 13:51 ` Jeff Sturm
2010-04-08 12:33 ` Fantu
2010-04-08 17:30 ` Jeremy Fitzhardinge
2010-04-08 18:23 ` Fantu
2010-04-08 18:40 ` Jeremy Fitzhardinge
2010-04-08 19:00 ` Thomas Goirand
2010-04-08 19:46 ` Some test results on Xen 4.0 and 2.6.31 / 2.6.32 pvops kernels Carsten Schiers
2010-04-08 20:12 ` Pasi Kärkkäinen
2010-04-10 9:26 ` AW: " Carsten Schiers
2010-04-12 7:59 ` Pasi Kärkkäinen
2010-04-08 20:46 ` Konrad Rzeszutek Wilk [this message]
2010-04-10 16:07 ` Xen 4.1 Feature Request List Christian Tramnitz
2010-04-10 2:09 ` Vincent, Pradeep
2010-04-20 10:32 ` Juergen Gross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100408204652.GA622@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=carsten@schiers.de \
--cc=jeremy@goop.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).