From owner-freebsd-current@FreeBSD.ORG Fri Mar 26 13:15:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 449DA16A4CF for ; Fri, 26 Mar 2004 13:15:40 -0800 (PST) Received: from desws060.mediaways.net (smtp.compuserve.de [62.52.27.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 5C00243D46 for ; Fri, 26 Mar 2004 13:15:39 -0800 (PST) (envelope-from Hilko.Meyer@gmx.de) Received: (qmail 4919 invoked by uid 4218); 26 Mar 2004 21:15:36 -0000 Received: from dialin-145-254-152-004.arcor-ip.net (145.254.152.4) by relay3a.cso.mediaways.net with SMTP; 26 Mar 2004 21:15:36 -0000 From: Hilko Meyer To: Doug White Date: Fri, 26 Mar 2004 22:15:50 +0100 Message-ID: References: <20040325111957.U49224@carver.gumbysoft.com> <3ll6601p9n67rm3hk9mvutc8qjidatjp9j@smtp.compuserve.de> In-Reply-To: <3ll6601p9n67rm3hk9mvutc8qjidatjp9j@smtp.compuserve.de> X-Mailer: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable cc: current@freebsd.org Subject: Re: Fatal trap 12: page fault while in kernel mode with samba X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 21:15:40 -0000 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