Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2000 19:26:50 -0400 (EDT)
From:      Howard Leadmon <howardl@account.abs.net>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Troubles with network & buffers..  Any Ideas??
Message-ID:  <200004082326.TAA74783@account.abs.net>
In-Reply-To: <38edcc1d.210305823@mail.sentex.net> from Mike Tancsa at "Apr 7, 2000 12:00:24 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On 7 Apr 2000 02:12:12 -0400, in sentex.lists.freebsd.misc you wrote:
> >Anyway here is what I have done, hopefully this may shed some useful
> >information, and if not I tried.. :)
>=20
> Hmmm... Nothing obvious that I see.  At this point, I would enable kernel
> debugging, and when the box goes to panic/reboot, go into the debugger and
> capture the output and post to the list.  See=20
>=20
> http://www.freebsd.org/handbook/kerneldebug.html
> on the details on what needs to be done, and how to capture it.
>=20
> 	---Mike


 Hello Mike,

OK, well I setup to capture the info, as being old-faithful on crashes
here is the information it provided according to the URL you sent me.
If you need any other info just let me know, but this is now getting=20
to the point it's greek to me, so hopefully this means something to you.. :)

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 condition=
s.
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 /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
SMP 2 cpus
IdlePTD 3096576
initial pcb at 27cfe0
panicstr: unknown/reserved trap
panic messages:
---
panic: unknown/reserved trap
mp_lock =3D 00000001; cpuid =3D 0; lapic.id =3D 00000000
boot() called on cpu#0

syncing disks... 92=20
done
Uptime: 11h28m47s

dumping to dev #ad/0x20001, offset 128
dump ata0: resetting devices .. done
383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365=
 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 34=
6 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 3=
27 326 325 324 323 322 321 32=
0 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 3=
01 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 =
282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264=
 263 262 261 260 259 258 257=20=
256 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 21=
9 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 2=
00 199 198 197 196 195 194 19=
3 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 1=
74 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=20=
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=20
---
#0  boot (howto=3D256) at ../../kern/kern_shutdown.c:304
304                     dumppcb.pcb_cr3 =3D rcr3();


(kgdb) where
#0  boot (howto=3D256) at ../../kern/kern_shutdown.c:304
#1  0xc0139d80 in poweroff_wait (junk=3D0xc0255219, howto=3D-690731680)
    at ../../kern/kern_shutdown.c:554
#2  0xc022449e in trap_fatal (frame=3D0xd8b11f58, eva=3D0)
    at ../../i386/i386/trap.c:926
#3  0xc0223e62 in trap (frame=3D{tf_fs =3D -659488744, tf_es =3D 16, tf_ds =
=3D 65552,=20
      tf_edi =3D -1077936752, tf_esi =3D 134742016, tf_ebp =3D -1077937096,=
=20
      tf_isp =3D -659480700, tf_ebx =3D 0, tf_edx =3D -1071157932, tf_ecx =
=3D 1,=20
      tf_eax =3D 16777217, tf_trapno =3D 29, tf_err =3D 0, tf_eip =3D -1071=
516360,=20
      tf_cs =3D 8, tf_eflags =3D 642, tf_esp =3D -1071515962, tf_ss =3D 518=
})
    at ../../i386/i386/trap.c:586
#4  0xc021f538 in MPgetlock_edx ()
#5  0x804ad47 in ?? ()
#6  0x8049539 in ?? ()


(kgdb) up 10
#6  0x8049539 in ?? ()


(kgdb) frame frame->tf_ebp frame->tf_eip
No symbol "frame" in current context.


(kgdb) list
299             EVENTHANDLER_INVOKE(shutdown_post_sync, howto);
300             splhigh();
301             if ((howto & (RB_HALT|RB_DUMP)) =3D=3D RB_DUMP && !cold) {
302                     savectx(&dumppcb);
303     #ifdef __i386__
304                     dumppcb.pcb_cr3 =3D rcr3();
305     #endif
306                     dumpsys();
307             }
308


(kgdb) print tp
No symbol "tp" in current context.
(kgdb) print tp->t_line
No symbol "tp" in current context.
(kgdb) up
Initial frame selected; you cannot go up.
(kgdb)=20



Then it kind of dead-ended as "up" was getting me no place fast.

Also for what it's worth the following files were in /var/crash:

-rw-r--r--  1 root  wheel          2 Apr  8 15:44 bounds
-rw-r--r--  1 root  wheel    1870779 Apr  8 15:46 kernel.0
-rw-rw-r--  1 root  wheel          5 Feb 14 19:08 minfree
-rw-------  1 root  wheel  402587648 Apr  8 15:46 vmcore.0


With that I will kick it back to you to see where I have to go from here..


---
Howard Leadmon - howardl@abs.net - http://www.abs.net
ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162



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?200004082326.TAA74783>