Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 09:33:49 -0700
From:      Manfred Antar <null@pozo.com>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Current kernel Fatal Trap 12
Message-ID:  <5.2.1.1.2.20030620093216.00a7f918@pozo.com>
In-Reply-To: <Pine.NEB.3.96L.1030620122006.23475A-100000@fledge.watson.o rg>
References:  <5.2.1.1.2.20030620085142.00a72ae8@pozo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:21 PM 6/20/2003 -0400, Robert Watson wrote:
>If you have a version of the kernel in question on disk and with debugging
>symbols, could you attach gdb -k to it and send us the results of:
>
>  l *0xc01f6212
>
>That will provide a bit more information about where the panic is
>occuring.  This is likely a NULL pointer dereference.
>
>Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
>robert@fledge.watson.org      Network Associates Laboratories
>
>On Fri, 20 Jun 2003, Manfred Antar wrote:
>
>> For the past week i have not been able to boot with current kernel.
>> The last kernel that works is from Sat June 14th.
>> When I build and try and boot a current kernel I get:
>> 
>> Fatal trap 12: page fault while in kernel mode
>> fault virtual address   = 0x38
>> fault code              = supervisor read, page not present
>> instruction pointer     = 0x8:0xc01f6212
>> stack pointer           = 0x10:0xc04b1cec
>> frame pointer           = 0x10:0xc04b1cec
>> code segment            = base 0x0, limit 0xfffff, type 0x1b
>>                         = DPL 0, pres 1, def32 1, gran 1
>> processor eflags        = interrupt enabled, resume, IOPL = 0
>> current process         = 0 (swapper)
>> trap number             = 12
>> panic: page fault
>> Uptime: 1s
>> 
>> This continues to scroll by many times and I can't get to the debugger.
>> The machine is i386 SMP dual pentium-pro overdrive processors.
>> Same thing happens with kernel configured as UNIprocessor.
>> 

Here it is:

(src)4998}cd /sys/i386/compile/pro2/
(pro2)4999}gdb -k kernel.debug 
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
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-undermydesk-freebsd"...
(kgdb)  l *0xc01f6212
0xc01f6212 is in device_shutdown (../../../kern/subr_bus.c:1499).
1494    }
1495
1496    int
1497    device_shutdown(device_t dev)
1498    {
1499            if (dev->state < DS_ATTACHED)
1500                    return (0);
1501            return (DEVICE_SHUTDOWN(dev));
1502    }
1503
(kgdb) 


==================================
||      null@pozo.com           ||
||      Ph. (415) 681-6235      ||
================================== 



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