Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2012 08:43:59 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: general protection fault panic
Message-ID:  <20120326154359.GB14611@troutmask.apl.washington.edu>
In-Reply-To: <201203261059.35229.jhb@freebsd.org>
References:  <20120323222313.GA1331@troutmask.apl.washington.edu> <201203261059.35229.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 26, 2012 at 10:59:35AM -0400, John Baldwin wrote:
> On Friday, March 23, 2012 6:23:13 pm Steve Kargl wrote:
> > Haven't seen one of these in a long time.
> > 
> > %uname -a
> > FreeBSD troutmask.apl.washington.edu 10.0-CURRENT FreeBSD
> > 10.0-CURRENT #0 r233282: Wed Mar 21 12:39:16 PDT 2012
> > kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/SPEW  amd64
> > 
> > Hand transcribed
> > 
> > Fatal trap 9: general protection fault while in kernel mode
> > cpuid = 1; apic id = 01
> > instruction pointer = 0x20:0xffffffff80570b89
> 
> Can you run gdb on your kernel.debug and 'l *' this address?
> 

Unfortunately, I don't have that kernel.debug anymore.  I saw
that alc had committed a few changes, so updated the kernel.
I do have the kernel and kernel.symbol files.  Loading 
kernel.symbol into gdb shows

(gdb) l *0xffffffff80570b89
0xffffffff80570b89 is in strcmp (/usr/src/sys/libkern/strcmp.c:45).
40       */
41      int
42      strcmp(s1, s2)
43              register const char *s1, *s2;
44      {
45              while (*s1 == *s2++)
46                      if (*s1++ == 0)
47                              return (0);
48              return (*(const unsigned char *)s1 - *(const unsigned char *)(s2 - 1));
49      }

Don't know if the above helps or is a red-herring.

I may be able to reproduce the crash.  I give it a try in a
few moments.

-- 
Steve



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