From owner-freebsd-jail@freebsd.org Sun Oct 30 14:57:44 2016 Return-Path: Delivered-To: freebsd-jail@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 43D93C25BDF for ; Sun, 30 Oct 2016 14:57:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 1B0501CE7 for ; Sun, 30 Oct 2016 14:57:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9UEvhJS072711 for ; Sun, 30 Oct 2016 14:57:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-jail@FreeBSD.org Subject: [Bug 213896] when starting vimage jails the kernel crashes Date: Sun, 30 Oct 2016 14:57:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: qjail1@a1poweruser.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2016 14:57:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213896 Joe Barbish changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |qjail1@a1poweruser.com --- Comment #1 from Joe Barbish --- I am running FreeBSD 11-RELEASE-p1 installed from scratch using cdrom.iso. I have tested ipfw on the host and in a vimage jail with out any problems. = My custom kernel only has vimage compiled in. The host is running ipfw without usimg DUMMYNET, IPDIVERT or IPFIREWALL_NAT. The vimage jail is also running ipfw without using those same functions. The only problem with ipfw is the vimage jails ipfw log messages get intermingled into the host's ipfw log file. I also tested with=20 options VIMAGE options IPFIREWALL options IPFIREWALL_NAT # ipfw kernel nat support options IPDIVERT # divert sockets options LIBALIAS # required by IPFIREWALL_NAT compiled into the kernel and the host system booted fine with ipfw on the h= ost and the vimage jail worked the same as NOT compiling in ipfw. Did not test = ipfw using using those "functions listed above" on the host or vimage jail.=20 The only reason to compile ipfw into the kernel is if the host is not runni= ng ipfw. A vimage jail does not kldload modules on first reference like the ho= st does so you have to compile them into the kernel. An alternative is to configure your vimage jail's jail.conf with a exec.prestart option to kldlo= ad the ipfw modules used by the vimage jail.=20 I didn't get any error messages from installkernel task during the vimage kernel compile. My guess is nospam@ofloo.net has problem with his upgrade to 11.0 or had existing kernel compile problems before the upgrade which left = his updated system messed up.=20 Suggest a install of 11.0 to a blank disk will correct this problem. --=20 You are receiving this mail because: You are the assignee for the bug.=