From owner-freebsd-current@FreeBSD.ORG Sat May 9 19:04:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D202110656CF for ; Sat, 9 May 2009 19:04:01 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 7E56B8FC20 for ; Sat, 9 May 2009 19:04:01 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id 714158FC18 for ; Sat, 9 May 2009 23:03:53 +0400 (MSD) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id 9C8C78FC4E; Sat, 9 May 2009 23:03:03 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 9084B3982F; Sat, 9 May 2009 23:03:25 +0400 (MSD) Date: Sat, 9 May 2009 23:03:25 +0400 From: Stanislav Sedov To: Larry Rosenman Message-Id: <20090509230325.278241e0.stas@FreeBSD.org> In-Reply-To: References: <200905091912.17911.mel.flynn+fbsd.current@mailing.thruhere.net> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Sat May 9 23:03:53 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 4a05d398994291470650666 Cc: Mel Flynn , freebsd-current@freebsd.org Subject: Re: sysctl -a crash on todays current 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: Sat, 09 May 2009 19:04:03 -0000 On Sat, 9 May 2009 12:21:00 -0500 (CDT) Larry Rosenman mentioned: > On Sat, 9 May 2009, Mel Flynn wrote: > > > On Saturday 09 May 2009 17:23:25 Larry Rosenman wrote: > >> I hit the following page-fault panic on todays -CURRENT, when running > >> sysctl -a: I have the core and kernel. > > > > > > > >> Reading symbols from /boot/modules/cpu.ko...done. > >> Loaded symbols for /boot/modules/cpu.ko > > > > Recompile that module and search archive for the why. > Thanks. It actually doesn't compile at the moment due to kernel tree changes. > (Maintainer CC'd). > > I've removed that KLD from the system and we're fine. > > # cd /usr/ports/sysutils/devcpu > # make > ===> Found saved configuration for devcpu-0.8.1 > ===> Extracting for devcpu-0.8.3 > => MD5 Checksum OK for devcpu-0.8.3.tar.bz2. > => SHA256 Checksum OK for devcpu-0.8.3.tar.bz2. > ===> Patching for devcpu-0.8.3 > /usr/bin/sed -i.bak -e "s,%%PREFIX%%,/usr/local,g" /usr/ports/sysutils/devcpu/work/devcpu-0.8.3/cpu_microcode_tool/cpu_microcode_tool.8 > ===> Configuring for devcpu-0.8.3 > ===> Building for devcpu-0.8.3 > ===> cpu (all) > Warning: Object directory not changed from original /usr/ports/sysutils/devcpu/work/devcpu-0.8.3/cpu > @ -> /usr/src/sys > machine -> /usr/src/sys/amd64/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c cpu.c > cpu.c: In function 'cpu_ioctl': > cpu.c:158: error: invalid operands to binary & > cpu.c: In function 'cpu_open': > cpu.c:427: error: invalid operands to binary & > *** Error code 1 > > Stop in /usr/ports/sysutils/devcpu/work/devcpu-0.8.3/cpu. > *** Error code 1 > > Stop in /usr/ports/sysutils/devcpu/work/devcpu-0.8.3. > *** Error code 1 > > Stop in /usr/ports/sysutils/devcpu. > *** Error code 1 > > Stop in /usr/ports/sysutils/devcpu. > # > You should not use devcpu port on CURRENT. This code is already included both into STABLE and HEAD branches (sys/modules/cpuctl). -- Stanislav Sedov ST4096-RIPE !DSPAM:4a05d398994291470650666!