|
|

楼主 |
发表于 2009-3-20 22:53:10
|
显示全部楼层
再帖上我的make.config和其他一些的文件,希望各位大哥指教,帮我解决一下这个问题:
make.config:
- # These settings were set by the catalyst build script that automatically
- # built this stage.
- # Please consult /etc/make.conf.example for a more detailed example.
- CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
- CXXFLAGS="${CFLAGS}"
- LDFLAGS="-wl,-01,--as-needed"
- # WARNING: Changing your CHOST is not something that should be done lightly.
- # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
- CHOST="x86_64-pc-linux-gnu"
- MAKEOPTS="-j3"
- ACCEPT_KEYWORDS="~amd64"
- FEATURES="sandbox ccach parallel-fetch metadata-transfer"
- LINGUAS="zh_CN zh"
- INPUT_DEVICE="keyboard mouse"
- ALSA_CARDS="alc662"
- VIDEO_CARDS="ati vesa vga"
- SYNC="rsync://61.135.158.199/gentoo-portage"
- GENTOO_MIRRORS="http://gentoo.tom.com/ http://61.135.158.199/ ftp://"
- AUTOCLEAN="yes"
- CCACH_SIZE="2G"
- CCACH_DIR="/var/tmp/ccach"
- # These are the USE flags that were used in addition to what is provided by the
- # profile used for building.
- USE="3dnow 3dnowext X a52 aac aalib acpi alsa apm avahi berkdb bindist bonobo \
- bzip2 cairo cjk crypt cscope dri dbus dvd encode esd firefox flac ftp gd gdbm \
- gif gtk gnome hal imlib java javascript jikes jpeg libg++ libwww mad mikmod \
- mmx mng motif mp3 mpeg mplayer multilib ncurses nls nptl odbc \
- ogg opengl oss pdf perl png python quicktime readline samba \
- sdl spell sse sse2 ssl tcpd truetype unicode usb xml xv zlib \
- newspr win64codecs cdr"
复制代码
rc.config:
- # Global OpenRC configuration settings
- # Set to "YES" if you want the rc system to try and start services
- # in parallel for a slight speed improvement. When running in parallel we
- # prefix the service output with it's name as the output will get
- # jumbled up.
- # WARNING: whilst we have improved parallel, it can still potentially lock
- # the boot process. Don't file bugs about this unless you can supply
- # patches that fix it without breaking other things!
- rc_parallel="NO"
- # Set rc_interactive to "YES" and you'll be able to press the I key during
- # boot so you can choose to start specific services. Set to "NO" to disable
- # this feature.
- rc_interactive="YES"
- # Do we allow any started service in the runlevel to satisfy the depedency
- # or do we want all of them regardless of state? For example, if net.eth0
- # and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
- # both will be started, but services that depend on 'net' will work if either
- # one comes up. With rc_depend_strict="YES" we would require them both to
- # come up.
- rc_depend_strict="YES"
- # rc_hotplug is a list of services that we allow to be hotplugged.
- # By default we do not allow hotplugging.
- # A hotplugged service is one started by a dynamic dev manager when a matching
- # hardware device is found.
- # This service is intrinsically included in the boot runlevel.
- # To disable services, prefix with a !
- # Example - rc_hotplug="net.wlan !net.*"
- # This allows net.wlan and any service not matching net.* to be plugged.
- # Example - rc_hotplug="*"
- # This allows all services to be hotplugged
- #rc_hotplug="*"
- # rc_logger launches a logging daemon to log the entire rc process to
- # /var/log/rc.log
- # NOTE: Linux systems require the devfs service to be started before
- # logging can take place and as such cannot log the sysinit runlevel.
- rc_logger="NO"
- # By default we filter the environment for our running scripts. To allow other
- # variables through, add them here. Use a * to allow all variables through.
- # rc_env_allow="VAR1 VAR2"
- # By default we assume that all daemons will start correctly.
- # However, some do not - a classic example is that they fork and return 0 AND
- # then child barfs on a configuration error. Or the daemon has a bug and the
- # child crashes. You can set the number of milliseconds start-stop-daemon
- # waits to check that the daemon is still running after starting here.
- # The default is 0 - no checking.
- # rc_start_wait=100
- ##############################################################################
- # MISC CONFIGURATION VARIABLES
- # There variables are shared between many init scripts
- # Set unicode to YES to turn on unicode support for keyboards and screens.
- unicode="YES"
- # Network fstypes. Below is the default.
- net_fs_list="afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
- ##############################################################################
- # SERVICE CONFIGURATION VARIABLES
- # These variables are documented here, but should be configured in
- # /etc/conf.d/foo for service foo and NOT enabled here unless you
- # really want them to work on a global basis.
- # Some daemons are started and stopped via start-stop-daemon.
- # We can set some things on a per service basis, like the nicelevel.
- #export SSD_NICELEVEL="-19"
- # Pass ulimit parameters
- #rc_ulimit="-u 30"
- # It's possible to define extra dependencies for services like so
- #rc_config="/etc/foo"
- #rc_need="openvpn"
- #rc_use="net.eth0"
- #rc_after="clock"
- #rc_before="local"
- #rc_provide="!net"
- # You can also enable the above commands here for each service. Below is an
- # example for service foo.
- #rc_foo_config="/etc/foo"
- #rc_foo_need="openvpn"
- #rc_foo_after="clock"
- # You can also remove dependencies.
- # This is mainly used for saying which servies do NOT provide net.
- #rc_net_tap0_provide="!net"
- ##############################################################################
- # LINUX SPECIFIC OPTIONS
- # This is the number of tty's used in most of the rc-scripts (like
- # consolefont, numlock, etc ...)
- rc_tty_number=12
- DISPLAYMANAGER="gdm"
- Xsession Gnome
复制代码
fstab:
- # /etc/fstab: static file system information.
- #
- # noatime turns off atimes for increased performance (atimes normally aren't
- # needed; notail increases performance of ReiserFS (at the expense of storage
- # efficiency). It's safe to drop the noatime options if you want and to
- # switch between notail / tail freely.
- #
- # The root filesystem should have a pass number of either 0 or 1.
- # All other filesystems should have a pass number of 0 or greater than 1.
- #
- # See the manpage fstab(5) for more information.
- #
- # <fs> <mountpoint> <type> <opts> <dump/pass>
- # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
- #/dev/BOOT /boot ext2 noauto,noatime 1 2
- /dev/sda9 / reiserfs notail,noatime 0 0
- /dev/sda10 none swap sw 0 0
- /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
- #/dev/fd0 /mnt/floppy auto noauto 0 0
- # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
- # POSIX shared memory (shm_open, shm_unlink).
- # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
- # use almost no memory if not populated with files)
- shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
复制代码 |
|