LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: zhou3345

[服务新手] gentoo-sources内核.config文件配置服务

[复制链接]
发表于 2010-3-9 21:36:00 | 显示全部楼层
~~~~(>_<)~~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-9 22:18:33 | 显示全部楼层
@fxspeedds
试试吧:)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2010-3-10 22:39:01 | 显示全部楼层
LZ,首先,非常感谢你的帮忙,根据你的配置文件,配了一个新的内核,引导时到scsi检查时停住了,准备等下再根据你的文件配一下。由此估计以前出现问题是scsi没配好导致的,先谢谢你了。估计找到问题所在了。:)
回复 支持 反对

使用道具 举报

发表于 2010-3-17 16:43:46 | 显示全部楼层

我的电脑配置。

神州W230nd4配置。
处 理 器: 英特尔® 奔腾® 处理器 T3400
标准主频: 2.16GHz
二级缓存: 1M
内存容量: 2G DDR-II
光驱类型: DVDRW刻录光驱
显 卡: Intel® GMA X3100
网 卡: 10/100M自适应网卡
重 量: 1.79kg
存储设备 硬盘类型: SATA 硬盘容量: 160G
显示屏 12.1寸高亮宽屏
内置INTEL 3945ABG无线网卡

lspci不加任何参数
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 04)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 04)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 04)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f4)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 04)
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
0a:04.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
0a:04.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
0a:04.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)



希望使用ext4 btrfs ext3 ext2 其中fat ntfs 等使用模块
回复 支持 反对

使用道具 举报

发表于 2010-3-17 17:02:21 | 显示全部楼层

我的make.conf

# TODO: change to -march=core2 when gcc 4.3 goes into stable
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

CHOST="x86_64-pc-linux-gnu"

FEATURES="collision-protect ccache parallel-fetch userfetch"

# added to use separete dist dir
DISTDIR="/var/tmp/distfiles"

# added for hardware & modular x
INPUT_DEVICE="evdev keyboard mouse synaptics"
VIDEO_CARDS="intel"
ALSA_CARDS="hda-intel"

#added on Apr 30, 2008
# use for Hardware with Multimedia Instruction
USE="intel synaptics"

# use for Desktop Environment
USE="${USE} X gtk gtk2 gnome hal"

# use for Chinese Support
USE="${USE} cjk immqt-bc"

# use for Power Management
USE="${USE} acpi"

# misc.
USE="${USE} wifi"



我想装gnome最小化 还想使用wifi无线上网
在gnome中用totem播放所有的视频,音乐(含rmvb vcd dvd等)(use标记不想用全局的。只想用totem的专用标记)使用中文。不用gdm。在.bashrc里startx还要怎么配置
回复 支持 反对

使用道具 举报

发表于 2010-3-17 20:11:25 | 显示全部楼层
老师,你真辛苦啊...!蛮羡慕你的.....
我上个学期的网工花的时间太少了,这次我一定要加油过了它,.另外上个学期在GENTOO上花的时间很多很多,不过总算有些收获,不说多的,至少我知道了GENTOO这东西是什么,有什么用...还能够自己安装一个GENTOO包括管理方面也有很大的收获,最终要谢谢的还是老师你啊,
希望你在将来的路上能够更好的发挥自己的实力.我在学校最敬佩的还是老师你.跟你学习就有收获,想学你的精神,我以后会更努力的,为我自己加油...!
回复 支持 反对

使用道具 举报

发表于 2010-3-18 13:34:47 | 显示全部楼层

我的电脑配置。

神州W230nd4配置。
处 理 器: 英特尔® 奔腾® 处理器 T3400
标准主频: 2.16GHz
二级缓存: 1M
内存容量: 2G DDR-II
光驱类型: DVDRW刻录光驱
显 卡: Intel® GMA X3100
网 卡: 10/100M自适应网卡
重 量: 1.79kg
存储设备 硬盘类型: SATA 硬盘容量: 160G
显示屏 12.1寸高亮宽屏1440*900
内置INTEL 3945ABG无线网卡

lspci不加任何参数
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 04)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 04)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 04)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f4)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 04)
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
0a:04.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
0a:04.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
0a:04.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)



希望使用ext4 btrfs  其中ext3 ext2 fat ntfs 等使用模块


make.conf

