I installed the enterprise kernel and on one of the machines, it detects
1.5GB memory properly :) thanks for all who helped.
Now, after booting into the enterprise kernel, my X didn't start. The reason
was the nvidia drivers. So I downloaded the src.rpm since there is no rpm for
enterprise kernel and then did a --rebuild. But it dosn't compile :(.. The
error log is attached..
This is on a LM8.0 system.
Any help?
thanks a lot
sarang
[root@vv root]# rpm --rebuild NVIDIA_kernel-1.0-1251.src.rpm
Installing NVIDIA_kernel-1.0-1251.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.12058
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf NVIDIA_kernel-1.0-1251
+ /bin/gzip -dc /usr/src/RPM/SOURCES/NVIDIA_kernel-1.0-1251.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-1251
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.12058
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd NVIDIA_kernel-1.0-1251
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=4.0
++ awk -F . '{print $1;}'
++ echo 4.0
+ RPMMAJOR=4
++ echo 4.0
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 4.0
++ awk -F . '{print $3;}'
+ RPMPATCH=
+ '[' 4 -le 3 -a 0 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.12058: [: too many arguments
+ make NVdriver
cc -c -Wall -Wno-unknown-pragmas -Wno-multichar -O -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -D_X86_=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM
-DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=1251 -I.
-I/lib/modules/2.4.3-20mdkenterprise/build/include nv.c
In file included from
/lib/modules/2.4.3-20mdkenterprise/build/include/linux/prefetch.h:13,
from
/lib/modules/2.4.3-20mdkenterprise/build/include/linux/list.h:6,
from
/lib/modules/2.4.3-20mdkenterprise/build/include/linux/module.h:12,
from nv.c:53:
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:51: warning:
parameter names (without types) in function declaration
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:51: field
`loops_per_jiffy_R_ver_str' declared as a function
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:72:
nondigits in number and not hexadecimal
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:72:
nondigits in number and not hexadecimal
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:72:
nondigits in number and not hexadecimal
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:72: parse
error before `65dda927'
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:247:
nondigits in number and not hexadecimal
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:247: parse
error before `7413793a'
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:251:
warning: parameter names (without types) in function declaration
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:430: missing
white space after number `7e9'
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:430: parse
error before `7e9'
/lib/modules/2.4.3-20mdkenterprise/build/include/asm/processor.h:430:
`kernel_thread_R_ver_str' declared as function returning a function
--
---------------------------------------------
Sarang Lakare
http://www.cs.sunysb.edu/~lsarang
http://www.linux.org