Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2004 22:15:50 +0100
From:      Hilko Meyer <Hilko.Meyer@gmx.de>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        current@freebsd.org
Subject:   Re: Fatal trap 12: page fault while in kernel mode with samba
Message-ID:  <f55960147gk3qka92er1iflc0s20vvrlm3@smtp.compuserve.de>
In-Reply-To: <3ll6601p9n67rm3hk9mvutc8qjidatjp9j@smtp.compuserve.de>
References:  <hme360h63t43dr1j51nhcl6s89n51mrh47@4ax.com> <20040325111957.U49224@carver.gumbysoft.com> <3ll6601p9n67rm3hk9mvutc8qjidatjp9j@smtp.compuserve.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D-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:
---
=46atal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address   =3D 0x8
fault code              =3D supervisor read, page not present
instruction pointer     =3D 0x8:0xc0632f10
stack pointer           =3D 0x10:0xcda78c8c
frame pointer           =3D 0x10:0xcda78cec
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 609 (smbd)
trap number             =3D 12
panic: page fault
cpuid =3D 0;=20

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=20
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.d=
ebug...done.
Loaded symbols for
/usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/linux/linux.ko.d=
ebug
#0  0xc05e8190 in doadump ()
(kgdb) list *0xc0632f10
No source file for address 0xc0632f10.
(kgdb) backtrace=20
#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



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