Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 23:37:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 233622] panic: page not present fault when stopping VIMAGE jail on 12.0-RC2, netgraph
Message-ID:  <bug-233622-7501-qMs1QvzzQg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233622-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233622-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233622

Arne Steinkamm <arne@Steinkamm.COM> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arne@Steinkamm.COM

--- Comment #7 from Arne Steinkamm <arne@Steinkamm.COM> ---
I can reproduce this panic with 12.0-RELEASE-p7 r350232 and a pretty forward
out-of-the-handbook Jail setup.

This should be enough to get a nasty panic:

Host:
/etc/rc.conf:
[...]
vlans_em0=3D"vlcx0"
create_args_vlcx0=3D"vlan 18"
ifconfig_em0=3D"up"
ifconfig_vlcx0=3D"inet 10.8.8.110 netmask 255.255.255.0"
[...]
jail_enable=3D"YES"
jail_confwarn=3D"YES"
jail_parallel_start=3D"NO"
jail_list=3D"jv"
jail_reverse_stop=3D"YES"

---------------------------------------------------------------------

/etc/jail.conf:
exec.start =3D "/bin/sh /etc/rc";
exec.stop =3D "/bin/sh /etc/rc.shutdown";
exec.clean;

jv {
        host.hostname =3D "julesverne.stk.cx";
        path =3D "/var/local/prison/jv";
        exec.clean;
        exec.system_user =3D "root";
        exec.jail_user =3D "root";
        vnet;
        exec.clean;
        vnet.interface =3D "ng0_jv";
        exec.system_user =3D "root";
        exec.jail_user =3D "root";
        exec.prestart +=3D "/l/om/sbin/jng bridge jv em0";
        exec.poststop +=3D "/l/om/sbin/jng shutdown jv";

        # Standard stuff
        exec.consolelog =3D "/var/local/log/jails/jv_console.log";
        mount.devfs;          #mount devfs
        allow.raw_sockets;    #allow ping-pong
        devfs_ruleset=3D"5";    #devfs ruleset for this jail
        mount.devfs;
}

--------------------------------------------------------------------

Jail /etc/rc.conf:
[...]
ifconfig_ng0_jv=3D"up"
vlans_ng0_jv=3D"jjvcx0"
create_args_jjvcx0=3D"vlan 18"
ifconfig_jjvcx0=3D"inet 10.8.8.190 netmask 255.255.255.0"
[...]


/l/om/sbin/jng is a copy of /usr/src/share/examples/jails/jng

This should be everything you need to get exact the panic described in this=
 bug
report.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233622-7501-qMs1QvzzQg>