对NetBSD越来越失望了
版主: lionux
-
- 锌 Zn
- 帖子: 493
- 注册时间: 2010-02-02 18:00
我觉得这个才是根本原因,amd64的大内存设计有缺陷,怪不得openbsd 默认不开呢,bsd的amd64的大内存问题好像一直没有特别好的解决,不信你看看freebsd,netbsd,这几年的大内存问题,我怀疑是穷闹的,大神们没有好机子呀。有好机子的,企业内部自己编译解决了,也不上传解决办法,怀疑是怕影响他们商业利益(比如windows呀,linux)(:p阴谋论调)。
Manuel Bouyer <[email protected]> writes:
> On Mon, Feb 08, 2010 at 08:21:09PM +0300, Aleksej Saushev wrote:
>> The following fixes the problem for me, I can boot installation CD and
>> have access to disk storage (am able to read disklabel).
...
> But the third bus_dmamap_sync() fix is probably also required, the
> bus_dmamap_sync usage here is wrong and things will go wrong on any
> platform where a bus_dmamap_sync() is more than a simple memory
> barrier. On i386 you won't see it; you may on amd64 with
> more than 4Gb ram (depending on how the memory used here was allocated).
I cannot check it anywhere else, I don't have other hardware.
Manuel Bouyer <[email protected]> writes:
> On Mon, Feb 08, 2010 at 08:21:09PM +0300, Aleksej Saushev wrote:
>> The following fixes the problem for me, I can boot installation CD and
>> have access to disk storage (am able to read disklabel).
...
> But the third bus_dmamap_sync() fix is probably also required, the
> bus_dmamap_sync usage here is wrong and things will go wrong on any
> platform where a bus_dmamap_sync() is more than a simple memory
> barrier. On i386 you won't see it; you may on amd64 with
> more than 4Gb ram (depending on how the memory used here was allocated).
I cannot check it anywhere else, I don't have other hardware.
-
- 锌 Zn
- 帖子: 493
- 注册时间: 2010-02-02 18:00
-
- 锌 Zn
- 帖子: 493
- 注册时间: 2010-02-02 18:00
我装的NetBSD amd64在笔记本硬盘也被认成wd0,OpenBSD没事但只能装amd64的,i386的启动不了。wkx9dragon 写了:我觉得NetBSD 5.0x太难用了,感觉没有OpenBSD好使。问题一堆,按道理说,她的驱动应该比OpenBSD多才对呀。感觉上手不好,调的太多了,而且稳定性也不好。比如我这台电脑,居然把两个西数的硬盘640g,1T的认成wd0,wd1,服了!!OpenBSD就没事。什么acpi崩溃呀,。。。就不说了。不知道你们发现没有BSD关机时对硬盘时强关,嘣的一声。以前debian 4.0也有这问题,直到5.0才解决。OpenBSD和NetBSD不知道什么时候了。
-
- 锌 Zn
- 帖子: 493
- 注册时间: 2010-02-02 18:00
时应该呀,可能那个小地方错了。刚才我调了调ffs2,安装崩溃了,第一次瞎改block-size,fragment,inode,崩溃,咱认了,怪自己。第二次,我专门上网查了查。得到以下知识:
ffs 文件系统1)block-size 最小是4096byte,缺省是8倍fragment,8192b。必须是2的幂。
2) fragment 缺省是1024b,大小在block-size的8分之一到相同之间,必须是2的幂
3)inod 缺省是4倍fragment(4096),大小可调,当然也必须是2的幂。又命令优化他。
我的ffs2设置如下:
block=8*4096,fragment=4096,inod=4*fragment,崩溃。
ffs 文件系统1)block-size 最小是4096byte,缺省是8倍fragment,8192b。必须是2的幂。
2) fragment 缺省是1024b,大小在block-size的8分之一到相同之间,必须是2的幂
3)inod 缺省是4倍fragment(4096),大小可调,当然也必须是2的幂。又命令优化他。
我的ffs2设置如下:
block=8*4096,fragment=4096,inod=4*fragment,崩溃。
在线用户
正浏览此版面之用户: 没有注册用户 和 1 访客