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

Re: linux-headers-2.6.33-2-amd64 (2.6.33-1~experimental.3) uninstallable



On Sun, Apr 11 2010, maximilian attems wrote:

> On Sun, Apr 11, 2010 at 12:33:42PM +0200, Christian Hammers wrote:
>> 
>> A rather late reply to a mail I found in the archives... but regarding
>> the usage claim, I would like to mention that people who use e.g. the
>> nvidia binary driver do not have much fun with the experimental kernel
>> images without the corresponding linux-kbuild package.
>> 
>
> binary out of tree stuff is not our focus, use nouveau.

        Or just use make-kpkg. It does not care where you get the kernel
 sources from; it just builds the packages. Works from git, or the
 official kernel sources, and with nvidia as well.

> and woow this is a DD email adress, you can't be serious.

        Seriously, I use nvidia non-free drivers as well. I can affirm
 that I can pull from stable, or Linus' tree, and build kernel images
 and nvidia modules. My usual sequence of action is to

,----
|  % cd /usr/local/src/kernel/linus-tree.git
|  % git fetch stable
|  % git co -b my-machine-v2.6.33.2 v2.6.33.2
|  % make oldconfig
|  % ./.compile_command
|  % sudo dpkg -i ../*.deb
`----

        Where .compile command looks like:

,----
| #!/bin/sh
|
| export MODULE_LOC=/usr/local/src/kernel/modules
|
| # Optionally, refresh the nvidia module
| # rm -rf ${MODULE_LOC}/nvidia-kernel
| # (cd /usr/local/src/kernel; tar jfx /usr/src/nvidia-kernel.tar.bz2
|
| # make sure we get a machine specific name for the image, even if
| # I forgot toe specify one on the command line
| ev=$(uname -n)
|
| # Use the version extension given on the command line, if any
| if [ -n "$1" ]; then
|         ev=$1
| fi
|
| make-kpkg --rootcmd=fakeroot --append-to-version=-$ev kernel_image
| fakeroot make-kpkg           --append-to-version=-$ev modules_image
`----

        Once you have your variant of .compile_command, building kernels
 and nvidia packages is  painless :-)

        manoj
-- 
Exceptions prove the rule, and wreck the budget. Miller
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C


Reply to: