From owner-freebsd-ports@freebsd.org Sat Jul 29 10:56:33 2017 Return-Path: Delivered-To: freebsd-ports@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 3089CDC1534 for ; Sat, 29 Jul 2017 10:56:33 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 15FDA6857E for ; Sat, 29 Jul 2017 10:56:33 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: by mailman.ysv.freebsd.org (Postfix) id 152D2DC1533; Sat, 29 Jul 2017 10:56:33 +0000 (UTC) Delivered-To: ports@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 14B9FDC1532 for ; Sat, 29 Jul 2017 10:56:33 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C225C6857D for ; Sat, 29 Jul 2017 10:56:32 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 53B504505D; Sat, 29 Jul 2017 12:56:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QR5N33Rfbu54; Sat, 29 Jul 2017 12:56:28 +0200 (CEST) Received: from [192.168.11.144] (unknown [192.168.11.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 17CE34505C; Sat, 29 Jul 2017 12:56:27 +0200 (CEST) Subject: Re: Trying to get poudriere to start To: Chris Rees Cc: Miroslav Lachman <000.fbsd@quip.cz>, ports@freebsd.org References: <6ae96e74-48cc-4452-a195-cfdec7c9988d@email.android.com> From: Willem Jan Withagen Message-ID: Date: Sat, 29 Jul 2017 12:56:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <6ae96e74-48cc-4452-a195-cfdec7c9988d@email.android.com> Content-Language: nl Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2017 10:56:33 -0000 Op 28-7-2017 om 22:50 schreef Chris Rees: > > > On 26 Jul 2017 23:59, Willem Jan Withagen wrote: > > Op 27-7-2017 om 00:48 schreef Miroslav Lachman: > > Willem Jan Withagen wrote on 2017/07/26 23:24: > >> Hi, > >> > >> This has been working, but now the jail does not even start.... > >> Any suggestions why the linux module is giving me trouble? > >> > >> > sudo poudriere bulk -vv -j ceph -p local net/ceph > >> kldload: an error occurred while loading module linux. Please > check > >> dmesg(8) for more details. > >> [00:00:00] ====>> Error: Required kernel module 'linux' not found > >> > >> The parent system has linux stuff mounted in /compat/linux/proc > >> > >> Running 12-CURRENT. > > > > Did you tried "kldload linux" in host system? Will kldstat show you > > loaded kernel module "linux"? > > > Right, > I feel rather stupid... Because I do kknow how most of this works. > So indeed this is all at the upper level: > > Looks like a incompatability.... > link_elf_obj: symbol freebsd32_exec_copyin_args undefined > linker_load_file: /boot/kernel/linux.ko - unsupported file type > > But why.... > > [~] wjw@freetest.digiware.nl> ls -asl /boot/kernel/*linux* > 14 -r-xr-xr-x 1 root wheel 13232 Jul 19 12:55 > /boot/kernel/amr_linux.ko* > 47 -r-xr-xr-x 1 root wheel 47480 Jul 19 12:55 > /boot/kernel/geom_linux_lvm.ko* > 14 -r-xr-xr-x 1 root wheel 13312 Jul 19 12:55 > /boot/kernel/ipmi_linux.ko* > 771 -r-xr-xr-x 1 root wheel 659248 Jul 19 12:55 > /boot/kernel/linux.ko* > 643 -r-xr-xr-x 1 root wheel 590328 Jul 19 12:55 > /boot/kernel/linux64.ko* > 56 -r-xr-xr-x 1 root wheel 55936 Jul 19 12:55 > /boot/kernel/linux_common.ko* > 259 -r-xr-xr-x 1 root wheel 186336 Jul 19 12:55 > /boot/kernel/linuxkpi.ko* > 16 -r-xr-xr-x 1 root wheel 15120 Jul 19 12:55 > /boot/kernel/mfi_linux.ko* > 16 -r-xr-xr-x 1 root wheel 15448 Jul 19 12:55 > /boot/kernel/mrsas_linux.ko* > 102 -r-xr-xr-x 1 root wheel 103416 Jul 19 12:55 > /boot/kernel/systrace_linux.ko* > 112 -r-xr-xr-x 1 root wheel 113416 Jul 19 12:55 > /boot/kernel/systrace_linux32.ko* > > [~] wjw@freetest.digiware.nl> file /boot/kernel/linux.ko > /boot/kernel/linux.ko: ELF 64-bit LSB relocatable, x86-64, version 1 > (FreeBSD), not stripped > > Are the jail and host the same version? Nope, But if I check the jail scripts, the modules are loaded outside of the jail in the host. So I would expect that not to mater. --WjW