From owner-freebsd-stable@FreeBSD.ORG  Wed Dec 14 12:28:28 2005
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
X-Original-To: freebsd-stable@freebsd.org
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2CD4416A41F
	for <freebsd-stable@freebsd.org>; Wed, 14 Dec 2005 12:28:28 +0000 (GMT)
	(envelope-from fredthetree@gmail.com)
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.198])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2F54A43D62
	for <freebsd-stable@freebsd.org>; Wed, 14 Dec 2005 12:28:26 +0000 (GMT)
	(envelope-from fredthetree@gmail.com)
Received: by wproxy.gmail.com with SMTP id i5so384718wra
	for <freebsd-stable@freebsd.org>; Wed, 14 Dec 2005 04:28:26 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
	b=fwKb/Hc+v7IT3ydk1GxxuEL6R5mDxzQsJ9QjEslVxomPofJ+7wXRSYeaaTaCCeiZjfwWL9O5eOjqjZtDPN7j0LRyHRGkeLLM1rfxN/hnmF3twn/R8QcnG83ujmIm2M/j5sEh8tw+/gcvykYkq81pXMeUV4acAe6DGokkAlJr/To=
Received: by 10.54.151.9 with SMTP id y9mr612045wrd;
	Wed, 14 Dec 2005 04:28:26 -0800 (PST)
Received: by 10.54.146.19 with HTTP; Wed, 14 Dec 2005 04:28:26 -0800 (PST)
Message-ID: <cb6387b50512140428i7321dcf2ua8115c1c86b2b332@mail.gmail.com>
Date: Wed, 14 Dec 2005 08:28:26 -0400
From: fredthetree <fredthetree@gmail.com>
To: Peter Jeremy <PeterJeremy@optushome.com.au>, freebsd-stable@freebsd.org
In-Reply-To: <20051213182742.GG77268@cirb503493.alcatel.com.au>
MIME-Version: 1.0
References: <439DE88B.1090407@asd.aplus.net> <op.s1owjw158527sy@outgoing.local>
	<439E0B23.3060304@asd.aplus.net>
	<cb6387b50512121821g3e0c9b85s1e925ba158036f89@mail.gmail.com>
	<20051213025028.GC77268@cirb503493.alcatel.com.au>
	<cb6387b50512130943o4454c029r39dca3375599feb4@mail.gmail.com>
	<20051213182742.GG77268@cirb503493.alcatel.com.au>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: 
Subject: Re: 6.0 random freezes
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Dec 2005 12:28:28 -0000

i've only used the generic 6.0 kernel

# kgdb kernel.debug /var/crash/vmcore.1
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you ar=
e
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address   =3D 0x10
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x20:0xc0a7cf08
stack pointer           =3D 0x28:0xd56a694c
frame pointer           =3D 0x28:0x0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 29 (swi1: net)
trap number             =3D 12
panic: page fault
Uptime: 1d23h40m51s
Dumping 511 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335
319 303 287 271 255 239 223 207 (CTRL-C to abort)  (CTRL-C to abort)
(CTRL-C to abort)  191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc0638202 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3=
99
#2  0xc0638498 in panic (fmt=3D0xc084e5a2 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc0807c30 in trap_fatal (frame=3D0xd56a690c, eva=3D16)
    at /usr/src/sys/i386/i386/trap.c:831
#4  0xc080799b in trap_pfault (frame=3D0xd56a690c, usermode=3D0, eva=3D16)
    at /usr/src/sys/i386/i386/trap.c:742
#5  0xc08075d9 in trap (frame=3D
      {tf_fs =3D -1038680056, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D 0, tf_=
esi =3D
-646886620, tf_ebp =3D 0, tf_isp =3D -714446536, tf_ebx =3D -646862464, tf_=
edx =3D
791735, tf_ecx =3D -1073475471, tf_eax =3D 1, tf_trapno =3D 12, tf_err =3D =
0, tf_eip
=3D -1062744312, tf_cs =3D 32, tf_eflags =3D 66050, tf_esp =3D 16798208, tf=
_ss =3D 0})
    at /usr/src/sys/i386/i386/trap.c:432
#6  0xc07f6dca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0a7cf08 in ?? ()


On 12/13/05, Peter Jeremy <PeterJeremy@optushome.com.au> wrote:
>
> On Tue, 2005-Dec-13 13:43:13 -0400, fredthetree wrote:
> >[/var/crash/vmcore.1]
> >----------------------------------
> >Unread portion of the kernel message buffer:
> >
> >
> >Fatal trap 12: page fault while in kernel mode
> >fault virtual address   =3D 0x10
>
> That's a NULL pointer de-reference - it Shouldn't Happen(TM).  Can you
> get a backtrace from kgdb ("where")?
>
> >[vmcore.0]
> >----------------------------------
> >Unread portion of the kernel message buffer:
> >=C3w=C40=BF=C10=C2=C1"=C0=ED=C1=C0J=F0=C2=C4=FC=C23=C4=D3=C2=C0=ED=C1=C0=
=F3=C2D=FE=C1=C0=F3=C2=F0C=C2=C0=ED=C11=C4
> >=C3=F0=DA=C3=C0=ED=C1=B4=C2=C4B=F0=C2=B0=C4=C1=C0=ED=C1"=C1DH=F0=C2=C0=
=C4=C1=C0=ED=C1=C0=C4=C4=B9=C2=D0=C4=C1=C0=ED=C1@=FE=C1j.=C3@
> >----------------------------------
>
> The most likely problem is that your vmcore file doesn't match your
> kernel.
> Are you running kgdb with the same kernel as was running when the system
> crashed?  (If you don't have that kernel handy, you might as well delete
> vmcore.0).
>
> --
> Peter Jeremy
>