From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 27 03:23:39 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B04A16A4B3; Mon, 27 Oct 2003 03:23:39 -0800 (PST) Received: from smtp-relay1.barrysworld.com (ns1.barrysworld.com [213.221.172.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75FA843F85; Mon, 27 Oct 2003 03:23:37 -0800 (PST) (envelope-from killing@barrysworld.com) Received: from [213.221.181.50] (helo=barrysworld.com) by smtp-relay1.barrysworld.com with esmtp (Exim 4.24) id 1AE5RT-0001Us-FY; Mon, 27 Oct 2003 11:21:47 +0000 Received: from vader [212.135.219.179] by barrysworld.com with ESMTP (SMTPD32-7.15) id AFDB52C20120; Mon, 27 Oct 2003 11:22:03 +0000 Message-ID: <005701c39c7c$7f4434c0$b3db87d4@vader> From: "Steven Hartland" To: "Jaco van Tonder" , References: <016a01c39c7a$a23a78b0$3635a8c0@jaco> Date: Mon, 27 Oct 2003 11:21:40 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-hackers@freebsd.org Subject: Re: [4.8-RELEASE - Stable, 5.1-RELEASE] Panics when system loaded X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Steven Hartland List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 11:23:39 -0000 I had the same on box here turned out to be a dodgy netcard. Symptoms where when transferring locally 100MB switch ftp / scp would start off at 8Mb/s but quickly drop off then the box would panic. Possibly the same thing. Steve ----- Original Message ----- From: "Jaco van Tonder" To: Cc: Sent: Monday, October 27, 2003 11:08 AM Subject: [4.8-RELEASE - Stable, 5.1-RELEASE] Panics when system loaded > Hi, > > I installed 4.8-RELEASE from CD yesterday on my P4-2.4GHz machine. > Updated sources to the latest 4.8-RELEASE-p13. Started doing buildworld and > my > machine panicked. Tried a few more times with random panics. Same random > panics > occur if I build the kernel. After a bit of struggling I managed to get a > GENERIC > kernel built with debug symbols on the latest source. I did not manage to > build > or install world on the new sources, but the panics happen regardless of > what > kernel is running. > > I also updated to the latest -STABLE, managed to build a kernel and > installed it. > Same problem exists there aswell (although this might be caused by a kernel > and world that are not in sync?). > > I installed 5.1-RELEASE to find the same problem exists there aswell. > > Can anybody perhaps give a hint in which direction to look or to make this > go away? > > Thanks in advance! > > Regards > Jaco > > Setup: > Intel P4, 2.4GHz CPU > Gigabyte MB with Intel 865P chipset, Hyperthreading technology > 512MB DDR333 Ram > 40GB Maxtor drive > 1024MB Swap > > USB disabled in BIOS as there is no need for it on this machine. > > Backtrace: > > frame# gdb -k kernel.debug.0 vmcore.0 > GNU gdb 4.18 (FreeBSD) > 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"...Deprecated bfd_read > called at > /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line > 2627 in elfstab_build_psymtabs > Deprecated bfd_read called at > /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line > 933 in fill_symbuf > > IdlePTD at phsyical address 0x00552000 > initial pcb at physical address 0x00483f00 > panicstr: from debugger > panic messages: > --- > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xa96f98 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0342a10 > stack pointer = 0x10:0xdf3d4e7c > frame pointer = 0x10:0xdf3d4e84 > 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 = 78395 (cc1) > interrupt mask = none > panic: from debugger > > > Fatal trap 3: breakpoint instruction fault while in kernel mode > instruction pointer = 0x8:0xc0389031 > stack pointer = 0x10:0xdf3d4c90 > frame pointer = 0x10:0xdf3d4c98 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, IOPL = 0 > current process = 78395 (cc1) > interrupt mask = none > > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0xa96f98 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0342a10 > stack pointer = 0x10:0xdf3d4e7c > frame pointer = 0x10:0xdf3d4e84 > 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 = 78395 (cc1) > interrupt mask = none > panic: from debugger > Uptime: 11m2s > > dumping to dev #ad/0x20001, offset 1048704 > dump ata0: resetting devices .. done > 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 > 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 > 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 > 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 > 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 419 418 417 > 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 400 399 398 > 397 396 395 394 393 392 391 390 389 388 387 386 385 384 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 346 345 344 343 342 341 > 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 > 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 > 302 301 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 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 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:487 > 487 if (dumping++) { > (kgdb) where > #0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487 > #1 0xc021e258 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316 > #2 0xc021e6a5 in panic (fmt=0xc03bc2e4 "from debugger") > at /usr/src/sys/kern/kern_shutdown.c:595 > #3 0xc014cedd in db_panic (addr=-1070323184, have_addr=0, count=-1, > modif=0xdf3d4d0c "") at /usr/src/sys/ddb/db_command.c:435 > #4 0xc014ce7b in db_command (last_cmdp=0xc0428844, cmd_table=0xc0428684, > aux_cmd_tablep=0xc046bb78) at /usr/src/sys/ddb/db_command.c:333 > #5 0xc014cf42 in db_command_loop () at /usr/src/sys/ddb/db_command.c:457 > #6 0xc014f113 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:71 > #7 0xc0388dd0 in kdb_trap (type=12, code=0, regs=0xdf3d4e3c) > at /usr/src/sys/i386/i386/db_interface.c:158 > #8 0xc039985c in trap_fatal (frame=0xdf3d4e3c, eva=11104152) > at /usr/src/sys/i386/i386/trap.c:969 > #9 0xc0399212 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, > tf_edi = 136372224, tf_esi = 37, tf_ebp = -549630332, > tf_isp = -549630360, tf_ebx = -544384096, tf_edx = 11104132, > tf_ecx = 12855290, tf_eax = 200316, tf_trapno = 12, tf_err = 0, > tf_eip = -1070323184, tf_cs = 8, tf_eflags = 66054, tf_esp = 0, > tf_ss = -549946880}) at /usr/src/sys/i386/i386/trap.c:636 > #10 0xc0342a10 in vm_page_lookup (object=0xdf8d5ba0, pindex=37) > at /usr/src/sys/vm/vm_page.c:514 > #11 0xc033a562 in vm_fault (map=0xdf387a00, vaddr=136372224, > fault_type=2 '\002', fault_flags=8) at /usr/src/sys/vm/vm_fault.c:292 > ---Type to continue, or q to quit--- > #12 0xc03994af in trap_pfault (frame=0xdf3d4fa8, usermode=1, eva=136372228) > at /usr/src/sys/i386/i386/trap.c:847 > #13 0xc0398f2f in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, > tf_edi = 136372224, tf_esi = 136253088, tf_ebp = -1077938560, > tf_isp = -549629996, tf_ebx = 4072, tf_edx = 26, tf_ecx = 1, > tf_eax = 136368128, tf_trapno = 12, tf_err = 6, tf_eip = 135460607, > tf_cs = 31, tf_eflags = 66054, tf_esp = -1077938600, tf_ss = 47}) > at /usr/src/sys/i386/i386/trap.c:377 > #14 0x812f6ff in ?? () > #15 0x8062ae7 in ?? () > #16 0x80651ac in ?? () > #17 0x80504ea in ?? () > #18 0x8050274 in ?? () > #19 0x8068797 in ?? () > #20 0x806c0da in ?? () > #21 0x804813e in ?? () > > uname -a: > FreeBSD frame.symphiano 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #1: Fri Oct > 24 07:22:44 SAST 2003 root@frame.symphiano:/usr/obj/usr/src/sys/GENERIC > i386 > > dmesg: > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 4.8-RELEASE-p13 #1: Fri Oct 24 07:22:44 SAST 2003 > root@frame.symphiano:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2411.60-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 > > Features=0xbfebfbff ,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > real memory = 536805376 (524224K bytes) > avail memory = 516980736 (504864K bytes) > Preloaded elf kernel "kernel" at 0xc0533000. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 10 entries at 0xc00fcde0 > npx0: on motherboard > npx0: INT 16 interface > pcib0: on motherboard > pci0: on pcib0 > agp0: mem 0xe8000000-0xefffffff at device > 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at 0.0 irq 12 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > rl0: port 0x9000-0x90ff mem > 0xf7000000-0xf70000ff irq 11 at device 1.0 on pci2 > rl0: Ethernet address: 00:50:fc:c2:d4:1b > miibus0: on rl0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: (vendor=0x8086, dev=0x24d3) at 31.3 irq 11 > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ad0: 38166MB [77545/16/63] at ata0-master BIOSDMA > acd0: CDROM at ata1-slave PIO4 > Mounting root from ufs:/dev/ad0s1a > > kernel: > Standard GENERIC kernel with the following options enabled: > options DDB > makeoptions DEBUG=-g > frame% > > Jaco van Tonder > Magic Developer :: Premsoft Development (Pty) Ltd > Direct: +27 11 312 2122 :: Fax: +27 11 312 2122 :: Mobile: +27 83 417 5424 > Email: jaco@premsoft.co.za :: Web: http://www.premsoft.co.za/ > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >