Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 22:40:44 +0800 (CST)
From:      Kuang-che Wu <kcwu@kcwu.homeip.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/53725: fatal trap 12 during boot, sys/dev/pci/pci.c
Message-ID:  <200306251440.h5PEeibv043592@kcwu.homeip.net>
Resent-Message-ID: <200306251450.h5PEo73F076811@freefall.freebsd.org>

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

>Number:         53725
>Category:       kern
>Synopsis:       fatal trap 12 during boot, sys/dev/pci/pci.c
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 25 07:50:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kuang-che Wu
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kcwu.homeip.net 5.1-CURRENT FreeBSD 5.1-CURRENT #4: Mon Jun 23 23:40:40 CST 2003 root@kcwu.homeip.net:/files/usr.obj/usr/src/sys/DESKTOP i386


	
>Description:
I upgrade my world to latest current yesterday.
And it panic on my notebook during boot, around pci messages.

I use GENERIC config for this testing.
And I unset acpi_load, otherwise it will hang during boot.

Here is the panic message.
<cut>
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00fe840
pcib0: <Intel 82443MX host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0


Fatal trap 12: page fault while in kernel mode
fault virtual address     = 0xeb813
fault code                = supervisor read, page not present
instruction pointer       = 0x8:0xc00eb714
stack pointer             = 0x10:0xc06fda3c
frame pointer             = 0x10:0xc06fda3c
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)
kernel: type 12 trap, code=0
Stopped at      0xc00eb714:       cmpb    %cs:0x1(%esi),%bl
db> tr
kernbase(c0d31580,c04a499d,c06fdad4,50d,38) at 0xc00eb714
_end(cb9d08c4,c4f6ec8b,81067540,ffffe5,e67f2400) at 0xc06fdaa8
db>
</cut>

And what I got from gdb:
<cut>
/usr/obj/usr/src/sys/GENERIC# gdb -q -k kernel.debug
(kgdb) l *0xc00eb714
No source file for address 0xc00eb714.
</cut>

After binary search, I found the difference between panic or not
is reversion 1.215 and 1.216 of sys/dev/pci/pci.c.

Kernel panic all from 1.216 to 1.221 of pci.c.

If you want to have more information, please let me know.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



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