Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 13:40:13 -0700 (PDT)
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/30168: 4-stable, crash when writing to msdos fs
Message-ID:  <200108292040.f7TKeDc97491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/30168; it has been noted by GNATS.

From: Kris Kennaway <kris@obsecurity.org>
To: Chris Pockele <chrisp@belgacom.net>
Cc: Kris Kennaway <kris@obsecurity.org>,
	freebsd-gnats-submit@FreeBSD.org, fs@FreeBSD.org
Subject: Re: misc/30168: 4-stable, crash when writing to msdos fs
Date: Wed, 29 Aug 2001 13:36:03 -0700

 On Wed, Aug 29, 2001 at 01:43:33PM +0200, Chris Pockele wrote:
 > > That's still not a traceback..please try and obtain that.
 > > 
 > Here is the output of
 > 
 > gdb -k /sys/compile/DEBUG/kernel.debug /var/crash/vmcore.1
 
 Thanks, that was what's needed.  Now to find an msdosfs guru to debug
 this :)
 
 Kris
 
 > 
 > (kgdb) where
 > 
 > ----
 > Script started on Wed Aug 29 13:34:24 2001
 > freedaemon# gdb -k /sys/compile/DEBUG/kernel.debug
 > /var/crash/vmESC[Kcore.1^M
 > 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"...
 > IdlePTD 4874240
 > initial pcb at 3ee7e0
 > panicstr: page fault
 > panic messages:
 > ---
 > Fatal trap 12: page fault while in kernel mode
 > fault virtual address   = 0xe0f6effc
 > fault code              = supervisor read, page not present
 > instruction pointer     = 0x8:0xc01f8dd3
 > stack pointer           = 0x10:0xc8565d14
 > frame pointer           = 0x10:0xc8565d24
 > 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         = 273 (cp)
 > interrupt mask          = none
 > trap number             = 12
 > panic: page fault
 > 
 > syncing disks... 46 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
 > 1: dev:#ad/0x60002, flags:00100020, blkno:8344, lblkno:8344
 > giving up on 1 buffers
 > Uptime: 37s
 > 
 > dumping to dev #ad/0x30001, offset 269872
 > dump ata0: resetting devices .. done
 > 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 5
 > 8 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  dumpsys () at ../../kern/kern_shutdown.c:473
 > 473             if (dumping++) {
 > (kgdb) where
 > #0  dumpsys () at ../../kern/kern_shutdown.c:473
 > #1  0xc01bda74 in boot (howto=256) at ../../kern/kern_shutdown.c:313
 > #2  0xc01bde54 in poweroff_wait (junk=0xc03a07ea, howto=-1069939985)
 >     at ../../kern/kern_shutdown.c:581
 > #3  0xc03339c3 in trap_fatal (frame=0xc8565cd4, eva=3774279676)
 >     at ../../i386/i386/trap.c:956
 > #4  0xc033367d in trap_pfault (frame=0xc8565cd4, usermode=0,
 > eva=3774279676)
 >     at ../../i386/i386/trap.c:849
 > #5  0xc03331e7 in trap (frame={tf_fs = -933887984, tf_es = -1071775728, 
 >       tf_ds = -933625840, tf_edi = 8344, tf_esi = -1057558528, 
 >       tf_ebp = -933864156, tf_isp = -933864192, tf_ebx = -1057562624, 
 >       tf_edx = 134217727, tf_ecx = 31, tf_eax = -2147483648, tf_trapno =
 > 12, 
 >       tf_err = 0, tf_eip = -1071673901, tf_cs = 8, tf_eflags = 66182, 
 >       tf_esp = 268435455, tf_ss = 268435455}) at
 > ../../i386/i386/trap.c:448
 > #6  0xc01f8dd3 in updatefats (pmp=0xc0f6e000, bp=0xc3703284, fatbn=8344)
 >     at ../../msdosfs/msdosfs_fat.c:353
 > #7  0xc01f947e in fatchain (pmp=0xc0f6e000, start=1064363, count=0, 
 >     fillwith=4294967295) at ../../msdosfs/msdosfs_fat.c:674
 > #8  0xc01f959a in chainalloc (pmp=0xc0f6e000, start=1064363, count=1, 
 >     fillwith=4294967295, retcluster=0xc8565df0, got=0xc8565dec)
 >     at ../../msdosfs/msdosfs_fat.c:748
 > #9  0xc01f979a in clusteralloc (pmp=0xc0f6e000, start=0, count=1, 
 >     fillwith=4294967295, retcluster=0xc8565df0, got=0xc8565dec)
 >     at ../../msdosfs/msdosfs_fat.c:842
 > ---Type <return> to continue, or q <return> to quit---
 > #10 0xc01f9c2a in extendfile (dep=0xc0f5c400, count=1, bpp=0x0, ncp=0x0, 
 >     flags=0) at ../../msdosfs/msdosfs_fat.c:1034
 > #11 0xc01fcf0e in msdosfs_write (ap=0xc8565e78)
 >     at ../../msdosfs/msdosfs_vnops.c:725
 > #12 0xc01f28a2 in vn_write (fp=0xc0f69bc0, uio=0xc8565ee4,
 > cred=0xc0f64600, 
 >     flags=0, p=0xc7b665e0) at vnode_if.h:363
 > #13 0xc01cc93a in dofilewrite (p=0xc7b665e0, fp=0xc0f69bc0, fd=4, 
 >     buf=0x28058000, nbyte=187, offset=-1, flags=0) at
 > ../../sys/file.h:162
 > #14 0xc01cc7eb in write (p=0xc7b665e0, uap=0xc8565f80)
 >     at ../../kern/sys_generic.c:329
 > #15 0xc0333c39 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
 >       tf_edi = 671449088, tf_esi = 671449088, tf_ebp = -1077937572, 
 >       tf_isp = -933863468, tf_ebx = 187, tf_edx = 4, tf_ecx = 1, tf_eax
 > = 4, 
 >       tf_trapno = 12, tf_err = 2, tf_eip = 134561808, tf_cs = 31, 
 >       tf_eflags = 663, tf_esp = -1077937632, tf_ss = 47})
 >     at ../../i386/i386/trap.c:1155
 > #16 0xc0324d75 in Xint0x80_syscall ()
 > #17 0x8048989 in ?? ()
 > #18 0x804851a in ?? ()
 > #19 0x8048135 in ?? ()
 > (kgdb) exit
 > Undefined command: "exit".  Try "help".
 > (kgdb) quit
 > freedaemon# exit
 > 
 > Script done on Wed Aug 29 13:35:00 2001

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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