Re: Fatal trap 12: page fault while in kernel mode with samba

From: Hilko Meyer <Hilko.Meyer_at_gmx.de>
Date: Fri, 26 Mar 2004 22:15:50 +0100
Hilko Meyer schrieb:
>Doug White schrieb:
>>On Wed, 24 Mar 2004, Hilko Meyer wrote:
>>
>>Could you try it without CPU_WT_ALLOC in your kernel? Thats not a widely
>>used option.
>
>I will try it tomorrow.

There's no difference. The system chrashed without CPU_WT_ALLOC too and the
backtrace is similar to one I postet before. The pointer adresses are
different: http://www.hochpass.uni-hannover.de/~hilti/debug

Then I tried the GENERIC-kernel. And it also crashed, if I access the CDROM
via samba. I've compiled it with
makeoptions     DEBUG=-g
but the gdb-output looks weird:

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-unknown-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0632f10
stack pointer           = 0x10:0xcda78c8c
frame pointer           = 0x10:0xcda78cec
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         = 609 (smbd)
trap number             = 12
panic: page fault
cpuid = 0; 

syncing disks, buffers remaining... 852 852 848 848 848 848 848 848 848 848
848 848 848 848 848 848 848 848 848 848 848 848 
giving up on 723 buffers
Uptime: 1m22s
Dumping 128 MB
 16 32 48 64 80 96 112
---
Reading symbols from /boot/kernel/logo_saver.ko...done.
Loaded symbols for /boot/kernel/logo_saver.ko
Reading symbols from
/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/linux/linux.ko.debug...done.
Loaded symbols for
/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/linux/linux.ko.debug
#0  0xc05e8190 in doadump ()
(kgdb) list *0xc0632f10
No source file for address 0xc0632f10.
(kgdb) backtrace 
#0  0xc05e8190 in doadump ()
#1  0xc05e8653 in boot ()
#2  0xc05e896b in panic ()
#3  0xc0756591 in trap_fatal ()
#4  0xc07562cd in trap_pfault ()
#5  0xc0755f65 in trap ()
#6  0xc07458b8 in calltrap ()
#7  0xc075682f in syscall ()
#8  0xc074590d in Xint0x80_syscall ()
---Can't read userspace from dump, or kernel process---

(kgdb) quit


bye,
Hilko
Received on Fri Mar 26 2004 - 12:15:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC