Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2001 12:47:50 -0800 (PST)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   kernel panic in ufs_getattr
Message-ID:  <200111032047.fA3KloX19142@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
I have the core file, kernel, and kernel.debug if
some one needs access let me know.  Source is from
9 am PST.

-- 
Steve
http://troutmask.apl.washington.edu/~kargl/


Script started on Sat Nov  3 12:25:23 2001
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 kernel.0
(kgdb) core-file vmcore.0
IdlePTD 3743744
initial pcb at 29c960
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x78
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc01fbaa8
stack pointer	        = 0x10:0xcea25b78
frame pointer	        = 0x10:0xcea25b8c
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		= 427 (cvsup)
panic: from debugger
panic: from debugger
Uptime: 9m20s
pfs_vncache_unload(): 1 entries remaining

dumping to dev da0s2b, offset 204960
dump 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 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
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:492
492		if (!dodump)
(kgdb) where
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:492
#1  0xc0184e63 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:335
#2  0xc0185295 in panic (fmt=0xc0246926 "from debugger")
    at /usr/src/sys/kern/kern_shutdown.c:634
#3  0xc0134c01 in db_panic (addr=-1071662424, have_addr=0, count=-1, 
    modif=0xcea259ec "") at /usr/src/sys/ddb/db_command.c:445
#4  0xc0134b9f in db_command (last_cmdp=0xc0271014, cmd_table=0xc0270e44, 
    aux_cmd_tablep=0xc026a8cc, aux_cmd_tablep_end=0xc026a8d0)
    at /usr/src/sys/ddb/db_command.c:342
#5  0xc0134c6b in db_command_loop () at /usr/src/sys/ddb/db_command.c:467
#6  0xc0136f0f in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:72
#7  0xc0224aaa in kdb_trap (type=12, code=0, regs=0xcea25b38)
    at /usr/src/sys/i386/i386/db_interface.c:167
#8  0xc02316e8 in trap_fatal (frame=0xcea25b38, eva=120)
    at /usr/src/sys/i386/i386/trap.c:934
#9  0xc0231455 in trap_pfault (frame=0xcea25b38, usermode=0, eva=120)
    at /usr/src/sys/i386/i386/trap.c:853
#10 0xc0230e67 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = -827301888, tf_esi = -828220476, tf_ebp = -828220532, 
      tf_isp = -828220572, tf_ebx = -1052217856, tf_edx = -828220496, 
      tf_ecx = 6, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1071662424, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1054058240, tf_ss = -827301888})
    at /usr/src/sys/i386/i386/trap.c:405
#11 0xc01fbaa8 in ufs_getattr (ap=0xcea25bb0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:425
#12 0xc01fe3d9 in ufs_vnoperate (ap=0xcea25bb0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2658
#13 0xc01c87cf in vn_stat (vp=0xceb06000, sb=0xcea25c8c, td=0xcdfc4304)
    at vnode_if.h:231
#14 0xc01c4b5f in lstat (td=0xcdfc4304, uap=0xcea25d20)
    at /usr/src/sys/kern/vfs_syscalls.c:2020
#15 0xc0231b94 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 22, tf_esi = 134877984, tf_ebp = 136510260,
      tf_isp = -828220044, tf_ebx = 135978460, tf_edx = 136510292,
      tf_ecx = 135048721, tf_eax = 190, tf_trapno = 12, tf_err = 2, 
      tf_eip = 672468493, tf_cs = 31, tf_eflags = 535, tf_esp = 136510236, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1129
#16 0xc0225b0d in syscall_with_err_pushed ()
#17 0x807a90d in ?? ()
#18 0x80606b6 in ?? ()
#19 0x805decc in ?? ()
#20 0x805b8a4 in ?? ()
#21 0x805b443 in ?? ()
#22 0x80cf48d in ?? ()
#23 0x80cf346 in ?? ()
#24 0x80c6f70 in ?? ()
#25 0xe77efb39 in ?? ()
Cannot access memory at address 0x4304c683.
(kgdb) up 10
#10 0xc0230e67 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = -827301888, tf_esi = -828220476, tf_ebp = -828220532, 
      tf_isp = -828220572, tf_ebx = -1052217856, tf_edx = -828220496, 
      tf_ecx = 6, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1071662424, tf_cs = 8, tf_eflags = 66050,
      tf_esp = -1054058240, tf_ss = -827301888})
    at /usr/src/sys/i386/i386/trap.c:405
405				(void) trap_pfault(&frame, FALSE, eva);
(kgdb) down
#9  0xc0231455 in trap_pfault (frame=0xcea25b38, usermode=0, eva=120)
    at /usr/src/sys/i386/i386/trap.c:853
853			trap_fatal(frame, eva);
(kgdb) up
#10 0xc0230e67 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
      tf_edi = -827301888, tf_esi = -828220476, tf_ebp = -828220532, 
      tf_isp = -828220572, tf_ebx = -1052217856, tf_edx = -828220496,
      tf_ecx = 6, tf_eax = 0, tf_trapno = 12, tf_err = 0,
      tf_eip = -1071662424, tf_cs = 8, tf_eflags = 66050, 
      tf_esp = -1054058240, tf_ss = -827301888})
    at /usr/src/sys/i386/i386/trap.c:405
405				(void) trap_pfault(&frame, FALSE, eva);
(kgdb) up
#11 0xc01fbaa8 in ufs_getattr (ap=0xcea25bb0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:425
425		vap->va_nlink = VFSTOUFS(vp->v_mount)->um_i_effnlink_valid ?
(kgdb) list
420		 * Copy from inode table
421		 */
422		vap->va_fsid = dev2udev(ip->i_dev);
423		vap->va_fileid = ip->i_number;
424		vap->va_mode = ip->i_mode & ~IFMT;
425		vap->va_nlink = VFSTOUFS(vp->v_mount)->um_i_effnlink_valid ?
426		    ip->i_effnlink : ip->i_nlink;
427		vap->va_uid = ip->i_uid;
428		vap->va_gid = ip->i_gid;
429		vap->va_rdev = ip->i_rdev;
(kgdb) quit

Script done on Sat Nov  3 12:31:19 2001

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?200111032047.fA3KloX19142>