Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 12:56:26 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Chris Rees <crees@bayofrum.net>
Cc:        Miroslav Lachman <000.fbsd@quip.cz>, ports@freebsd.org
Subject:   Re: Trying to get poudriere to start
Message-ID:  <b6c25095-65cd-e1a2-15e9-3e0a650d13c1@digiware.nl>
In-Reply-To: <6ae96e74-48cc-4452-a195-cfdec7c9988d@email.android.com>
References:  <6ae96e74-48cc-4452-a195-cfdec7c9988d@email.android.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Op 28-7-2017 om 22:50 schreef Chris Rees:
>
>
> On 26 Jul 2017 23:59, Willem Jan Withagen <wjw@digiware.nl> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b6c25095-65cd-e1a2-15e9-3e0a650d13c1>