|
|
首先要声明,我不是个懒人。 Google Baidu 了四天了,没能解决 ,才来发贴。
网上有很多关于这个的贴子。我几乎都看过。可是弄不明白为什么他们能成功 我就装不上。
相关机器配置: Intel 865 集成显卡。256M内存。 P4 2.4G CPU。
相应Bios设置: AGP内存32M , 还有一个1M/8M 的选 项,我选 了 8M。开启了多线程支持。
操作系统: Fedora Core 5 (Kernel: 2.6.17-1.2157_FC5smp 。 因为是多线程所以有 smp的。同时 2.6.17-1.2157_FC5 内核我也试过,一样的装不上)
相关的RPM包: kernel-smp-devel-2.6.17-1.2157_FC5 ,kernel-smp-2.6.17-1.2157_FC5
驱动包: 官方下载的 ,dri-I915-v1.1-20041217.i386.rpm (tar 包 我也试过 另外非官方的 i915-20060403-linux.i386 我也试过了)。
安装RPM包时,用 -ivh 选项, 两 行的 ################# 都已经完成,但接下来有如下的提示:
ERROR: kernel module did not compire
The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.
用 tar 包 执行 ./install 也出现相似的错误。
然后在 dri.log 中发现:
/root/MyDownloads/i915-20060403-linux.i386/drm/linux-core/ati_pcigart.c: 在函数 ‘drm_ati_free_pcigart_table’ 中:
/root/MyDownloads/i915-20060403-linux.i386/drm/linux-core/ati_pcigart.c:87: 错误:‘struct page’ 没有名为 ‘count’ 的成员
make[3]: *** [/root/MyDownloads/i915-20060403-linux.i386/drm/linux-core/ati_pcigart.o] 错误 1
make[2]: *** [_module_/root/MyDownloads/i915-20060403-linux.i386/drm/linux-core] 错误 2
make[2]: Leaving directory `/usr/src/kernels/2.6.17-1.2157_FC5-smp-i686'
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/root/MyDownloads/i915-20060403-linux.i386/drm/linux-core'
make: *** [i915.o] 错误 2
我在网上搜索很久了 都没能解决 这个问题。
甚至我还重新编译了内核,还是同样的错误出现。
难道在 FC5 默认的环境下 就不能装上 这个驱动吗?
这个错误提示看起来不是我少装了什么东西,倒像是 驱动程序与内核不兼容的结果。
希望高手 指点一下。 |
|