From owner-freebsd-hackers@freebsd.org Thu Jun 16 15:31:42 2016 Return-Path: Delivered-To: freebsd-hackers@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 5082BA731E6 for ; Thu, 16 Jun 2016 15:31:42 +0000 (UTC) (envelope-from nkoch@demig.de) Received: from demig.de (demig.de [81.169.228.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Parallels Panel", Issuer "Parallels Panel" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F39812A9 for ; Thu, 16 Jun 2016 15:31:41 +0000 (UTC) (envelope-from nkoch@demig.de) Received: (qmail 12542 invoked from network); 16 Jun 2016 17:23:57 +0200 Received: from b2b-130-180-89-86.unitymedia.biz (HELO firewall.demig.intra) (130.180.89.86) by demig.de with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 16 Jun 2016 17:23:57 +0200 Received: from SRV-FS-2.Demig.intra (nameserver.demig.intra [192.168.148.248]) by firewall.demig.intra (8.14.4/8.14.4) with ESMTP id u5GFNqxd056498 for ; Thu, 16 Jun 2016 17:23:52 +0200 (CEST) (envelope-from nkoch@demig.de) Received: from [192.168.148.223] (192.168.148.223) by SRV-FS-2 (192.168.148.248) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 16 Jun 2016 17:23:47 +0200 To: From: Norbert Koch Subject: gpart inside jails Message-ID: <94b54de6-0817-3171-7715-4610d7e985a4@demig.de> Date: Thu, 16 Jun 2016 17:23:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 192.168.148.235 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 15:31:42 -0000 Hello, for creating freebsd boot flash media for embedded devices I use mdconfig/gpart. Recently I put my 32-bit build machines into a jail under a 64-bit machine. This is my configuration: Host: FreeBSD-10.3/amd64 Jail1: FreeBSD-9.1/i386 Jail2: FreeBSD-10.3/i386 Jail3: FreeBSD-10.3/amd64 If I jexec gpart status I get this: Jail1: segmentation fault Jail2: segmentation fault Jail3: correct result as seen under host system So, this is obviously a 32/64 bit issue. Any idea? Thank you, Norbert Koch