LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 912|回复: 3

tnt2的,cpu是雷鸟的,升级过几次,但都不成功,进不了x windows

[复制链接]
发表于 2003-3-5 20:27:40 | 显示全部楼层 |阅读模式
我的是tnt2的,cpu是雷鸟的,升级过几次,但都不成功,进不了x windows
装kerel包是下面这样的
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86       -I. -I/lib/modules/2.4.20-2.48/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-2.48/build/include/linux/vmalloc.h:8,
                 from nv-linux.h:64,
                 from nv.c:14:
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-2.48/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1282: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer
from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1282: too few arguments to function `remap_page_range_R839d959e'
nv.c:1301: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer
from integer without a cast
nv.c:1301: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1301: too few arguments to function `remap_page_range_R839d959e'
nv.c:1387: warning: passing arg 1 of `remap_page_range_R839d959e' makes pointer
from integer without a cast
nv.c:1387: incompatible type for argument 4 of `remap_page_range_R839d959e'
nv.c:1387: too few arguments to function `remap_page_range_R839d959e'
nv.c: In function `nv_get_phys_address':
nv.c:2250: warning: implicit declaration of function `pte_offset'
nv.c:2250: invalid type argument of `unary *'
make: *** [nv.o] Error 1
我该怎么作,怎么升级才能改分辨率和刷新率
发表于 2003-3-5 20:52:44 | 显示全部楼层
是不是没有安装kernel-source,看一下/usr/src里面有没有什么文件2.4X这类的文件夹?如果没有,就要安装kernel-source,去rpmfind.net里去找相应的版本。用uname -a来查看。
看一下面面的方法或许有所帮助。另外,要把系统版本和内核说一下。

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=17470
 楼主| 发表于 2003-3-5 22:39:02 | 显示全部楼层

redhat

Linux lw81814 2.4.20-2.48 #1 Thu Feb 13 11:52:40 EST 2003 i686 athlon i386 GNU/Linux
版本是redhat8.0的
你给我的那个都试了,都不行.
文件夹有 debug  linux-2.4 linux-2.4.20-2.48 redhat
发表于 2003-3-7 20:56:43 | 显示全部楼层
要把驱动下载到linux的分区里,然后重新启动。必须改/etc/inittab中的id:5:initdefault:

id:3:initdefault:
然后直接进入text下进行操作。在图形界面下操作是不能成功的。

另外把原来的驱动解压文件夹删除,一切从新来过。
试一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表