Date: Fri, 2 Oct 1998 14:38:58 +0100 From: Josef Karthauser <joe@pavilion.net> To: Greg Lehey <grog@lemis.com>, freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD3.0-BETA crash! Message-ID: <19981002143858.K17581@pavilion.net> In-Reply-To: <19981002104659.M24146@freebie.lemis.com>; from Greg Lehey on Fri, Oct 02, 1998 at 10:46:59AM %2B0930 References: <19981001193321.C12010@pavilion.net> <19981002104659.M24146@freebie.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 02, 1998 at 10:46:59AM +0930, Greg Lehey wrote: > > > > The crashes were page faults. > > > At the very least, we need a stack trace. Check out > http://www.FreeBSD.org/handbook/handbook294.html for details of how to > do this. Finally :) (needed to recompile gdb in aout format for it to recognise the kernel) Here's the stack trace: # ./gdb GDB is free software and you are welcome to 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. GDB 4.16 (i386-unknown-freebsd), Copyright 1996 Free Software Foundation, Inc. (kgdb) symbol-file /kernel Reading symbols from /kernel...done. (kgdb) exec-file /var/crash/kernel.0 (kgdb) core-file /var/crash/vmcore.0 IdlePTD 2101248 initial pcb at 1dfb38 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x8:0xf018ab82 stack pointer = 0x10:0xf7addf1c frame pointer = 0x10:0xf7addf28 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 = 91 (syslogd) interrupt mask = trap number = 12 panic: page fault syncing disks... 10 10 5 1 done dumping to dev 20401, offset 262144 dump 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 --- #0 boot (howto=256) at ../../kern/kern_shutdown.c:268 268 dumppcb.pcb_cr3 = rcr3(); (kgdb) where #0 boot (howto=256) at ../../kern/kern_shutdown.c:268 #1 0xf0131833 in panic (fmt=0xf01b3cdf "page fault") at ../../kern/kern_shutdown.c:430 #2 0xf01b4925 in trap_fatal (frame=0xf7addee0) at ../../i386/i386/trap.c:879 #3 0xf01b43c0 in trap_pfault (frame=0xf7addee0, usermode=0) at ../../i386/i386/trap.c:772 #4 0xf01b403f in trap (frame={tf_es = 16973840, tf_ds = -2147483632, tf_edi = 0, tf_esi = 0, tf_ebp = -139600088, tf_isp = -139600120, tf_ebx = -139559712, tf_edx = -139559712, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -266818686, tf_cs = 8, tf_eflags = 66178, tf_esp = -139559712, tf_ss = 0}) at ../../i386/i386/trap.c:396 #5 0xf018ab82 in softdep_process_worklist (matchmnt=0xf7ae7ce0) at ../../ufs/ffs/ffs_softdep.c:515 #6 0xf0155b52 in fsync (p=0xf7ac5740, uap=0xf7addf94) at ../../kern/vfs_syscalls.c:2417 #7 0xf01b4bb8 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 134565082, tf_esi = -272641356, tf_ebp = -272641348, tf_isp = -139599900, tf_ebx = 0, tf_edx = 8, tf_ecx = 72, tf_eax = 95, tf_trapno = 7, tf_err = 2, tf_eip = 671646980, tf_cs = 31, tf_eflags = 514, tf_esp = -272642768, tf_ss = 39}) at ../../i386/i386/trap.c:1031 #8 0xf01aadac in Xint0x80_syscall () #9 0x804a5e5 in ?? () #10 0x804a195 in ?? () ---Type <return> to continue, or q <return> to quit--- #11 0x8049dd1 in ?? () #12 0x80495ba in ?? () (kgdb) quit And lo and behold I discover that my ffs_softdep.c is a copy and not a symlink! Oops. (bows head in shame). It did show that gdb perhaps should be worked on though to have both elf and aout support. Panic over. Thanks guys :) Joe -- Josef Karthauser Technical Manager FreeBSD: The power to serve (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981002143858.K17581>