[原创]内核升级到2.6.27-1了,改进了不少

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

[原创]内核升级到2.6.27-1了,改进了不少

#1

帖子 帝国掘墓者 » 2008-08-28 13:00

升级内核到2.6.27-1-generic,几点改进:
1。开机很顺利,我的本子在2.6.26-5内核下启动要手工按关机键才能继续
2。无线网卡(ATHEROS5700)可以自己识别使用了
现在的问题:
1。N卡驱动不行(GEFORCE8400G,使用nvidia-glx-173包)
2。VIRTUALBOX安装失败
头像
daxiawj
帖子: 26
注册时间: 2006-07-13 15:02
来自: CAS/IAP
联系:

#2

帖子 daxiawj » 2008-08-28 14:37

呵呵
我的N卡 Geforce7300 用nvidia 177的驱动是可以的
你不妨试试呢

:-)
头像
SecretZero
帖子: 1670
注册时间: 2007-08-30 5:39

#3

帖子 SecretZero » 2008-08-28 15:35

关机可以用没有?
深度,值得深入!
http://bbs.deepin.org/?u=348684

最新的综艺魔法相册
http://www.77studio.net/?fromuid=344
xuco
帖子: 794
注册时间: 2008-01-30 19:19

#4

帖子 xuco » 2008-08-28 16:54

关机还没有试,应该还不行(刚才我升级后关机还是没效)
刚才发现最上面工具栏中当前登录用户处,多出了 Away, Online, Busy等,竟然还有Reboot,Shutdown,看来原来那个关机是要废掉它了才懒得改了,将改用新的Reboot和Shutdown(还在升级其它东东,这个新关机重启还没试,就当它几天后功能正常吧);
同时,当前帐号的这些在线或忙,多半要和pidgin等即时通讯软件绑定起来了
帝国掘墓者
帖子: 50
注册时间: 2006-02-16 16:04

#5

帖子 帝国掘墓者 » 2008-08-28 18:07

xuco 写了:关机还没有试,应该还不行(刚才我升级后关机还是没效)
刚才发现最上面工具栏中当前登录用户处,多出了 Away, Online, Busy等,竟然还有Reboot,Shutdown,看来原来那个关机是要废掉它了才懒得改了,将改用新的Reboot和Shutdown(还在升级其它东东,这个新关机重启还没试,就当它几天后功能正常吧);
同时,当前帐号的这些在线或忙,多半要和pidgin等即时通讯软件绑定起来了
新的关机重启可以了,另外nvidia-177的驱动可以
头像
cnkanglong
帖子: 332
注册时间: 2006-03-13 14:42

#6

帖子 cnkanglong » 2008-08-30 11:11

cnkanglong原创
我升级到了UBUNTU 8.10后,virtualbox1.6.4不能使用了,内核编译不成功,后来看到一篇英文 按着上面说的,编译成功了
Quick fix for virtualbox 1.6.4 PUEL version and kernel 2.6.27
Quick fix for virtualbox 1.6.4 PUEL version and kernel 2.6.27, no guarantees provided :*)

(1) backup /usr/share/virtualbox/src/SUPDRV.h and /usr/share/virtualbox/src/linux/SUPDrv-linux.c 注:就是备份这两个文件

(2) Edit /usr/share/virtualbox/src/SUPDRV.h (LINE 104) and remove the line containing "include <asm/semaphore.h>"

# else /* older kernels */
# include <asm/semaphore.h>
# endif /* older kernels */
# include <asm/semaphore.h> // REMOVE THIS LINE
# include <linux/timer.h>
注:就是打开 /usr/share/virtualbox/src/SUPDRV.h 这个文件,找到104行,将include <asm/semaphore.h>这一行删除

(3) Edit /usr/share/virtualbox/src/linux/SUPDrv-linux.c (LINE 1331) and change

smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 0 /*retry*/, 1 /* wait */);

to
smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 1 /* wait */);

as retry option has been dropped in 2.6.27
注:就是打开/usr/share /virtualbox/src/linux/SUPDrv-linux.c这个文件,找到1331行,把这些内容 smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 0 /*retry*/, 1 /* wait */); 变为 smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 1 /* wait */);
实际上就是将上面这句话里面的 0 /*retry*/ 删掉

(4) Run /etc/init.d/vboxdrv setup

注:就是运行这个命令 sudo /etc/init.d/vboxdrv setup

[EDIT] Just to add, this fixes the compilation errors below from /var/log/vbox-install.log

In file included from /tmp/vbox.2/linux/SUPDrv-linux.c:35:
/tmp/vbox.2/SUPDRV.h:104:30: error: asm/semaphore.h: No such file or directory
/tmp/vbox.2/linux/SUPDrv-linux.c: In function ‘supdrvOSGipResume’:
/tmp/vbox.2/linux/SUPDrv-linux.c:1331: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vbox.2/linux/SUPDrv-linux.o] Error 1
__________________
"Don't you know how many brain cells alcohol destroys? " she said. I didn't reply, I was too busy trying to remove the spoon I had somehow managed to get stuck up my nose....
Last edited by dinxter; 2 Days Ago at 03:15 AM.
dinxter is offline Reply With Quote


