DragonFly BSD
DragonFly kernel List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Kernel (boot) panic with -HEAD from yesterday (VFS related ?)


From: "Robin P. Blanchard" <robin.blanchard@xxxxxxxxxxxxx>
Date: Thu, 3 Mar 2005 10:43:17 -0500

root@dragonfly [/usr/obj/usr/src/sys/dragonfly]# gdb -k ./kernel.debug
/usr/var/crash/vmcore.0 
GNU gdb 6.2.1
Copyright 2004 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-dragonfly"...
panic: assertion: start <= end in lf_create_range
panic messages:
---
panic: assertion: start <= end in lf_create_range

syncing disks... 6 1 1 
done
Uptime: 16s

dumping to dev #ad/0x20001, offset 524800
dump ata0: resetting devices .. done
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:508
508             if (dumping++) {
dumpsys () at /usr/src/sys/kern/kern_shutdown.c:508
508             if (dumping++) {
(kgdb) bt full
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:508
        error = 0
#1  0xc0184467 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:341
        howto = 256
#2  0xc0184898 in panic (fmt=0xc02bf55b "assertion: start <= end in %s") at
/usr/src/sys/kern/kern_shutdown.c:620
        fmt = 0xc02bf55b "assertion: start <= end in %s"
        bootopt = 256
        newpanic = 1
        buf = "assertion: start <= end in lf_create_range", '\0' <repeats 213
times>
#3  0xc017dc62 in lf_create_range (range=0xc0fa1ee0, owner=0xc10843c0,
type=3, flags=48, start=0, end=-1, accounting=1)
    at /usr/src/sys/kern/kern_lockf.c:761
        range = (struct lockf_range *) 0xc0fa1ee0
        type = 0
        start = 0
        end = -1
#4  0xc017cf9c in lf_setlock (lock=0xc9837428, owner=0xc10843c0, type=3,
flags=48, start=0, end=-1) at /usr/src/sys/kern/kern_lockf.c:343
        range = (struct lockf_range *) 0xc0fa1ee0
        first_match = (struct lockf_range *) 0x0
        insert_point = (struct lockf_range *) 0x0
        wakeup_needed = 0
        lock_needed = -959487488
        new_range1 = (struct lockf_range *) 0x0
        new_range2 = (struct lockf_range *) 0xc0fa1e60
        error = -1057349920
        orig_first_match = (struct lockf_range *) 0x0
        orig_end = -1
#5  0xc017ccfd in lf_advlock (ap=0xce7a0b2c, lock=0xc9837428, size=0) at
/usr/src/sys/kern/kern_lockf.c:211
        lock = (struct lockf *) 0xc9837428
        fl = (struct flock *) 0xce7a0b9c
        owner = (struct proc *) 0xc10843c0
        start = 0
        end = -1
        type = 3
        flags = 48
        error = 0
        ilock = {tr_tok = 0xc0339cfc, tr_magic = 1414482770, tr_next = 0x0,
tr_gdreqnext = 0xce7a0bd8, tr_reqgd = 0xc10843c0}
#6  0xc0248162 in ufs_advlock (ap=0xce7a0b2c) at
/usr/src/sys/vfs/ufs/ufs_vnops.c:1998
        ap = (struct vop_advlock_args *) 0x0
        ip = (struct inode *) 0x0
#7  0xc02485b2 in ufs_vnoperate (ap=0xce7a0b2c) at
/usr/src/sys/vfs/ufs/ufs_vnops.c:2361
        ap = (struct vop_generic_args *) 0x0
#8  0xc01c6a50 in vop_advlock (ops=<incomplete type>, vp=0xc9856a18,
id=0xc10843c0 "", op=8, fl=0xce7a0b9c, flags=48) at
/usr/src/sys/kern/vfs_vopops.c:927
        ops = <incomplete type>
        vp = (struct vnode *) 0x0
        id = 0x0
        op = 0
        fl = (struct flock *) 0xce7a0b9c
        flags = 48
        ap = {a_head = {a_desc = 0xc0315e20, a_ops = <incomplete type>,
a_reserved = {-1072132185, -959487488, 3636, -830862496}}, a_vp = 0xc9856a18,

  a_id = 0xc10843c0 "", a_op = 8, a_fl = 0xce7a0b9c, a_flags = 48}
        error = 0
#9  0xc01c21eb in kern_open (nd=0xce7a0bd8, oflags=1570, mode=420,
res=0xce7a0c60) at /usr/src/sys/kern/vfs_syscalls.c:1365
        nd = (struct nlookupdata *) 0xc9856a18
        oflags = 0
        td = (struct thread *) 0xc6cf6200
        p = (struct proc *) 0xc6cee980
        fdp = <incomplete type>
        cmode = 0
        flags = 1571
        nfp = (struct file *) 0xc10843c0
        fp = (struct file *) 0xc10843c0
        vp = (struct vnode *) 0xc9856a18
        type = 0
        indx = 4
        error = 0
        lf = {l_start = 0, l_len = 0, l_pid = -959487488, l_type = 3,
l_whence = 0}
#10 0xc01c22d2 in open (uap=0xce7a0c34) at
/usr/src/sys/kern/vfs_syscalls.c:1411
        uap = (struct open_args *) 0xce7a0c34
        nd = {nl_ncp = <incomplete type>, nl_rootncp = <incomplete type>,
nl_jailncp = <incomplete type>, nl_path = 0x0, nl_td = 0xc6cf6200, nl_cred =
0x0, 
  nl_flags = 0, nl_loopcnt = 0, nl_open_vp = 0x0, nl_vp_fmode = 0}
        error = 0
#11 0xc029b33e in syscall2 (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 1570, tf_esi = 134533120,
tf_ebp = -1077939296, tf_isp = -830861964, tf_ebx = 672076152, tf_edx =
-1077938084, tf_ecx = 0, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip =
671756992, tf_cs = 31, tf_eflags = 663, tf_esp = -1077939436, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1350
        td = (struct thread *) 0xc6cf6200
        p = (struct proc *) 0xc6cee980
        params = 0xbfbff318---Can't read userspace from dump, or kernel
process---

---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]