LinuxSir.cn,穿越时空的Linuxsir!

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

我准备装gentoo了,发帖纪念

[复制链接]
 楼主| 发表于 2009-8-20 19:06:37 | 显示全部楼层
Post by suddenkiller;2018445
我喜欢用ssh远程装,这样还能看看文档,上上网,呵呵。也可以用systemrescuecd,或者其它版本的livecd,官方文档里应该有介绍。我看楼主还是等过段时间光缆修好了再装吧。


现在虽然正常,但出境速度是很慢,才几K, stage3不知道什么时候能下完,只有等晚上看看是否速度有所提升了
回复 支持 反对

使用道具 举报

发表于 2009-8-20 19:19:57 | 显示全部楼层
为什么要出境,mirrors.163.com/gentoo上有。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-20 19:32:44 | 显示全部楼层
Post by zzwzzw;2018450
为什么要出境,mirrors.163.com/gentoo上有。

确认这个可以?但好像没有release, 也没有http list

http://60.191.81.189/gentoo
404 Not Found
nginx

好了,可以打开。感谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-21 09:56:20 | 显示全部楼层
内核出现 interrption panic
irq引起的,现在试着调整一下内核参数,把sound card支持去掉了还是不行
看来hardened不太适合macbook
回复 支持 反对

使用道具 举报

发表于 2009-8-21 10:47:16 | 显示全部楼层
Post by freeobject;2018447
现在虽然正常,但出境速度是很慢,才几K, stage3不知道什么时候能下完,只有等晚上看看是否速度有所提升了

这几天 sir 特别慢,原来是光缆出问题了?!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-21 12:27:46 | 显示全部楼层
安装成功。剩下的就不那么麻烦了
看来还是hardened stage3版本 .28不适合macbook

这个.30的看起来不错。启动内存只有25M, arch下有40M左右
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-22 00:58:33 | 显示全部楼层

贴一下我的配置

每个人的配置都会不一样

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="-O2 -pipe"
# 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"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 nptl nptlonly -ipv6 -fortran unicode svg -hal udev dbus X \
     -kde -qt3 -qt4 -arts -eds -esd gnome gstreamer gtk"

GENTOO_MIRRORS="ftp://210.51.187.182/gentoo"

MAKEOPTS="-j2"
PORTAGE_NICENESS=3

FEATURES="ccache"
CCACHE_SIZE="2G"

INPUT_DEVICES="evdev keyboard mouse synaptics"
VIDEO_CARDS="intel vesa fbdev"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-22 10:35:46 | 显示全部楼层

下面是intel显卡驱动升级到Testing需要的unmask

macbook ~ # cat /etc/portage/package.keywords
x11-base/xorg-server ~amd64
app-admin/eselect-opengl ~amd64
x11-libs/libXfont ~amd64
x11-libs/libdrm ~amd64
x11-proto/randrproto ~amd64
x11-proto/dri2proto ~amd64
x11-drivers/xf86-video-intel ~amd64
x11-drivers/xf86-input-evdev ~amd64
x11-drivers/xf86-input-keyboard ~amd64
x11-drivers/xf86-input-mouse ~amd64
x11-drivers/xf86-input-synaptics ~amd64
x11-misc/xkeyboard-config ~amd64
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-22 10:40:20 | 显示全部楼层

我的xorg.conf,适合macbook(3,1)

macbook ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard" "CoreKeyboard"
        InputDevice    "Synaptics Touchpad" #"CorePointer"
        InputDevice    "USB Mouse" #"SendCoreEvents"
        Option         "AIGLX" "true"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
#        FontPath     "/usr/share/fonts/misc"
#        FontPath     "/usr/share/fonts/100dpi:unscaled"
#        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
#        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "glx"
#        Load  "GLcore"
        Load  "record"
        Load  "dbe"
#        Load  "xtrap"
        Load  "extmod"
        Load  "dri"
#        Load  "freetype"
        Load  "synaptics"
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection


