On Apr 18, 2012 8:51 AM, "walt" <w41...@gmail.com> wrote: > > On 04/17/2012 01:05 PM, Stefan G. Weichinger wrote: > > Am 2012-04-09 02:30, schrieb walt: > > >> I have some seriously ugly hacks for building the > >> nvidia (and very recently) the ati proprietary drivers against git > >> kernels, but I won't spend time explaining them here if no one is > >> interested. > > > > walt, would you mind sharing your nvidia-stuff as well? > > Now there are at least three of us who just can't wait to feel the > sweet sorrow of booting tomorrow's broken kernel :p > > If you build kernels frequently you don't need to install the entire > nvidia-drivers package each time. You need only recompile the code > for the nvidia kernel module, so we extract (and save) just that one > part of the code from the source tarball like this: > > #cd /usr/src > #sh /usr/portage/distfiles/NVIDIA-Linux-x86_64-295.40.run -x > #mv NVIDIA-Linux-x86_64-295.40/kernel/ . <--- notice the dot > #rm -rf NVIDIA-Linux-x86_64-295.40/ > > (the next step is optional, but it will help you next week ;) > #mv kernel nvidia > > A normal person would now do the following: > > #cd nvidia > #make module install //Done! > > But you are not a normal person, are we? :p *You* will get an error > message that your kernel is from another planet and the build will die. > > No worries. The important thing is that the binary blob (nv-kernel.o) > from nvidia.com still works perfectly with today's git kernel. > > Confession: I know this *only* because I convinced the nvidia installer > code that I know more than than the nvidia.com devs know. > > Obviously a lie most foul, but it worked again! (This time.) > > [I'm falling asleep at the keyboard now and I don't want to give you > bogus information, so I'll be back tomorrow with the rest of it.] > >
Bah! A cliffhanger! *twiddles thumb waiting for Walt to wake up* Rgds,