WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xenbus_printf causes system reboot in kernel module

To: "Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xenbus_printf causes system reboot in kernel module
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Mon, 19 Nov 2007 05:24:01 -0500
Delivery-date: Mon, 19 Nov 2007 02:24:36 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=BZsG1VIvu5SfwxD2REaRqqhJl8HP4A5RRHAiz7qWUZI=; b=OJxaaIHqy4U6e6qy9kEuCaPduYN73JRC3kWs/Y2zqg+b36LQVlpzwpfULVEU41q9inyTJqdXJxgCGZslV0CqAGKcoY2TI25e+13A+SdVVuG5zKXK0mGUFAA57i9VyJZJWccHrPMpZNFXhm+zewCmzJCs3LkfjdBpgaL+/LgRYiw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M4GprLXzmRZcG/F2FZ50K8GmuWSJxvK4TlqrYX4MSxhCFUSRN2mx6BW65q6H0RMBfPNFwZdTkholnbUWYXzLb3c9/bKIfaaKoPzonBZx356i/HQVrL8eFCbxD405dZt9DEsop7DGmj9E1ILJ5BSMdpghLlzNS9H09ClbqT1lP+M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I used

xenbus_printf(XBT_NIL,"mydir", "command", "%s", "do_something");

in my kernel module, which causes my system to reboot.

Do I miss something, like initialization code before this call?

Thanks,
Weiming

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

<Prev in Thread] Current Thread [Next in Thread>