我英文水平不高,在后面加一下注解,希望对大家有用。我已经成功运行了,我是在8.10上运行的
听说现在ubuntu 8.04升级内核也出现了这个问题。
头像
恨铁不成钢
帖子: 28
注册时间: 2008-06-14 8:44

#7

帖子 恨铁不成钢 » 2008-08-30 11:16

我的N7series,不知道是哪一款,比73GT多东西,又比76的少东西,因该是改装的。
我装了177的但就是开不了特效。个人感觉驱动装没装没区别。
帝国掘墓者
帖子: 50
注册时间: 2006-02-16 16:04

#8

帖子 帝国掘墓者 » 2008-08-30 19:00

感谢6楼兄弟,virtualbox安装成功
另外,现在内核到了2.6.27-2,我已经更新安装成功,虽然不知道有什么改进 :oops: ,但是我是内核追新族 :D
头像
jialeadmin
帖子: 724
注册时间: 2008-06-17 23:17
来自: 灾区
联系:

#9

帖子 jialeadmin » 2008-08-30 19:01

呃 晕 内核太高了有什么用?用着爽就行 我不追求内核
◆WINDOWS系统已彻底删除
◆正在安装UBUNTU 9.04
◆系统正在复制文件,请稍等...
┌────────────┐
│ ■■■■■■■□□□ 70% │
└────────────┘
头像
sevk
帖子: 2060
注册时间: 2007-05-08 16:26
系统: arch
来自: 火星内核某分子内某原子核内
联系:

#10

帖子 sevk » 2008-08-30 19:18

不升级照样用,升级了也照样用。怎么搞怎么有。
笔记本 :
F208S : gentoo
A460P i3G D6 : UBUNTU + WIN7
UN43D1 : UBUNTU + WIN7
1000人超级QQ群 LINUX + WIN : 31465544 或 18210387
头像
matrixdwy
帖子: 32
注册时间: 2008-08-27 9:29

#11

帖子 matrixdwy » 2008-08-30 22:21

atheros etl1e 1000M 网卡能用了么?
头像
SecretZero
帖子: 1670
注册时间: 2007-08-30 5:39

#12

帖子 SecretZero » 2008-08-31 0:35

非常郁闷。我升级了2.6.27-2-generic,进不了系统
深度,值得深入!
http://bbs.deepin.org/?u=348684

最新的综艺魔法相册
http://www.77studio.net/?fromuid=344
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#13

帖子 hethe » 2008-08-31 1:11

cnkanglong 写了:cnkanglong原创
我升级到了UBUNTU 8.10后,virtualbox1.6.4不能使用了,内核编译不成功,后来看到一篇英文 按着上面说的,编译成功了
Quick fix for virtualbox 1.6.4 PUEL version and kernel 2.6.27
Quick fix for virtualbox 1.6.4 PUEL version and kernel 2.6.27, no guarantees provided :*)

(1) backup /usr/share/virtualbox/src/SUPDRV.h and /usr/share/virtualbox/src/linux/SUPDrv-linux.c 注:就是备份这两个文件

(2) Edit /usr/share/virtualbox/src/SUPDRV.h (LINE 104) and remove the line containing "include <asm/semaphore.h>"

# else /* older kernels */
# include <asm/semaphore.h>
# endif /* older kernels */
# include <asm/semaphore.h> // REMOVE THIS LINE
# include <linux/timer.h>
注:就是打开 /usr/share/virtualbox/src/SUPDRV.h 这个文件,找到104行,将include <asm/semaphore.h>这一行删除

(3) Edit /usr/share/virtualbox/src/linux/SUPDrv-linux.c (LINE 1331) and change

smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 0 /*retry*/, 1 /* wait */);

to
smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 1 /* wait */);

as retry option has been dropped in 2.6.27
注:就是打开/usr/share /virtualbox/src/linux/SUPDrv-linux.c这个文件,找到1331行,把这些内容 smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 0 /*retry*/, 1 /* wait */); 变为 smp_call_function(VBoxDrvLinuxGipResumePerCpu, pDevExt, 1 /* wait */);
实际上就是将上面这句话里面的 0 /*retry*/ 删掉

(4) Run /etc/init.d/vboxdrv setup

注:就是运行这个命令 sudo /etc/init.d/vboxdrv setup

[EDIT] Just to add, this fixes the compilation errors below from /var/log/vbox-install.log

In file included from /tmp/vbox.2/linux/SUPDrv-linux.c:35:
/tmp/vbox.2/SUPDRV.h:104:30: error: asm/semaphore.h: No such file or directory
/tmp/vbox.2/linux/SUPDrv-linux.c: In function ‘supdrvOSGipResume’:
/tmp/vbox.2/linux/SUPDrv-linux.c:1331: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vbox.2/linux/SUPDrv-linux.o] Error 1
__________________
"Don't you know how many brain cells alcohol destroys? " she said. I didn't reply, I was too busy trying to remove the spoon I had somehow managed to get stuck up my nose....
Last edited by dinxter; 2 Days Ago at 03:15 AM.
dinxter is offline Reply With Quote


我英文水平不高,在后面加一下注解,希望对大家有用。我已经成功运行了,我是在8.10上运行的
听说现在ubuntu 8.04升级内核也出现了这个问题。
照抄别人帖子没关系,但是没必要加上自己原创的字样吧 :shock:
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
回复