ip diverting causes panic with 1.3-*

Csaba Henk csaba at phony_for_avoiding_spam.org
Tue May 3 18:09:26 PDT 2005


Hi!

I got panics when I tried to set up a nat gateway with DragonFly (more
concretely, with DragonFlyPreview and DragonFlyStable, within a few
days).

Here goes the debug output obtained with DragonFlyPreview (what I see
with DragonFlyStable upon panic seems to be the same).

# gdb -k /kernel /usr/local/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: from debugger
panic messages:
---
panic: ip_output: no HDR
panic: from debugger
Uptime: 29m22s

dumping to dev #ad/0x40001, offset 524416
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:507
507		if (dumping++) {
dumpsys () at /usr/src/sys/kern/kern_shutdown.c:507
507		if (dumping++) {
(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:507
#1  0xc0269287 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:340
#2  0xc02696b8 in panic (fmt=0xc044150a "from debugger") at /usr/src/sys/kern/kern_shutdown.c:619
#3  0xc015926d in db_panic (addr=-1069490924, have_addr=0, count=-1, modif=0xcdc6fb00 "") at /usr/src/sys/ddb/db_command.c:450
#4  0xc015920b in db_command (last_cmdp=0xc04e09a4, cmd_table=0xc04e07c4, aux_cmd_tablep=0xc04d83a0, 
    aux_cmd_tablep_end=0xc04d83b8) at /usr/src/sys/ddb/db_command.c:346
#5  0xc01592d7 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
#6  0xc015b8fd in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_trap.c:72
#7  0xc040d9ea in kdb_trap (type=3, code=0, regs=0xcdc6fbf8) at /usr/src/sys/i386/i386/db_interface.c:161
#8  0xc041ef7c in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 1, tf_esi = 256, tf_ebp = -842597312, tf_isp = -842597340, tf_ebx = -1068965977, tf_edx = 0, tf_ecx = -1068431168, tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1069490924, tf_cs = 8, tf_eflags = 582, tf_esp = -1068708865, tf_ss = -1069035571}) at /usr/src/sys/i386/i386/trap.c:743
#9  0xc040e94b in calltrap ()
#10 0x00000018 in ?? ()
#11 0x00000010 in ?? ()
#12 0x00000010 in ?? ()
#13 0x00000001 in ?? ()
#14 0x00000100 in ?? ()
#15 0xcdc6fc40 in ?? ()
#16 0xcdc6fc24 in ?? ()
#17 0xc048dfa7 in tcprexmtthresh ()
#18 0x00000000 in ?? ()
#19 0xc05108c0 in netisr_afree_rport ()
#20 0x00000012 in ?? ()
#21 0x00000003 in ?? ()
#22 0x00000000 in ?? ()
#23 0xc040dd14 in Debugger (msg=0xc047cfcd "panic") at machine/cpufunc.h:68
#24 0xc02696af in panic (fmt=0xc048dfa7 "ip_output: no HDR") at /usr/src/sys/kern/kern_shutdown.c:617
#25 0xc02df78e in ip_output (m0=0xcdc6fd28, opt=0x0, ro=0xce399efc, flags=34, imo=0x0, inp=0x0)
    at /usr/src/sys/netinet/ip_output.c:183
#26 0xc02d99f0 in div_output (so=0xcdcc16c0, m=0xc125c400, sin=0xc1023d40, control=0x0) at /usr/src/sys/netinet/ip_divert.c:309
#27 0xc02d9bcf in div_send (so=0xcdcc16c0, flags=0, m=0xc125c400, nam=0xc1023d40, control=0x0, td=<incomplete type>)
    at /usr/src/sys/netinet/ip_divert.c:447
#28 0xc028fa36 in netmsg_pru_send (msg=0xcebcdab0) at /usr/src/sys/kern/uipc_msg.c:549
#29 0xc02c987d in netmsg_service_loop (arg=0x0) at /usr/src/sys/net/netisr.c:275
#30 0xc026ec10 in lwkt_create () at /usr/src/sys/kern/lwkt_thread.c:1261
(kgdb) 


Csaba





More information about the Bugs mailing list