Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2009 23:03:25 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net>, freebsd-current@freebsd.org
Subject:   Re: sysctl -a crash on todays current
Message-ID:  <20090509230325.278241e0.stas@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.0905091219001.2172@borg>
References:  <alpine.BSF.2.00.0905091021430.1488@borg> <200905091912.17911.mel.flynn%2Bfbsd.current@mailing.thruhere.net> <alpine.BSF.2.00.0905091219001.2172@borg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 9 May 2009 12:21:00 -0500 (CDT)
Larry Rosenman <ler@lerctr.org> 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.
> >
> > <snip trace>
> >
> >> 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!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090509230325.278241e0.stas>