* Bob Hilliard <hilliard@debian.org>, 2003-04-08 14:47 -0400: > "bigc5384" <bigc5384@bigc-creation.com> writes: > > > I wanted to know if someone can help > > me step by step on how to build a custom kernel and what files I need to > > include the nvidia driver and modules. Any help would be greatly > > appreciated! > > apt-get install kernel-package > > kernel-package is the Debian Way (TM) to build a kernel. > /usr/share/doc/kernel-package/README.gz gives detailed instructions > for building a custom kernel. I don't know what, if any, additional > files are needed for your card. According to > /usr/share/doc/xserver-xfree86/Status.gz, GeForce2 and GeForce3 are > supported by xserver-xfree86 4.2, which is available in sarge and > sid. I think you should consider upgrading to sid (or sarge). You need the kernel-package as stated above plus #apt-get install nvidia-glx-src nvidia-kernel-src From /usr/share/doc/nvidia-kernel-src/README.Debian: <quote> nvidia-kernel-src for Debian ---------------------------- To build the nvidia-kernel deb you need to first make sure you have kernel-package installed, then do the following: cd /usr/src tar -zxf nvidia-kernel-src.tar.gz cd linux (or your kernel source directory) make-kpkg modules_image cd /usr/src dpkg -i nvidia-kernel-KVER*.deb Note: It is advised not to clean the kernel source tree between "make-kpkg kernel_image" and "make-kpkg modules_image". </quote> Then edit /etc/modules, add "NVdriver" to it and reboot. Attached is my /etc/X11/XF86Config-4, it works on my Inspiron 2650 which AFAIK uses the same chip as yours. I use it w/ Adrian Bunk's backport of XFree 4.2.x: deb http://www.fs.tum.de/~bunk/debian woody/bunk-1 main contrib non-free Note: The woody version of the nvidia driver causes less problems than newer versions. -Andre
### BEGIN DEBCONF SECTION # XF86Config-4 (XFree86 server configuration file) generated by dexconf, the # Debian X Configuration tool, using values from the debconf database. # # Edit this file with caution, and see the XF86Config-4 manual page. # (Type "man XF86Config-4" at the shell prompt.) # # If you want your changes to this file preserved by dexconf, only make changes # before the "### BEGIN DEBCONF SECTION" line above, and/or after the # "### END DEBCONF SECTION" line below. # # To change things within the debconf section, run the command: # dpkg-reconfigure xserver-xfree86 # as root. Also see "How do I add custom sections to a dexconf-generated # XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz. Section "Files" FontPath "unix/:7101" # local font server #FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/Type1" #FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" #FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/local/lib/X11/fonts/misc" FontPath "/usr/share/fonts/truetype" #FontPath "/etc/X11/fonts/TrueType" #FontPath "/usr/X11R6/lib/X11/fonts/TrueType" #FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "int10" Load "record" Load "speedo" Load "type1" Load "vbe" Load "nvidia" Load "glx" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/gpmdata" Option "Protocol" "PS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "Generic Video Card" Driver "nvidia" Option "UseFBDev" "true" EndSection Section "Monitor" Identifier "Generic Monitor" HorizSync 28-50 VertRefresh 43-75 Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "Generic Video Card" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" EndSection Section "DRI" Mode 0666 EndSection ### END DEBCONF SECTION
Attachment:
pgpbg55xcdIps.pgp
Description: PGP signature