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