[Lunar-bugs] [Lunar Linux 0000208]: Kernel build: NVIDIA module removed before build
Lunar bug reports list
lunar-bugs at lunar-linux.org
Tue Mar 18 16:07:10 CET 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.lunar-linux.org/view.php?id=208
======================================================================
Reported By: neognomic
Assigned To: Moe
======================================================================
Project: Lunar Linux
Issue ID: 208
Category: kernel
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Moonbase Version: 20070315.21
Core Tools: Lunar
Core Tools Version: 20070307
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 03-16-2007 20:43 CET
Last Modified: 03-18-2008 16:07 CET
======================================================================
Summary: Kernel build: NVIDIA module removed before build
Description:
AT the end of a kernel build the NVIDIA module is supposed to be built for
the new kernel for users that have the NVIDIA Lunar module installed.
This is a good thing but there are problems with the way it is currently
done.
(*) If user is using X this process fails. The Lunar NVIDIA module cannot
be built while an X server is active.
(*) The process first removes the current module. That breaks the current
system's ability to use the NVIDIA module and, hence, nvidia driver. That
is not a desired result. If user needs to boot to kernel <previous>.old,
there will be no nvidia video driver.
(*) One does not want to remove the current driver but rather only build a
kernel module for the new kernel.
(*) While in init 5(or 3) a kernel module can be built for the non-running
kernel by using the -K & -k options(i.e., -Kk). I have used that method
before when building the nVidia kernel-module manually from a downloaded
package.
I cannot check that on this Lunar system because the current driver was
removed but the nvidia-installer log indicates it is true.(in additional
info).
----
Whether user is at init 3 or 5 the build of the NVIDIA module, when there
is already a current nvidia-kernel-module of the same version, only
requires a new nvidia-kernel-module for the newly built kernel.
Typically this is done with the NVIDIA-version_name.pkg program by
./NVIDIA* -aKk [non-running_kernel_version]
at a CLI.
Here, in the directory where the NVIDIA package is located, that would be
./NVIDIA-Linux-x86_64-1.0-9755-pkg2.run -aKk 2.6.20.3
My memory is a little vague about whether the -K is required but am pretty
sure it is. (The -a auto accepts the nVidia proprietary license but may not
be desired for Lunar NVIDIA build.)
Also I cannot be certain that -Kk will work because the naming/versioning
scheme of Lunar replaces the current kernel with a kernel of the same
version. The nvidia installer might not like having the currently loaded
kernel(uname) being the same as the newly built kernel. ... Since the
current module/driver was removed the build with -Kk will not work and I
cannot verify. I'll try to check here if/when I build another kernel.
The only other option I know about is to *force* user to init 3 before the
driver module NVIDIA build is attempted.
However, in any event, the current driver should not be removed because it
is needed to boot to X using the nvidia driver(in xorg.conf) with the
previous.old kernel.
======================================================================
----------------------------------------------------------------------
sofar - 03-18-07 21:55
----------------------------------------------------------------------
nvidia's requirements are retarded, nothing prevents a human being from
compiling and installing a kernel module while X is active. This bug is
per definition NOT FIXABLE for lunar devs.
----------------------------------------------------------------------
sofar - 03-31-07 09:01
----------------------------------------------------------------------
didn't read:
---
When using the -Kk options the nvidia-installer skips certain tests:
(from /var/log/nvidia-installer.log)
[--x--]
Using built-in stream user interface
-> Only installing a kernel module for a non-running kernel; skipping the
"is
an X server running?" test.
-> Only installing a kernel module for a non-running kernel; skipping the
"is
an NVIDIA kernel module loaded?" test.
[--x--]
----------------------------------------------------------------------
sofar - 04-07-07 05:18
----------------------------------------------------------------------
you can't skip the 'test if module is loaded' part. Feh, shame on NVIDIA
----------------------------------------------------------------------
Moe - 04-09-07 21:13
----------------------------------------------------------------------
This should be fixed with the latest update to the NVIDIA module. Please
give it a try and report back.
----------------------------------------------------------------------
Moe - 11-26-07 15:36
----------------------------------------------------------------------
Please try out the new NVIDIA-beta module. It does not rely on the NVIDIA
installer and thus should circumvent the issue.
----------------------------------------------------------------------
Moe - 03-18-08 16:07
----------------------------------------------------------------------
Zbiggy's new NVIDIA module fixes all the issues relating to this report.
Issue History
Date Modified Username Field Change
======================================================================
03-16-07 20:43 neognomic New Issue
03-16-07 20:43 neognomic Moonbase Version => 20070315.21
03-16-07 20:43 neognomic Core Tools => Lunar
03-16-07 20:43 neognomic Core Tools Version => 20070307
03-16-07 20:45 neognomic Issue Monitored: neognomic
03-18-07 21:55 sofar Note Added: 0000443
03-31-07 09:01 sofar Note Added: 0000470
04-07-07 05:18 sofar Note Added: 0000495
04-09-07 21:13 Moe Note Added: 0000504
04-09-07 21:13 Moe Assigned To => Moe
04-09-07 21:13 Moe Status new => feedback
11-26-07 15:36 Moe Note Added: 0000712
03-18-08 16:07 Moe Status feedback => resolved
03-18-08 16:07 Moe Resolution open => fixed
03-18-08 16:07 Moe Note Added: 0000776
======================================================================
More information about the Lunar-bugs
mailing list