[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Nvidia Debian Kernel



On the user list you mentioned building a kernel the debian way with
nvidia stuff.

I apt-get source kernel-source-2.4.18

however building the kernel I got the error:
dpkg-gencontrol: error: package kernel-image-2.4.18 not in control info
make[1]: *** [real_stamp_image] Error 29
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18-2.4.18'
bilbo:/usr/src/kernel-source-2.4.18-2.4.18# make-kpkg kernel_image

Have I forgotten to do something?

Also I tried building a modules image for the nvidia driver:

bilbo:/usr/src/kernel-source-2.4.18-2.4.18# make-kpkg modules_image
find: /usr/src/modules: No such file or directory
test -f stamp-debian || /usr/bin/make -f /usr/share/kernel-package/rules
debian
test -f .config      || /usr/bin/make -f /usr/share/kernel-package/rules
.config
test ! -f stamp-configure \
  && /usr/bin/make    \
                                 ARCH=i386 oldconfig \
          && /usr/bin/make    \
                                 ARCH=i386  dep \
          && /usr/bin/make    \
                                 ARCH=i386 clean && \
              touch stamp-configure
make: [stamp-configure] Error 1 (ignored)
for module in  ; do                        \
          if test -d  $module; then                                \
    (cd $module;                                           \
              if ./debian/rules KVERS="2.4.18"
KSRC="/usr/src/kernel-source-2.4.18-2.4.18" \
                             KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf"
  \
                             KDREV="2.4.18-2" kdist_image; then    \
                  echo "Module $module processed fine";            \
              else                                                  \
                   echo "Module $module failed.";                  \
                   echo "Hit return to Continue";                   \
           read ans;                                        \
              fi;                                                   \
     );                                                     \
  fi;                                                       \
        done
bilbo:/usr/src/kernel-source-2.4.18-2.4.18# cd ..
bilbo:/usr/src# ls -al
total 30704
drwxrwsr-x    5 root     src          4096 Mar 12 00:27 .
drwxr-xr-x   13 root     root         4096 Feb  9 13:12 ..
-rw-r--r--    1 root     src         22403 Mar 11 20:09 .config
drwxrwxr-x    2 502      502          4096 Nov 27 22:39
NVIDIA_kernel-1.0-2313
drwx------   15 hendry   hendry       4096 Mar 12 01:10
kernel-source-2.4.18-2.4.18
-rw-r--r--    1 root     src         20509 Mar  7 12:32
kernel-source-2.4.18_2.4.18-2.diff.gz
-rw-r--r--    1 root     src           764 Mar  7 12:32
kernel-source-2.4.18_2.4.18-2.dsc
-rw-r--r--    1 root     src      29818323 Feb 28 15:02
kernel-source-2.4.18_2.4.18.orig.tar.gz
drwxr-xr-x    4 root     src          4096 Mar 11 20:07
nvidia-glx-1.0.2802
-rw-r--r--    1 root     src         29082 Mar 11 20:07
nvidia-glx-dev_1.0.2802-1_i386.deb
-rw-r--r--    1 root     src       1474220 Mar 11 20:07
nvidia-glx_1.0.2802-1_i386.deb
bilbo:/usr/src#

Just a comment. Isn't it silly to apt-source then kernel and get also a
diff and orig.tar.gz you don't need?!

Even though I was JUST trying to build a new kernel last night, when I
booted up this morning I now get error with my old trusted 2.4.17 error
while starting X:
(II) NVIDIA(0): AGP 4X successfully initialized
(EE) NVIDIA(0): Failed to allocate a DMA channel
(EE) NVIDIA(0):  *** Aborting ***
(EE) NVIDIA(0): Failed to allocate DMA push buffer
(EE) NVIDIA(0):  *** Aborting ***

Fatal server error:
AddScreen/ScreenInit failed for driver 0

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to submit@bugs.debian.org.

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.


As you can imagine I am quite frustrated, and I am stuck in console.
Maybe it was the glx upgrade that did it:
bilbo:/usr/src# dpkg -l nvidia*
No packages found matching nvidia-glx-1.0.2802.
No packages found matching nvidia-glx-dev_1.0.2802-1_i386.deb.
No packages found matching nvidia-glx_1.0.2802-1_i386.deb.

Do I need to compile my own kernel with this nvidia source module? Can't I
use a debian 2.4.18 kernel and in the module somehow?

Maybe someone can point me to a Debian specific guide to building a kernel
with nvidia shit from start to finish?

Regards
-Kai Hendry






Reply to: