Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2002 09:21:00 +0700
From:      Eugene Grosbein <eugen@www.svzserv.kemerovo.su>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        McKusick <mckusick@chez.McKusick.COM>, stable@FreeBSD.ORG
Subject:   Re: 4.5-STABLE softupdates brokeness: repeated panics and lockups
Message-ID:  <20020304092100.A1500@svzserv.kemerovo.su>
In-Reply-To: <200203031759.g23Hx0W62463@apollo.backplane.com>; from dillon@apollo.backplane.com on Sun, Mar 03, 2002 at 09:59:00AM -0800
References:  <20020303120121.A2197@svzserv.kemerovo.su> <200203030538.g235c2l59112@apollo.backplane.com> <20020303131955.A3250@svzserv.kemerovo.su> <200203031759.g23Hx0W62463@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 03, 2002 at 09:59:00AM -0800, Matthew Dillon wrote:

> :Here is the first time after softupdates turned off:
>     Try turning off *ALL* in-kernel PPP options and use the userland-only
>     ppp instead.

I can use another dialup pool.
Btw, I could not reproduce the crash manually.
I turned softupdates on again and set kern.maxvnodes=9999999.
But it crashed last night again and could not restart,
it said 'syncing disks...' and hang.
This morning I got trace from DDB and crashdump then.

Here it comes:

Script started on Mon Mar  4 09:11:47 2002
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 at phsyical address 0x00382000
initial pcb at physical address 0x002e8c60
panicstr: from debugger
panic messages:
---
panic: softdep_check_for_rollback: Unexpected type freefrag

syncing disks... 
panic: from debugger
Uptime: 19h12m55s

dumping to dev #ad/0x20001, offset 2560
dump ata0: resetting devices .. done
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 /home3/src/sys/kern/kern_shutdown.c:487
487		if (dumping++) {
(kgdb) where
#0  dumpsys () at /home3/src/sys/kern/kern_shutdown.c:487
#1  0xc0149cfc in boot (howto=260) at /home3/src/sys/kern/kern_shutdown.c:316
#2  0xc014a149 in panic (fmt=0xc027dfc4 "from debugger")
    at /home3/src/sys/kern/kern_shutdown.c:595
#3  0xc0121379 in db_panic (addr=-1071285907, have_addr=0, count=-1, 
    modif=0xce1b3b54 "") at /home3/src/sys/ddb/db_command.c:435
#4  0xc0121317 in db_command (last_cmdp=0xc02af1b4, cmd_table=0xc02aeff4, 
    aux_cmd_tablep=0xc02e3c78) at /home3/src/sys/ddb/db_command.c:333
#5  0xc01213de in db_command_loop () at /home3/src/sys/ddb/db_command.c:457
#6  0xc012358f in db_trap (type=3, code=0) at /home3/src/sys/ddb/db_trap.c:71
#7  0xc025770c in kdb_trap (type=3, code=0, regs=0xce1b3c5c)
    at /home3/src/sys/i386/i386/db_interface.c:158
#8  0xc0264c08 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = -837091312, 
      tf_edi = 0, tf_esi = -1070620608, tf_ebp = -837075804, 
      tf_isp = -837075832, tf_ebx = 134, tf_edx = -1070974097, tf_ecx = 32, 
      tf_eax = 38, tf_trapno = 3, tf_err = 0, tf_eip = -1071285907, tf_cs = 8, 
      tf_eflags = 582, tf_esp = -1070974113, tf_ss = -1070986775})
    at /home3/src/sys/i386/i386/trap.c:584
#9  0xc025796d in Debugger (msg=0xc02a09e9 "manual escape to debugger")
    at machine/cpufunc.h:67
#10 0xc025486a in scgetc (sc=0xc02ffca0, flags=2)
    at /home3/src/sys/dev/syscons/syscons.c:3148
#11 0xc0250fa5 in sckbdevent (thiskbd=0xc02f8740, event=0, arg=0xc02ffca0)
    at /home3/src/sys/dev/syscons/syscons.c:616
---Type <return> to continue, or q <return> to quit---
#12 0xc0248567 in atkbd_intr (kbd=0xc02f8740, arg=0x0)
    at /home3/src/sys/dev/kbd/atkbd.c:462
#13 0xc0277c24 in atkbd_isa_intr (arg=0xc02f8740)
    at /home3/src/sys/isa/atkbd_isa.c:140
#14 0xc0147fe3 in add_interrupt_randomness (vsc=0xc02ff2ac)
    at /home3/src/sys/kern/kern_random.c:247
#15 0xc0259a82 in vec1 ()
#16 0xc0144486 in acquire (lkp=0xc2346100, extflags=16777280, wanted=1536)
    at /home3/src/sys/kern/kern_lock.c:147
#17 0xc01446ec in lockmgr (lkp=0xc2346100, flags=16973826, 
    interlkp=0xce1a68ac, p=0xc03003a0) at /home3/src/sys/kern/kern_lock.c:355
#18 0xc017590f in vop_stdlock (ap=0xce1b3e40)
    at /home3/src/sys/kern/vfs_default.c:243
#19 0xc01ff135 in ufs_vnoperatespec (ap=0xce1b3e40)
    at /home3/src/sys/ufs/ufs/ufs_vnops.c:2440
#20 0xc017fdf1 in vn_lock (vp=0xce1a6840, flags=131074, p=0xc03003a0)
    at vnode_if.h:861
#21 0xc01f6798 in ffs_sync (mp=0xc234dc00, waitfor=2, cred=0xc0a78680, 
    p=0xc03003a0) at /home3/src/sys/ufs/ffs/ffs_vfsops.c:1036
#22 0xc017aa47 in sync (p=0xc03003a0, uap=0x0)
    at /home3/src/sys/kern/vfs_syscalls.c:554
#23 0xc0149ab7 in boot (howto=256) at /home3/src/sys/kern/kern_shutdown.c:235
#24 0xc014a149 in panic (
    fmt=0xc0292f80 "softdep_check_for_rollback: Unexpected type %s")
---Type <return> to continue, or q <return> to quit---
    at /home3/src/sys/kern/kern_shutdown.c:595
#25 0xc01f48bc in softdep_count_dependencies (bp=0xc756684c, wantcount=0)
    at /home3/src/sys/ufs/ffs/ffs_softdep.c:4845
#26 0xc01f7c58 in ffs_fsync (ap=0xce1b3f7c)
    at /home3/src/sys/ufs/ffs/ffs_vnops.c:168
#27 0xc017833f in sched_sync () at vnode_if.h:558
(kgdb) quit

Script done on Mon Mar  4 09:12:12 2002

Eugene Grosbein

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




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