Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2013 14:44:35 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Davide Italiano <davide@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Early drop to debugger with DEBUG_MEMGUARD
Message-ID:  <20130812214435.GH1570@albert.catwhisker.org>
In-Reply-To: <CACYV=-Fwmvr0c-2rRyfDCJ-G3r_o_qD5tBDn_CGc-sO42Bf=aQ@mail.gmail.com>
References:  <20130812151314.GE1570@albert.catwhisker.org> <CACYV=-FH6KinGXFkgs6hyuegHtSsMyWusUuv9DHqqgyOQ1_mDg@mail.gmail.com> <20130812160154.GF1570@albert.catwhisker.org> <CACYV=-Fwmvr0c-2rRyfDCJ-G3r_o_qD5tBDn_CGc-sO42Bf=aQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--ZPDwMsyfds7q4mrK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 12, 2013 at 09:10:55AM -0700, Davide Italiano wrote:
> ...
> OK, I'm not sure I can make an immediate guess on where's the problem
> now (without access to my main workstation), so I think you need to
> wait tomorrow unless someone beats me to the punch. The best I can say
> is that maybe r254025 is responsible for this. Try to revert and see
> if things work again.
> ....

I tried backing out r254025, but there had been enough time that other
commits had touched the same files.  Ended up backing out r254165,
r254171, r254172, and r254182 as well (which seemed to go OK), but the
result didn't build.

So I just checked out a new src working copy @r254024, built the world
and kernel cleanly, verified that it booted OK, then updated the src
working copy to r254025, built, booted, and ... BANG!

Booting...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #3  r254025M/254025:1000041: Mon Aug 12 14:23:48 PDT 2=
013
    root@freebeast.catwhisker.org:/common/S3/obj/usr/src/sys/MEMGUARD i386
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
WARNING: WITNESS option enabled, expect reduced performance.
panic: Assertion strat =3D=3D M_BESTFIT || strat =3D=3D M_FIRSTFIT failed a=
t /usr/src/sys/kern/subr_vmem.c:1050
cpuid =3D 0
KDB: enter: panic
[ thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x3d: movl    $0,kdb_why
db>=20

So I think it's fair to say that r254025 introduced the problem.

I'll go ahead and use kernel configs without DEBUG_MEMGUARD on head
until this is resolved (or I have an opportunity to test patches
for someone).

The r254025 environment is on a "spare" slice of the boot drive of
the machine, so I can leave it for now.  My more usual (active)
"head" slice is running:

FreeBSD 10.0-CURRENT #1243  r254245M/254246:1000042: Mon Aug 12 05:39:42 PD=
T 2013     root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC=
  i386

I'll be happy to test either or both.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--ZPDwMsyfds7q4mrK
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEYEARECAAYFAlIJV0IACgkQmprOCmdXAD0AuACfaJBP63ZG1uF4N2kTktYVcWS0
zCIAn3VGa09LjXNcFhWtdS5XhClbeXwa
=NgYM
-----END PGP SIGNATURE-----

--ZPDwMsyfds7q4mrK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130812214435.GH1570>