--------------------------------------------------------------------------------


# TODO: change to -march=core2 when gcc 4.3 goes into stable
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

CHOST="x86_64-pc-linux-gnu"

FEATURES="collision-protect ccache parallel-fetch userfetch"

# added to use separete dist dir
DISTDIR="/var/tmp/distfiles"

# added for hardware & modular x
INPUT_DEVICE="evdev keyboard mouse synaptics"
VIDEO_CARDS="intel"
ALSA_CARDS="hda-intel"

#added on Apr 30, 2008
# use for Hardware with Multimedia Instruction
USE="intel synaptics"

# use for Desktop Environment
USE="${USE} X gtk gtk2 gnome hal"

# use for Chinese Support
USE="${USE} cjk immqt-bc"

# use for Power Management
USE="${USE} acpi"

# misc.
USE="${USE} wifi"



我想装gnome最小化 还想使用wifi无线上网
在gnome中用totem播放所有的视频,音乐(含rmvb vcd dvd等)(use标记不想用全局的。只想用totem的专用标记)使用中文。不用gdm。在.bashrc里startx还要怎么配置
回复 支持 反对

使用道具 举报

发表于 2010-3-18 16:01:28 | 显示全部楼层

hardened-sources 与gentoo-sources有什么区别

hardened-sources 与gentoo-sources有什么区别
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-3-18 16:18:03 | 显示全部楼层
Post by gaobbc;2076171
神州W230nd4配置。
处 理 器: 英特尔® 奔腾® 处理器 T3400
标准主频: 2.16GHz
二级缓存: 1M
内存容量: 2G DDR-II
光驱类型: DVDRW刻录光驱
显 卡: Intel® GMA X3100
网 卡: 10/100M自适应网卡
重 量: 1.79kg
存储设备 硬盘类型: SATA 硬盘容量: 160G
显示屏 12.1寸高亮宽屏1440*900
内置INTEL 3945ABG无线网卡

lspci不加任何参数
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 04)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 04)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 04)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f4)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 04)
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 01)
0a:04.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
0a:04.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
0a:04.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)



希望使用ext4 btrfs  其中ext3 ext2 fat ntfs 等使用模块


make.conf

--------------------------------------------------------------------------------


# TODO: change to -march=core2 when gcc 4.3 goes into stable
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

CHOST="x86_64-pc-linux-gnu"

FEATURES="collision-protect ccache parallel-fetch userfetch"

# added to use separete dist dir
DISTDIR="/var/tmp/distfiles"

# added for hardware & modular x
INPUT_DEVICE="evdev keyboard mouse synaptics"
VIDEO_CARDS="intel"
ALSA_CARDS="hda-intel"

#added on Apr 30, 2008
# use for Hardware with Multimedia Instruction
USE="intel synaptics"

# use for Desktop Environment
USE="${USE} X gtk gtk2 gnome hal"

# use for Chinese Support
USE="${USE} cjk immqt-bc"

# use for Power Management
USE="${USE} acpi"

# misc.
USE="${USE} wifi"



我想装gnome最小化 还想使用wifi无线上网
在gnome中用totem播放所有的视频,音乐(含rmvb vcd dvd等)(use标记不想用全局的。只想用totem的专用标记)使用中文。不用gdm。在.bashrc里startx还要怎么配置


兄弟,这里只是给个内核参考的配置,降低一下入门门槛而已。
非内核编译的一些东西,请另外发帖询问。
另外抱歉,这几天没有上网来看,让兄弟有些着急,连发了几个回复。

hardend-sources 印象中是给服务器用的,我原来在compaq的服务器上用过,居然很多硬件驱动都没有,又换到gentoo-sources了。

安装gnome
emerge gnome-light gnome-media
就可以了。
USE参数你可以参考我的配置: http://github.com/transtone/transconfig/raw/master/make.conf

另外您提供的网卡信息有错误,你上面写的是 intel3945,而lspci显示的是intel5100。
声卡型号没有提供。
如果网卡和声卡有问题,请自行修改配置。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2010-3-18 19:49:26 | 显示全部楼层

谢谢楼主,

我查了一下,网卡有两个,你所说的是一个有线网卡。我所说的一个无线网卡。声卡是ich8,具体声卡如何查了
回复 支持 反对

使用道具 举报

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

本版积分规则

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