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

next in thread | previous in thread | raw e-mail | index | archive | help
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.
#

>

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0905091219001.2172>