Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
让你的 Gentoo 快若刀锋 (20050216.done)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat Dec 18, 2004 3:13 pm    Post subject: Reply with quote

druggo wrote:
哥们,快点完成帖子吧!
我希望最好能完成了再贴上来……


努力努力...
以前我写什么东西都是写完再拿出来的, 第一次试着这么写, 体验一下和大家随时交互写作的方式.
另外, 存在网上比存在自己机器上保险 :lol:
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat Dec 18, 2004 3:20 pm    Post subject: Reply with quote

Hauser wrote:

我裝xp的時候,hda1已經有個98了。嘻嘻,忘了考慮這個因素了。 :oops:

為了把問題搞清楚,我在vmware裡做了個實驗,
[snip]
結果我嘗試安裝xp的時候碰到了EricHsu所講的問題,非 "windows 相容",不給裝! :(


Hauser, 你太敬业了! 还特地实验求证! Admire :!:

Quote:

結果我用fdisk吧hda3改成了c即'W95 FAT32 (LBA)'的類型。這一次可以裝了,當然XP的安裝程式要求要將hda3(C: )和hda5(D: )先格式化啦。裝完之後,xp可以正常使用,但是啟動檔案全裝到hda3里了。後來我又在hda2里裝了個hiweed linux,然後用Grub啟動兩個OS,都沒問題。

這樣我們可以看到兩點:1.xp 不受 1024 磁柱限制。2.xp雖然可以裝到extended分區裡,但一定要在某個primary的分區有個立足點才行(至少安裝程式有這樣的要求,不過就不知道可不可以用vmware的physical disk方式安裝到extended分區裡,誰有條件的話可以試一試)。


铁的事实说明: windows 确实霸道
人家 linux 多乖, 让它装哪儿就装哪儿, 就你个 windows 以为全天下就你自己一个操作系统 :evil:
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sat Dec 18, 2004 3:28 pm    Post subject: Reply with quote

EricHsu wrote:
Hauser wrote:

我裝xp的時候,hda1已經有個98了。嘻嘻,忘了考慮這個因素了。 :oops:

為了把問題搞清楚,我在vmware裡做了個實驗,
[snip]
結果我嘗試安裝xp的時候碰到了EricHsu所講的問題,非 "windows 相容",不給裝! :(


Hauser, 你太敬业了! 还特地实验求证! Admire :!:

我有實際需要啊,乘聖誕節有大減價,我要買一部手提電腦了,這分區的問題是必須得搞清楚才好的。 :)
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Tue Dec 21, 2004 6:05 am    Post subject: Reply with quote

Hauser wrote:

我有實際需要啊,乘聖誕節有大減價,我要買一部手提電腦了,這分區的問題是必須得搞清楚才好的。 :)


对了, 你刚好有 vmware 是吧? 试试我之前提过的问题: 在装好系统的情况下, 更改 extended 分区的类型 (例如从 win95 ext'd 改成 extended 或反之), 看看会不会对 extended 分区里的逻辑分区以及数据造成影响? 先行谢过~
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue Dec 21, 2004 1:05 pm    Post subject: Reply with quote

試過了,轉過來轉過去,似乎都沒問題啵! :D
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Wed Dec 22, 2004 1:14 pm    Post subject: Reply with quote

看来真的很安全, 呵呵. 分区的知识不甚了解, 我想 extended 分区的类型在分区表里可能也就一个符号记录 (贴个 label 似的) 吧, 所以随便改都不影响它里面逻辑分区以及数据...
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
lucida
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 191

PostPosted: Thu Dec 23, 2004 8:09 pm    Post subject: Reply with quote

看到这里还是类似安装手册。。

期待实质性的“快若刀锋”,虽然个人对这些怀疑 :P
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sat Dec 25, 2004 12:38 pm    Post subject: Reply with quote

lucida wrote:
看到这里还是类似安装手册。。

期待实质性的“快若刀锋”,虽然个人对这些怀疑 :P


哈! 我就猜到会有人 "中计"! 用来形容 "刀锋" 的 "快" 与用来形容 "速度" 的 "快" 意思是不同的 :) 例如, "快刀" 与 "快马"...

