* Andrey Lakhno <[EMAIL PROTECTED]> [001222 00:55] wrote:
> Hi Alfred!
> 
> On Wed, 13 Dec 2000, Alfred Perlstein wrote:
> 
> > * Andrey Lakhno <[EMAIL PROTECTED]> [001213 02:31] wrote:
> > > Hi !
> > > 
> > > I have FreeBSD 4.x-STABLE box.
> > > Hardware configuration: motherboard Intel D815EEA (i815 chipset) with
> > > integrated Intel EtherExpress Pro/100+, CPU Celeron 500MHz, RAM 128Mb,
> > > HDD IDE Seagate Baracuda ST320420A.
> > > 
> > > It randomly crashes. Kernel panics with following diagnostics:
> > [snip]
> > 
> > Please see:
> > http://www.freebsd.org/handbook/kerneldebug.html
> 
> Ok. I'v built a kernel with debug turning on. While crashing the kernel created
> crash dumps which i tried to gdb.
> 
> Several files attached to this letter.
> debug.log - output from gdb
> 
> After removing SOFTUPDATES from kernel configuration system keeps crashing.
> dmesg.log - dmesg output
> kernel.conf - kernel configuration
> debug1.log - gdb output after removing SOFTUPDATES
> 
> -- 
> Best regards,
>  Andrey

