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

Re: kernel mess



Bruno Buys wrote:
On 9/26/06, *Bruno Buys* <bruno.grupos@gmail.com <mailto:bruno.grupos@gmail.com>> wrote:

    On 9/26/06, *Wackojacko* <wackojacko32@ntlworld.com
    <mailto:wackojacko32@ntlworld.com>> wrote:

        George Borisov wrote:
        >  Bruno Buys wrote:
        >
        > >I then installed two more kernels to play with:
        > >the 2.6.8-12-amd64-generic and the 2.6.8-12-amd64-k8. Both
        boot and run
        > >ok, but I failed to install nVidia drivers for these two
        >
        >
        >  Do those binary drivers even support running under a 64bit OS? I
        >  think I remember reading somewhere that they don't.
        >
        >  I could be wrong on this one.
        >
        >
        >  Hope this helps,
        >

        I run nvidia graphics drivers on my AMD64 3200+, in both 64 bit
        and 32
        bit sid, so they definitely work.

        Here's what I do.

        ~apt-get install module-assistant nvidia-kernel-source
        ~m-a prepare (sudo or root)
        ~m-a a-i nvidia (sudo or root)
        ~dpkg -i /usr/src/nvidia-kernel-moduleXXXXX.deb (sudo or root)
        ~apt-get install nvidia-glx (sudo or root)

        Restart X.

        You may need the -legacy source and glx packages for older
        hardware.

        HTH

        Wackojacko

        NB I use a custom compiled Kernel, but it shouldn't make any
        difference.


        --
        To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
        <mailto:debian-user-REQUEST@lists.debian.org>
        with a subject of "unsubscribe". Trouble? Contact
        listmaster@lists.debian.org <mailto:listmaster@lists.debian.org>



The package that fails to build is nvidia-kernel-source.
I guess this line is relevant:

/usr/src/modules/nvidia-kernel/nv/nv.c:1: error: code model `kernel' not supported in the 32 bit mode

what do you think?

I am runing x86_64. Must there be a nvidia-kernel-source for x86_64?

I think this may be your problem, googling your error message suggests it comes up when trying to cross compile kernels also. Have you downloaded the source from the amd64 mirror or the ia32 mirror, it must match the OS you are compiling on

On my system in the 64 bit sid

ls /var/cache/apt/archives/*nvidia*
/var/cache/apt/archives/nvidia-kernel-source_1.0.8774-3_amd64.deb

In 32 bit sid, mounted as chroot

ls /emul/ia32-linux/var/cache/apt/archives/*nvidia*
/emul/ia32-linux/var/cache/apt/archives/nvidia-kernel-source_1.0.8774-1_i386.deb


If I fix the nvidia driver for one of these two 64bit kernels, when I boot the 2.6.8-2-k7 back again, will it fail loading the driver?

Yes, you need a kernel module for both kernel versions, not sure if you can just copy the module from one /lib/modules/kernelversion to another and expect it to work. Never tried this though.

HTH

Wackojacko



Reply to: