xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
@ 2010-06-19 12:32 Pasi Kärkkäinen
  2010-06-19 12:44 ` Boris Derzhavets
  0 siblings, 1 reply; 9+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-19 12:32 UTC (permalink / raw)
  To: xen-devel; +Cc: Jeremy Fitzhardinge

Hello,

I know there has been some discussion about this already, 
but I just noticed it myself when I upgraded my testbox.

So, I have Xen 4.0.0, and the latest xen/stable-2.6.32.x dom0 kernel, ie. 2.6.32.15.

On system startup I notice xenstored and xend fail to start.
I look around and notice /dev/xen/ is empty.

I do "rmmod xen-evtchn" and "modprobe xen-evtchn" and then I have:

# ls -la /dev/xen
total 0
drwxr-xr-x  2 root root     60 Jun 19 15:22 .
drwxr-xr-x 20 root root   4580 Jun 19 15:20 ..
crw-rw----  1 root root 10, 58 Jun 19 15:22 evtchn

Based on some earlier emails it has wrong major/minor? 

Also "modprobe xen-gntdev" gives this:

# ls -la /dev/xen
total 0
0 crw-rw---- 1 root root 10, 58 Jun 19 15:22 evtchn
0 crw-rw---- 1 root root 10, 57 Jun 19 15:25 gntdev

So what's the actual problem here? I guess something got changed in the kernel,
and now xen tools/scripts should create the devnodes with a different major/minor? 

Is the correct fix to upgrade Xen to 4.0.1-rcX ? 

I just want to get this correct so I can update the wiki pages.. 
it seems many people hit this problem.

Thanks!

-- Pasi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 12:32 Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting Pasi Kärkkäinen
@ 2010-06-19 12:44 ` Boris Derzhavets
  2010-06-19 13:18   ` Pasi Kärkkäinen
  0 siblings, 1 reply; 9+ messages in thread
From: Boris Derzhavets @ 2010-06-19 12:44 UTC (permalink / raw)
  To: xen-devel, Pasi Kärkkäinen; +Cc: Jeremy Fitzhardinge


[-- Attachment #1.1: Type: text/plain, Size: 1965 bytes --]

> Is the correct fix to upgrade Xen to 4.0.1-rcX ? 

Via my experience rc2 should be good.
Similar question was asked by myself some time ago. 
It's on the list.

Boris.
P.S. Some CS from xen-unstable ( libxc related) was back ported to xen-4-testing.hg.
There was also Keir's feed regarding this issue.

--- On Sat, 6/19/10, Pasi Kärkkäinen <pasik@iki.fi> wrote:

From: Pasi Kärkkäinen <pasik@iki.fi>
Subject: [Xen-devel] Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
To: xen-devel@lists.xensource.com
Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>
Date: Saturday, June 19, 2010, 8:32 AM

Hello,

I know there has been some discussion about this already, 
but I just noticed it myself when I upgraded my testbox.

So, I have Xen 4.0.0, and the latest xen/stable-2.6.32.x dom0 kernel, ie. 2.6.32.15.

On system startup I notice xenstored and xend fail to start.
I look around and notice /dev/xen/ is empty.

I do "rmmod xen-evtchn" and "modprobe xen-evtchn" and then I have:

# ls -la /dev/xen
total 0
drwxr-xr-x  2 root root     60 Jun 19 15:22 .
drwxr-xr-x 20 root root   4580 Jun 19 15:20 ..
crw-rw----  1 root root 10, 58 Jun 19 15:22 evtchn

Based on some earlier emails it has wrong major/minor? 

Also "modprobe xen-gntdev" gives this:

# ls -la /dev/xen
total 0
0 crw-rw---- 1 root root 10, 58 Jun 19 15:22 evtchn
0 crw-rw---- 1 root root 10, 57 Jun 19 15:25 gntdev

So what's the actual problem here? I guess something got changed in the kernel,
and now xen tools/scripts should create the devnodes with a different major/minor? 

Is the correct fix to upgrade Xen to 4.0.1-rcX ? 

I just want to get this correct so I can update the wiki pages.. 
it seems many people hit this problem.

Thanks!

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel



      

[-- Attachment #1.2: Type: text/html, Size: 2601 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 12:44 ` Boris Derzhavets
@ 2010-06-19 13:18   ` Pasi Kärkkäinen
  2010-06-19 13:32     ` Boris Derzhavets
  0 siblings, 1 reply; 9+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-19 13:18 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: Jeremy Fitzhardinge, xen-devel

On Sat, Jun 19, 2010 at 05:44:03AM -0700, Boris Derzhavets wrote:
>    > Is the correct fix to upgrade Xen to 4.0.1-rcX ?
> 
>    Via my experience rc2 should be good.
>    Similar question was asked by myself some time ago.
>    It's on the list.
> 
>    Boris.
>    P.S. Some CS from xen-unstable ( libxc related) was back ported to
>    xen-4-testing.hg.
>    There was also Keir's feed regarding this issue.
> 

Looks like it's this one in xen-4.0.1-rc2-pre:
http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2

What was the corresponding changeset/patch in xen/stable-2.6.32.x that breaks things with Xen 4.0.0 ?

-- Pasi


>    --- On Sat, 6/19/10, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> 
>      From: Pasi Kärkkäinen <pasik@iki.fi>
>      Subject: [Xen-devel] Latest pvops dom0 kernel and missing
>      /dev/xen/evtchn, xenstored and xend not starting
>      To: xen-devel@lists.xensource.com
>      Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>
>      Date: Saturday, June 19, 2010, 8:32 AM
> 
>      Hello,
> 
>      I know there has been some discussion about this already,
>      but I just noticed it myself when I upgraded my testbox.
> 
>      So, I have Xen 4.0.0, and the latest xen/stable-2.6.32.x dom0 kernel,
>      ie. 2.6.32.15.
> 
>      On system startup I notice xenstored and xend fail to start.
>      I look around and notice /dev/xen/ is empty.
> 
>      I do "rmmod xen-evtchn" and "modprobe xen-evtchn" and then I have:
> 
>      # ls -la /dev/xen
>      total 0
>      drwxr-xr-x  2 root root     60 Jun 19 15:22 .
>      drwxr-xr-x 20 root root   4580 Jun 19 15:20 ..
>      crw-rw----  1 root root 10, 58 Jun 19 15:22 evtchn
> 
>      Based on some earlier emails it has wrong major/minor?
> 
>      Also "modprobe xen-gntdev" gives this:
> 
>      # ls -la /dev/xen
>      total 0
>      0 crw-rw---- 1 root root 10, 58 Jun 19 15:22 evtchn
>      0 crw-rw---- 1 root root 10, 57 Jun 19 15:25 gntdev
> 
>      So what's the actual problem here? I guess something got changed in the
>      kernel,
>      and now xen tools/scripts should create the devnodes with a different
>      major/minor?
> 
>      Is the correct fix to upgrade Xen to 4.0.1-rcX ?
> 
>      I just want to get this correct so I can update the wiki pages..
>      it seems many people hit this problem.
> 
>      Thanks!
> 
>      -- Pasi
> 
>      _______________________________________________
>      Xen-devel mailing list
>      [1]Xen-devel@lists.xensource.com
>      [2]http://lists.xensource.com/xen-devel
> 
> References
> 
>    Visible links
>    1. file:///mc/compose?to=Xen-devel@lists.xensource.com
>    2. http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 13:18   ` Pasi Kärkkäinen
@ 2010-06-19 13:32     ` Boris Derzhavets
  2010-06-19 13:37       ` Pasi Kärkkäinen
  0 siblings, 1 reply; 9+ messages in thread
From: Boris Derzhavets @ 2010-06-19 13:32 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Jeremy Fitzhardinge, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 3788 bytes --]

> Looks like it's this one in xen-4.0.1-rc2-pre:
> http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2

I believe you are right.

> What
 was the corresponding changeset/patch in xen/stable-2.6.32.x that 
breaks things > with Xen 4.0.0 ?

If you mean PV network issue after merge netback-tasklets . I don't remember commit
to revert. I guess in meantime patches from Ian Campbell and Dongxiao Xu have been
applied . Tip 01d9fbca207ec232c758d991d66466fc6e38349e works for me.

Boris.
--- On Sat, 6/19/10, Pasi Kärkkäinen <pasik@iki.fi> wrote:

From: Pasi Kärkkäinen <pasik@iki.fi>
Subject: Re: [Xen-devel] Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>, xen-devel@lists.xensource.com
Date: Saturday, June 19, 2010, 9:18 AM

On Sat, Jun 19, 2010 at 05:44:03AM -0700, Boris Derzhavets wrote:
>    > Is the correct fix to upgrade Xen to 4.0.1-rcX ?
> 
>    Via my experience rc2 should be good.
>    Similar question was asked by myself some time ago.
>    It's on the list.
> 
>    Boris.
>    P.S. Some CS from xen-unstable ( libxc related) was back ported to
>    xen-4-testing.hg.
>    There was also Keir's feed regarding this issue.
> 

Looks like it's this one in xen-4.0.1-rc2-pre:
http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2

What was the corresponding changeset/patch in xen/stable-2.6.32.x that breaks things with Xen 4.0.0 ?

-- Pasi


>    --- On Sat, 6/19/10, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> 
>      From: Pasi Kärkkäinen <pasik@iki.fi>
>      Subject: [Xen-devel] Latest pvops dom0 kernel and missing
>      /dev/xen/evtchn, xenstored and xend not starting
>      To: xen-devel@lists.xensource.com
>      Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>
>      Date: Saturday, June 19, 2010, 8:32 AM
> 
>      Hello,
> 
>      I know there has been some discussion about this already,
>      but I just noticed it myself when I upgraded my testbox.
> 
>      So, I have Xen 4.0.0, and the latest xen/stable-2.6.32.x dom0 kernel,
>      ie. 2.6.32.15.
> 
>      On system startup I notice xenstored and xend fail to start.
>      I look around and notice /dev/xen/ is empty.
> 
>      I do "rmmod xen-evtchn" and "modprobe xen-evtchn" and then I have:
> 
>      # ls -la /dev/xen
>      total 0
>      drwxr-xr-x  2 root root     60 Jun 19 15:22 .
>      drwxr-xr-x 20 root root   4580 Jun 19 15:20 ..
>      crw-rw----  1 root root 10, 58 Jun 19 15:22 evtchn
> 
>      Based on some earlier emails it has wrong major/minor?
> 
>      Also "modprobe xen-gntdev" gives this:
> 
>      # ls -la /dev/xen
>      total 0
>      0 crw-rw---- 1 root root 10, 58 Jun 19 15:22 evtchn
>      0 crw-rw---- 1 root root 10, 57 Jun 19 15:25 gntdev
> 
>      So what's the actual problem here? I guess something got changed in the
>      kernel,
>      and now xen tools/scripts should create the devnodes with a different
>      major/minor?
> 
>      Is the correct fix to upgrade Xen to 4.0.1-rcX ?
> 
>      I just want to get this correct so I can update the wiki pages..
>      it seems many people hit this problem.
> 
>      Thanks!
> 
>      -- Pasi
> 
>      _______________________________________________
>      Xen-devel mailing list
>      [1]Xen-devel@lists.xensource.com
>      [2]http://lists.xensource.com/xen-devel
> 
> References
> 
>    Visible links
>    1. file:///mc/compose?to=Xen-devel@lists.xensource.com
>    2. http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel



      

[-- Attachment #1.2: Type: text/html, Size: 6381 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 13:32     ` Boris Derzhavets
@ 2010-06-19 13:37       ` Pasi Kärkkäinen
  2010-06-19 15:21         ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-19 13:37 UTC (permalink / raw)
  To: Boris Derzhavets; +Cc: Jeremy Fitzhardinge, xen-devel

On Sat, Jun 19, 2010 at 06:32:21AM -0700, Boris Derzhavets wrote:
>    > Looks like it's this one in xen-4.0.1-rc2-pre:
>    [1]> http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
> 
>    I believe you are right.
> 
>    > What was the corresponding changeset/patch in xen/stable-2.6.32.x that
>    breaks things > with Xen 4.0.0 ?
> 
>    If you mean PV network issue after merge netback-tasklets . 
>

No, I don't mean that.

I mean older xen/stable-2.6.32.x kernels DO work with xen-4.0.0,
but the latest xen/stable-2.6.32.x does NOT work with xen-4.0.0.

So there is some change/patch in the dom0 kernel that breaks things with xen 4.0.0.


> I don't remember commit
>    to revert. I guess in meantime patches from Ian Campbell and Dongxiao Xu
>    have been
>    applied . Tip 01d9fbca207ec232c758d991d66466fc6e38349e works for me.
> 

The latest xen/stable-2.6.32.x should have the netback/tasklet stuff working again, afaik.
No need for patches or reverts.

-- Pasi

>    Boris.
>    --- On Sat, 6/19/10, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> 
>      From: Pasi Kärkkäinen <pasik@iki.fi>
>      Subject: Re: [Xen-devel] Latest pvops dom0 kernel and missing
>      /dev/xen/evtchn, xenstored and xend not starting
>      To: "Boris Derzhavets" <bderzhavets@yahoo.com>
>      Cc: "Jeremy Fitzhardinge" <jeremy@goop.org>,
>      xen-devel@lists.xensource.com
>      Date: Saturday, June 19, 2010, 9:18 AM
> 
>      On Sat, Jun 19, 2010 at 05:44:03AM -0700, Boris Derzhavets wrote:
>      >    > Is the correct fix to upgrade Xen to 4.0.1-rcX ?
>      >
>      >    Via my experience rc2 should be good.
>      >    Similar question was asked by myself some time ago.
>      >    It's on the list.
>      >
>      >    Boris.
>      >    P.S. Some CS from xen-unstable ( libxc related) was back ported to
>      >    xen-4-testing.hg.
>      >    There was also Keir's feed regarding this issue.
>      >
> 
>      Looks like it's this one in xen-4.0.1-rc2-pre:
>      [2]http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
> 
>      What was the corresponding changeset/patch in xen/stable-2.6.32.x that
>      breaks things with Xen 4.0.0 ?
> 
>      -- Pasi
> 
>      >    --- On Sat, 6/19/10, Pasi Kärkkäinen <[3]pasik@iki.fi> wrote:
>      >
>      >      From: Pasi Kärkkäinen <[4]pasik@iki.fi>
>      >      Subject: [Xen-devel] Latest pvops dom0 kernel and missing
>      >      /dev/xen/evtchn, xenstored and xend not starting
>      >      To: [5]xen-devel@lists.xensource.com
>      >      Cc: "Jeremy Fitzhardinge" <[6]jeremy@goop.org>
>      >      Date: Saturday, June 19, 2010, 8:32 AM
>      >
>      >      Hello,
>      >
>      >      I know there has been some discussion about this already,
>      >      but I just noticed it myself when I upgraded my testbox.
>      >
>      >      So, I have Xen 4.0.0, and the latest xen/stable-2.6.32.x dom0
>      kernel,
>      >      ie. 2.6.32.15.
>      >
>      >      On system startup I notice xenstored and xend fail to start.
>      >      I look around and notice /dev/xen/ is empty.
>      >
>      >      I do "rmmod xen-evtchn" and "modprobe xen-evtchn" and then I
>      have:
>      >
>      >      # ls -la /dev/xen
>      >      total 0
>      >      drwxr-xr-x  2 root root     60 Jun 19 15:22 .
>      >      drwxr-xr-x 20 root root   4580 Jun 19 15:20 ..
>      >      crw-rw----  1 root root 10, 58 Jun 19 15:22 evtchn
>      >
>      >      Based on some earlier emails it has wrong major/minor?
>      >
>      >      Also "modprobe xen-gntdev" gives this:
>      >
>      >      # ls -la /dev/xen
>      >      total 0
>      >      0 crw-rw---- 1 root root 10, 58 Jun 19 15:22 evtchn
>      >      0 crw-rw---- 1 root root 10, 57 Jun 19 15:25 gntdev
>      >
>      >      So what's the actual problem here? I guess something got changed
>      in the
>      >      kernel,
>      >      and now xen tools/scripts should create the devnodes with a
>      different
>      >      major/minor?
>      >
>      >      Is the correct fix to upgrade Xen to 4.0.1-rcX ?
>      >
>      >      I just want to get this correct so I can update the wiki pages..
>      >      it seems many people hit this problem.
>      >
>      >      Thanks!
>      >
>      >      -- Pasi
>      >
>      >      _______________________________________________
>      >      Xen-devel mailing list
>      >      [1][7]Xen-devel@lists.xensource.com
>      >      [2][8]http://lists.xensource.com/xen-devel
>      >
>      > References
>      >
>      >    Visible links
>      >    1. file:///mc/compose?to=[9]Xen-devel@lists.xensource.com
>      >    2. [10]http://lists.xensource.com/xen-devel
> 
>      _______________________________________________
>      Xen-devel mailing list
>      [11]Xen-devel@lists.xensource.com
>      [12]http://lists.xensource.com/xen-devel
> 
> References
> 
>    Visible links
>    1. http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
>    2. http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
>    3. file:///mc/compose?to=pasik@iki.fi
>    4. file:///mc/compose?to=pasik@iki.fi
>    5. file:///mc/compose?to=xen-devel@lists.xensource.com
>    6. file:///mc/compose?to=jeremy@goop.org
>    7. file:///mc/compose?to=Xen-devel@lists.xensource.com
>    8. http://lists.xensource.com/xen-devel
>    9. file:///mc/compose?to=Xen-devel@lists.xensource.com
>   10. http://lists.xensource.com/xen-devel
>   11. file:///mc/compose?to=Xen-devel@lists.xensource.com
>   12. http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 13:37       ` Pasi Kärkkäinen
@ 2010-06-19 15:21         ` Jeremy Fitzhardinge
  2010-06-19 16:38           ` Pasi Kärkkäinen
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2010-06-19 15:21 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Boris Derzhavets, xen-devel