#Section "InputDevice"
#    Identifier  "Keyboard0"
#    Driver      "keyboard"
#    Option      "CoreKeyboard"
#    Option "XkbRules" "xorg"
#    #Option "XkbModel" "pc105"
#    Option "XkbLayout" "us"
#    Option "XkbVariant" "intl"
#EndSection

Section "InputDevice"
        Identifier  "Keyboard"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "USB Mouse"
        Driver      "mouse"
        Option      "CorePointer"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    # updated 2007-12-07
    # use command "synclient -m 1" to see raw output
    # common stuff
    Identifier      "Synaptics Touchpad"
    Driver          "synaptics"
    Option            "SendCoreEvents"        "true"
    Option          "Device"                "/dev/psaux"
    Option          "rotocol"              "auto-dev"
    Option          "SHMConfig"             "on"

    # not using edge scrolling
    Option          "HorizEdgeScroll"       "0"
    Option          "VertEdgeScroll"        "0"

    # use two finger scrolling
    Option          "VertTwoFingerScroll"   "1"
    Option          "HorizTwoFingerScroll"  "1" # set to 0 if you don't want horizontal scrolling

    # scroll speed, lower is faster
    Option          "HorizScrollDelta"      "15"
    Option          "VertScrollDelta"       "15"

    # minimum pressure motion factor
    Option          "ressureMotionMinZ"    "10"

    # touch and untouch thresholds, higher numbers if you like to push hard
    Option          "FingerLow"             "10"
    Option          "FingerHigh"            "20" # change to 30 or 40 if you like

    # borders based on output from synclient
    Option          "LeftEdge"              "20"
    Option          "RightEdge"             "1200"
    Option          "TopEdge"               "20"
    Option          "BottomEdge"            "370"

    # speeds, smaller number for a slower mouse
    Option          "MinSpeed"              "1" # 0.5 is very slow, 1.5 is very fast
    Option          "MaxSpeed"              "1.4" # up to 1.5 works ok
    Option          "AccelFactor"           "0.10"

    # tap times, change to suit your tapping habits
    #Option          "MaxTapMove"            "100"
    #Option          "MaxTapTime"            "100"
    #Option          "MaxDoubleTapTime"      "200"

    # don't change these or two finger tap stops working
    #Option          "TapButton2"            "3"
    #Option          "TapButton3"            "2"

    # must be commented out or normal tapping wont work
    #Option         "TapButton1"            "0"

    #Tapping the top right-hand corner will trigger a right click
    Option "Emulate3Buttons" "true"
    Option "LBCornerButton" "2"
    Option "RBCornerButton" "3"
    #An ordinary tap will not trigger a click
    Option "TapButton1" "0"
    Option "TapButton2" "0"
    Option "TapButton3" "0"

    # needed for disabled while typing fix
    #Option          "SHMConfig"             "on"
EndSection


Section "Monitor"
        #DisplaySize          290   180        # mm
        Identifier   "Monitor0"
        VendorName   "APP"
        ModelName    "Color LCD"
        Option        "DPMS"
EndSection

Section "Device"
        Identifier  "Card0"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                    # [<bool>]
        #Option     "SWcursor"                   # [<bool>]
        #Option     "ColorKey"                   # <i>
        #Option     "CacheLines"                 # <i>
        #Option     "Dac6Bit"                    # [<bool>]
        Option      "DRI"          "true"              # [<bool>]
        #Option     "NoDDC"                      # [<bool>]
        #Option     "ShowCache"                  # [<bool>]
        #Option     "XvMCSurfaces"               # <i>
        #Option     "ageFlip"                   # [<bool>]
        Option      "XAANoOffscreenPixmaps" "true"
#
       
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
        BusID       "CI:0:2:0"
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-8-22 10:41:04 | 显示全部楼层
xorg-server和intel相关驱动升级到1.6.3明显感觉强多了
回复 支持 反对

使用道具 举报

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

本版积分规则

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