From owner-freebsd-xen@freebsd.org Tue Mar 1 12:54:05 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9143ABD669 for ; Tue, 1 Mar 2016 12:54:05 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57B621A81 for ; Tue, 1 Mar 2016 12:54:05 +0000 (UTC) (envelope-from gustau.perez@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id l68so35239973wml.0 for ; Tue, 01 Mar 2016 04:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=VDU65XI27TumprDo/60B8w0f4twlmLW6mQxoRkly/ws=; b=jCtx5dJFc0dDlIRXSh0w9a4h37FzDB3XtgaGlRFk5BZofpz6ZGf7P3fz8XMpRk5x+Q RRdRoou4v4Mo9y3n/N4N2MVRD9Z/T6JtuOm3VPnpQ5n4D5yfptddogPEJi2rO34cAxCJ N4CQ74xD5d/TLaWE5wKG9qCbMVcIHJxPUtAb0qr4cLGE4mqbost/OgVyBeXfBKKR8S8Y N+nWXbOxChv7s/3K+XcrSMs96V9xi9WlCDL2Bd4j3wSXBvTG+PvDyb4Qyf9E8/vxStmj jBstsLKQkgQNk+0tHgCVDb9VrEOxbEsnrTbz/Bo+XAFYtUAJEEDUbpLoRPYDa9myyOKh GGPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=VDU65XI27TumprDo/60B8w0f4twlmLW6mQxoRkly/ws=; b=J54pJhFQe7ywKxiUd8wKSQxJOhHPB1LeT8XkNHh7twSedxoueS7XfGb4bF8U824UwV rUI4cDzzMY6HT98iQiB3oC6Vs87I7iik5HnbgRpr8Ww/badfI+JMXvhnHXum9a34FUnM 5U1T4Fd3KJ+Q6S37bxeBh8NnnYfIWvGtuKFHP2oOHm7KGolYXW3KcjMsWnmd6xgBU9WG IHVdVzpxHsWS4GbTeD80un+ZSCT5En0RtywUC+/OPA7B199mFQONqc2eMy+wgcIhHy4u vtMtCA4Km4NYTIbt9s13GtY1DrwWey8NgoJQWh4SCvggMt/NgGfu8kc365wkWQn0MCVv IMsg== X-Gm-Message-State: AD7BkJKFOx/gHjSnStIgp9S/DaUKSVysvH+L/bpwrdEFmmLeeTuyCAVxJYP3BQhPyAxsWw== X-Received: by 10.28.91.142 with SMTP id p136mr3708321wmb.76.1456836843798; Tue, 01 Mar 2016 04:54:03 -0800 (PST) Received: from [10.0.2.151] ([147.83.40.10]) by smtp.googlemail.com with ESMTPSA id ei9sm30925531wjd.40.2016.03.01.04.54.02 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Mar 2016 04:54:02 -0800 (PST) Subject: Re: Porting the block-iscsi hotplug script To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , FreeBSD XEN 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> <56CC7637.3080408@gmail.com> <56CF5668.6090605@citrix.com> <56D0091F.80408@gmail.com> <56D02863.7040100@citrix.com> <56D03D95.9090509@gmail.com> <56D04E5F.8070901@citrix.com> <56D42A28.8050701@gmail.com> <56D434FC.8030905@citrix.com> <56D57110.2060406@gmail.com> <56D587D8.6030702@citrix.com> From: =?UTF-8?Q?Gustau_P=c3=a9rez?= X-Enigmail-Draft-Status: N1110 Message-ID: <56D590EA.609@gmail.com> Date: Tue, 1 Mar 2016 13:54:02 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56D587D8.6030702@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 12:54:06 -0000 El 1/03/16 a les 13:15, Roger Pau Monné ha escrit: >> I tried deleting the xen-tools package and then deleting >> /var/db/xen*. After that I rebooted (there was two xenstore processes, >> I'd say one is the kernel side process and the other the user space >> process, whose binary is installed by the xen-tools port). Finally I >> installed the xen-tools. But the error remains. The error can be found >> at [1]. > Hm, this is weird. First things first, you should only have one > xenstored process running in Dom0, so when doing a ps aux you should see: > > root 675 0.0 0.1 23100 2548 - I 12:21 0:00.69 > /usr/local/sbin/xenstored --pid-file... This is the output of `ps axuw|grep xenstored|grep -v grep`: root 4549 0,0 0,1 12772 3124 - I 10:53 0:00,20 /usr/local/sbin/xenstored --pid-file /var/run/xenstored.pid > > But only one of those lines, if you have more than one, something is > clearly wrong. Can you check if you maybe have duplicated init scripts > in /etc/rc.d and /usr/local/etc/rc.d? > > Then, can you paste the output of `xenstore-ls -fp` before creating the > domain that's giving you the error? If you can paste the config file of > the domain that might also help tracking this down. Sure, [1] is the output of the xenstore-ls -fp and [2] is the config of the domain. Also, the block script [3] is so simple that it does nothing. Thank you for your help, Gustau [1] http://pastebin.com/g4W8wTPW [2] http://pastebin.com/Zb1gUjF1 [3] http://pastebin.com/NHqCcCN7