用arch后 开始注重底层配置了,求各位大侠用的一些 模块 和 deamon

头像
ttand
帖子: 1743
注册时间: 2005-08-22 14:05
来自: 离开北京
送出感谢: 1 次
接收感谢: 3 次

用arch后 开始注重底层配置了,求各位大侠用的一些 模块 和 deamon

#1

帖子 ttand » 2008-02-21 21:42

就是参考一下 大家都用了什么

比如 acpid 电源管理, hal 还有屏蔽 ipv6模块

还有u盘的使用==
错过好多好贴,没占到广告位后悔啊
头像
xhy
帖子: 3916
注册时间: 2005-12-28 1:16
系统: Ubuntu 12.10 X64
来自: 火星
送出感谢: 1 次
接收感谢: 0

#2

帖子 xhy » 2008-02-21 21:56

代码: 全选

Module                  Size  Used by
af_packet              12936  2
snd_pcm_oss            36256  0
snd_mixer_oss          13824  1 snd_pcm_oss
snd_seq_dummy           2692  0
snd_seq_oss            28800  0
snd_seq_midi_event      6080  1 snd_seq_oss
snd_seq                46480  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6412  3 snd_seq_dummy,snd_seq_oss,snd_seq
nvidia               6209072  24
agpgart                26632  1 nvidia
snd_hda_intel         266588  0
snd_pcm                62148  2 snd_pcm_oss,snd_hda_intel
snd_timer              18372  2 snd_seq,snd_pcm
snd                    42788  8 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer
soundcore               5728  1 snd
snd_page_alloc          7624  2 snd_hda_intel,snd_pcm
psmouse                35792  0
evdev                   8704  0
ehci_hcd               28556  0
sky2                   37892  0
bitrev                  1600  1 sky2
crc32                   3776  1 sky2
ohci_hcd               18948  0
usbcore               115332  3 ehci_hcd,ohci_hcd
unix                   22448  316
目前负债150多万
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#3

帖子 zhuqin_83 » 2008-02-22 1:29

$lsmod
Module Size Used by
usb_storage 80960 1
radeon 120736 2
drm 70548 3 radeon
agpgart 27352 1 drm
arc4 2176 2
ecb 3072 2
ieee80211_crypt_wep 4608 1
usbhid 40896 0
hid 33920 1 usbhid
ff_memless 5128 1 usbhid
rtc_cmos 7584 0
rtc_core 15496 1 rtc_cmos
rtc_lib 2944 1 rtc_core
ehci_hcd 32524 0
uhci_hcd 22672 0
evdev 9344 7
thermal 13084 0
fan 3844 0
button 6544 0
battery 10756 0
ac 4612 0
snd_hda_intel 289952 1
snd_pcm 68996 1 snd_hda_intel
snd_timer 19204 1 snd_pcm
snd_page_alloc 8072 2 snd_hda_intel,snd_pcm
snd_hwdep 7300 1 snd_hda_intel
snd 44772 6 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 6368 1 snd
ipw2200 138184 0
ieee80211 30664 1 ipw2200
ieee80211_crypt 4992 2 ieee80211_crypt_wep,ieee80211
cpufreq_userspace 3796 0
cpufreq_conservative 6664 1
cpufreq_powersave 1920 0
cpufreq_ondemand 7180 0
acpi_cpufreq 11420 0
freq_table 3984 2 cpufreq_ondemand,acpi_cpufreq
processor 29400 3 thermal,acpi_cpufreq
usbcore 125292 5 usb_storage,usbhid,ehci_hcd,uhci_hcd
reiserfs 225408 4
sr_mod 14884 0
cdrom 33824 1 sr_mod
sd_mod 22656 7
ata_piix 14724 4
pata_acpi 5248 0
ata_generic 5252 0
libata 137712 3 ata_piix,pata_acpi,ata_generic

因为我是笔记本,所以有些模块你可能不需要。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
zlowly
帖子: 83
注册时间: 2006-04-04 1:15
送出感谢: 0
接收感谢: 0

#4

帖子 zlowly » 2008-02-22 2:39

先去看看官方网站的wiki吧,虽然中文翻译的不多,但很多译文都常用的。
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53
送出感谢: 1 次
接收感谢: 2 次
联系:

#5

帖子 jarryson » 2008-02-22 3:20

wiki,要学会看wiki,你说的那几篇wiki上都有翻译的,非常详细
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北
送出感谢: 0
接收感谢: 1 次

#6

帖子 rhfcaesar » 2008-02-22 12:04

我的/etc/rc.conf,也不知道对不对,反正用着没什么问题。

