佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

楼主: june_starnight

Gentoo快乐之旅……KDE还是不行!最终还是去了GNOME旅游!内有Screenshot看!

[复制链接]
 楼主| 发表于 23-11-2005 12:10 PM | 显示全部楼层
星期一回来,
很想赶快继续我的Gen2之旅。
可是却被逼跑去当公司最贵的劳工!

星期二回来继续我的工作了!

首先先设定我的Group还有User。
这个之前已经策划好了。
一切都进行的蛮顺利的。
然后到了午后就开始装我的Samba了。

问题来啦!
问题终于来啦!

我就用 emerge -pv samba 来查询samba的相依性。
然后就有以下的东西出现。
没有问题

......
[ebuild   N   ] net-fs/samba-2.2.8a.tar.bz2  -acl +cups -doc -examples -kerberos -ldap -libclamav +mysql* -oav -pam -postgres +python -quotas +readline (-selinux) -winbind -xml +xml2 0 kB
......

Total size of downloads: 668 kB



然后我就emerge samba
很无奈的在download这个net-fs/samba-2.2.8a.tar.bz2 file的时候
就是找不到。
试过很多Server Proxy都没有。
所以就安装不成功。

没有任何的头绪。

不知道在那么做。
过后,想起刚才的说明
emerge sync好像是用来更新什么 tree list的
就试一试。

跑跑跑。。。
跑得很久。

等不及了。
唯有CTRL-C
然后再试一试
emerge samba。
果然,samba的version换了。
然后就emerge samba。
要下载得很慢。
最快才去到4-5kbps。
我在用着1Mbps Streamyx可是为什么会酱?

是时候放工了。
没有办法就放着让它自己跑吧!
明早再回来看。
回复

使用道具 举报


ADVERTISEMENT

发表于 24-11-2005 01:27 PM | 显示全部楼层

回复 #20 june_starnight 的帖子

你有set DNS吗??
在/etc/resolv.conf那边
nameserver DNS_IP

另外看到你的帖,说汉化方面的
emerge hkscs-ming就能有华文了,我很少再linux装chinese input其他的你慢慢研究~

你可以用malaysia的gentoo mirror会比较快
在/etc/make.conf里加入
GENTOO_MIRRORS="URL"
http://mymirror.asiaosc.org/gentoo/是mimos的server...
但是有时在那边emerge的package会有问题的,就好像我上次emerge gaim时compile有问题
试了很久都不行,想应该是source的问题吧,然后从/usr/portage/distfiles里delete掉download下来得gaim  package后再用其他的server来emerge,就没问题...

你有时间能不能写关于set server的tutorial ??
我没set呢....
回复

使用道具 举报

 楼主| 发表于 24-11-2005 02:13 PM | 显示全部楼层
原帖由 momoomo 于 24-11-2005 01:27 PM 发表
你有set DNS吗??
在/etc/resolv.conf那边
nameserver DNS_IP

另外看到你的帖,说汉化方面的
emerge hkscs-ming就能有华文了,我很少再linux装chinese input其他的你慢慢研究~

你可以用malaysia的gento ...



DNS过后我设定了。

不知道算不算汉化。
只是想说设定我的Xwindows可以Support UTF8。
中文输入。SCIM不错可以支持很多的输入了。
GCIN好像也是。不过还没有试过。还在研究。

我已经设定了。
现在我的emerge遇到了大问题!

首先是我已经装好了samba可是在/etc/init.d/里面找不到samba整个文件。
  1. gserver root# /etc/init.d/samba start
  2. -bash: /etc/init.d/smbd: No such file or directory
复制代码


所以就想说用equery来查查看是什么问题。
可是当我用equery的时候,发现我还没有装gentoolkit
所以就要去emerge它。

可是就出现了这个
  1. > Configuring environment...
  2. > Calculating dependencies
  3. >
  4. > emerge: there are no masked or unmasked ebuilds to satisfy
  5. > ">=sys-apps/portage-2.0.36".
复制代码


所以就跑去 emerge sync。
一开始 rsync://rsync.gentoo.org/gentoo-portage/
很慢。

/etc/make.conf
放了这个
taiwan的
  1. SYNC="rsync://ftp.isu.edu.tw/gentoo-portage"
  2. GENTOO_MIRRORS="ftp://ftp.isu.edu.tw/pub/Linux/Gentoo"
复制代码


过后就很快。

做完 emerge sync然后在做emerge -uDav world