> GNU gdb 4.18
> Copyright 1998 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".
> (kgdb) symbol-file kernel.debug
> Reading symbols from kernel.debug...done.
> (kgdb) exec-file /var/crash/kernel.0
> (kgdb) core-file /var/crash/vmcore.0
> IdlePTD 2703360
> initial pcb at 21fbe0
> panicstr: page fault
> panic messages:
> ---
> Fatal trap 10: trace trap while in kernel mode
> instruction pointer   = 0x8:0xc01d2cd6
> stack pointer         = 0x10:0xc020593c
> frame pointer         = 0x10:0x0
> code segment          = base 0x0, limit 0xfffff, type 0x1b
>                       = DPL 0, pres 1, def32 1, gran 1
> processor eflags      = interrupt enabled, IOPL = 0
> current process               = Idle
> interrupt mask                = none
> trap number           = 10
> panic: trace trap
> 
> syncing disks... 
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x30
> fault code            = supervisor read, page not present
> instruction pointer   = 0x8:0xc018a120
> stack pointer         = 0x10:0xc0205790
> frame pointer         = 0x10:0xc0205794
> 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               = Idle
> interrupt mask                = bio 
> trap number           = 12
> panic: page fault
> Uptime: 54m42s
> 
> dumping to dev #ad/0x20001, offset 794321
> dump ata0: resetting devices .. done
> 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 
> ---
> #0  dumpsys () at ../../kern/kern_shutdown.c:469
> 469           if (dumping++) {
> (kgdb) backtrace
> #0  dumpsys () at ../../kern/kern_shutdown.c:469
> #1  0xc012debb in boot (howto=260) at ../../kern/kern_shutdown.c:309
> #2  0xc012e238 in poweroff_wait (junk=0xc01fdbaf, howto=0) at 
>../../kern/kern_shutdown.c:556
> #3  0xc01d3be9 in trap_fatal (frame=0xc0205750, eva=48) at ../../i386/i386/trap.c:951
> #4  0xc01d38c1 in trap_pfault (frame=0xc0205750, usermode=0, eva=48) at 
>../../i386/i386/trap.c:844
> #5  0xc01d347b in trap (frame={tf_fs = -1071644656, tf_es = -1072562160, tf_ds = 
>-1057095664, 
>       tf_edi = 0, tf_esi = 0, tf_ebp = -1071622252, tf_isp = -1071622276, tf_ebx = 
>-1071568452, 
>       tf_edx = 6864896, tf_ecx = -1057959923, tf_eax = 0, tf_trapno = 12, tf_err = 
>0, 
>       tf_eip = -1072127712, tf_cs = 8, tf_eflags = 66054, tf_esp = -1015089312, 
>       tf_ss = -1071622228}) at ../../i386/i386/trap.c:443
> #6  0xc018a120 in acquire_lock (lk=0xc02129bc) at ../../ufs/ffs/ffs_softdep.c:267
> #7  0xc018f298 in softdep_count_dependencies (bp=0xc37ef760, wantcount=0)
>     at ../../ufs/ffs/ffs_softdep.c:4525
> #8  0xc0192444 in ffs_fsync (ap=0xc0205808) at ../../ufs/ffs/ffs_vnops.c:168
> 
> 
>     at vnode_if.h:537
> #10 0xc015b7b3 in sync (p=0xc0232260, uap=0x0) at ../../kern/vfs_syscalls.c:545
> #11 0xc012dc96 in boot (howto=256) at ../../kern/kern_shutdown.c:233
> #12 0xc012e238 in poweroff_wait (junk=0xc01fdbba, howto=0) at 
>../../kern/kern_shutdown.c:556
> #13 0xc01d3be9 in trap_fatal (frame=0xc02058fc, eva=0) at ../../i386/i386/trap.c:951
> #14 0xc01d35cb in trap (frame={tf_fs = 16, tf_es = -1071513584, tf_ds = -65520, 
>tf_edi = -1, 
>       tf_esi = 0, tf_ebp = 0, tf_isp = -1071621848, tf_ebx = 0, tf_edx = 23088, 
>       tf_ecx = -1071447498, tf_eax = 0, tf_trapno = 10, tf_err = 0, tf_eip = 
>-1071829802, 
>       tf_cs = 8, tf_eflags = 582, tf_esp = -1071829807, tf_ss = 14}) at 
>../../i386/i386/trap.c:613
> (kgdb) where
> #0  dumpsys () at ../../kern/kern_shutdown.c:469
> #1  0xc012debb in boot (howto=260) at ../../kern/kern_shutdown.c:309
> #2  0xc012e238 in poweroff_wait (junk=0xc01fdbaf, howto=0) at 
>../../kern/kern_shutdown.c:556
> #3  0xc01d3be9 in trap_fatal (frame=0xc0205750, eva=48) at ../../i386/i386/trap.c:951
> #4  0xc01d38c1 in trap_pfault (frame=0xc0205750, usermode=0, eva=48) at 
>../../i386/i386/trap.c:844
> #5  0xc01d347b in trap (frame={tf_fs = -1071644656, tf_es = -1072562160, tf_ds = 
>-1057095664, 
>       tf_edi = 0, tf_esi = 0, tf_ebp = -1071622252, tf_isp = -1071622276, tf_ebx = 
>-1071568452, 
>       tf_edx = 6864896, tf_ecx = -1057959923, tf_eax = 0, tf_trapno = 12, tf_err = 
>0, 
>       tf_eip = -1072127712, tf_cs = 8, tf_eflags = 66054, tf_esp = -1015089312, 
>       tf_ss = -1071622228}) at ../../i386/i386/trap.c:443
> #6  0xc018a120 in acquire_lock (lk=0xc02129bc) at ../../ufs/ffs/ffs_softdep.c:267
> #7  0xc018f298 in softdep_count_dependencies (bp=0xc37ef760, wantcount=0)
>     at ../../ufs/ffs/ffs_softdep.c:4525
> #8  0xc0192444 in ffs_fsync (ap=0xc0205808) at ../../ufs/ffs/ffs_vnops.c:168
> #9  0xc0190fa7 in ffs_sync (mp=0xc0eff800, waitfor=2, cred=0xc072c680, p=0xc0232260)
>     at vnode_if.h:537
> #10 0xc015b7b3 in sync (p=0xc0232260, uap=0x0) at ../../kern/vfs_syscalls.c:545
> #11 0xc012dc96 in boot (howto=256) at ../../kern/kern_shutdown.c:233
> #12 0xc012e238 in poweroff_wait (junk=0xc01fdbba, howto=0) at 
>../../kern/kern_shutdown.c:556
> #13 0xc01d3be9 in trap_fatal (frame=0xc02058fc, eva=0) at ../../i386/i386/trap.c:951
> #14 0xc01d35cb in trap (frame={tf_fs = 16, tf_es = -1071513584, tf_ds = -65520, 
>tf_edi = -1, 
>       tf_esi = 0, tf_ebp = 0, tf_isp = -1071621848, tf_ebx = 0, tf_edx = 23088, 
>       tf_ecx = -1071447498, tf_eax = 0, tf_trapno = 10, tf_err = 0, tf_eip = 
>-1071829802, 
>       tf_cs = 8, tf_eflags = 582, tf_esp = -1071829807, tf_ss = 14}) at 
>../../i386/i386/trap.c:613
> (kgdb) quit

Show me more please, you missed the spot where the bug happened by
a function level or two. :(

use 'up' and show me more from backtrace.

thanks,
-Alfred





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to