代码: 全选

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Shanghai"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(e100 eepro100 mii !fglrx acpi-cpufreq cpufreq_stats cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace slhc ipw2100 ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore nvram ibm_acpi)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="localhost"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth0="dhcp"
#eth1="dhcp"
INTERFACES=(lo !eth0 !eth1)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
#ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
NET_PROFILES=(menu)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(@syslog-ng @cpufreq network !dhcdbd @netfs @crond alsa hal !ivman fam !@cups gdm !@samba @bluetooth @avahi-daemon @laptop-mode)


# End of file

:D :D

代码: 全选

枪杆子里面出政权
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#7

帖子 zhuqin_83 » 2008-02-22 12:23

ls的网络部分设置过时了,现在推荐用netcfg v2。另外最新的guide把不用的modules放在MOD_BLACKLIST=()了,这样比较好维护,一目了然。daemons几乎都可以用@,alsa hal fam gdm 都可以。
ps. 从文件就知道这台机器比较年迈了。

附上我的:

代码: 全选

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="zh_CN.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=(pcspk 8139cp 8139too snd_seq_oss snd-mixer-oss snd-pcm-oss asus_laptop joydev pcmcia_core ieee1394 bluetooth intel-agp pcspkr tsdev psmouse output sg sdhci mmc_core rtc_cmos battery)
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace ipw2200 snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="Arch"
NETWORKS=(Lai)
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
# Don't use this for wireless interfaces, see network profiles below
#
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng @hal @net-profiles @crond @alsa @fam)


# End of file
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
ttand
帖子: 1743
注册时间: 2005-08-22 14:05
来自: 离开北京
送出感谢: 1 次
接收感谢: 3 次

#8

帖子 ttand » 2008-02-22 12:29

wiki 看过了

只是想看看还有什么地方需要完善 哈哈

多谢各位了 研究中
错过好多好贴,没占到广告位后悔啊
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北
送出感谢: 0
接收感谢: 1 次

#9

帖子 rhfcaesar » 2008-02-22 14:08

To Zhuqin:

机器确实老了点,5年前的ibm x31。那个netcfg v2不是还在testing么? :D :D

代码: 全选

枪杆子里面出政权
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#10

帖子 zhuqin_83 » 2008-02-22 14:52

已经差不多了,毕竟新的iso就快出了,一切老的技术都会被抛弃。都不订阅mailing list么?
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#11

帖子 zhuqin_83 » 2008-02-22 14:55

已经差不多了,毕竟新的iso就快出了,一切老的技术都会被抛弃。都不订阅mailing list么?
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
steamedfish
帖子: 70
注册时间: 2007-01-12 19:32
来自: 临汾->南京->苏州->广州
送出感谢: 0
接收感谢: 0
联系:

#12

帖子 steamedfish » 2008-02-22 18:14

MOD_AUTOLOAD可以关的
我关了

关之前运行一下 hwdetect --modules ,把里面的modules都添加到rc.conf就行了
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#13

帖子 zhuqin_83 » 2008-02-22 21:23

不建议关autoload,用hwdetect的大多用不到,浪费资源和加长开机时间。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
steamedfish
帖子: 70
注册时间: 2007-01-12 19:32
来自: 临汾->南京->苏州->广州
送出感谢: 0
接收感谢: 0
联系:

#14

帖子 steamedfish » 2008-02-22 21:44

zhuqin_83 写了:不建议关autoload,用hwdetect的大多用不到,浪费资源和加长开机时间。

哦?我每次开机花时间最久的就是autoload了,关了就快多了

不过我是台式机
xzl_zl
帖子: 58
注册时间: 2006-01-25 16:55
送出感谢: 0
接收感谢: 1 次

#15

帖子 xzl_zl » 2008-03-06 20:01

zhuqin_83 写了:ls的网络部分设置过时了,现在推荐用netcfg v2。另外最新的guide把不用的modules放在MOD_BLACKLIST=()了,这样比较好维护,一目了然。daemons几乎都可以用@,alsa hal fam gdm 都可以。
ps. 从文件就知道这台机器比较年迈了。

附上我的:

代码: 全选

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="zh_CN.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=(pcspk 8139cp 8139too snd_seq_oss snd-mixer-oss snd-pcm-oss asus_laptop joydev pcmcia_core ieee1394 bluetooth intel-agp pcspkr tsdev psmouse output sg sdhci mmc_core rtc_cmos battery)
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(acpi_cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_userspace ipw2200 snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="Arch"
NETWORKS=(Lai)
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
# Don't use this for wireless interfaces, see network profiles below
#
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng @hal @net-profiles @crond @alsa @fam)


# End of file



请教,为什么我用pacman -Ss netcfg 或者yaourt -Ss netcfg都无法找到这个包呢?
回复

回到 “Arch发行版”