过后就出现以下的
  1. * An update to portage is available. It is _highly_ recommended
  2. * that you update portage now, before any other pacages are updated.
  3. * please do so and then update ALL of your configuration files.

  4. !!!Error: -N is an invalid short action or option.
复制代码


然后就emerge gentoolkit出现这个
  1. gserver root # emerge gentoolkit
  2. !!! ARCH is not set... Are you missing the /etc/make.profile symlink?
  3. !!! Is th symlink correct? Is your portage tree complete?
复制代码


不见了就做这个
  1. gserver root # rm /etc/make.profile
  2. gserver root # ln -s ../usr/portage/profiles/default-linux/x86/2005.0/ make.profile
  3. gserver root # emerge sync
  4. gserver root # emerge -uDav world
  5. [color=red]These are the packages that i would merge, in order:

  6. !!! ARCH is not set... Are you missing the /etc/make.profile symlink?
  7. !!! Is th symlink correct? Is your portage tree complete? [/color]
复制代码


再来一次
  1. gserver etc # emerge sync
  2. !!! "str" object has no attribute 'insert'
  3. !!! "rm -Rf /usr/portage/profiles: emerge sync" may fix this. If it does
  4. !!! not then please report this to bugs.gentoo.org, if possible, a dev
  5. !!! on #gentoo (irc.freenode.org)
复制代码


看到这个就跟着他的Instrution
  1. gserver etc # rm -Rf /usr/portage/profile
  2. gserver etc # emerge sync
  3. !!! "str" object has no attribute 'insert'
  4. !!! "rm -Rf /usr/portage/profiles: emerge sync" may fix this. If it does
  5. !!! not then please report this to bugs.gentoo.org, if possible, a dev
  6. !!! on #gentoo (irc.freenode.org)
复制代码


看来还是一样。


只是Infinity的在重复!

可能是我用2004.1的版本很久了。

现在在试着这个
  1. mv /usr/portage /usr/portage.bak
  2. emerge sync
  3. emerge metadata
复制代码


如果真的不行,就唯有重新装过了。
刚下了新的一张2005.1的。

这个些都是一个台湾的高手教我的想看详情,请看:
http://forums.gentoo.org.tw/viewtopic.php?t=43711&postdays=0&postorder=asc&start=0

嗯,等我整理好了。
再等我写出来吧!

你有用过WIKI吗?
我觉得用WIKI在这方面会比较好。
我们不需要做重复的工作。

[ 本帖最后由 june_starnight 于 24-11-2005 02:14 PM 编辑 ]
回复

使用道具 举报

 楼主| 发表于 25-11-2005 08:24 AM | 显示全部楼层
真的没有办法了?
唯有重灌了!
回复

使用道具 举报

 楼主| 发表于 28-11-2005 12:34 PM | 显示全部楼层
[quote="june"]我
#emerge gentoo-sources
然後
但是沒有用genkernel
再然後
#make menuconfig
#make dep && make clean bzImage modules modules_install
#cp arch/i386/boot/bzImage /boot
#cp .config /boot/config-2.6.14-gentoo-r2
------
setting network
------

#emerge grub
#grub
grub>root (hd0,0)
grub>setup (hd0)
grub>quit

#nano -w /boot/grub/grub.conf

  1. =======================
  2. #/boot/grub/grub.conf
  3. default 0
  4. timeout 5
  5. splashimage=(hd0,0)/boot/grub/splash.xpm.gz
  6. title=Gentoo Server 2.6.14-r2
  7. root (hd0,0)
  8. kernel /boot/kernel-2.6.14-r2 root=/dev/hda3
  9. =======================
复制代码



當我reboot
到了

vesafb: scrolling: redraw
就hang著了!
怎麽辦?[/quote]
回复

使用道具 举报

发表于 29-11-2005 12:34 AM | 显示全部楼层
cp arch/i386/boot/bzImage /boot

那你的KERNEL应该是bzImage阿。。。

#/boot/grub/grub.conf 应该是酱才对阿..
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Server 2.6.14-r2
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

boot到grub后按'e'然后把 kernel /boot/kernel-2.6.14-r2 root=/dev/hda3 改成 kernel /boot/bzImage root=/dev/hda3
然后按'b'
回复

使用道具 举报

Follow Us
发表于 29-11-2005 09:13 AM | 显示全部楼层
原帖由 momoomo 于 29-11-2005 12:34 AM 发表
cp arch/i386/boot/bzImage /boot

那你的KERNEL应该是bzImage阿。。。

#/boot/grub/grub.conf 应该是酱才对阿..
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Serve ...


initrd /initrd<xxxx>

在哪裡呢?
如果沒有 initrd , 會 kernel panic 的.
回复

使用道具 举报

 楼主| 发表于 29-11-2005 10:55 AM | 显示全部楼层
原帖由 momoomo 于 29-11-2005 12:34 AM 发表
cp arch/i386/boot/bzImage /boot

那你的KERNEL应该是bzImage阿。。。

#/boot/grub/grub.conf 应该是酱才对阿..
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Serve ...



试过了。
可是还是不行。
我想事driver的问题?
要在make menuconfig?

会不会是 framebuffer support的问题呢?
可是我已经untick了哦!
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 29-11-2005 11:03 AM | 显示全部楼层
原帖由 chinkai80 于 29-11-2005 09:13 AM 发表


initrd /initrd<xxxx>

在哪裡呢?
如果沒有 initrd , 會 kernel panic 的.


initrd???不明白。
回复

使用道具 举报

 楼主| 发表于 29-11-2005 11:59 AM | 显示全部楼层
當我再compile時
make dep && make bzImage modules modules_install
出現了以下的Error

  1. include/linux/jiffies.h: In function 'jiffies_64_to_cloc_t';
  2. include/linux/jiffies.h:425: internal compiler error: Segmentation fault
  3. Please submit a full bug report,
  4. with preprocessed source if appropriate.
  5. See <URL:http://bugs.gentoo.org.? for insructions.
  6. The bug is not reproducible, so it is likely a hardware or OS problem.
  7. make[2]: *** [arch/i386/ernel/axpi/sleep.o] Error 1
  8. make[1]: *** [arch/i386/ernel/acpi] Error 2
  9. make: *** [arch/i386/kernel] Error 2
复制代码
回复

使用道具 举报

 楼主| 发表于 29-11-2005 01:13 PM | 显示全部楼层
原帖由 chinkai80 于 29-11-2005 09:13 AM 发表


initrd /initrd<xxxx>

在哪裡呢?
如果沒有 initrd , 會 kernel panic 的.



哈哈!
vesafb: scrolling: redraw问题终于被解决了!

可是另一个问题有来了!
那就是Kernel panic



  1. UDF-fs: No VRS found
  2. Mount JFS Failure: -22
  3. XFS: bad magic number
  4. XFS: SB validate failed
  5. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
复制代码
回复

使用道具 举报

发表于 29-11-2005 02:39 PM | 显示全部楼层
timeout 1
defaults 0

title Gentoo Linux (2.6.14.2)
  root (hd0,0)
  kernel /kernel-genkernel-x86-2.6.14.2-P4HTsmp-CO-Custom root=/dev/ram0 real_root=/dev/hda2 vga=791
  initrd /initramfs-genkernel-x86-2.6.14.2-P4HTsmp-CO-Custom

這是我的 grub.conf
參考一下.
回复

使用道具 举报

发表于 29-11-2005 03:17 PM | 显示全部楼层
好多看不懂的文字。。。。。
回复

使用道具 举报

 楼主| 发表于 29-11-2005 03:34 PM | 显示全部楼层
原帖由 johe07 于 29-11-2005 03:17 PM 发表
好多看不懂的文字。。。。。


哈哈哈!
你只要试一试编辑核心就知道了。
回复

使用道具 举报

发表于 29-11-2005 10:53 PM | 显示全部楼层
昨天收到风说gentoo以后再也没有 stage 1 & 2 了,真扫兴。
回复

使用道具 举报

 楼主| 发表于 29-11-2005 11:30 PM | 显示全部楼层
原帖由 neow_wy 于 29-11-2005 10:53 PM 发表
昨天收到风说gentoo以后再也没有 stage 1 & 2 了,真扫兴。


为什么????
回复

使用道具 举报


ADVERTISEMENT

发表于 30-11-2005 12:51 AM | 显示全部楼层
原帖由 june_starnight 于 29-11-2005 11:30 PM 发表


为什么????


不太清楚,好像是什么方便developer的问题。觉得gentoo好像失去了让它在这么多distro里面突出的特点。
回复

使用道具 举报

发表于 30-11-2005 08:10 AM | 显示全部楼层
没有了stage1,2那就stage1/3嘛
回复

使用道具 举报

发表于 30-11-2005 09:10 AM | 显示全部楼层
可以知道。。。这些stage是做什么用的吗?
回复

使用道具 举报

 楼主| 发表于 30-11-2005 09:52 AM | 显示全部楼层
现在剩下这个问题

  1. UDF-fs: No VRS found
  2. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,3)
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 28-4-2024 09:28 PM , Processed in 0.071637 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表