"快若刀锋" 相当于英文里的 "bleeding edge"... 虽说我也不知道怎么解释才算最合适, 大概意思就是装一个所有技术都用最新最酷的系统...

这么装下来其实也能让系统快至少一些吧, 我之前的系统 glxgears 3000 fps 到顶, 这次 bleeding edge 方式装下来, 冲到 3034 fps, 多了 34 fps 哦, 不容易呀, 呵呵
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Mon Dec 27, 2004 4:42 am    Post subject: Reply with quote

加油,期待!
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
lucida
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 191

PostPosted: Mon Dec 27, 2004 11:31 pm    Post subject: Reply with quote

3000 vs. 3034
1% only
means nothing
Back to top
View user's profile Send private message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Tue Dec 28, 2004 8:50 pm    Post subject: Reply with quote

1% 不错了。 这叫百尺竿头更进一步。

当然这样的性能提升,是否值得花那么多功夫,那又是个见仁见智的问题了。lucida兄可能不愿意,但一定还有愿意试的人,所以还是要EricHsu尽快完成大作。
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
linky_fan
n00b
n00b


Joined: 01 Jan 2005
Posts: 33
Location: Shanghai China

PostPosted: Sat Jan 01, 2005 8:31 am    Post subject: Reply with quote

To: EricHsu
建议bootstrap时候加上nptl, 也就是在make.conf里加上USE="nptl"嘛,只要nptl的glibc的话改成nptlonly就可以了呀.bleeding edge缺了nptl好像不怎么完整吧, :D .
_________________
Be yourself!
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sun Jan 02, 2005 1:17 pm    Post subject: Reply with quote

lucida wrote:
3000 vs. 3034
1% only
means nothing


同一块显卡, 在我 Fedora 时代, 装了 nvidia 驱动, 始终没能超过 1,000 fps (没装驱动时 300 fps 左右), 打 quake3 一般属于被虐的对象 (也许是我对 Fedora 了解不够配置不好吧)... 第一次装完 gentoo 之后很吓人地就轻松上了 2,000.

当然, 现在 3,000 多的是新的显卡, 且 3,000 和 3,034 是 gentoo stage1 和 stage1 的比较. 后者增加的 34 fps 说明了我的兔兔经验的增长 ;)
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sun Jan 02, 2005 1:19 pm    Post subject: Reply with quote

Lance wrote:

当然这样的性能提升,是否值得花那么多功夫,那又是个见仁见智的问题了。


人生乐事之一: 为自己所需度身定造一个完美的 gentoo linux :)
放假完啦, 今晚回来继续写 :D
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sun Jan 02, 2005 1:24 pm    Post subject: Reply with quote

linky_fan wrote:
To: EricHsu
建议bootstrap时候加上nptl, 也就是在make.conf里加上USE="nptl"嘛,只要nptl的glibc的话改成nptlonly就可以了呀.bleeding edge缺了nptl好像不怎么完整吧, :D .


呵呵, 那一部分还没写, ntpl 是肯定要的 :)
因为我觉得 make.conf 里几个变量的设定是一个不小的话题, 且对于刚接触 gentoo 的朋友 (包括之前的我) 是很想了解又因经验问题无从下手的一个内容. 我会逐步添加完整的, 现在出来的只是一些步骤和骨架 :)

今晚开工继续写, 呵呵.
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
linky_fan
n00b
n00b


Joined: 01 Jan 2005
Posts: 33
Location: Shanghai China

PostPosted: Tue Jan 04, 2005 10:50 am    Post subject: Reply with quote

强烈盼望啊.老大.
_________________
Be yourself!
Back to top
View user's profile Send private message
kosine
n00b
n00b


Joined: 02 Oct 2003
Posts: 57

