+ -
当前位置:首页 → 问答吧 → Fedora4下安装Via KM400集成显卡S3 UniChirome时出现异常,请高手指教!

Fedora4下安装Via KM400集成显卡S3 UniChirome时出现异常,请高手指教!

时间:2005-09-05

来源:互联网

在via主页下下载了针对Fedora4的驱动包Linux-FBDev-kernel-bin_20050527.tgz照着安装说明文件一步步操作。先是到fedora网站下载了系统所用的内核源文件kernel-2.6.11-1.1369_FC4.src.rpm,然后将它放到/usr/src/linux-2.6.11-1.1369_FC4下,接着一步步配置MAKE.最后生成的fbcon.ko不能modprobe.错误如下:FATAL:Error inserting fbcon(/lib/modules/2.6.11-1.1369_FC4/kernel/drivers/video/fbcon.ko): Invalid module format。接着我又按照说明文档下载了显卡驱动的源码文件:linux-fbdev-kernel-src_20050527.tgz,然后MAKE,结果生成的viafb.ko也一样出现和上面fbcon一样的错误。
Readme文件原文如下:
Building and loading viafb device driver for Linux kernel 2.6
---------------------------------------------------------------------------
Building fbcon console module.
Step 1: Change to folder /usr/src/linux-2.6.
# cd /usr/src/linux-2.6.
The linux-2.6 directory depend on your kernel version, so if your kernel version is
2.6.5-1.358, you should type "/usr/src/linux-2.6.5-1.358".
Step 2: Configuring the kernel module
# make menuconfig
Step 3: Select fbcon item to module.
-> Device Drivers->Graphics support->Console display driver support->
<M> Framebuffer Console support
Step 4: Save the current setting and quit.
Step 5: Make fbcon module.
# make modules
Note that if no any error, this step will be produced "fbcon.ko" in
/usr/src/linux-2.6./drivers/video/console folder.
Step 6: Copy fbcon.ko to lib folder.
# cp /usr/src/linux-2.6./drivers/video/console/fbcon.ko \
/lib/modules/2.6./kernel/drivers/video

---------------------------------------------------------------------------
Building viafb as a module. (for Linux kernel 2.6)
Make sure you have the kernel sources in /usr/src/linux-2.6.
Change to the viafb directory, and then following below steps:

Step 1: change to folder /usr/src/linux-2.6.
# cd /usr/src/linux-2.6.
The linux-2.6 directory depend on your kernel version, so if your kernel version is
2.6.5-1.358, you should type "/usr/src/linux-2.6.5-1.358".
Step 2: copy viafb folder in current directory.
# cp -rf .../viafb ./
Step 3: change to viafb directory
# cd /viafb
Step 4: Clear all object file.
# make clean
Step 5: Make source code
# make
Note that if no any error, this step will be produced an object file "viafb.ko".
Step 6: Install viafb.ko framebuffer driver
# make install

---------------------------------------------------------------------------
Using the viafb module. (for Linux kernel 2.6)
If you want to modprobe viafb.ko into kernel and change the display mode in Linux kernel 2.6 and later versions,
you need a framebuffer device driver(viafb.ko) and a framebuffer console module(fbcon.ko).
Modprobing viafb will not change the display mode until you modprobe fbcon.
You can see the related steps below.

Step 1: Start viafb with default settings.
# modprobe viafb
Note that you can see the other options from "Using the viafb module. (for Linux kernel 2.4)" section.
Step 2: Modprope fbcon.
# modprobe fbcon

现在我在显示中看到显卡是S3 UniChrome,是系统默认的。自己的装不上,哪位高手知道原因啊?

作者: samleohuston   发布时间: 2005-09-05

相关阅读 更多

热门下载

更多