From owner-freebsd-stable@FreeBSD.ORG Thu Dec 22 15:40:36 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D12F16A41F; Thu, 22 Dec 2005 15:40:36 +0000 (GMT) (envelope-from yuri@irfu.se) Received: from colibri.its.uu.se (colibri.its.UU.SE [130.238.4.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4844043D5E; Thu, 22 Dec 2005 15:40:34 +0000 (GMT) (envelope-from yuri@irfu.se) Received: by colibri.its.uu.se (Postfix, from userid 211) id 45402458; Thu, 22 Dec 2005 16:40:32 +0100 (NFT) Received: from colibri.its.uu.se(127.0.0.1) by colibri.its.uu.se via virus-scan id s14351; Thu, 22 Dec 05 16:40:18 +0100 Received: from hq.irfu.se (hq.irfu.se [130.238.30.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colibri.its.uu.se (Postfix) with ESMTP id C0C38169; Thu, 22 Dec 2005 16:40:18 +0100 (NFT) Received: from ice.irfu.se (ice.irfu.se [130.238.30.157]) (authenticated bits=0) by hq.irfu.se (8.13.4/8.13.4) with ESMTP id jBMFeFu2095559 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 22 Dec 2005 16:40:15 +0100 (CET) (envelope-from yuri@irfu.se) From: Yuri Khotyaintsev Organization: Swedish Institute of Space Physics To: freebsd-amd64@freebsd.org, freebsd-stable@freebsd.org Date: Thu, 22 Dec 2005 16:40:14 +0100 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512221640.14676.yuri@irfu.se> X-Spam-Status: No, score=-1.4 required=7.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on hq.irfu.se Cc: Subject: Fatal trap 9: general protection fault while in kernel mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 15:40:36 -0000 I have updated kernel/world today on the system which was running without a= ny=20 problems since I installed it (old kernel is from November 28) and i got th= is=20 panic 10 minutes after boot (dmesg is attached below). The system is runnin= g=20 =46reeBSD/amd64 6-STABLE, SMP. [root@xx][/usr/obj/usr/src/sys/DB]# kgdb kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:= =20 Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] 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 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 "amd64-marcel-freebsd". Unread portion of the kernel message buffer: kernel trap 9 with interrupts disabled =46atal trap 9: general protection fault while in kernel mode cpuid =3D 3; apic id =3D 07 instruction pointer =3D 0x8:0xffffffff803b9754 stack pointer =3D 0x10:0xffffffffb35e0ab0 frame pointer =3D 0x10:0xffffff000002b3c0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 40 (irq34: mpt0) trap number =3D 9 panic: general protection fault cpuid =3D 3 Uptime: 2h2m14s Dumping 4095 MB (3 chunks) chunk 0: 1MB (156 pages) ... ok chunk 1: 3583MB (917184 pages) 3567 3551 3535 3519 3503 3487 3471 3455 34= 39=20 3423 3407 3391 3375 3359 3343 3327 3311 3295 3279 3263 3247 3231 3215 3199= =20 3183 3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959= =20 2943 2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719= =20 2703 2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479= =20 2463 2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239= =20 2223 2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999= =20 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759= =20 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519= =20 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279= =20 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039= =20 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 7= 35=20 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431= =20 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127= =20 111 95 79 63 47 31 15 ... ok chunk 2: 512MB (131072 pages) 497 481 465 449 433 417 401 385 369 353 337= =20 321 305 289 273 257 241 225 209 193 177 161 145 129 113 97 81 65 49 33 17 1 #0 doadump () at pcpu.h:172 172 __asm __volatile("movq %%gs:0,%0" : "=3Dr" (td)); (kgdb) where #0 doadump () at pcpu.h:172 #1 0x0000000000000004 in ?? () #2 0xffffffff8025f637 in boot (howto=3D260)=20 at /usr/src/sys/kern/kern_shutdown.c:399 #3 0xffffffff8025fc95 in panic (fmt=3D0xffffff011f66f980 "@=EF=BF=BD\037\0= 01") at /usr/src/sys/kern/kern_shutdown.c:555 #4 0xffffffff803c918a in trap_fatal (frame=3D0xffffff011f66f980,=20 eva=3D18446742979019789120) at /usr/src/sys/amd64/amd64/trap.c:660 #5 0xffffffff803c960e in trap (frame=3D {tf_rdi =3D -1099511450688, tf_rsi =3D 0, tf_rdx =3D -2143527384, tf_= rcx =3D 0,=20 tf_r8 =3D -1099511451648, tf_r9 =3D 9223372036854775807, tf_rax =3D 18, tf_= rbx =3D=20 =2D1099498667008, tf_rbp =3D -1099511450688, tf_r10 =3D 0, tf_r11 =3D -1094= 689762496,=20 tf_r12 =3D -1099511146240, tf_r13 =3D 18, tf_r14 =3D -1094689818240, tf_r15= =3D=20 =2D1285682416, tf_trapno =3D 9, tf_addr =3D 0, tf_flags =3D -2145094526, tf= _err =3D 0,=20 tf_rip =3D -2143578284, tf_cs =3D 8, tf_rflags =3D 65606, tf_rsp =3D -12856= 82496,=20 tf_ss =3D 16}) at /usr/src/sys/amd64/amd64/trap.c:469 #6 0xffffffff803b71bb in calltrap ()=20 at /usr/src/sys/amd64/amd64/exception.S:168 #7 0xffffffff803b9754 in intr_execute_handlers (isrc=3D0xffffff000002b3c0, iframe=3D0xffffffffb35e0b10) at /usr/src/sys/amd64/amd64/intr_machdep.c= :213 #8 0xffffffff803bbdd1 in lapic_handle_intr (cookie=3D0xffffff000002b3c0, f= rame=3D {if_rdi =3D -1094689818240, if_rsi =3D -1094689818240, if_rdx =3D 582= , if_rcx=20 =3D 0, if_r8 =3D -1285681904, if_r9 =3D 9223372036854775807, if_rax =3D 0, = if_rbx =3D=20 =2D1094689818240, if_rbp =3D 0, if_r10 =3D 0, if_r11 =3D -1094689762496, if= _r12 =3D=20 =2D1099511148288, if_r13 =3D -1094689818240, if_r14 =3D 0, if_r15 =3D -1094= 689762496,=20 if_rip =3D -2143566227, if_cs =3D 8, if_rflags =3D 582, if_rsp =3D -1285682= 224, if_ss=20 =3D 16}) at /usr/src/sys/amd64/amd64/local_apic.c:612 #9 0xffffffff803b76bd in Xapic_isr2 () at apic_vector.S:133 #10 0xffffffff803bc66d in spinlock_exit () at cpufunc.h:391 #11 0xffffffff80247952 in ithread_loop (arg=3D0xffffff0000075100) at /usr/src/sys/kern/kern_intr.c:597 #12 0xffffffff802462d4 in fork_exit (callout=3D0xffffffff802475fe=20 , arg=3D0xffffff0000075100, frame=3D0xffffffffb35e0c50)=20 at /usr/src/sys/kern/kern_fork.c:789 =2D--Type to continue, or q to quit--- #13 0xffffffff803b751e in fork_trampoline ()=20 at /usr/src/sys/amd64/amd64/exception.S:394 #14 0x0000000000000000 in ?? () Previous frame identical to this frame (corrupt stack?) Copyright (c) 1992-2005 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. =46reeBSD 6.0-STABLE #4: Thu Dec 22 12:13:33 CET 2005 root@xx.irfu.se:/usr/obj/usr/src/sys/DB Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf43 Stepping =3D 3 =46eatures=3D0xbfebfbff =46eatures2=3D0x641d> AMD Features=3D0x20100800 Hyperthreading: 2 logical CPUs real memory =3D 4831838208 (4608 MB) avail memory =3D 4134555648 (3943 MB) ACPI APIC Table: =46reeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic1: WARNING: intbase 32 !=3D expected base 24 ioapic2: Changing APIC ID to 10 ioapic2: WARNING: intbase 64 !=3D expected base 56 ioapic3: Changing APIC ID to 11 ioapic3: WARNING: intbase 96 !=3D expected base 88 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard ioapic3 irqs 96-119 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 mpt0: port 0xec00-0xecff mem=20 0xfe9f0000-0xfe9fffff,0xfe9e0000-0xfe9effff irq 34 at device 5.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=3D1.2.12.0 mpt0: Unhandled Event Notify Frame. Event 0xa. mpt1: port 0xe800-0xe8ff mem=20 0xfe9d0000-0xfe9dffff,0xfe9c0000-0xfe9cffff irq 33 at device 5.1 on pci2 mpt1: [GIANT-LOCKED] mpt1: MPI Version=3D1.2.12.0 mpt1: Unhandled Event Notify Frame. Event 0xa. pcib3: at device 0.2 on pci1 pci3: on pcib3 pcib4: at device 4.0 on pci0 pci4: on pcib4 pcib5: at device 5.0 on pci0 pci5: on pcib5 pcib6: at device 0.0 on pci5 pci6: on pcib6 em0: port=20 0xdcc0-0xdcff mem 0xfe6e0000-0xfe6fffff irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:14:22:19:2c:56 pcib7: at device 0.2 on pci5 pci7: on pcib7 em1: port=20 0xccc0-0xccff mem 0xfe4e0000-0xfe4fffff irq 65 at device 8.0 on pci7 em1: Ethernet address: 00:14:22:19:2c:57 pcib8: at device 6.0 on pci0 pci8: on pcib8 pcib9: at device 0.0 on pci8 pci9: on pcib9 mpt2: port 0xbc00-0xbcff mem=20 0xfe1e0000-0xfe1fffff,0xfe1c0000-0xfe1dffff irq 106 at device 4.0 on pci9 mpt2: [GIANT-LOCKED] mpt2: MPI Version=3D1.2.9.0 mpt2: Unhandled Event Notify Frame. Event 0xa. mpt2: Capabilities: ( RAID-1E RAID-1 SAFTE ) mpt2: 0 Active Volumes (1 Max) mpt2: 0 Hidden Drive Members (6 Max) mpt3: port 0xb800-0xb8ff mem=20 0xfe1a0000-0xfe1bffff,0xfe180000-0xfe19ffff irq 107 at device 4.1 on pci9 mpt3: [GIANT-LOCKED] mpt3: MPI Version=3D1.2.9.0 mpt3: Unhandled Event Notify Frame. Event 0xa. mpt3: Capabilities: ( RAID-1E RAID-1 SAFTE ) mpt3: 0 Active Volumes (1 Max) mpt3: 0 Hidden Drive Members (6 Max) pcib10: at device 0.2 on pci8 pci10: on pcib10 uhci0: port 0x9ce0-0x9cff irq 1= 6=20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x9cc0-0x9cdf irq 1= 9=20 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x9ca0-0x9cbf irq 1= 8=20 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfeb00000-0xfeb003ff irq 23= at=20 device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered uhub4: vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2 uhub4: multiple transaction translators uhub4: 2 ports with 2 removable, self powered pcib11: at device 30.0 on pci0 pci11: on pcib11 pci11: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port=20 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model VersaPad, device ID 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp= i0 sio0: type 16550A orm0: at iomem=20 0xc0000-0xcafff,0xcb000-0xcbfff,0xcc000-0xcffff,0xd0000-0xd0fff,0xec000-0xe= ffff=20 on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: CDROM at ata0-master UDMA33 Waiting 5 seconds for SCSI devices to settle ses0 at mpt0 bus 0 target 6 lun 0 ses0: Fixed Processor SCSI-2 device=20 ses0: 3.300MB/s transfers ses0: SAF-TE Compliant Device da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device=20 da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing= =20 Enabled da0: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C) da2 at mpt3 bus 0 target 1 lun 0 da2: Fixed Direct Access SCSI-3 device=20 da2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing= =20 Enabled da2: 1667498MB (3415035904 512 byte sectors: 255H 63S/T 212576C) da1 at mpt2 bus 0 target 0 lun 0 da1: Fixed Direct Access SCSI-3 device=20 da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing= =20 Enabled da1: 1667498MB (3415035904 512 byte sectors: 255H 63S/T 212576C) SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/da0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled,= =20 default to deny, logging disabled reboot after panic: general protection fault writing core to vmcore.0 em0: link state changed to UP em1: link state changed to UP =2D-=20 Dr. Yuri Khotyaintsev Institutet f=C3=B6r rymdfysik (IRF), Uppsala