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

            Bug ID: 210721
           Summary: Rerooting to an imported ZFS pool triggers panic
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 171971
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171971&action=edit
system console output

Rerooting to a ZFS dataseft triggers a kernel panic unless the ZFS pool
containing the new root filesystem is exported before rerooting.

Steps to reproduce the problem:

 * Install FreeBSD 11.0-ALPHA5 with ZFS on root.
 * Install FreeBSD 10.0-ALPHA5 again on the same computer in a differen ZFS
pool.
 * Boot into the first installation.
 * Set the vfs.root.mountfrom kernel env var to zfs:$SECOND_POOL_ROOT
 * Reroot with `reboot -r`.
 * Watch the kernel panic.

uname -a output:
FreeBSD sol.local 11.0-ALPHA5 FreeBSD 11.0-ALPHA5 #0 r302293: Thu Jun 30
08:21:36 UTC 2016     [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64

I attached the kernel panic backtrace.

The exporting the second pool before running `reroot -r` prevents the panic
during rerooting.

My test setup is slightly more complicated because the second pool resides on
GELI encrypted partitions, but it shouldn't influence the outcome.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to