Re: NVidia - correct build/install sequence?

From: Roberto C. Sanchez (roberto_at_familiasanchez.net)
Date: 03/31/05

  • Next message: Roberto C. Sanchez: "Re: VMware on Debian"
    Date: Wed, 30 Mar 2005 17:17:26 -0500
    To: Debian Users <debian-user@lists.debian.org>
    
    

    Quoting Rick Macdonald <rickmacd@shaw.ca>:

    > I recently switched to using module-assistant for building nvidia
    > drivers but wonder if I am doing everything in the correct sequence. I
    > especially wonder if the first reboot is always necessary.
    >
    > Here's what I do when upgrading kernel versions or even reconfiguring a
    > kernel, both of which seem to require rebuilding NVidia to match.
    >
    > cd /usr/src/linux
    > make xconfig
    > make-kpkg clean
    > make-kpkg --append-to-version .rickm.4 kernel_image
    > cd ..
    > dpkg -i kernel-image-2.6.9.rickm.4_10.00.Custom_i386.deb
    > ==>> reboot
    >
    > I always do the reboot here, figuring that the kernel needs to be
    > installed and running for the nvidia to build correctly. Usually, GDM
    > fails to run after booting because the old driver doesn't match the new
    > kernel. But what if I'm reconfiguring, such as turning on tmpfs or some
    > drivers? Should I always reboot?

    Actually, you can tack modules_image to the end of your make-kpkg line.
    Install both packages (kernel-image and nvidia-kernel) at the same time and
    reboot only once.

    -Roberto

    -- 
    Roberto C. Sanchez
    http://familiasanchez.net/~sanchezr
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roberto C. Sanchez: "Re: VMware on Debian"

    Relevant Pages

    • Re: F11: kill -9 doesnt work
      ... 3D support, but I am surprised that I cannot kill ... Only a reboot appears to work. ... graphics card, keyboard and mouse drivers. ... I don't know if this is a kernel module and if it could ...
      (Fedora)
    • Re: kernel 2.6.10-2.6.13-rc4 hang reboot from linux(not from windows or from BIOS),but 2.6.8 and 2.6
      ... >> Seems your bios reboot routine is buggy. ... My gut feel says kexec one linux kernel from another would ... your root filesystem drivers and then keep adding drivers ...
      (Linux-Kernel)
    • Re: [RELEASE] Lguest for 2.6.21
      ... the lguest option? ... /* At the moment we build all the drivers into the kernel because they're so ... faster hack/build/test cycles than either qemu or full reboot. ... kernel version, you're on your own... ...
      (Linux-Kernel)
    • Re: [ATMSAR] Request for review - update #1
      ... The kernel speedtch provides no advantages to its ... >> look at this userspace driver again. ... can break forcing you to reboot. ... past were problems in other subsystems (usbfs, usb drivers, ACPI, IRQ, ...). ...
      (Linux-Kernel)
    • Re: ACPI Error under 2.6.26-rc*
      ... and attach the rsdp for all of the three cases (good, ACPI Error, ... could you please attach the dmesg output of a 2.6.25.10 kernel which has ... # IPVS transport protocol load balancing support ... # Device Drivers ...
      (Linux-Kernel)