|
楼主 |
发表于 2004-5-22 11:52:06
|
显示全部楼层
Fedora Core 2重启硬盘会关闭的解决办法
在最新的2.6.6-bk8的changelog里,谈到这一点已经解决:
quote:ChangeSet@1.1726, 2004-05-20 22:22:11-07:00, akpm@osdl.org
[PATCH] ide-disk.c: don't put disks in STANDBY mode on reboot
From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
From: Rene Herman <rene.herman@keyaccess.nl>
Prevent the disks from spinning down across a reboot.
ChangeSet@1.1717.1.108, 2004-05-20 17:40:39-04:00, trond.myklebust@fys.uio.no
From: Dave Jones <davej@redhat.com>
Remove a local 1k array.
ChangeSet@1.1717.9.6, 2004-05-20 15:46:12-05:00, shaggy@austin.ibm.com
JFS: [CHECKER] if txCommit fails, don't call d_instantiate
In several functions, d_instantiate is called before the transaction
is committed. Under the rare condition that txCommit fails, the new
inode is released, but the dentry continues to point to it. This
can lead to a seg fault. The fix is to call d_instantiate after
txCommit has run successfully.
ChangeSet@1.1717.1.107, 2004-05-20 15:54:44-04:00, trond.myklebust@fys.uio.no
From: Arjan van de Ven <arjanv@redhat.com> and akpm
nfs/read.c: dynamically allocate the big structs
ChangeSet@1.1717.1.106, 2004-05-20 15:54:10-04:00, trond.myklebust@fys.uio.no
nfs_writepage_sync stack reduction
。。。。。。
下载2.6.6.tar.bz2:
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
下载2.6.6-bk8:
http://www.kernel.org/pub/linux/ ... patch-2.6.6-bk8.bz2
使用办法:
在/usr/src/目录下,解压一个干净的2.6.6的源码包:
# cd /usr/src/
# tar xjvf /linux-2.6.6.tar.bz2
把2.6.6-bk8的包复制到/usr/src/linux-2.6.6/目录下,在改目录下执行命令:
# bzip2 -dc patch-2.6.6-bk8.bz2 | patch -p1
然后编译内核:
# make oldconfig
不用改动
# make && make modules && make modules_install && make install
重启看看,是不是没问题了? |
|