Integrity changes from other Linux
k5di at zianet.com
Thu Oct 30 19:04:20 UTC 2008
I am getting a handle on why NVIDIA has trouble with Ubuntu
Integrity. I tried to compile a NVIDIA module on it and it failed. This
is what happened:
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-21-generic/build
rm -f include/config/kernel.release
echo 188.8.131.52 > include/config/kernel.release
set -e; echo ' CHK include/linux/version.h'; mkdir -p
include/linux/; (echo \#define LINUX_VERSION_CODE 132632; echo
'#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) <
include/linux/version.h.tmp; if [ -r include/linux/version.h ] && cmp -s
include/linux/version.h include/linux/version.h.tmp; then rm -f
include/linux/version.h.tmp; else echo ' UPD
include/linux/version.h'; mv -f include/linux/version.h.tmp
set -e; echo ' CHK include/linux/utsrelease.h'; mkdir -p
include/linux/; if [ `echo -n "184.108.40.206" | wc -c ` -gt 64 ]; then
echo '"220.127.116.11" exceeds 64 characters' >&2; exit 1; fi; (echo \#define
UTS_RELEASE \"18.104.22.168\";) < include/config/kernel.release >
include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] &&
cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then
rm -f include/linux/utsrelease.h.tmp; else echo ' UPD
include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp
set -e; asmlink=`readlink include/asm | cut -d '-' -f 2`; \
if [ -L include/asm ]; then \
if [ "$asmlink" != "x86" ]; then \
echo "ERROR: the symlink include/asm points to asm-$asmlink
but asm-x86 was expected"; \
echo " set ARCH or save .config and run 'make
mrproper' to fix it"; \
exit 1; \
echo ' SYMLINK include/asm -> include/asm-x86'; \
if [ ! -d include ]; then \
mkdir -p include; \
ln -fsn asm-x86 include/asm; \
mkdir -p .tmp_versions ; rm -f .tmp_versions/*
make -f scripts/Makefile.build obj=scripts/basic
gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
gcc -Wp,-MD,scripts/basic/.docproc.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -o scripts/basic/docproc scripts/basic/docproc.c
make -f scripts/Makefile.build obj=.
make: *** No rule to make target `arch/x86/kernel/asm-offsets.c',
needed by `arch/x86/kernel/asm-offsets.s'. Stop.
make: *** [prepare0] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make: *** [module] Error 1
make: *** [module] Error 2
karl at karl-hardy:/mnt/usr/src/nvidia-177.80$
I should explain that I have the Integrity file system mounted to my
Hardy at /mnt so I can work with it.
Observe the compile failed because the kernel is lacking asm-offsets.c
which are needed by the NVIDIA compile tree and Makefile.
This means that EVERY person who has Integrity working with NVIDIA
hardware is using the Wimpy nv software drivers. On my computer the
image is off center and resolution is low. On other computers it must
The thing you get when you click on System- Administration
-Hardware-Drivers on Intrepid does not work at all well. It appears that
the software is fighting to work but it can't for some reason. It always
errors out and doesn't load the driver you selected. OR, it might be
that it does get the nvidia software but when it is making the module it
errors out like above.
I will load Intrepid on my laptop which is not nvidia :-)
Maybe it will actually work!
Karl F. Larsen, AKA K5DI
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users