sysctl -a crash on todays current

Larry Rosenman ler at
Sat May 9 17:21:16 UTC 2009

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           
Phone: +1 512-248-2683                 E-Mail: ler at
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

More information about the freebsd-current mailing list