PostPosted: Thu Jan 06, 2005 2:17 am    Post subject: Reply with quote

EricHsu wrote:
to tecehux

我会努力的, 因为版面本身的工作还不少 (有时还得处理一些不合发贴指引的帖子或者乱码贴...), 所以, 大家一是给我点时间耐心等等 (装 gentoo 本身就需要耐心;) ) 另外则祈请大家对版面工作多支持, 务必看过发贴指引, 已了解发贴指引的朋友也多帮帮后来的朋友给他们以引导, 这样我们版面工作就轻松了, 就可以腾更多时间来为大家从技术上提供 service, 谢谢!

to 壳壳

libc.so.6 是 gcc 里应该都有的, 放在 /lib/libc.so.6 . 有些程序说找不到一些库文件, 是因为它们可能只针对某些发行版测试过, 那些发行版把一些库又放在了不一样的地方. 例如有些 gentoo 可能放在了 /lib/ 下, 而其他发行版则可能放在了 /usr/lib 里..

如果要整系统从最开始就使用 gcc34 来编译, 可能就得用 gcc34-x86-2004.2 这个 profile, 这个是经过我现在这个系统证实的 :) 至于 2004.3 是否 bootstrap 就是使用 gcc34, 哪位使用 2004.3 从 stage1 装完的朋友确认一下? 谢谢!

to ts

呵呵, 因为我试过分区错误, 一下子丢了 20G 数据的惨痛经历, 所以我胆子很小. 其实最重要的东西还是日常积累出来的数据, 系统坏了大不了重装, 而你写的论文, 做的软件不是重装就能回来的, 一个 mkfs /dev/hdd5 错打成 mkfs /dev/hda5, 你的所有心血可能就付诸东流 ;)


libc.so.6 是glibc里面的,而不是gcc的
实际上是一个连接指向实际的lib文件
Back to top
View user's profile Send private message
Lance
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2004
Posts: 125

PostPosted: Fri Jan 07, 2005 2:07 am    Post subject: Reply with quote

我喜欢ntpl, 用了ntpl, 我的azureus的下载速度不输windows下的bitComet.
_________________
choose Gentoo, choose freedom
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Sun Jan 09, 2005 8:01 am    Post subject: Reply with quote

kosine wrote:

libc.so.6 是glibc里面的,而不是gcc的
实际上是一个连接指向实际的lib文件


谢谢指正! :D
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
linky_fan
n00b
n00b


Joined: 01 Jan 2005
Posts: 33
Location: Shanghai China

PostPosted: Sun Jan 16, 2005 1:47 am    Post subject: Reply with quote

To EricHsu:
nptl and nptlonly 用nptlonly就可以了,nptl选项会在编译glibc两次,第一次用的是linuxthread,第二次用的才会是nptl,不过ldd的结果还是链接到/lib/tls/libc.so.6的, 不是/lib/libc.so.6. 既然选了nptl, 就不要再在linuxthread上浪费宝贵的时间了吧 :wink:
_________________
Be yourself!
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sun Jan 16, 2005 3:48 am    Post subject: Reply with quote

There're still some programs won't run on a nptl-only machine, so it's "safer" not to use the "nptlonly" flag though it usually won't cause any trouble to most people do choose to use it.
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
linky_fan
n00b
n00b


Joined: 01 Jan 2005
Posts: 33
Location: Shanghai China

PostPosted: Mon Jan 17, 2005 11:58 am    Post subject: Reply with quote

Quote:

There're still some programs won't run on a nptl-only machine, so it's "safer" not to use the "nptlonly" flag though it usually won't cause any trouble to most people do choose to use i

Finally , i find that if you set only the "nptlonly", the system will say "如果你要使用nptlonly的话,请一并设置nptl" in the "Compiling Glibc" step during the bootstrap , then stopped. faint, just redo it. :oops: :oops: :oops:
_________________
Be yourself!
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Tue Jan 18, 2005 2:38 am    Post subject: Reply with quote

