From owner-freebsd-ports@freebsd.org Sun Jul 30 17:59:38 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 ADAF7DBF6FD for ; Sun, 30 Jul 2017 17:59:38 +0000 (UTC) (envelope-from crees@bayofrum.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 90C747C177 for ; Sun, 30 Jul 2017 17:59:38 +0000 (UTC) (envelope-from crees@bayofrum.net) Received: by mailman.ysv.freebsd.org (Postfix) id 8CF6ADBF6FC; Sun, 30 Jul 2017 17:59:38 +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 8AA32DBF6FB for ; Sun, 30 Jul 2017 17:59:38 +0000 (UTC) (envelope-from crees@bayofrum.net) Received: from mail33c50.megamailservers.eu (mail163c50.megamailservers.eu [91.136.10.173]) (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 AA3427C175 for ; Sun, 30 Jul 2017 17:59:36 +0000 (UTC) (envelope-from crees@bayofrum.net) X-Authenticated-User: bayofrum.uwclub.net Received: from pegasus.bayofrum.net (host-80-41-60-57.as13285.net [80.41.60.57]) (authenticated bits=0) by mail33c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id v6UHxO2v028389; Sun, 30 Jul 2017 17:59:26 +0000 Received: from android-4497c5999ce4d9aa.bayofrum.net (android-4497c5999ce4d9aa.bayofrum.net [192.168.1.115]) by pegasus.bayofrum.net (Postfix) with ESMTPSA id 70C147D189; Sun, 30 Jul 2017 18:59:22 +0100 (BST) Date: Sun, 30 Jul 2017 18:59:18 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: <3acd4049-6f55-449b-9867-b1474700324a@email.android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Trying to get poudriere to start To: Willem Jan Withagen CC: Miroslav Lachman <000.fbsd@quip.cz>, ports@freebsd.org From: Chris Rees Message-ID: <95F080D1-1C83-44A7-8A07-F573AAD48B71@bayofrum.net> X-bayofrum-MailScanner-Information: Please contact the ISP for more information X-bayofrum-MailScanner-ID: 70C147D189.A5265 X-bayofrum-MailScanner: Found to be clean X-bayofrum-MailScanner-From: crees@bayofrum.net X-Spam-Status: No X-CTCH-RefID: str=0001.0A0B0202.597E1E7F.0091, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.2 cv=QuMu5R6d c=1 sm=1 tr=0 a=7/M64gAKhJOjmt2LBPC/Lw==:117 a=7/M64gAKhJOjmt2LBPC/Lw==:17 a=IkcTkHD0fZMA:10 a=G3gG6ho9WtcA:10 a=U8XOjZEp3KQKUNRPpPAA:9 a=QEXdDO2ut3YA:10 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: Sun, 30 Jul 2017 17:59:38 -0000 On 29 July 2017 20:01:42 BST, Willem Jan Withagen wrote: > > >Op 29-7-2017 om 13:34 schreef Chris Rees: >> >> >> On 29 Jul 2017 11:56, Willem Jan Withagen wrote: >> >> >> >> 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] =3D=3D=3D=3D>> 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 >> >> >> Well, depends entirely on which modules are loaded! Are you loading=20 >> host modules? >> > >This is the code I commented out: > >/usr/local/share/poudriere/common.sh: 1780 ># if [ -z "${NOLINUX}" ]; then ># if [ "${arch}" =3D "i386" -o "${arch}" =3D "amd64" ]; then ># needfs=3D"${needfs} linprocfs" ># needkld=3D"${needkld} linuxelf:linux" ># if [ "${arch}" =3D "amd64" ] && \ ># [ ${HOST_OSVERSION} -ge 1002507 ]; then ># needkld=3D"${needkld} linux64elf:linux64" ># fi ># fi ># fi > >Which suggest that it is the host that is loading the modules. > >--WjW Long shot, but it's worth a try... Have you rebooted since installing that = kernel 11 days ago? If you were running an old kernel that'll give the pro= blem you're having. Also, please check that # sysctl kern.bootfile is somewhere in /boot/kernel.=20 Chris --=20 Sent from my Android device with K-9 Mail. Please excuse my brevity. --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.