Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2008 20:47:03 +0100
From:      john@basicnets.co.uk
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Fresh 7.0 Install: Fatal Trap 12 panic when put under load
Message-ID:  <20080715204703.1xshles8aogwksw4@mail.basicnets.co.uk>
In-Reply-To: <20080715193321.GX17123@deviant.kiev.zoral.com.ua>
References:  <854CADB9D95147CAB10BC35887A8E5DC@emea.hubersuhner.net> <20080715102135.GA18082@eos.sc1.parodius.com> <B23D0848E1304F719FEBDC3EDC54B914@emea.hubersuhner.net> <487C8486.1040904@FreeBSD.org> <20080715201915.8m5j3k1lw00k4gck@mail.basicnets.co.uk> <20080715193321.GX17123@deviant.kiev.zoral.com.ua>

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


   >> #9=C2=A0 0xffffffff8067d3ee in uma_zalloc_arg (zone=3D0xffffff00bfed07=
e0,
>> udata=3D0x0,
>> flags=3D-256) at /usr/src/sys/vm/uma_core.c:1835
> From the frame #9, please do
> p *zone
> I am esp. interested in the value of the uz_ctor member.
>
> It seems that it becomes corrupted, it value should be 0, as this seems
> to be ffs inode zone.=C2=A0 I suspect that gdb would show 0x6400000000 ins=
tead.

   I am afraid that you may need to spell out each step for me :-(

   (kgdb) p *zone
No symbol "zone" in current context.
(kgdb) list *0xffffffff8067d3ee
0xffffffff8067d3ee is in uma_zalloc_arg (/usr/src/sys/vm/uma_core.c:1835).
1830=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("uma_zalloc: Bucket pointer mangled=
."));
1831=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 if (zone->uz_ctor !=3D NULL) {
1839=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (zone->uz=
_ctor(item, =20
zone->uz_keg->uk_size,

   Is this that you were looking for?

   John

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




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