On 06/19/2010 02:37 PM, Pasi Kärkkäinen wrote:
> On Sat, Jun 19, 2010 at 06:32:21AM -0700, Boris Derzhavets wrote:
>   
>>    > Looks like it's this one in xen-4.0.1-rc2-pre:
>>    [1]> http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
>>
>>    I believe you are right.
>>
>>    > What was the corresponding changeset/patch in xen/stable-2.6.32.x that
>>    breaks things > with Xen 4.0.0 ?
>>
>>    If you mean PV network issue after merge netback-tasklets . 
>>
>>     
> No, I don't mean that.
>
> I mean older xen/stable-2.6.32.x kernels DO work with xen-4.0.0,
> but the latest xen/stable-2.6.32.x does NOT work with xen-4.0.0.
>
> So there is some change/patch in the dom0 kernel that breaks things with xen 4.0.0.
>   

376d908f52427591cef4acd172db9c3ef28676ec and
9d85e25edbcb8a684db8470119077475ac4d90b5

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 15:21         ` Jeremy Fitzhardinge
@ 2010-06-19 16:38           ` Pasi Kärkkäinen
  2010-06-19 17:42             ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-19 16:38 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Boris Derzhavets, xen-devel

On Sat, Jun 19, 2010 at 04:21:54PM +0100, Jeremy Fitzhardinge wrote:
> On 06/19/2010 02:37 PM, Pasi Kärkkäinen wrote:
> > On Sat, Jun 19, 2010 at 06:32:21AM -0700, Boris Derzhavets wrote:
> >   
> >>    > Looks like it's this one in xen-4.0.1-rc2-pre:
> >>    [1]> http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
> >>
> >>    I believe you are right.
> >>
> >>    > What was the corresponding changeset/patch in xen/stable-2.6.32.x that
> >>    breaks things > with Xen 4.0.0 ?
> >>
> >>    If you mean PV network issue after merge netback-tasklets . 
> >>
> >>     
> > No, I don't mean that.
> >
> > I mean older xen/stable-2.6.32.x kernels DO work with xen-4.0.0,
> > but the latest xen/stable-2.6.32.x does NOT work with xen-4.0.0.
> >
> > So there is some change/patch in the dom0 kernel that breaks things with xen 4.0.0.
> >   
> 
> 376d908f52427591cef4acd172db9c3ef28676ec and
> 9d85e25edbcb8a684db8470119077475ac4d90b5
> 

