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.

I was able to capture the whole error, there are 2 instruction pointers that I checked:

FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfec08000
 cpu1 (AP):  apic id: 12, version: 0x00040011, at 0xfec08000
 io0 (APIC): apic id: 13, version: 0x00170011, at 0xfec00000


Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address   = 0xcf8f9fec
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc032188c
stack pointer           = 0x10:0xc04c7bbc
frame pointer           = 0x10:0xc04c7bbc
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
cpuid = 0; lapic.id = 00000000
Uptime: 1s
WARNING: Driver mistake: make_dev(geom.ctl) called before SI_SUB_DRIVERS

(kgdb) l *0xc032188c
0xc032188c is in cpu_thread_setup (../../../i386/i386/vm_machdep.c:312).
307     {
308
309             td->td_pcb =
310                  (struct pcb *)(td->td_kstack + KSTACK_PAGES * PAGE_SIZE) - 1;
311             td->td_frame = (struct trapframe *)((caddr_t)td->td_pcb - 16) - 1;
312             td->td_pcb->pcb_ext = NULL; 
313     }
314
315     /*
316      * Initialize machine state (pcb and trap frame) for a new thread about to


Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address   = 0x38
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01f813e
stack pointer           = 0x10:0xc04c776c
frame pointer           = 0x10:0xc04c776c
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
cpuid = 0; lapic.id = 00000000
Uptime: 1s

(kgdb) l *0xc01f813e
0xc01f813e 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

Manfred



==================================
||      [EMAIL PROTECTED]           ||
||      Ph. (415) 681-6235      ||
================================== 

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to