Hauser wrote:
There're still some programs won't run on a nptl-only machine, so it's "safer" not to use the "nptlonly" flag though it usually won't cause any trouble to most people do choose to use it.


呵呵, 用 nptlonly, 所以才叫 bleeding edge :)

下面提供一个软件列表, 这些软件在我 nptlonly 的机器上保证是运作正常的 ;)
Code:

eric@gentux ~ $ cat /var/lib/portage/world | cut -d"/" -f2
OpenQ
gdm
scrot
gxmame
gedit
alsa-utils
scim-chinese
stardict-oxford-en-zh-gb
terminal
gnome-light
evolution
coldplug
morph-sources
gnome-volume-manager
rar
xcdroast
evolution-webcal
totem
gentoolkit
gconf-editor
vim
gnome-netstatus
bittornado
stardict
gnome-system-monitor
postfix
mozilla-firefox
cvs
grub
bmp-wma
localepurge
xfce4-showdesktop
abiword
rp-pppoe
splashutils
acroread-asianfonts
beep-media-player
gthumb
xorg-x11
netkit-telnetd
nitro-sources
torsmo
netscape-flash
anjuta
file-roller
glade
quake3
lynx
eject
vixie-cron
gnome-terminal
fam
syslog-ng
nano
xscreensaver
nvidia-kernel
reiser4progs
gcalctool
xfce4
gaim
stardict-langdao-zh-en-gb
gkrellm
firestarter
gettext
iptables
stardict-langdao-en-zh-gb
gentoo-artwork
gnome-applets
bluefish
nvidia-glx
udev
hotplug
mplayer
lftp

_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Tue Jan 18, 2005 2:47 am    Post subject: Reply with quote

linky_fan wrote:

Finally , i find that if you set only the "nptlonly", the system will say "如果你要使用nptlonly的话,请一并设置nptl" in the "Compiling Glibc" step during the bootstrap , then stopped. faint, just redo it. :oops: :oops: :oops:


呵呵, 敬业哦, 自己实验求证! 所以要用 nptlonly 则一定要加上 nptl, 大家留意了:)

我昨天一直试图在搜索一个帖子 (可惜没找到...), 当初为 glibc 加上一个 nptlonly 是因为 glibc 在编译时的一个 bug (没记错的话, 原帖就是这意思), 就是, 即便你设置了 "nptl" 的情况下, 它还是会 build 两次, 然后在你的系统里装两个版本, 包括 nptl 的和 linuxthread 的. 所以 gentoo 的 glibc 开发人员就加了一个 nptlonly 以保证 glibc 只 build 一次, 且为纯 nptl 版本. (记错说错的地方, 欢迎指正:) 另外, 如果有谁能找到关于 glibc nptlonly 的原帖记得给个链接~)

edit: 差点忘了 - 不知道大家留意过没有, 系统自举 (bootstrap) 过程中, gcc, glibc 都是要 build 两次的, 这个和这里讨论的 glibc nptl/linuxthread 各 build 一次不是一回事哦. 系统自举的时候 gcc, glibc 为什么都要 build 两次涅? 感兴趣的自己考虑一下, 呵呵
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue Jan 18, 2005 1:43 pm    Post subject: Reply with quote

EricHsu wrote:
Hauser wrote:
There're still some programs won't run on a nptl-only machine, so it's "safer" not to use the "nptlonly" flag though it usually won't cause any trouble to most people do choose to use it.


呵呵, 用 nptlonly, 所以才叫 bleeding edge :)

下面提供一个软件列表, 这些软件在我 nptlonly 的机器上保证是运作正常的 ;)

As I said, the "nptlonly" flag won't cause any trouble most of the time, I'm running a nptlonly system on my desktop and I have installed many more programs than you have listed here and they all run without any problem. As far as I know, only a few commercial software (don't remember which ones) and some very old programs may have some problems on a nptlonly machine, but if you did not use "nptlonly" flag you'd have linuxthreads as a fallback just in case you might want to use these software.
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum