From: Mario <mario@slackverse.org>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: "todd.deshane@xen.org" <todd.deshane@xen.org>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"xen-users@lists.xensource.com" <xen-users@lists.xensource.com>,
"Pasi Kärkkäinen" <pasik@iki.fi>,
"Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
Subject: Re: PV networking issue in 2.6.38.6 and 2.6.39-rc7 pvops dom0 kernels
Date: Mon, 16 May 2011 11:03:27 +0200 [thread overview]
Message-ID: <4DD0E85F.7070105@slackverse.org> (raw)
In-Reply-To: <1305536377.31488.213.camel@zakaz.uk.xensource.com>
On 05/16/2011 10:59 AM, Ian Campbell wrote:
> On Mon, 2011-05-16 at 09:56 +0100, Mario wrote:
>> On 05/16/2011 09:58 AM, Ian Campbell wrote:
>>> On Mon, 2011-05-16 at 07:51 +0100, Pasi Kärkkäinen wrote:
>>>> Hello,
>>>>
>>>> Ian: Any idea what could cause this error message (more info below):
>>>>
>>>> "XENBUS: Timeout connecting to device: device/vif/0 (state 1)"
>>>
>>> Is this from the domU or the dom0?
>>
>> This is from the domU.
>>
>>>
>>> Do other devices work ok?
>>>
>>
>> Yes, everything else seems to be working fine.
>>
>>
>>>> User says replacing 2.6.38/2.6.39 pvops dom0 kernel with xenlinux one
>>>> fixes the problem..
>>>
>>> 2.6.38 didn't have netback, only 2.6.39-rc1 did. Mario, please can you
>>> supply the .config you used with the 2.6.39 kernel and the exact commit
>>> id you are using. It would also be useful to see a complete log from
>>> both dom0 and domU.
>>>
>>
>> Well, when i saw that 2.6.39-rc7 did not work, and i did not expect
>> anyone to care, i simply wiped all of the pvops stuff that i was
>> testing, and replaced it with a gentoo patched kernel wich works.
>> If it will not be in vain, i will compile it again and give you more
>> details.
>
> Yes please, we care very much about pvops to working well for everyone.
> (I'm not sure why you would think otherwise, this has been the focus of
> our development efforts for several years now).
>
> Ian.
>
Fair enough, it is compiling as we speak. Report to follow shortly.
m.
>>
>>> Do the vif entries appear in XenStore? Using:
>>> xenstore-ls /local/domain/$(xl domid<name>)/devices/vif
>>> you should see some entries and those entries should reference a backend
>>> path which should also contains entries, please post both.
>>>
>>
>> Well, from what i remember, only vhd was being shown, but i will try and
>> get you exact info today.
>>
>>
>>> Ian.
>>>
>>>>
>>>> -- Pasi
>>>>
>>>> On Sun, May 15, 2011 at 07:24:54PM +0200, Mario wrote:
>>>>>
>>>>>
>>>>> On 05/15/2011 07:20 PM, Pasi Kärkkäinen wrote:
>>>>>> On Sun, May 15, 2011 at 08:03:45PM +0300, Pasi Kärkkäinen wrote:
>>>>>>> On Sun, May 15, 2011 at 06:41:25PM +0200, Mario wrote:
>>>>>>>> On 05/15/2011 06:34 PM, Pasi Kärkkäinen wrote:
>>>>>>>>> On Sun, May 15, 2011 at 06:24:11PM +0200, Mario wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 05/15/2011 06:12 PM, Pasi Kärkkäinen wrote:
>>>>>>>>>>> On Sun, May 15, 2011 at 06:02:02PM +0200, Mario wrote:
>>>>>>>>>>>> On 05/15/2011 05:53 PM, Pasi Kärkkäinen wrote:
>>>>>>>>>>>>> On Sun, May 15, 2011 at 02:36:11PM +0200, Mario wrote:
>>>>>>>>>>>>>> Hey everyone,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have been trying to make Xen-4.1.0 work on kernels mentioned in the
>>>>>>>>>>>>>> subject, without much sucess. HVM guests are not affected, only PV.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Below you mention gentoo xenlinux patches..
>>>>>>>>>>>>>
>>>>>>>>>>>>> So please be more specific about which kernel was vanilla (pvops),
>>>>>>>>>>>>> and which kernels had some external patches applied..
>>>>>>>>>>>>>
>>>>>>>>>>>>> -- Pasi
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Sorry, both kernels in subject were vanilla from kernel.org, with xen
>>>>>>>>>>>> options selected for dom0 usage.
>>>>>>>>>>>> I only wanted to point out that networking works if i use kernel patched
>>>>>>>>>>>> with rebased gentoo patches.
>>>>>>>>>>>> I am talking only about dom0 kernel here, domU kernel does not seem to
>>>>>>>>>>>> be the source of the problem.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> OK. What kernel is the PV domU running? What Xen version are you using? 4.1 ?
>>>>>>>>>>>
>>>>>>>>>>> -- Pasi
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Well, i have tried following kernels in domU:
>>>>>>>>>>
>>>>>>>>>> 2.6.31.6 (i got this one from stacklet)
>>>>>>>>>> 2.6.37.6-domU
>>>>>>>>>> 2.6.33.4-domU
>>>>>>>>>
>>>>>>>>> Are these pvops/vanilla or with some patches?
>>>>>>>>
>>>>>>>> Those are pvops/vanilla, no patches.
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> 2.6.38.6-xen (dom0 kernel)
>>>>>>>>>> 2.6.34.7-xen (dom0 kernel)
>>>>>>>>>> 2.6.39-rc7-xen (dom0 kernel)
>>>>>>>>>>
>>>>>>>>>> None of them made any difference, they were all complaining about vif.
>>>>>>>>>> Yeah, I am running Xen 4.1
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Are you using xm/xend or xl/libxl toolstack?
>>>>>>>>
>>>>>>>> I am using xl/libxl with Xen 4.1
>>>>>>>>
>>>>>>>
>>>>>>> Ok. Have you tried Jeremy's xen.git xen/stable-2.6.32.x as a dom0 kernel?
>>>>>>> It would be interesting to know if that works for you or not.
>>>>>>>
>>>>>>
>>>>>> Btw. Did you realize upstream 2.6.38 / 2.6.39 does not yet have
>>>>>> xen-blkback driver included? also blktap2 driver is missing.
>>>>>>
>>>>>> So you you can only use the phy: or file: backends, assuming Xen 4.1,
>>>>>> which has the (slow) fallback qemu-based userspace blkback implementation.
>>>>>>
>>>>>> -- Pasi
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> Yes i have, but seeing that HVM networking works, i wanted to report the
>>>>> PV one that doesn't.
>>>>>
>>>>>
>>>>> m.
>>>>>
>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>>> Error that i see in dmesg on the domU:
>>>>>>>>>>>>>> XENBUS: Timeout connecting to device: device/vif/0 (state 1)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ifconfig -a on domU shows MAC address: 00:00:00:00:00:00
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> dom0 doesn't have any vif/tap interfaces assigned to domU when i do
>>>>>>>>>>>>>> brctl show or ifconfig -a
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I don't see any errors worth mentioning in /var/log/xen, except mybe
>>>>>>>>>>>>>> these two:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> /tmp/SBo/xen-4.1.0/tools/ioemu-qemu-xen/hw/xen_blktap.c:628: Init blktap
>>>>>>>>>>>>>> pipes
>>>>>>>>>>>>>> Could not open /var/run/tap/qemu-read-2
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Problem goes away when i boot 2.6.34.7 (it is the last kernel that i
>>>>>>>>>>>>>> have built with gentoo rebased patches).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If there is something i can do to help debug this please do let me know.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Best regards,
>>>>>>>>>>>>>> mario
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> Xen-users mailing list
>>>>>>>>>>>>>> Xen-users@lists.xensource.com
>>>>>>>>>>>>>> http://lists.xensource.com/xen-users
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Xen-users mailing list
>>>>>>>>>>>>> Xen-users@lists.xensource.com
>>>>>>>>>>>>> http://lists.xensource.com/xen-users
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Xen-users mailing list
>>>>>>>>>>> Xen-users@lists.xensource.com
>>>>>>>>>>> http://lists.xensource.com/xen-users
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Xen-users mailing list
>>>>>>>>> Xen-users@lists.xensource.com
>>>>>>>>> http://lists.xensource.com/xen-users
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Xen-users mailing list
>>>>>>> Xen-users@lists.xensource.com
>>>>>>> http://lists.xensource.com/xen-users
>>>
>>>
>
>
next prev parent reply other threads:[~2011-05-16 9:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4DCFC8BB.9030201@slackverse.org>
[not found] ` <20110515155322.GM32595@reaktio.net>
[not found] ` <4DCFF8FA.8020409@slackverse.org>
[not found] ` <20110515161203.GN32595@reaktio.net>
[not found] ` <4DCFFE2B.4040302@slackverse.org>
[not found] ` <20110515163444.GO32595@reaktio.net>
[not found] ` <4DD00235.1090207@slackverse.org>
[not found] ` <20110515170345.GP32595@reaktio.net>
[not found] ` <20110515172030.GQ32595@reaktio.net>
[not found] ` <4DD00C66.7080100@slackverse.org>
2011-05-16 6:51 ` PV networking issue in 2.6.38.6 and 2.6.39-rc7 pvops dom0 kernels Pasi Kärkkäinen
2011-05-16 7:58 ` [Xen-users] " Ian Campbell
2011-05-16 8:56 ` Mario
2011-05-16 8:59 ` Ian Campbell
2011-05-16 9:03 ` Mario [this message]
2011-05-16 11:04 ` Mario
2011-05-16 12:46 ` [Xen-users] " Ian Campbell
2011-05-16 12:56 ` Mario
2011-05-16 13:00 ` [Xen-users] " Ian Campbell
2011-05-16 13:04 ` Mario
2011-05-16 13:06 ` Ian Campbell
2011-05-16 13:09 ` Mario
2011-05-16 13:15 ` Mario
2011-05-16 13:22 ` Pasi Kärkkäinen
2011-05-17 10:49 ` Mario
2011-05-17 11:04 ` Pasi Kärkkäinen
2011-05-17 11:20 ` Mario
2011-05-17 12:09 ` Pasi Kärkkäinen
2011-05-17 12:14 ` Ian Campbell
2011-05-17 14:23 ` Konrad Rzeszutek Wilk
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=4DD0E85F.7070105@slackverse.org \
--to=mario@slackverse.org \
--cc=Ian.Campbell@eu.citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=pasik@iki.fi \
--cc=todd.deshane@xen.org \
--cc=xen-devel@lists.xensource.com \
--cc=xen-users@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.