From: Adam Wendt Subject: xenstore xenbus failure Date: Tue, 20 Jan 2009 11:12:02 -0800 Message-ID: <7385ecaf0901201112w19b0b210r304397cbaae0422@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0639391106==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0639391106== Content-Type: multipart/alternative; boundary=0015174c1d907339d80460eed0cd --0015174c1d907339d80460eed0cd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Still having problems getting xenstore working without the socket interface. Here is output running simple xenstore-ls: Got message DIRECTORY len 2 from 0x1451b80 Writing msg DIRECTORY (tool) out to 0x1451b80 xenstore-ls: xs_directory (/): Invalid argument IN 0x1451b80 20090120 10:43:23 DIRECTORY (/ ) OUT 0x1451b80 20090120 10:43:23 DIRECTORY (tool vm local ) First 2 lines are verbose output of xenstored, middle line is output of the xenstore client and last 2 lines are trace log from xenstored. 'Invalid argument' seems to be coming from the write() call on line 98 of xs_lib.c. Seems to happen the _second_ time that xs_write_all is called from xs_talkv (writing the parameters) in this case the "/" for the ls. >From the output above we can see that xenstored is receiving the write, and even the "/" parameter, so why would the write be failing with 'Invalid argument'? Thanks, Adam Adam Wendt Consulting --0015174c1d907339d80460eed0cd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

Still having problems getting xenstore working without the socke= t interface. Here is output running simple xenstore-ls:

Got message = DIRECTORY len 2 from 0x1451b80
Writing msg DIRECTORY (tool) out to 0x145= 1b80
xenstore-ls: xs_directory (/): Invalid argument
IN 0x1451b80 20090120 10= :43:23 DIRECTORY (/ )
OUT 0x1451b80 20090120 10:43:23 DIRECTORY (tool vm= local )

First 2 lines are verbose output of xenstored, middle line = is output of the xenstore client and last 2 lines are trace log from xensto= red.

'Invalid argument' seems to be coming from the write() call on = line 98 of xs_lib.c.

Seems to happen the _second_ time that xs_write= _all is called from xs_talkv (writing the parameters) in this case the &quo= t;/" for the ls.

From the output above we can see that xenstored is receiving the write,= and even the "/" parameter, so why would the write be failing wi= th 'Invalid argument'?

Thanks,

Adam
Adam Wendt Con= sulting

--0015174c1d907339d80460eed0cd-- --===============0639391106== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0639391106==--