Ok, thanks.

I seem to have these major/minors on my devices:

# ls -la /dev/xen
total 0
drwxr-xr-x  2 root root     80 Jun 19 19:17 .
drwxr-xr-x 20 root root   4580 Jun 19 19:33 ..
crw-rw----  1 root root 10, 58 Jun 19 19:17 evtchn
crw-rw----  1 root root 10, 57 Jun 19 19:17 gntdev

Is that correct? They don't seem to match what you pasted earlier..

Then again things seem to work.. I can install new guests using virt-manager etc :)

-- Pasi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 16:38           ` Pasi Kärkkäinen
@ 2010-06-19 17:42             ` Jeremy Fitzhardinge
  2010-06-19 18:04               ` Pasi Kärkkäinen
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2010-06-19 17:42 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Boris Derzhavets, xen-devel

On 06/19/2010 05:38 PM, Pasi Kärkkäinen wrote:
> On Sat, Jun 19, 2010 at 04:21:54PM +0100, Jeremy Fitzhardinge wrote:
>   
>> On 06/19/2010 02:37 PM, Pasi Kärkkäinen wrote:
>>     
>>> On Sat, Jun 19, 2010 at 06:32:21AM -0700, Boris Derzhavets wrote:
>>>   
>>>       
>>>>    > Looks like it's this one in xen-4.0.1-rc2-pre:
>>>>    [1]> http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
>>>>
>>>>    I believe you are right.
>>>>
>>>>    > What was the corresponding changeset/patch in xen/stable-2.6.32.x that
>>>>    breaks things > with Xen 4.0.0 ?
>>>>
>>>>    If you mean PV network issue after merge netback-tasklets . 
>>>>
>>>>     
>>>>         
>>> No, I don't mean that.
>>>
>>> I mean older xen/stable-2.6.32.x kernels DO work with xen-4.0.0,
>>> but the latest xen/stable-2.6.32.x does NOT work with xen-4.0.0.
>>>
>>> So there is some change/patch in the dom0 kernel that breaks things with xen 4.0.0.
>>>   
>>>       
>> 376d908f52427591cef4acd172db9c3ef28676ec and
>> 9d85e25edbcb8a684db8470119077475ac4d90b5
>>
>>     
> Ok, thanks.
>
> I seem to have these major/minors on my devices:
>
> # ls -la /dev/xen
> total 0
> drwxr-xr-x  2 root root     80 Jun 19 19:17 .
> drwxr-xr-x 20 root root   4580 Jun 19 19:33 ..
> crw-rw----  1 root root 10, 58 Jun 19 19:17 evtchn
> crw-rw----  1 root root 10, 57 Jun 19 19:17 gntdev
>
> Is that correct? They don't seem to match what you pasted earlier..
>
> Then again things seem to work.. I can install new guests using virt-manager etc :)
>   

The major/minors are completely dynamic, depending on what else you've
got in your kernel.  /proc/misc will tell you what they should be.  The
problem is that (old) libxc has some completely broken code to re-create
the device which ends up destroying any correctly created device if it
fails to determine what the major/minor is - and with the change in
kernel device name, it does fail.

    J

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting
  2010-06-19 17:42             ` Jeremy Fitzhardinge
