Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2016 16:04:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 206005] KDB should give a more helpful error message for encrypted swap
Message-ID:  <bug-206005-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 206005
           Summary: KDB should give a more helpful error message for
                    encrypted swap
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: tony@git-pull.com

On two systems running 11-CURRENT, I configured encrypted swap (both manual=
ly
through shell and through the installer front end).  Both dumps I switched =
on
the setting for dumping to dev, which added:

dumpdev=3D"AUTO"

to /etc/rc.conf as expected.

However, when panics occur and dropped into KDB, 'dump' would not work:

   Cannot dump: no dump device specified

I ended up going around in circles for a while, until eventually I was
explained it worked by dumping to swap, and I volunteered that my swap was =
an
eli drive.

So since then, I reconfigured my system to use a swap drive without eli and=
 now
dump works.

I think KDB should give a more helpful message for encrypted swaps. KDB doe=
sn't
support dumping to encrypted swap. This confused me for quite a while, since
there isn't much in handbooks / forums / lists about this shortcoming.

--=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-206005-8>