From owner-freebsd-current@FreeBSD.ORG Mon Jul 21 01:40:14 2003 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 E346837B401 for ; Mon, 21 Jul 2003 01:40:13 -0700 (PDT) Received: from mbox.cksoft.de (mbox.cksoft.de [62.111.66.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D98D43FA3 for ; Mon, 21 Jul 2003 01:40:12 -0700 (PDT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mbox.cksoft.de (localhost [127.0.0.1]) by mbox.cksoft.de (Postfix) with ESMTP id 007E9161912 for ; Mon, 21 Jul 2003 10:40:10 +0200 (CEST) Received: by mbox.cksoft.de (Postfix, from userid 1060) id CDE2416190B; Mon, 21 Jul 2003 10:40:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mbox.cksoft.de (Postfix) with ESMTP id C3F07161909 for ; Mon, 21 Jul 2003 10:40:09 +0200 (CEST) Date: Mon, 21 Jul 2003 10:40:09 +0200 (CEST) From: "Bjoern A. Zeeb" X-X-Sender: bz@mbox.cksoft.de To: current@freebsd.org Message-ID: <20030721103221.C95793@mbox.cksoft.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020300-cksoft-02bz on mbox.cksoft.de Subject: Fatal trap 12: page fault while in kernel mode 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: Mon, 21 Jul 2003 08:40:14 -0000 Hi, while booting a 5.1REL kernel on that machine is fine, booting HEAD results in... --- cut --- Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-CURRENT #0: Mon Jul 21 08:13:36 UTC 2003 bz@xxxx.xxxxxxx.xx:/u2/src/obj/u2/src/HEAD/src/sys/HAUKI-20030718-01 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0593000. Preloaded elf module "/boot/kernel/linux.ko" at 0xc05930d8. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0593184. Preloaded elf module "/boot/kernel/snd_ich.ko" at 0xc0593230. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 996768803 Hz CPU: Intel Pentium III (996.77-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383fbff real memory = 536870912 (512 MB) avail memory = 515473408 (491 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 10 entries at 0xc00e8790 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci_cfgintr: 0:31 INTD BIOS irq 10 pci_cfgintr: 0:31 INTB BIOS irq 11 agp0: mem 0x48000000-0x4bffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x240 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0395ab4 stack pointer = 0x10:0xc05b5836 frame pointer = 0x10:0xc05b587a 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 trap+0x414: testb $0x10,0x240(%eax) db> x 0xc0395ab4 trap+0x414: 24080f6 db> trace trap(b0018,58c00010,c05b0010,c150050a,c039d82d) at trap+0x414 calltrap() at calltrap+0x5 --- trap 0x9, eip = 0xc00e8a14, esp = 0xc05b58c2, ebp = 0xc05b58f4 --- kernbase(c0381ece,8,c05b5940,0,1) at 0xc00e8a14 (null)(50a,c05b596c,c039d82d,c1507700,c1507500) at 0x80246 db> panic panic: from debugger Debugger("panic") Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer = 0x8:0xc0384734 stack pointer = 0x10:0xc05b55b6 frame pointer = 0x10:0xc05b55c2 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = IOPL = 0 current process = 0 (swapper) Stopped at trap+0x414: testb $0x10,0x240(%eax) db> reset --- cut --- done a gdb -k kernel.debug I get this: --- cut --- (kgdb) l *0xc0395ab4 0xc0395ab4 is in trap (/u2/src/HEAD/src/sys/i386/i386/trap.c:472). 467 break; 468 469 /* FALL THROUGH */ 470 471 case T_SEGNPFLT: /* segment not present fault */ 472 if (PCPU_GET(curpcb)->pcb_flags & PCB_VM86CALL) 473 break; 474 475 /* 476 * Invalid %fs's and %gs's can be created using (kgdb) q --- cut --- Any ideas ? Anything I might try ? PS: though calling panic I do not get crashdumps. -- Greetings Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/