LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 824|回复: 3

安装使用FreeBSD过程中,我遇到的几个问题,求解!

[复制链接]
发表于 2003-10-18 16:00:05 | 显示全部楼层 |阅读模式
很早就听说这个操作系统了,一直想尝试一下,但只有一个硬盘,有很多多年上网积累的东东还有一些自己的作品,所以担心安装不成功,损失惨重!
   今天,终于有了一个小硬盘,我的愿望可以实现了~可是安装过程中的一些问题一直困绕着我~~

疑惑:

1、设置声卡

按照在论坛里看到的资料
在/boot/defaults/loader.conf中修改snd_ich_load="YES"
重启后出现如下错误:
Couldn't open mixer device /dev/sound/mixer


2、关于命令tar

我在/root工作目录下用命令

#tar zxvf /home/ports.tgz

这个东东解压到什么地方去了?为什么完成后我找不到了??

3、关于命令whereis和locate

我用这两个命令搜索我刚刚解的ports
#whereis ports
ports:
#locate ports
locate:database too small: /var/db/locate.database

为什么是这个样子的?怎么没有找到ports??

4、ports中的程序要到网上下载吗(指/usr/ports中已经存在文件夹的)?
我用
#cd /usr/ports/x11-fonts/ttmkfdir
#make install clean

安装不上,错误信息如下
Couldn't fetch it -please try to retrieve this
port manually into /usr/ports/distfiles/ and try again

stop in /usr/ports/x11-fonts/ttmkfdir

我知道如果能上网的话,它可以自己从网上下载,可我家里不能上网,我是不是不能从系统安装文件的/ports中得到我要的东西??(比如xpdf,ttmkfdir,kde-i18n-zh_CN等)我这里只有文件夹,里面也有几个文件,但安装出现上面的错误!

5、我从新用xf86config设置了一下
#startx
不能进窗口了
错误:
(EE)VGA (0):Virtual height (0) is too small for the hardware (min1)

XF86Config内容截选:
Section "Screen"
  Identifier "Screen 1"
  Derice   "My Video Card"
  Monitor  "My Monitor"
  DefaultDepth 16
Subsecton "Display"
   Depth  16
   Modes  "800×600"
  ViewPort 0 0
EndSubsection
EndSection


我用命令
#XFree86 -configure
生成文件拷贝到相应目录,能进窗口,可是分辨率太小了

问题问了很多,谢谢大家了~~
发表于 2003-10-18 16:50:20 | 显示全部楼层

回复: 安装使用FreeBSD过程中,我遇到的几个问题,求解!

1、设置声卡

按照在论坛里看到的资料
在/boot/defaults/loader.conf中修改snd_ich_load="YES"
重启后出现如下错误:
Couldn't open mixer device /dev/sound/mixer


首先确定你用的FreeBSD的版本,如果是5.x以前的版本你需要
# cd /dev
# sh MAKEDEV snd0

5.x版本就不要了
2、关于命令tar

我在/root工作目录下用命令

#tar zxvf /home/ports.tgz

这个东东解压到什么地方去了?为什么完成后我找不到了??

你在哪个目录解压的就在哪个目录,你应该把他解压到/usr下才对!


3、关于命令whereis和locate

我用这两个命令搜索我刚刚解的ports
#whereis ports
ports:
#locate ports
locate:database too small: /var/db/locate.database

为什么是这个样子的?怎么没有找到ports??

查找文件请问find命令!

4、ports中的程序要到网上下载吗(指/usr/ports中已经存在文件夹的)?
我用
#cd /usr/ports/x11-fonts/ttmkfdir
#make install clean


安装不上,错误信息如下
Couldn't fetch it -please try to retrieve this
port manually into /usr/ports/distfiles/ and try again

stop in /usr/ports/x11-fonts/ttmkfdir

我知道如果能上网的话,它可以自己从网上下载,可我家里不能上网,我是不是不能从系统安装文件的/ports中得到我要的东西??(比如xpdf,ttmkfdir,kde-i18n-zh_CN等)我这里只有文件夹,里面也有几个文件,但安装出现上面的错误!

首先确定你已正确解压ports.tar.gz到/usr下,通过ports安装得依赖于网络。不能上网就没办法了。
5、我从新用xf86config设置了一下
#startx
不能进窗口了
错误:
(EE)VGA (0):Virtual height (0) is too small for the hardware (min1)

XF86Config内容截选:
Section "Screen"
  Identifier "Screen 1"
  Derice   "My Video Card"
  Monitor  "My Monitor"
  DefaultDepth 16
Subsecton "Display"
   Depth  16
   Modes  "800×600"
  ViewPort 0 0
EndSubsection
EndSection


我用命令
#XFree86 -configure
生成文件拷贝到相应目录,能进窗口,可是分辨率太小了

问题问了很多,谢谢大家了~~

请把/var/log/XFree86.log贴出来!
 楼主| 发表于 2003-10-19 12:33:35 | 显示全部楼层
1、我的BSD是5.1的
   CT5880 主板集成的

2、你说的地方,我找了,没有找到:(

3、find命令据说损坏硬盘,很残忍的。为什么那两个不行呢?
发表于 2003-10-19 12:51:19 | 显示全部楼层
最初由 malen 发表
1、我的BSD是5.1的
   CT5880 主板集成的

不清楚你的声卡该加载哪个具体的modules
那就将最下的load all sound driver选yes好了~

2、你说的地方,我找了,没有找到:(


你指没找到哪个目录?
3、find命令据说损坏硬盘,很残忍的。为什么那两个不行呢?

The whereis utility checks the standard binary, manual page, and source directories for the specified programs, printing out the paths of any it finds.  

The locate program searches a database for all pathnames which match the  specified pattern.  The database is recomputed periodically (usually  weekly or daily), and contains the pathnames of all files which are pub-licly accessible

The find utility recursively descends the directory tree for each     pathname listed, evaluating an expression (composed of the ``primaries'' and ``operands'' listed below) in terms of each file in the tree.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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