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-api

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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] xenbus_printf causes system reboot in kernel module
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Mon, 19 Nov 2007 12:55:46 -0500
Delivery-date: Mon, 19 Nov 2007 10:32:54 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=lxpKLtsLwlBiZcaOlWu2eKuFYwp0e+Ul4hG6a17QMCU=; b=MEyMH47snA4NbY3ZqBrCx+hZcael4KSLyirVJjjuXYsBMoa8FkoSJsUQPmiO8o1PXjBwl3A3SxKLiECG5S3QVZwMq6dFaP+kfGaSGjEZ+nGftHzAmO4OcGURlBhvwIo6d/alh3UM2S+ylcFNGxIXMH816D+ZYyf5Cod/fpHXAUg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oUfYcK9VK1xfymPAmXHhekPR4+4qGbI7OJIM0cBM2I6aXIKZI5Rw6OXTXr14r/8i3rYcFLC8jayyUR6m6DXJt1U/asFGUcThnSwaqAGB/yvgV++NtqNWSv/ThIlCzJhUpjaFRAmNWvQ792kBH9EnQxQbU6vpCUzV2U8cc/yaDUY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <add59a3f0711190224q6312c06ay816997a830d011c0@xxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <add59a3f0711190224q6312c06ay816997a830d011c0@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
I use
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-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] xenbus_printf causes system reboot in kernel module, weiming <=