[原创]建议台式机用户使用realtime内核

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
u194252
帖子: 402
注册时间: 2007-08-04 11:06

#46

帖子 u194252 » 2008-01-22 21:01

目前新内核使用正常,不过启动菜单只有新内核了,呵呵

应该是使用了startup这个原因
图片
头像
bjsm
帖子: 2324
注册时间: 2007-05-13 16:45
来自: 阿拉斯加群岛其中的一个岛上一片原始森林里其中的一颗树上
联系:

装不了显卡驱动.不知道哪里错了.哪位帮看下日志.

#47

帖子 bjsm » 2008-01-23 18:20

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Jan 23 18:11:32 2008

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
9639). As part of installing this driver (version: 1.0-9639), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/usr/src/linux'
-> Kernel output path: '/usr/src/linux'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h Modules.symvers
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux SYSOUT=/usr/s
rc/linux'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz4710/NVIDI
A-Linux-x86-1.0-9639-pkg1/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.tmp_vers
ions
rm -f /tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.tmp_version
s/*
make -f scripts/Makefile.build obj=/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4710/NVI
DIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-functi
on-declaration -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpref
erred-stack-boundary=2 -march=athlon -mtune=generic -ffreestanding -maccumu
late-outgoing-args -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g
-fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tm
p/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv -Wall -Wimplicit -Wre
turn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wn
o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -
DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=9639 -UDEBUG -U_DE
BUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -D
NV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T
_PRESENT -DNV_PCI_CHOOSE_STATE_PRES
ENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REM
AP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMO
DULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODN
AME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1
/usr/src/nv/.tmp_nv.o /tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv.c
In file included from include/linux/list.h:8,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:53,
from include/linux/utsname.h:35,
from /tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv-linux.h:19,
from /tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:110: error: e
xpected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before �
��*’ token
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
‘nvos_create_alloc’:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: �
��nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: (
Each undeclared identifier is reported only once
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:332: error: f
or each function it appears in.)
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
‘nvos_free_alloc’:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:364: error: �
��nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
‘__nv_setup_pat_entries’:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:827: warning:
comparison between signed and unsigned
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
‘__nv_restore_pat_entries’:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:853: warning:
comparison between signed and unsigned
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_cpu_callback’:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1159: warning
: comparison between signed and unsigned
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1166: warning
: comparison between signed and unsigned
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error:
‘nv_pte_t_cache’ undeclared (first use in this function)
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1292: error:
too many arguments to function ‘kmem_cache_create’
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1426: error:
void value not ignored as it ought to be
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c: In function
‘nvidia_exit_module’:
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1453: error:
void value not ignored as it ought to be
/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.c:1557: error:
‘nv_pte_t_cache’ undeclared (first use in this function)
make[3]: *** [/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src/nv/nv.o
] Error 1
make[2]: *** [_module_/tmp/selfgz4710/NVIDIA-Linux-x86-1.0-9639-pkg1/usr/src
/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

#48

帖子 xiooli » 2008-01-25 21:36

xiooli 写了:刚刚一时冲动装了一个 ,由于心理作用感觉快了一些,但是好些以前配置好的东西不起作用了,比如声卡就出现了传说中的耳机不响喇叭响的问题,经再三鼓捣无效,还有就是mplayer打开文件明显变得缓慢无比,最后还是将其删除了事。
最后还是顶不过好奇心,又装了一个,不过咱这次装个新的——kernel 2.6.24-4-rt,首先把源换成8.04的,更新后再在新立得里面选择安装了版本为2.6.24.4的rt内核包,reboot成功!
现在程序启动那个快呀,ooo只要不到2秒的时间,快了一倍以上 :em11
Joolix live OS: http://joolix.com

代码: 全选

dpkg -l|awk '/^rc/{print $2}'|sudo xargs dpkg -P
emyself
帖子: 54
注册时间: 2007-07-09 18:53

#49

帖子 emyself » 2008-01-25 23:02

代码: 全选

首先把源换成8.04的,更新后再在新立得里面选择安装了版本为2.6.24.4的rt内核包
这样也可以?
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#50

帖子 zhuqin_83 » 2008-01-26 6:37

换什么源,直接下载deb包装上不就好了。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
u194252
帖子: 402
注册时间: 2007-08-04 11:06

#51

帖子 u194252 » 2008-01-26 14:30

2.6.22-rt不错啊
图片
fn_dolphin
帖子: 260
注册时间: 2007-04-24 14:23

#52

帖子 fn_dolphin » 2008-01-26 17:39

最后还是顶不过好奇心,又装了一个,不过咱这次装个新的——kernel 2.6.24-4-rt,首先把源换成8.04的,更新后再在新立得里面选择安装了版本为2.6.24.4的rt内核包,reboot成功!
现在程序启动那个快呀,ooo只要不到2秒的时间,快了一倍以上 :em11[/quote]


2.6.24-rt的内核速度能提高一倍?。。。。。8。04值得期待
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

#53

帖子 xiooli » 2008-01-26 18:02

zhuqin_83 写了:换什么源,直接下载deb包装上不就好了。
那我不是懒得找嘛 :em06
不过我的是笔记本,不知道会不会耗电很大呀?
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

Re: 装不了显卡驱动.不知道哪里错了.哪位帮看下日志.

#54

帖子 BigSnake.NET » 2008-01-26 18:07

bjsm 写了:nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Jan 23 18:11:32 2008
先安装对应的header包和source包试试
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
bearscafe
帖子: 694
注册时间: 2007-05-05 23:11

#55

帖子 bearscafe » 2008-01-26 22:48

究竟怎样知道RT内核是不是真的快?
另外这个内核这么好,为什么Debian的源里没有?
头像
ljj_jjl2008
论坛版主
帖子: 14255
注册时间: 2007-09-16 8:29

#56

帖子 ljj_jjl2008 » 2008-01-27 10:03

发现一个BUG:用新内核vbox有问题,vbox的鼠标光标显示不正常
装上了,又卸掉了,现在装了2.6.24-5-rt。
头像
matri
帖子: 1140
注册时间: 2006-10-27 11:14
来自: 悉尼

#57

帖子 matri » 2008-01-27 11:03

ndiswrapper的内核模块不包含在这个kernel里,用ndiswrapper不用尝试了。
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

#58

帖子 xiooli » 2008-01-27 13:11

ljj_jjl2008 写了:发现一个BUG:用新内核vbox有问题,vbox的鼠标光标显示不正常
装上了,又卸掉了,现在装了2.6.24-5-rt。
你比我还前卫阿,我才装了2.6.24-4-rt,你都装到2.6.24-5-rt去了:em21
Joolix live OS: http://joolix.com

代码: 全选

dpkg -l|awk '/^rc/{print $2}'|sudo xargs dpkg -P
头像
sonixrp
帖子: 505
注册时间: 2007-03-28 12:39

#59

帖子 sonixrp » 2008-01-27 13:21

sudo apt-get install linux-rt

之后速度没感觉到有明显的提升,不过VBOX不能启动到是真的了
目前研究自编译内核,有兴趣的朋友一起来吧~
头像
ljj_jjl2008
论坛版主
帖子: 14255
注册时间: 2007-09-16 8:29

#60

帖子 ljj_jjl2008 » 2008-01-27 13:28

xiooli 写了:
ljj_jjl2008 写了:发现一个BUG:用新内核vbox有问题,vbox的鼠标光标显示不正常
装上了,又卸掉了,现在装了2.6.24-5-rt。
你比我还前卫阿,我才装了2.6.24-4-rt,你都装到2.6.24-5-rt去了:em21
是因为我装了2.6.24-4,可是装的有问题了,不能启动,只能卸载,

后来装了2.6.24-5反而正常。
回复