Date: Fri, 05 Sep 2014 14:08:07 -0700 From: Peter Wemm <peter@wemm.org> To: freebsd-current@freebsd.org Cc: Craig Rodrigues <rodrigc@freebsd.org>, Brooks Davis <brooks@freebsd.org> Subject: Re: ddb_enable="YES" by default? Message-ID: <1690616.oBzWaFvmny@overcee.wemm.org> In-Reply-To: <CAG=rPVd_ATBK3DC2vk6v57vH9yrLG%2BZZ5v57D-k9XAmwBc8stQ@mail.gmail.com> References: <CAG=rPVfo5-d3rLsgUwAGvvWYiW-0wNbcstfowiJVfBTioB7fQg@mail.gmail.com> <201409051054.11446.jhb@freebsd.org> <CAG=rPVd_ATBK3DC2vk6v57vH9yrLG%2BZZ5v57D-k9XAmwBc8stQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1586536.letjnL5TKF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Friday 05 September 2014 13:51:24 Craig Rodrigues wrote: > On Fri, Sep 5, 2014 at 7:54 AM, John Baldwin <jhb@freebsd.org> wrote:= > > Probably at least 50% of the time when I work with a user on a bug = report, > > I ask them to go into kgdb and run specific commands to extract mor= e > > detailed info (print some struct, etc.). >=20 > Sure, I understand, but you are not working with every user who > encounters a kernel panic in FreeBSD. For the average or casual > FreeBSD user, such as desktop > users of FreeBSD or PC-BSD, wouldn't it be better > to have ddb_enable=3D"YES" be the default in FreeBSD? The ddb script= > there does a fairly reasonable > job of gathering some useful info which can be analyzed later, and > then rebooting the box. >=20 > For more expert users, or people developing products, they can set > ddb_enable=3D"NO" > and do more advanced debugging. Or hook into /etc/rc.d/ddb and defin= e > a different > ddb script which doesn't do textdumps on kernel panic. I think what John was saying was at that point it's too late. The loss= of the=20 crash dump means the one shot at getting more information is gone. For reproducable crashes, yes, an end user could just flip the bit. Bu= t for a=20 one-off, it's too late. =2D-=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI= 6FJV UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246 --nextPart1586536.letjnL5TKF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABAgAGBQJUCiZBAAoJEDXWlwnsgJ4EHigH+wQnxEa89YoYfZO/3WCiYBZ0 vcILIOJHkZ8j5MKzM/9SMUujsDJVDO/xVf4nlrzW8Z5oCWu6qulhq3P+hJXL7h54 wvpbFcxPKETk+rV5rggHQJTCCgpOnGMSadxG50MXKvOKBwkoc5S7SE+HA6XZblUa byYtDO8vj4M2vlcgEkUIIgTNRfrEzXLa9cuJCHpQycIzATSUg6q/Py8n9qkcTP3i IEGWCZorXwxKSewYmfRkW0y7R9MovOBX8VBiThNi/uf3XcEIVVkorJZOrxsaFl6r qB3mOkoIwnformBG+Ct7H4iPgUmZg3BD1YBGVHJJ1BRX5n6RMzjjpK6l0Iq4sIs= =C4Ls -----END PGP SIGNATURE----- --nextPart1586536.letjnL5TKF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1690616.oBzWaFvmny>