Dear Folks,

Thank you very much for the prompt response.

Unfortunately, I tried what was suggested but the X-server failed to fire up.

Jerome R. Acks wrote:
On Sat, Nov 15, 2003 at 12:19:33AM +0800, R (Chandra) Chandrasekhar wrote:

You need to download nvidia-kernel-source 1.0.4496-2.1 and compile
it. After you compile it, install it along with nvidia-glx 1.0.4496-2.1 and nvidia-kernel-common 1.0.4496-3.

I have attached transcripts of:


(1) nvidia_module_upgrade.txt: what I did; and

(2) nvidia_kernel_source_install_transcript.txt: the output from the source compilation

in case they can help pinpoint what is going wrong.

The /var/log/XFree86.0.log file gave, among other (successful) output, the following:
****
(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.


Fatal server error:
no screens found
****

So, I had to "apt-get remove" the installed version 4496 packages and go back to the version 4191 packages that originally had, to restore my X-server.

I will be sending a bug report to [EMAIL PROTECTED] on the X-server crash.

(2) How can I prevent the newer versions from ever being installed, if (1) cannot be fixed? I have in /etc/apt/preferences the lines:

Package: nvidia-*
Pin: release v=1.0.4191-1
Pin-Priority: 1000


Not positive, but what about:

Package: nvidia-*
Pin: version 1.0.4191
Pin-Priority: 1001



Unfortunately, this did not work either. Perhaps it is complicated by the fact that I have multiple sources in my /etc/apt/sources.list file. See: http://www.argon.org/~roderick/apt-pinning.html


Any help on either front most appreciated.

--Chandra
  16 Nov 03
------------------
Dr R (Chandra) Chandrasekhar
Adjunct Senior Lecturer
M018, Centre for Intelligent Information Processing Systems (CIIPS)
School of Electrical, Electronic and Computer Engineering
The University of Western Australia
35 Stirling Highway, Crawley, WA 6009, AUSTRALIA
Phone: +61-(8)-9380-3749  Fax: +61-(8)-9380-1168
email: [EMAIL PROTECTED]
CRICOS Provider Code: 00126G
------------------
# apt-get install nvidia-kernel-source

# cd /usr/src

# tar xzvf nvidia-kernel-source.tar.gz

# uname -r
2.4.18-bf2.4

# apt-get install kernel-headers-2.4.18-bf2.4

# export KSRC=/usr/src/kernel-headers-2.4.18-bf2.4

# export KVERS=2.4.18-bf2.4

# cd /usr/src/modules/nvidia-kernel

# debian/rules binary_modules

# apt-get install nvidia-kernel-common

# dpkg -i ../nvidia-kernel-2.4.18-bf2.4_1.0.4496-2_i386.deb

# apt-get install nvidia-glx nvidia-glx-dev

# dpkg --list nvidia-* | grep ii
ii  nvidia-glx     1.0.4496-2.1   NVIDIA binary XFree86 4.x driver
ii  nvidia-glx-dev 1.0.4496-2.1   NVIDIA binary XFree86 4.x driver development
ii  nvidia-kernel- 1.0.4496-2     NVIDIA binary kernel module for Linux 2.4.18
ii  nvidia-kernel- 1.0.4496-3     NVIDIA binary kernel module common files
ii  nvidia-kernel- 1.0.4496-2.1   NVIDIA binary kernel module source

--R (Chandra) Chandrasekhar
  [EMAIL PROTECTED]
  16 Nov 03
# debian/rules binary_modules
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]; then \
        cp /usr/src/modules/nvidia-kernel/debian/control.template 
/usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testdir
dh_testroot
touch configure-stamp
dh_testdir
dh_testroot

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. We are going to use the compiler that
were used to build the kernel with the specified headers.
(if specified in KSRC/include/linux/compile.h)
Using compiler gcc
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
IGNORE_CC_MISMATCH=1 CC=gcc /usr/bin/make -C /usr/src/modules/nvidia-kernel/nv 
SYSINCLUDE=/usr/src/kernel-headers-2.4.18-bf2.4/include nvidia.o
make[1]: Entering directory `/usr/src/modules/nvidia-kernel/nv'
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE 
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE 
 -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496  -DNV_UNIX   
-DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_4  -I. 
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -Wno-cast-qual nv.c
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE 
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE 
 -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496  -DNV_UNIX   
-DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_4  -I. 
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -Wno-cast-qual os-agp.c
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE 
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE 
 -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496  -DNV_UNIX   
-DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_4  -I. 
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -Wno-cast-qual os-interface.c
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts 
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE 
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE 
 -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496  -DNV_UNIX   
-DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_4  -I. 
-I/usr/src/kernel-headers-2.4.18-bf2.4/include -Wno-cast-qual os-registry.c
ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
sed 's/#KVERS#/2.4.18-bf2.4/g' debian/control.template > 
/usr/src/modules/nvidia-kernel/debian/control
sed 's/#KVERS#/2.4.18-bf2.4/g' debian/dirs.template > 
/usr/src/modules/nvidia-kernel/debian/dirs
sed 's/#KVERS#/2.4.18-bf2.4/g' debian/override.template > 
/usr/src/modules/nvidia-kernel/debian/override
dh_installdirs
install -m 0644 /usr/src/modules/nvidia-kernel/debian/override 
/usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.4.18-bf2.4/usr/share/lintian/overrides/nvidia-kernel-2.4.18-bf2.4
install -m 0644 /usr/src/modules/nvidia-kernel/nv/nvidia.o 
/usr/src/modules/nvidia-kernel/debian/nvidia-kernel-2.4.18-bf2.4/lib/modules/2.4.18-bf2.4/kernel/drivers/video
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol -- -v1.0.4496-2
dh_md5sums
dh_builddeb  --destdir=/usr/src/modules/nvidia-kernel/..
dpkg-deb: building package `nvidia-kernel-2.4.18-bf2.4' in 
`/usr/src/modules/nvidia-kernel/../nvidia-kernel-2.4.18-bf2.4_1.0.4496-2_i386.deb'.

Reply via email to