@ 2010-06-19 18:04               ` Pasi Kärkkäinen
  0 siblings, 0 replies; 9+ messages in thread
From: Pasi Kärkkäinen @ 2010-06-19 18:04 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Boris Derzhavets, xen-devel

On Sat, Jun 19, 2010 at 06:42:28PM +0100, Jeremy Fitzhardinge wrote:
> On 06/19/2010 05:38 PM, Pasi Kärkkäinen wrote:
> > On Sat, Jun 19, 2010 at 04:21:54PM +0100, Jeremy Fitzhardinge wrote:
> >   
> >> On 06/19/2010 02:37 PM, Pasi Kärkkäinen wrote:
> >>     
> >>> On Sat, Jun 19, 2010 at 06:32:21AM -0700, Boris Derzhavets wrote:
> >>>   
> >>>       
> >>>>    > Looks like it's this one in xen-4.0.1-rc2-pre:
> >>>>    [1]> http://xenbits.xen.org/xen-4.0-testing.hg?rev/0e1521f654f2
> >>>>
> >>>>    I believe you are right.
> >>>>
> >>>>    > What was the corresponding changeset/patch in xen/stable-2.6.32.x that
> >>>>    breaks things > with Xen 4.0.0 ?
> >>>>
> >>>>    If you mean PV network issue after merge netback-tasklets . 
> >>>>
> >>>>     
> >>>>         
> >>> No, I don't mean that.
> >>>
> >>> I mean older xen/stable-2.6.32.x kernels DO work with xen-4.0.0,
> >>> but the latest xen/stable-2.6.32.x does NOT work with xen-4.0.0.
> >>>
> >>> So there is some change/patch in the dom0 kernel that breaks things with xen 4.0.0.
> >>>   
> >>>       
> >> 376d908f52427591cef4acd172db9c3ef28676ec and
> >> 9d85e25edbcb8a684db8470119077475ac4d90b5
> >>
> >>     
> > Ok, thanks.
> >
> > I seem to have these major/minors on my devices:
> >
> > # ls -la /dev/xen
> > total 0
> > drwxr-xr-x  2 root root     80 Jun 19 19:17 .
> > drwxr-xr-x 20 root root   4580 Jun 19 19:33 ..
> > crw-rw----  1 root root 10, 58 Jun 19 19:17 evtchn
> > crw-rw----  1 root root 10, 57 Jun 19 19:17 gntdev
> >
> > Is that correct? They don't seem to match what you pasted earlier..
> >
> > Then again things seem to work.. I can install new guests using virt-manager etc :)
> >   
> 
> The major/minors are completely dynamic, depending on what else you've
> got in your kernel.  /proc/misc will tell you what they should be.  The
> problem is that (old) libxc has some completely broken code to re-create
> the device which ends up destroying any correctly created device if it
> fails to determine what the major/minor is - and with the change in
> kernel device name, it does fail.
> 

Thanks.

I added info about that to XenParavirtOps wiki page.

-- Pasi

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-06-19 18:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-19 12:32 Latest pvops dom0 kernel and missing /dev/xen/evtchn, xenstored and xend not starting Pasi Kärkkäinen
2010-06-19 12:44 ` Boris Derzhavets
2010-06-19 13:18   ` Pasi Kärkkäinen
2010-06-19 13:32     ` Boris Derzhavets
2010-06-19 13:37       ` Pasi Kärkkäinen
2010-06-19 15:21         ` Jeremy Fitzhardinge
2010-06-19 16:38           ` Pasi Kärkkäinen
2010-06-19 17:42             ` Jeremy Fitzhardinge
2010-06-19 18:04               ` Pasi Kärkkäinen

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