From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 22 06:20:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D57C1065670 for ; Wed, 22 Sep 2010 06:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E46278FC16 for ; Wed, 22 Sep 2010 06:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8M6K16f048800 for ; Wed, 22 Sep 2010 06:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8M6K1mx048799; Wed, 22 Sep 2010 06:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 22 Sep 2010 06:20:01 GMT Resent-Message-Id: <201009220620.o8M6K1mx048799@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Greg Kennedy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A4E7106566C for ; Wed, 22 Sep 2010 06:17:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 698878FC28 for ; Wed, 22 Sep 2010 06:17:10 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8M6HAZN097404 for ; Wed, 22 Sep 2010 06:17:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8M6HAMa097403; Wed, 22 Sep 2010 06:17:10 GMT (envelope-from nobody) Message-Id: <201009220617.o8M6HAMa097403@www.freebsd.org> Date: Wed, 22 Sep 2010 06:17:10 GMT From: Greg Kennedy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150848: cpucontrol microcode update leads to kernel panic X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 06:20:02 -0000 >Number: 150848 >Category: ports >Synopsis: cpucontrol microcode update leads to kernel panic >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 22 06:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Greg Kennedy >Release: 8.1-RELEASE-p1 >Organization: >Environment: # uname -a FreeBSD greg-kennedy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I checked out port sysutils/devcpu-data today and used /usr/local/etc/rc.d/microcode_update start to update the microcode on my Pentium 4 CPU. The tool returned a success message, but within 10 minutes my system ended up with a kernel panic. I set microcode_update_enable="YES" in rc.conf to update on boot and each session the system would crash and reboot in 9 or 10 minutes. Here is the full output from dmesg of a run, showing my CPU and also ending with the kernel panic. Copyright (c) 1992-2010 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 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1300MHz (1296.83-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf07 Family = f Model = 0 Stepping = 7 Features=0x3febfbff real memory = 268435456 (256 MB) avail memory = 247607296 (236 MB) kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 30.0 on pci0 pci2: on pcib2 vgapci0: mem 0xf8000000-0xfbffffff irq 11 at device 9.0 on pci2 rl0: port 0xd800-0xd8ff mem 0xfeaefc00-0xfeaefcff irq 5 at device 10.0 on pci2 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:05:5d:cf:1d:b5 rl0: [ITHREAD] sis0: port 0xd400-0xd4ff mem 0xfeaee000-0xfeaeefff irq 6 at device 11.0 on pci2 sis0: Silicon Revision: DP83815D miibus1: on sis0 nsphyter0: PHY 0 on miibus1 nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:02:e3:21:b6:87 sis0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xef40-0xef5f irq 10 at device 31.2 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: on uhci0 pci0: at device 31.3 (no driver attached) uhci1: port 0xef80-0xef9f irq 6 at device 31.4 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x2f00 usbus1: on uhci1 atrtc0: port 0x70-0x71 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA (mono) <16 virtual consoles, flags=0x300> vga0: at port 0x3b0-0x3cf iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. p4tcc0: on cpu0 Timecounter "TSC" frequency 1296827876 Hz quality 800 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ad0: 19595MB at ata0-master UDMA100 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ad2: 114473MB at ata1-master UDMA100 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /nas was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 4 files 0 WARNING: /var was not properly dismounted /var: mount pending error: blocks 24 files 0 sis0: Applying short cable fix (reg=f6) sis0: Applying short cable fix (reg=f7) sis0: Applying short cable fix (reg=f7) sis0: Applying short cable fix (reg=f6) panic: free: address 0xc2b67000(0xc2b67000) has not been allocated. cpuid = 0 Uptime: 10m41s Cannot dump. Device not defined or unavailable. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... >How-To-Repeat: check out sysutils/devcpu-data /usr/local/etc/rc.d/microcode_update start wait 10 minutes >Fix: >Release-Note: >Audit-Trail: >Unformatted: