All of lore.kernel.org
 help / color / mirror / Atom feed
From: Valtteri Kiviniemi <valtteri.kiviniemi@dataproof.fi>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Latest pv_ops (2.6.30-rc3) and xen-unstable
Date: Fri, 08 May 2009 21:48:08 +0300	[thread overview]
Message-ID: <4A047E68.5080109@dataproof.fi> (raw)
In-Reply-To: <1241773407.16804.39.camel@zakaz.uk.xensource.com>

Hi,

Ok, with that patch I got it working. I'm still seeing these two error 
messages in dmesg:

XENBUS: Unable to read cpu state
and
xenbus_probe_devices failed xenbus_directory

are those something to worry about?

- Valtteri Kiviniemi

Ian Campbell kirjoitti:
> On Thu, 2009-05-07 at 14:47 -0400, Valtteri Kiviniemi wrote:
>> Hi,
>>
>> Yeah, so it seems to be:
> 
> The switch to/from curses has hidden most of the interesting stuff
> (including a useful error message :-(), if you redirect to a file you
> get:
> open("/sys/devices/xen-backend/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
> dup(2)                                  = 6
> fcntl64(6, F_GETFL)                     = 0x8001 (flags O_WRONLY|O_LARGEFILE)
> close(6)                                = 0
> write(2, "Error opening /sys/devices/xen-b"..., 67Error opening /sys/devices/xen-backend/: No such file or directory
> ) = 67
> 
> This path doesn't exist in the pvops kernel. Looks
> like /sys/bus/xen-backend/devices is just as good and exists in both
> pvops and 2.6.18 kernels.
> 
> Subject: xenstat: Use backend path which is compatible with pvops and 2.6.18-xen kernels.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> 
> diff -r 07812e857e67 tools/xenstat/libxenstat/src/xenstat_linux.c
> --- a/tools/xenstat/libxenstat/src/xenstat_linux.c	Thu Apr 09 12:09:14 2009 +0100
> +++ b/tools/xenstat/libxenstat/src/xenstat_linux.c	Fri May 08 09:40:45 2009 +0100
> @@ -31,7 +31,7 @@
>  
>  #include "xenstat_priv.h"
>  
> -#define SYSFS_VBD_PATH "/sys/devices/xen-backend/"
> +#define SYSFS_VBD_PATH "/sys/bus/xen-backend/devices"
>  
>  struct priv_data {
>  	FILE *procnetdev;
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2009-05-08 18:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05  5:55 Latest pv_ops (2.6.30-rc3) and xen-unstable Valtteri Kiviniemi
2009-05-05 21:17 ` Jeremy Fitzhardinge
2009-05-06 16:50   ` Backport ZFS support and pygrub from Xen 3.4-rc4-pre to xen-3.3.1-11.fc11.src.rpm Boris Derzhavets
2009-05-06 19:39     ` Boris Derzhavets
2009-05-07  9:49       ` Boris Derzhavets
2009-05-07 17:21         ` Boris Derzhavets
2009-05-07 18:47   ` Latest pv_ops (2.6.30-rc3) and xen-unstable Valtteri Kiviniemi
2009-05-08  9:03     ` Ian Campbell
2009-05-08 18:48       ` Valtteri Kiviniemi [this message]
2009-05-25  9:24       ` [xenstat] Use backend path which is compatible with pvops -- status request Daniel Schroeder

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=4A047E68.5080109@dataproof.fi \
    --to=valtteri.kiviniemi@dataproof.fi \
    --cc=Ian.Campbell@citrix.com \
    --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 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.