[Bug 233622] panic: page not present fault when stopping VIMAGE jail on 12.0-RC2, netgraph

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 3 23:37:10 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233622

Arne Steinkamm <arne at Steinkamm.COM> changed:

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

--- Comment #7 from Arne Steinkamm <arne at 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="vlcx0"
create_args_vlcx0="vlan 18"
ifconfig_em0="up"
ifconfig_vlcx0="inet 10.8.8.110 netmask 255.255.255.0"
[...]
jail_enable="YES"
jail_confwarn="YES"
jail_parallel_start="NO"
jail_list="jv"
jail_reverse_stop="YES"

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

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

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

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

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

Jail /etc/rc.conf:
[...]
ifconfig_ng0_jv="up"
vlans_ng0_jv="jjvcx0"
create_args_jjvcx0="vlan 18"
ifconfig_jjvcx0="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.

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


More information about the freebsd-net mailing list