weiming
2007-Nov-19 10:24 UTC
[Xen-devel] xenbus_printf causes system reboot in kernel module
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@lists.xensource.com http://lists.xensource.com/xen-devel
Samuel Thibault
2007-Nov-19 10:56 UTC
Re: [Xen-devel] xenbus_printf causes system reboot in kernel module
weiming, le Mon 19 Nov 2007 05:24:01 -0500, a écrit :> xenbus_printf(XBT_NIL,"mydir", "command", "%s", "do_something"); > > in my kernel module, which causes my system to reboot.Is the mydir+command or do_something more that 256 chars long? Samuel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
weiming
2007-Nov-19 16:23 UTC
Re: [Xen-devel] xenbus_printf causes system reboot in kernel module
no, just those literal strings. if the dir/node does not exist, xenstore should create them. I also tried existing dir/nodes, no success. On Nov 19, 2007 5:56 AM, Samuel Thibault <samuel.thibault@eu.citrix.com> wrote:> weiming, le Mon 19 Nov 2007 05:24:01 -0500, a écrit : > > xenbus_printf(XBT_NIL,"mydir", "command", "%s", "do_something"); > > > > in my kernel module, which causes my system to reboot. > > Is the mydir+command or do_something more that 256 chars long? > > Samuel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel