|
|

楼主 |
发表于 2004-5-25 23:32:02
|
显示全部楼层
nnd google 随便search一下就有了.
patch: http://marc.theaimsgroup.com/?l= ... 4944926119&q=p5
提示把上面的补丁打个 nv 驱动.. 明天回家弄弄看
以下是英文说明
udev vs Nvidia's graphics drivers
This section isn't really relevant to the purpose of this document, but judging from the hits I get from google, this is a hot topic. I will leave it here for now.
Nvidia's graphics drivers (the closed-source ones, not the ones that come with XFree) do not work with a default installation of udev - you are unable to start X. This is because the nvidia module is loaded by X, but the /dev/nvidia* nodes are not created quick enough, so X bails out.
The solution to this problem is to autoload the nvidia module on bootup. Yes - you are *supposed* to do this - the NVidia FAQ confirms this! On devfs-based systems, devfs did this automatically at bootup anyway. Your linux distribution will have created a file which you can list modules to be loaded on bootup (e.g. /etc/modules.autoload.d/kernel-2.6 for Gentoo, /etc/modules for Debian).
This isn't all - you will also need to patch the nvidia kernel interface to export some basic info to SYSFS so that udev will create the devices. Martin Schlemmer has written a patch against the 1.0.5336 version of the nvidia drivers, which can be found here. The Gentoo package nvidia-kernel-1.0.5336-r1 contains this patch.
Another solution is to simply create the nvidia specific nodes on bootup. X will then load the module when required, and as the nodes are already in existance, you will not run into the problem described above. Place these commands in a file that is automatically executed on bootup (e.g. /etc/conf.d/local.start for Gentoo):
mknod /dev/nvidia0 c 195 0
mknod /dev/nvidiactl c 195 255
You should now be able to get into X with no problems.
摘自: http://www.reactivated.net/udevrules.php#nvidia |
|