Date: Tue, 23 Feb 2016 16:09:43 +0100 From: =?UTF-8?Q?Gustau_P=c3=a9rez?= <gustau.perez@gmail.com> To: FreeBSD XEN <freebsd-xen@freebsd.org> Subject: Re: Porting the block-iscsi hotplug script Message-ID: <56CC7637.3080408@gmail.com> In-Reply-To: <56CC32E5.5010101@citrix.com> References: <553DEB97.5000300@entel.upc.edu> <5540A053.4080409@entel.upc.edu> <5540F3FC.80606@citrix.com> <5541FC8A.8080009@citrix.com> <5542365D.10403@entel.upc.edu> <55423ECD.6000404@citrix.com> <5556F21D.2050005@entel.upc.edu> <555EEFBA.5080902@citrix.com> <555EF542.3090002@citrix.com> <555F9B3F.1000600@entel.upc.edu> <55602512.1090702@citrix.com> <56C6FA2F.8040900@gmail.com> <56CAC8CB.8030107@gmail.com> <56CADEDA.4050007@citrix.com> <56CB0057.1060509@gmail.com> <56CB041E.1020009@citrix.com> <56CB2D90.5080809@gmail.com> <56CB34BA.6060809@citrix.com> <56CC24BD.6050609@gmail.com> <56CC32E5.5010101@citrix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Resending it to mailing list. El 23/02/16 a les 11:22, Roger Pau Monné ha escrit: > > I need to update the port anyway (will try to do it tomorrow), so I can > also add the patches while there. > >> Regarding the hotplug stuff, I reworked the patches to the kernel (it >> applied but with displacements) and two of the xen-tools ones. Do you >> want me to post them somewhere? > Yes please, although I'm not sure when I will have time to work on those. > Hi Roger, I got some time to test the changes, but I'm hitting some problems: * There's something wrong with the hotplug patches (I guess the xen-tools patches). xl complains about a block script missing under ${LOCALBASE}/etc/xen/scripts (IIRC). * If I restore xen-tools to version on the ports tree, but I keep the kernel hotplug patch, when starting the first domU domain the box panics because of xenwatch. The panic is here [1]. The addr2line tells me the problem IP points to sys/dev/xen/xenstore/xenstore.c:1020. I don't know where this comes from, because I did set up a core i5 box (installed it in a rush, installed the xen packages from the main repo) and I was able to create a domU HVM domain with no problems. To recap, the offending box has: * xen-kernel + patches at [2] (needed with this machine because of the problem while at the ata code) * FreeBSD kernel + hotplug patch at [3] * xen-tools from the ports tree. If I apply the hotplug patches (I'll post the rebased versions in a moment) the machines does not panic but fails about some script not found I hope I made the current situation clear. I the meantime I'm gonna revert [3] and test what happens. If you need any further debugging info let me know. Gustau [1] http://pastebin.com/Ar9Vjy6X [2] ttps://people.freebsd.org/~royger/xen_ins/ [3] https://people.freebsd.org/~royger/freebsd-hotplug/0001-blkback-add-support-for-hotplug-scripts.patch
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56CC7637.3080408>