Re: ioctl definition - has it changed recently?

From: Piotr Hosowicz
Date: Sun Aug 15 2010 - 11:22:25 EST


On 14.08.2010 23:02, Piotr Hosowicz wrote:
On 14.08.2010 22:53, Piotr Hosowicz wrote:
Hello,

I build new kernels when they become available. Now I have a problem.
After I install new kernel I have to run NVidia setup script. Starting
from git15 it fails, see attached file. The error line is here:

/tmp/selfgz6622/NVIDIA-Linux-x86_64-256.35/kernel/nv.c: At top level:
/tmp/selfgz6622/NVIDIA-Linux-x86_64-256.35/kernel/nv.c:426: error:
unknown field âioctlâ specified in initializer
/tmp/selfgz6622/NVIDIA-Linux-x86_64-256.35/kernel/nv.c:426: warning:
initialization from incompatible pointer type

In git14 everything was OK, but now it is not, also with the Git synced
kernel. Has something changed from git14 times? I hope that it changed
in Linux because it will be fixed earlier than NVidia source.

My graphic card is 01:00.0 VGA compatible controller: nVidia Corporation
G96 [GeForce 9400 GT] (rev a1)


The latest driver is here:

ftp://download.nvidia.com/XFree86/Linux-x86_64/256.44/

To unpack execute it with --extract-only option.

http://phosowicz.jogger.pl/2010/08/15/nvidia-graphics-in-fresh-kernels/

Regards,

Piotr Hosowicz

--
TV: "GruchaÅa jest taka, Åe cieszy siÄ z kaÅdego pchniÄcia."
NP: Van Halen - Cabo Wabo/You Really Got Me
NB: 2.6.35-git16
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/