From owner-freebsd-current@FreeBSD.ORG Tue Sep 11 16:12:37 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DE12106566B; Tue, 11 Sep 2012 16:12:37 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [IPv6:2607:fc50:1000:c200::face]) by mx1.freebsd.org (Postfix) with ESMTP id C70288FC15; Tue, 11 Sep 2012 16:12:36 +0000 (UTC) Received: from glenbarber.us (75-146-225-65-Philadelphia.hfc.comcastbusiness.net [75.146.225.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id 3100423F6D9; Tue, 11 Sep 2012 12:12:36 -0400 (EDT) Date: Tue, 11 Sep 2012 12:12:34 -0400 From: Glen Barber To: current@FreeBSD.org Message-ID: <20120911161234.GA1313@glenbarber.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: [panic] 10-CURRENT r239865: General protection fault (sysctl) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 16:12:37 -0000 Hi, I upgraded to head/ r239865 (Last Changed Date: 2012-09-11 09:29:50). My laptop now panics with on boot with the new kernel. Backtrace (and hopefully some useful) information is attached. I can provide any additional information necessary. Regards, Glen Script started on Tue Sep 11 12:03:54 2012 root@nucleus:/usr/obj/usr/src/sys/NUCLEUS # kgdb kernel.debug /var/crash/vmcore.3 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 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 "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #29 r240362: Tue Sep 11 11:12:10 EDT 2012 root@nucleus:/usr/obj/usr/src/sys/NUCLEUS amd64 WARNING: WITNESS option enabled, expect reduced performance. CPU: Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz (2394.06-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x20655 Family = 6 Model = 25 Stepping = 5 Features=0xbfebfbff Features2=0x9ae3bd AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 7867260928 (7502 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 5 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ctl: CAM Target Layer loaded cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x3050-0x3057 mem 0xb0000000-0xb03fffff,0xa0000000-0xafffffff irq 16 at device 2.0 on pci0 pci0: at device 22.0 (no driver attached) ehci0: mem 0xb4405c00-0xb4405fff irq 16 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0 on ehci0 hdac0: mem 0xb4400000-0xb4403fff irq 22 at device 27.0 on pci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 bge0: mem 0xb3400000-0xb340ffff irq 16 at device 0.0 on pci1 bge0: CHIP ID 0x57780001; ASIC REV 0x57780; CHIP REV 0x577800; PCI-E miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: b8:70:f4:8a:b8:15 pcib2: at device 28.1 on pci0 pcib2: failed to allocate initial I/O port window: 0x1000-0x1fff pci2: on pcib2 ath0: mem 0xb2400000-0xb240ffff irq 17 at device 0.0 on pci2 ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9287 mac 384.2 RF5133 phy 15.15 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ehci1: mem 0xb4405800-0xb4405bff irq 23 at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci1 pcib3: at device 30.0 on pci0 pci3: on pcib3 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x3048-0x304f,0x305c-0x305f,0x3040-0x3047,0x3058-0x305b,0x3020-0x303f mem 0xb4405000-0xb44057ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 4 3Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahciem0: on ahci0 pci0: at device 31.3 (no driver attached) pci0: at device 31.6 (no driver attached) pcib4: on acpi0 pci255: on pcib4 battery0: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_button1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: cannot reserve I/O port range coretemp0: on cpu0 est0: on cpu0 p4tcc0: on cpu0 coretemp1: on cpu1 est1: on cpu1 p4tcc1: on cpu1 coretemp2: on cpu2 est2: on cpu2 p4tcc2: on cpu2 coretemp3: on cpu3 est3: on cpu3 p4tcc3: on cpu3 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 20,33 and 25 on hdaa0 pcm1: at nid 24 on hdaa0 hdacc1: at cad 3 on hdac0 hdaa1: at nid 1 on hdacc1 pcm2: at nid 4 on hdaa1 usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered ugen0.2: at usbus0 uhub2: on usbus0 ugen1.2: at usbus1 uhub3: on usbus1 uhub2: 6 ports with 6 removable, self powered uhub3: 8 ports with 8 removable, self powered ugen0.3: at usbus0 ugen1.3: at usbus1 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-9 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 171705MB (351651888 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ses0 at ahciem0 bus 0 scbus2 target 0 lun 0 ses0: SEMB S-E-S 2.00 device ses0: SEMB SES Device SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device SMP: AP CPU #3 Launched! cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Timecounter "TSC-low" frequency 9351802 Hz quality 1000 WARNING: WITNESS option enabled, expect reduced performance. Enter passphrase for ada0p4: ugen0.4: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:4:0:-1: Attached to scbus4 da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present GEOM_ELI: Device ada0p4.eli created. GEOM_ELI: Encryption: AES-CBC 256 GEOM_ELI: Crypto: software Trying to mount root from zfs:tank0 []... <118>Setting hostuuid: f7686241-dbdc-fdec-dda5-b870f48ab815. <118>Setting hostid: 0xe53060ee. <118>Entropy harvesting: interrupts ethernet point_to_point kickstart. <118>Starting file system checks: <118>Mounting local file systems:. <118>Setting hostname: nucleus. <118>Additional TCP/IP options: IPv6 Privacy Addresses IPv6 CPE WANIF=wlan0. wlan0: Ethernet address: ec:55:f9:76:ef:7f <118>Starting wpa_supplicant. <118>Starting Network: lo0 bge0 ath0. <118>lo0: flags=8049 metric 0 mtu 16384 <118> options=600003 <118> inet6 ::1 prefixlen 128 <118> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 <118> inet 127.0.0.1 netmask 0xff000000 <118> nd6 options=21 <118>bge0: flags=8843 metric 0 mtu 1500 <118> options=c019b <118> ether b8:70:f4:8a:b8:15 <118> nd6 options=29 <118> media: Ethernet autoselect (100baseTX ) <118> status: active <118>ath0: flags=8843 metric 0 mtu 2290 <118> ether ec:55:f9:76:ef:7f <118> nd6 options=29 <118> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <118> status: associated <118>Starting devd. Fatal trap 9: general protection fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0xffffffff8034c073 stack pointer = 0x28:0xffffff822cdee8c0 frame pointer = 0x28:0xffffff822cdee900 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 620 (sysctl) trap number = 9 panic: general protection fault cpuid = 1 KDB: stack backtrace: #0 0xffffffff808543b6 at kdb_backtrace+0x66 #1 0xffffffff8082199e at panic+0x1ce #2 0xffffffff80b03840 at trap_fatal+0x290 #3 0xffffffff80b03f81 at trap+0x241 #4 0xffffffff80aef713 at calltrap+0x8 #5 0xffffffff8082aead at sysctl_root+0x18d #6 0xffffffff8082b138 at userland_sysctl+0x158 #7 0xffffffff8082b5ea at sys___sysctl+0xaa #8 0xffffffff80b02fff at amd64_syscall+0x32f #9 0xffffffff80aef9f7 at Xfast_syscall+0xf7 Uptime: 30s Dumping 502 out of 7838 MB:..4%..13%..23%..32%..42%..51%..61%..71%..83%..93% Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /bootdir/boot/kernel/zfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/zfs.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /bootdir/boot/kernel/opensolaris.ko.symbols...done. done. Loaded symbols for /boot/kernel/opensolaris.ko Reading symbols from /boot/kernel/geom_eli.ko...Reading symbols from /bootdir/boot/kernel/geom_eli.ko.symbols...done. done. Loaded symbols for /boot/kernel/geom_eli.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /bootdir/boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/coretemp.ko...Reading symbols from /bootdir/boot/kernel/coretemp.ko.symbols...done. done. Loaded symbols for /boot/kernel/coretemp.ko Reading symbols from /boot/kernel/sem.ko...Reading symbols from /bootdir/boot/kernel/sem.ko.symbols...done. done. Loaded symbols for /boot/kernel/sem.ko #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:229 229 __asm("movq %%gs:%1,%0" : "=r" (td) (kgdb) frame 6 #6 0xffffffff8034c073 in acpi_cpu_global_cx_lowest_sysctl (oidp=Variable "oidp" is not available. ) at /usr/src/sys/dev/acpica/acpi_cpu.c:1269 1269 sc = device_get_softc(cpu_devices[i]); (kgdb) p sc $1 = {{o = {size = 9184, gen = 0, pos = 8829, ptr = 0xffffff800028d028, buf = 0xffffff800028d038 "kbd1 at kbdmux0\r\nctl: CAM Target Layer loaded\r\ncryptosoft0: on motherboard\r\nacpi0: on motherboard\r\nacpi0: Power Button (fixed)\r\ncpu0: on acpi0\r\ncpu1: , desc = 0x1817161514131211
, busy = 471538201, state = 538910237, devflags = 606282273, flags = 673654309, order = 741026345, ivars = 0x3837363534333231, softc = 0x403f3e3d3c3b3a39, sysctl_ctx = {tqh_first = 0x4847464544434241, tqh_last = 0x504f4e4d4c4b4a49}, sysctl_tree = 0x5857565554535251} (kgdb) bt #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:229 #1 0xffffffff808212ae in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:449 #2 0xffffffff80821977 in panic (fmt=0x1
) at /usr/src/sys/kern/kern_shutdown.c:637 #3 0xffffffff80b03840 in trap_fatal (frame=0x9, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:870 #4 0xffffffff80b03f81 in trap (frame=0xffffff822cdee810) at /usr/src/sys/amd64/amd64/trap.c:605 #5 0xffffffff80aef713 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:228 #6 0xffffffff8034c073 in acpi_cpu_global_cx_lowest_sysctl (oidp=Variable "oidp" is not available. ) at /usr/src/sys/dev/acpica/acpi_cpu.c:1269 #7 0xffffffff8082aead in sysctl_root (oidp=Variable "oidp" is not available. ) at /usr/src/sys/kern/kern_sysctl.c:1513 #8 0xffffffff8082b138 in userland_sysctl (td=0xfffffe000bb60000, name=0xffffff822cdeea30, namelen=4, old=Variable "old" is not available. ) at /usr/src/sys/kern/kern_sysctl.c:1623 #9 0xffffffff8082b5ea in sys___sysctl (td=0xfffffe000bb60000, uap=0xffffff822cdeeb70) at /usr/src/sys/kern/kern_sysctl.c:1549 #10 0xffffffff80b02fff in amd64_syscall (td=0xfffffe000bb60000, traced=0) at subr_syscall.c:135 #11 0xffffffff80aef9f7 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:387 #12 0x00000008009363ea in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) quit root@nucleus:/usr/obj/usr/src/sys/NUCLEUS # ^D Script done on Tue Sep 11 12:05:18 2012