From mboxrd@z Thu Jan 1 00:00:00 1970 From: NAHieu Subject: problem using xenbus interface Date: Mon, 8 Aug 2005 21:26:02 +0900 Message-ID: <5d7aca9505080805267dce691b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline 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 Hello, I a writing a small kernel module for domU, in which I use xenbus and have some problems: I use xenbus_scanf to read value of "/restart_mode", but the below code always failed (got non-zero err) err =3D xenbus_scanf("/", "restart_mode", "%s", mode); Another code like below also failed (I try to make a new node "/domain//test" with xenbus_mkdir): err =3D xenbus_mkdir("/", "test"); I am using the latest xen pulled from -unstable repository. I guess the problem is I didnt use xenbus interface properly (?) Anybody could give me some helps? Thank you a lot, NAH