Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享 - 第 6 頁

第 6 頁,共 21 頁 首頁首頁 ... 4 5 6 7 8 16 ... 末頁末頁
顯示結果從第 51 筆 到 60 筆,共計 205 筆
謝謝您13個謝謝

主題: Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享

  1. #51
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續41

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續41

    LXDE桌面環境的安裝設定(還沒開始深入使用)

    筆者想嘗試看看debian-6.0.1a-powerpc-xfce+lxde-CD-1.iso這個版本,畢竟LXDE
    桌面環境是所謂的國產貨,支持一下國貨嚕。

    一切照老方法開始安裝debian-6.0.1a-powerpc-xfce+lxde-CD-1.iso,但是一開
    始的 boot: 訊息之後,就要注意下指令的動作,筆者測試的結果,發現如果一
    切依照預設值安裝,LXDE桌面環境根本"不會"被安裝起來,可是這樣的光碟映像
    檔檔名,卻讓筆者直覺的認為,系統安裝流程不是兩個都一起安裝,就是會有類
    似選單的選項,讓筆者選擇只安裝其中一個,或著兩個都選,結果原來是在yaboot
    開機載入器的 boot: 訊息之後,要輸入對應的項目和附加參數指令,整行看起
    來像是這樣:

    boot: expert desktop=lxde

    執行之後,開始進入系統安裝流程,安裝流程跟筆者之前的描述都一樣。安裝完
    畢重開機進入登入畫面,"作業階段"的可選項目中,就有 LXDE可以選擇,然後
    筆者登入LXDE桌面環境了,先把偏好設定跑一輪,然後筆者開始要找純圖形介面
    的"套件管理程式",來更新和增加在圖形介面要用的軟體,結論是居然"沒有"內
    建,筆者唯一找到很類似的就是在"其它"分類中的"Aptitude(terminal)"項目,
    這是在終端機畫面中的類似PC BIOS選單風格的套件管理程式,筆者只好使用早期
    像是操作DOS環境文書軟體(文字編輯器)的概念模式,很不舒暢的去操作它,試了
    老半天終於把"synaptic套件管理程式"給安裝起來了,被系統擺放在"偏好設定"
    分類中,"synaptic套件管理程式"可被順利操作,缺的套件可以再補安裝起來。
    另外筆者發現,原來現在段LXDE桌面環境,還是被debian分類在X11項目下,還不
    是獨立的分類,或許以後LXDE可設定項目越來越完整,就變成獨立的桌面環境分
    類了。

    參考連結

    LXDE桌面環境

    http://lxde.org/zh-tw/lxde

    Debian GNU/Linux Installation Guide 簡中與英文版本

    http://d-i.alioth.debian.org/manual/...c/ch06s03.html

    http://d-i.alioth.debian.org/manual/...c/ch06s03.html

    安裝debian-6.0.1a-powerpc-xfce+lxde-CD-1.iso有問題

    http://moto.debian.org.tw/viewtopic.php?f=11&t=15664

  2. #52
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續42~43

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續42

    套件庫來源的重新整理

    筆者嘗試重新整理過 /etc/apt/sources.list 的純文字檔案內容,範例如下:
    ---

    # deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 NETINST Binary-1 20110320-15:00]/ squeeze main
    # deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 NETINST Binary-1 20110320-15:00]/ squeeze main
    # squeeze-updates, previously known as 'volatile'
    # deb-src http://opensource.nchc.org.tw/debian/ squeeze-updates main contrib non-free
    deb http://security.debian.org/ squeeze/updates main contrib non-free
    deb http://opensource.nchc.org.tw/debian/ squeeze main contrib non-free
    deb http://opensource.nchc.org.tw/debian/ squeeze-updates main contrib non-free
    deb http://opensource.nchc.org.tw/debian/ squeeze-proposed-updates main contrib non-free
    deb http://opensource.nchc.org.tw/debian/ testing main contrib non-free
    deb http://opensource.nchc.org.tw/debian/ testing-proposed-updates main contrib non-free
    deb http://opensource.nchc.org.tw/debian/ unstable main contrib non-free
    deb http://opensource.nchc.org.tw/debian/ experimental main contrib non-free
    deb http://www.debian-multimedia.org squeeze main non-free
    deb http://www.debian-multimedia.org wheezy main non-free
    deb http://www.debian-multimedia.org sid main non-free
    deb http://www.debian-multimedia.org experimental main

    ---
    筆者摸索老半天,終於知道哪個對應哪個,筆者覺得"debian官方的文件庫"應該
    會有說明"sources.list"內容編排的格式和完整參數的意義的文件資料才對,可
    是又好像找不到有完整說明每一個參數項目意義的文件資料(有繁體中文的會更
    好),或許是筆者搜尋能力不足吧。
    所以以上的排序都是筆者土法煉鋼試出來的,國內的學術網路,有好幾個站台,
    有鏡像debian的套件來源庫,使用者可以依據當下的流量狀況,遠近距離和頻寬
    環境,來選擇其中一個最適用的鏡像站台,並不一定要用筆者範例的,
    http://opensource.nchc.org.tw/debian/,當進入鏡像站台的 /dists/ 路徑下
    可以發現好多個看起來很類似的子路徑,其中:

    stable 等於 squeeze(過一兩年debian改版之後squeeze會換成其他名子)
    stable-proposed 等於 squeeze-proposed
    stable-proposed-updates 等於 squeeze-proposed-updates
    testing 等於 wheezy
    testing-proposed-updates 等於 wheezy-proposed-updates
    unstable 等於 sid
    experimental 等於 experimental

    最開頭加個井字號表示那行無效,偵測 sources.list 的軟體會略過那行,用
    root權限編輯完 sources.list 並存檔後,起用"synaptic套件管理程式",點選
    "重新載入",系統就會把 sources.list 的資訊掃描過一遍,但筆者發現好像並
    不會100%把所有套件庫來源參紀錄都完整的記錄下來,好像有些會失效,可是log
    即時狀態一行一行跑得太快,筆者來不及分析內容。

    另外 gnome選單列\系統\管理\軟體原始碼,則是一個全圖形介面,可用選項和
    填值來設定套件庫來源的參數。

    國內的映射站台有好幾個,當覺得某個站台下載某個檔案好像有問題時,換另一
    個映射站台就是了。

    還有"synaptic套件管理程式""第一次啟用時",建議執行其偏好設定,把所有
    的項目設定跑過一輪,例如"勾選""在主視窗中顯示套件屬性""所有可視欄目"
    等等,因為筆者的經驗是如果沒有設定其偏好設定的話,"synaptic套件管理程式"
    會當掉。

    參考連結

    Debian全球映射站
    http://www.debian.org/mirror/list

    Debian--套件
    http://www.debian.org/distrib/packages

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續43

    安裝Nvidia顯示卡驅動程式遇到的狀況與瓶頸

    筆者手邊有一台準系統小主機,浩鑫 XS35-GT,其搭配的顯示卡晶片組為"NVIDIA ION"
    ,主機板上主要的晶片組為Intel NM10 Express,廠商對於這台準系統的宣傳是
    號稱支援1080P HD playback,所以筆者也希望安裝上linux系統後,有機會呈現
    出廠商對於這台硬體所宣傳的效能,筆者嘗試安裝的版本為debian-6.0.1a-amd64-netinst.iso
    ,筆者第一個想法就是系統安裝完畢之後,在硬體驅動程式這部分,想辦法補強
    ,在"synaptic套件管理程式"裏頭,"不找到""NVIDIA ION"和"NM10"有關的字眼
    的套件或說明,若只有搜尋"NVIDIA"字眼,出現一堆套件,但是筆者真的又不知
    道該從何選起。筆者憑直覺挑選套件,例如就挑選了版本號碼為"260"系列的一堆
    NVIDIA字眼的套件,結果安裝完畢後,重開機,原本可以調整螢幕更新頻率的選
    項 \控制中心\螢幕,變成了寫死成"0 HZ"而無法調整,筆者把系統參數設定搞壞
    了,只好重灌。因此推斷,若要從套件來源庫挑選nvidia顯卡驅動程式相關套件
    應該有一個規則流程,沒有辦法像MsWindows或MacOSX那樣勾選下載安裝,剩下的
    系統會自動做到好那麼的簡單。除了debian本身的套件來源庫之外,筆者還有查
    詢到nvidia官方網站也有提供linux 64位元版本的"通用型"驅動程式,筆者經過
    多次錯誤嘗試和系統重灌之後,終於摸索出一個順序,覺得實在有夠複雜,但至
    少是一個開始。

    在系統剛安裝好之後,先不要從"synaptic套件管理程式"安裝跟"硬體驅動程式"
    有關係的套件更新,像是xorg系列之類的,上nvidia官方網站下載linux 64位元
    版本驅動程式,筆者這裡以"NVIDIA-Linux-x86_64-270.41.06.run"這個約47MB的
    安裝程式為範例,因為檔名很長,筆者為了之後在純文字指令模式下的操作方便,
    將檔名改成了"n.run"並且將檔案擺放在最上層的根目錄之下,筆者在錯誤嘗試的
    過程中發現,NVIDIA-Linux-x86_64-270.41.06.run內容有包含大量的原始碼純文
    字檔案,在執行安裝這個檔案的過程中,有即時編譯原始碼成位元檔的動作,而
    不光只是將既有的位元檔解壓說並擺放到對應的路徑位置而已,所以系統中還必
    須要安裝一些在程式開發時會用到的編譯器套件等等。

    參考了錯誤訊息和網友的提示文字之後,筆者整理出了事先要安裝的套件有:

    binutils

    make

    gcc 4.3 (搜尋後,套件清單照字母排序,筆者把 gcc 4.3 開頭的都裝了)

    build-essential

    linux-headers-2.6.32-5-all (2.6.32-5是筆者當下系統核心的版本)

    linuc-source-2.6.32

    當這些套件都安裝完畢,就要開始準備安裝"n.run",官方網頁的說明文資訊中
    ,有標示這個檔案必須在所謂圖形介面"沒有啟動"著狀態下才能安裝,這部分就
    像筆者以往在MsWindows全圖形介面環境下安裝硬體驅動程式那樣,只要一直用
    滑鼠點選下一步即可的思維"不一樣",打個比喻,就好像要安裝MsWindows 3.1
    的驅動程式,還等先退出回到DOS環境,下指令安裝,安裝完畢再執行win進入視
    窗環境那樣,實在很麻煩。
    筆者google之後找到了設定小技巧,在 /etc/init.d/gdm3 是筆者進入圖形介面
    登入畫面的首個參數設定檔(其他的桌面環境可以推敲,例如如果是進入KDE桌面
    環境,可能就要尋找"kdm"字眼的檔案),用純文字編輯器在這個設定檔中的第一
    行插入一行字串"exit 0"(數字"零"),存檔之後重開機,系統就不會進入圖形介
    面環境了,就好像DOS環境開機而不會繼續進入MsWindows 3.1,然後就輸入root
    這個最高權限的帳號和密碼,
    輸入指令執行 cd / 切換到跟目錄下,
    輸入指令 export CC=/usr/bin/gcc-4.3,
    輸入指令執行 sh n.run 開始進入官方版本的nvidia驅動程式安裝程序,
    安裝流程有很多訊息,有的選是,有的選否,有的選跳過,筆者印象中的有詢問
    是否要安裝opengl 32位元相容套件,筆者的硬體跟系統都是64位元版,那當然選
    否了,最後光棒百分比數據到達100%,驅動程式安裝完畢了,使用文字編輯器vi,
    將 /etc/init.d/gdm3 第一行的字串"exit 0"移除掉,重開機可以登入圖形桌面
    環境啦(筆者發現另一個技巧就是,執行 startx 還是可以進入圖形介面,就像輸
    入win 進入 MsWindows3.1那樣)。

    在gnome控制中心裏頭有 NVIDIA X Server Settings 項目可使用,建議使用root
    帳號登入來操作它,筆者嘗試將 NVIDIA X Server Settings 項目裏頭跟效能有
    關的項目都調整到最大值,也設定了更新平率等等,可是筆者另外還是發現gnome
    控制中心原本舊有的"螢幕"項目,裏頭的設定還是損壞了,無法調回正常數值,
    不過沒關係 NVIDIA X Server Settings 項目有正常就好了,雖然gnome控制中心
    原本舊有的"螢幕"項目損壞問題修不好還是有點疙瘩(筆者不會寫程式,解決不了)
    ,接下來就是要驗證,是不是3D效能真的有被啟用,筆者從套件庫安裝了一款遊
    戲"Armagetron Advanced",執行後發現真的沒有延遲和破圖,這應該就表示3D運
    算有作用吧!?接下來嘗試撥放1080P影片,MP4格式,筆者嘗試的撥放程式有VLC
    ,gnome mplayer(採用mplayer核心),totem結果都延遲的很嚴重,720P則是只要
    不去點選"快轉"的功能,就是剛好順暢,筆者又嘗試就看得懂的範圍內,將撥放
    程式的偏好設定參數做最佳化,該裝的解碼器也都裝了(影片都可以撥放),可是
    還是延遲嚴重,筆者就不曉得該怎麼辦了,就差那麼一點,到底是哪裡有問題?

    參考連結有兩個筆者所找到的官方編撰關於nvidia驅動程式的英文文件,可是筆
    者能力所及,真的看不懂,一旦開始下一拖拉庫指令編譯程式,就超過筆者的範
    圍了。

    筆者個人是推測,雖然debian套件庫的nvidia驅動程式版本只有到"260",但只
    要安裝流程順序有搭配的當,應該還是可以呈現到某一程度的顯示運算效能,只
    是筆者真的看不懂其文件所表達的內容,太複雜了。

    筆者又想到一個狀況,那如果哪天debian套件庫的版號超過了比筆者現在安裝的
    官方版檔案的版號,那麼筆者就會想安裝新版的(來自MSWINDOWS的習慣,有新版
    驅動程式只要該版本是所謂的正式版,就會更新),那麼套件庫的版本和硬體廠商
    的版本在更新交替時會不會相衝而導致系統損壞啊!?

    越寫越複雜,連筆者自己都嫌煩,只不過安裝個驅動程式而已,在MsWindows的全
    圖形介面,點選下一步就可以解決的問題,為什麼在LINUX系統上就要搞得這麼複
    雜,這就是自由軟體的代價嗎!?


    參考連結

    http://wiki.debian.org/NvidiaGraphicsDrivers

    http://wiki.debian.org/NvidiaGraphicsDriversNvidiaWay

    debian6.0該如何搭配套件庫的nvidia套件或nvidia官方驅動程式?
    http://moto.debian.org.tw/viewtopic.php?f=11&t=15666
    感謝網友提供多個關鍵提示資訊文字

    最後附上一長串筆者看不懂的錯誤訊息

    ---
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Wed Apr 27 14:03:34 2011
    installer version: 270.41.06

    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    no X server check : false
    no cc version check : false
    run distro scripts : true
    no nouveau check : false
    run nvidia-xconfig : false
    sigwinch work around : true
    force tls : (not specified)
    force compat32 tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    compat32 install chroot : (not specified)
    compat32 install prefix : (not specified)
    compat32 install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    installer prefix : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    precompiled kernel interfaces path : (not specified)
    precompiled kernel interfaces url : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    selinux chcon type : (not specified)

    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 270.41.06.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> The CC version check failed:

    The compiler used to compile the kernel (gcc 4.3) does not exactly match the
    current compiler (gcc 4.5). The Linux 2.6 kernel module loader rejects kern
    el modules built with a version of gcc that does not exactly match that of t
    he compiler used to build the running kernel.

    If you know what you are doing and want to ignore the gcc version check, sel
    ect "No" to continue installation. Otherwise, select "Yes" to abort install
    ation, set the CC environment variable to the name of the compiler used to c
    ompile your kernel, and restart installation. Abort now? (Answer: No)
    -> Kernel source path: '/lib/modules/2.6.32-5-amd64/source'
    -> Kernel output path: '/lib/modules/2.6.32-5-amd64/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./kernel; make clean'...
    -> Building kernel module:
    executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.32-5-amd64/sour
    ce SYSOUT=/lib/modules/2.6.32-5-amd64/build'...
    NVIDIA: calling KBUILD...
    make -C /lib/modules/2.6.32-5-amd64/build \
    KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
    KBUILD_EXTMOD="/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel" -f /us
    r/src/linux-headers-2.6.32-5-common/Makefile \
    modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    ."; \
    echo; \
    /bin/false)
    mkdir -p /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.tmp_versions
    ; rm -f /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.tmp_versions/*
    make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/t
    mp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv.o.d -
    nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude -Iin
    clude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-hea
    ders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h -I
    /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -Wun
    def -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wer
    ror-implicit-function-declaration -Wno-format-security -fno-delete-null-poin
    ter-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a
    -time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFI
    G_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tab
    les -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-f
    rame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-
    overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-Lin
    ux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-erro
    r -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-unused
    -function -mno-red-zone -mcmodel=
    kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BA
    SENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/se
    lfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.tmp_nv.o /tmp/selfgz1635/NVID
    IA-Linux-x86_64-270.41.06/kernel/nv.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv-chrdev
    .o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclu
    de -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/li
    nux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf
    .h -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wa
    ll -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm
    on -Werror-implicit-function-declaration -Wno-format-security -fno-delete-nu
    ll-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fun
    it-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1
    -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-u
    nwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048
    -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno
    -strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NV
    IDIA-Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -
    Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wn
    o-unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -
    DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_chrdev)" -D"K
    BUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-Linux-x86_64
    -270.41.06/kernel/.tmp_nv-chrdev.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.4
    1.06/kernel/nv-chrdev.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv-mlock.
    o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclud
    e -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/lin
    ux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.
    h -I/tmp/
    selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -Wundef -
    Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-i
    mplicit-function-declaration -Wno-format-security -fno-delete-null-pointer-c
    hecks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time
    -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
    FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
    no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-p
    ointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overfl
    ow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-Linux-x86
    _64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__
    KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-unused-funct
    ion -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBU
    ILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_mlock)" -D"KBUILD_MODNAME=K
    BUILD_STR(nvidia)" -c -o /tmp/self
    gz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.tmp_nv-mlock.o /tmp/selfgz1635/
    NVIDIA-Linux-x86_64-270.41.06/kernel/nv-mlock.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv-procfs
    .o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclu
    de -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/li
    nux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf
    .h -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wa
    ll -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm
    on -Werror-implicit-function-declaration -Wno-format-security -fno-delete-nu
    ll-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fun
    it-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1
    -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unw
    ind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -
    fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointe
    r-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/se
    lfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-
    cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.
    41.06\" -Wno-unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG
    -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_pro
    cfs)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-L
    inux-x86_64-270.41.06/kernel/.tmp_nv-procfs.o /tmp/selfgz1635/NVIDIA-Linux-x
    86_64-270.41.06/kernel/nv-procfs.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv_gvi.o.
    d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude
    -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux
    -headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h
    -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -
    Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
    Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-p
    ointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
    t-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCO
    NFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-
    tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomi
    t-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri
    ct-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-
    Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-e
    rror -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-unu
    sed-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODU
    LE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)" -D"KBUILD_MO
    DNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.
    06/kernel/.tmp_nv_gvi.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel
    /nv_gvi.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv-vm.o.d
    -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude -I
    include2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-h
    eaders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h
    -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -W
    undef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -W
    error-implicit-function-declaration -Wno-format-security -fno-delete-null-po
    inter-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at
    -a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCON
    FIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-t
    ables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit
    -frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stric
    t-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-L
    inux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-ca
    st-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41
    .06\" -Wno-unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -D
    NDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"
    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-Linux-x8
    6_64-270.41.06/kernel/.tmp_nv-vm.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.4
    1.06/kernel/nv-vm.c
    /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv-vm.c: In function â€
    v_sg_map_buffer’:
    /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv-vm.c:151:23: warning
    : assignment makes integer from pointer without a cast
    /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv-vm.c:236:1: warning:
    label â€one’ defined but not used
    /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv-vm.c:144:16: warning
    : unused variable â€ount’
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.os-agp.o.
    d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude
    -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux
    -headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h
    -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -
    Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
    Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-p
    ointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
    t-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCO
    NFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-
    tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomi
    t-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri
    ct-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-
    Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-e
    rror -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-unu
    sed-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DE
    BUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os
    _agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-
    Linux-x86_64-270.41.06/kernel/.tmp_os-agp.o /tmp/selfgz1635/NVIDIA-Linux-x86
    _64-270.41.06/kernel/os-agp.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.os-interf
    ace.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iin
    clude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src
    /linux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoc
    onf.h -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__
    -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
    ommon -Werror-implicit-function-declaration -Wno-format-security -fno-delete
    -null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -
    funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI
    =1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-
    unwind
    -tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fom
    it-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-str
    ict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA
    -Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-
    error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-un
    used-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMOD
    ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KB
    UILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-
    270.41.06/kernel/.tmp_os-interface.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270
    .41.06/kernel/os-interface.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.os-smp.o.
    d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude
    -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux
    -headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h
    -I/tm
    p/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -Wundef
    -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-
    implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-
    checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-tim
    e -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS
    _CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables
    -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame
    -pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-over
    flow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-Linux-x
    86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D
    __KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-unused-fun
    ction -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"K
    BUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_smp)" -D"KBUILD_MODNAME=K
    BUILD_STR(nvidia)" -c -o /tmp/self
    gz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.tmp_os-smp.o /tmp/selfgz1635/NV
    IDIA-Linux-x86_64-270.41.06/kernel/os-smp.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.os-regist
    ry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinc
    lude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/
    linux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoco
    nf.h -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -
    Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-co
    mmon -Werror-implicit-function-declaration -Wno-format-security -fno-delete-
    null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -f
    unit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=
    1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-u
    nwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048
    -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-
    sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/self
    gz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-ca
    st-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41
    .06\" -Wno-unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -D
    NDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_regis
    try)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-L
    inux-x86_64-270.41.06/kernel/.tmp_os-registry.o /tmp/selfgz1635/NVIDIA-Linux
    -x86_64-270.41.06/kernel/os-registry.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv-cray.o
    .d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude
    -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux
    -headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h
    -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -
    Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-com
    mon -Werror-implicit-function-declaration -Wno-format-security -fno-delete-n
    ull-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fu
    nit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1
    -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unw
    ind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -
    fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-
    strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVI
    DIA-Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -W
    no-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno
    -unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D
    MODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_cray)" -D"KBUI
    LD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-27
    0.41.06/kernel/.tmp_nv-cray.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/
    kernel/nv-cray.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nv-i2c.o.
    d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude
    -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux
    -headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h
    -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -
    Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
    Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-p
    ointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
    t-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCO
    NFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-
    tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomi
    t-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-stri
    ct-overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-
    Linux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compar
    e -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING
    =\"270.41.06\" -Wno-unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U
    _DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR
    (nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVID
    IA-Linux-x86_64-270.41.06/kernel/.tmp_nv-i2c.o /tmp/selfgz1635/NVIDIA-Linux-
    x86_64-270.41.06/kernel/nv-i2c.c
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nvacpi.o.
    d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iinclude
    -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux
    -headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h
    -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -Wall -
    Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
    Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-p
    ointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
    t-
    a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONF
    IG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-ta
    bles -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-
    frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict
    -overflow -fno-dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-Li
    nux-x86_64-270.41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-err
    or -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-unuse
    d-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -DMODULE
    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_MODNA
    ME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/
    kernel/.tmp_nvacpi.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv
    acpi.c
    ld -m elf_x86_64 -r -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/ker
    nel/nvidia.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv-kernel.
    o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv.o /tmp/selfgz1635/
    NVIDIA-Linux-x86_64-270.41.06/kernel/nv-chrdev.o /tmp/selfgz1635/NVIDIA-Linu
    x-x86_64-270.41.06/kernel/nv-mlock.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270
    .41.06/kernel/nv-procfs.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kern
    el/nv_gvi.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv-vm.o /tm
    p/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/os-agp.o /tmp/selfgz1635/N
    VIDIA-Linux-x86_64-270.41.06/kernel/os-interface.o /tmp/selfgz1635/NVIDIA-Li
    nux-x86_64-270.41.06/kernel/os-smp.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270
    .41.06/kernel/os-registry.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/ke
    rnel/nv-cray.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv-i2c.o
    /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nvacpi.o
    (cat /dev/null; echo kernel//tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/
    kernel/nvidia.ko > /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/mo
    dules.order
    make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.modpost
    scripts/mod/modpost -m -i /usr/src/linux-headers-2.6.32-5-amd64/Module.sy
    mvers -I /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/Module.symvers
    -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/Module.symvers -S -
    w -s
    cc -Wp,-MD,/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/.nvidia.mo
    d.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.5.2/include -Iincl
    ude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/l
    inux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autocon
    f.h -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel -D__KERNEL__ -W
    all -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-com
    mon -Werror-implicit-function-declaration -Wno-format-security -fno-delete-n
    ull-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -fu
    nit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1
    -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unw
    ind-tables -mno-sse
    -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer
    -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno
    -dwarf2-cfi-asm -fconserve-stack -I/tmp/selfgz1635/NVIDIA-Linux-x86_64-270
    .41.06/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL_
    _ -DMODULE -DNVRM -DNV_VERSION_STRING=\"270.41.06\" -Wno-unused-function -mn
    o-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -D"KBUILD_STR(s)=#s" -
    D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUILD_STR(nvid
    ia)" -DMODULE -c -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nv
    idia.mod.o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nvidia.mod.c
    ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.32-5-common/scripts/modu
    le-common.lds --build-id -o /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/ke
    rnel/nvidia.ko /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nvidia.o
    /tmp/selfgz1635/NVIDIA-Linux-x86_64-270.41.06/kernel/nvidia.mod.o
    NVIDIA: left KBUILD.
    -> done.
    -> Kernel module compilation complete.
    -> Kernel messages:
    [ 4.508478] fuse init (API version 7.13)
    [ 5.288018] alloc irq_desc for 28 on node -1
    [ 5.288028] alloc kstat_irqs on node -1
    [ 5.288063] jme 0000:02:00.5: irq 28 for MSI/MSI-X
    [ 5.288445] eth0: Link is down.
    [ 5.289595] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 5.291346] lp: driver loaded but no devices found
    [ 5.305722] ppdev: user-space parallel port driver
    [ 6.948287] eth0: Link is up at ANed: 100 Mbps, Full-Duplex, MDI.
    [ 6.949576] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 7.936171] usb-storage: device scan complete
    [ 7.943435] scsi 4:0:0:0: CD-ROM HL-DT-ST BD-RE BH10NS30
    EL00 PQ: 0 ANSI: 0
    [ 8.023143] sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2
    cdda tray
    [ 8.023152] Uniform CD-ROM driver Revision: 3.20
    [ 8.023442] sr 4:0:0:0: Attached scsi CD-ROM sr0
    [ 8.034496] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [ 8.034653] sr 4:0:0:0: Attached scsi generic sg1 type 5
    [ 16.968012] eth0: no IPv6 routers present
    [ 227.498095] nvidia: module license 'NVIDIA' taints kernel.
    [ 227.498103] Disabling lock debugging due to kernel taint
    [ 229.231660] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ
    16
    [ 229.231680] nvidia 0000:01:00.0: setting latency timer to 64
    [ 229.231689] vgaarb: device changed decodes:
    PCI:0000:01:00.0,olddecodes=io+mem,decodes=nonewns=io+mem
    [ 229.232178] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 270.41.06
    Mon Apr 18 14:53:56 PDT 2011
    [ 229.239029] nvidia 0000:01:00.0: PCI INT A disabled
    -> Installing both new and classic TLS OpenGL libraries.
    -> Installing both new and classic TLS 32bit OpenGL libraries.
    -> Install NVIDIA's 32-bit compatibility OpenGL libraries? (Answer: No)
    -> Searching for conflicting X files:
    -> done.
    -> Searching for conflicting OpenGL files:
    -> done.
    -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64'
    (270.41.06):
    executing: '/sbin/ldconfig'...
    executing: '/sbin/depmod -aq'...
    -> done.
    -> Driver file installation is complete.
    -> Running post-install sanity check:
    -> done.
    -> Post-install sanity check passed.
    -> Shared memory test passed.
    -> Running runtime sanity check:
    -> done.
    -> Runtime sanity check passed.
    -> Would you like to run the nvidia-xconfig utility to automatically update you
    r X configuration file so that the NVIDIA X driver will be used when you res
    tart X? Any pre-existing X configuration file will be backed up. (Answer: Y
    es)
    -> Your X configuration file has been successfully updated. Installation of
    the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 270.41.06)
    is now complete.
    ---

  3. #53
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續44

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續44

    安裝Nvidia顯示卡驅動程式遇到的狀況與瓶頸,續2

    前一個段落提到,採用下載nvidia官方網站提供的驅動程式,並預先安裝這個驅
    動程式所必須搭配的其它軟體套件,官方的驅動程式必須在圖形介面沒有啟動的
    狀態下執行,並且會及時編譯包裹檔中的原始碼,變成位元檔之後,自動再安裝
    到搭配的路徑之下,整個流程結束之後,筆者發現雖然執行3D動作的遊戲畫面有
    呈現出一定的效果,沒有破圖和延遲,但是若播放藍光等級的1080P高畫質影片
    ,畫面仍然會嚴重延遲,熱心的網友留言提供關鍵資訊 /usr/lib/vdpau/libvdpau_nvidia.so
    ,筆者查詢結果,並沒有找到這個檔案,於是筆者決定放棄,採用nvidia官方驅
    動程式的方式,畢竟筆者不是程式開發者,沒有這個精神力和技術力,重新手動
    驅動程式編譯原始碼來除錯,因為牽扯到系統核心驅動程式的更新,最後還是重
    灌了。這次筆者採用使用,套件來源庫既有的nvidia相容驅動程式軟體套件的方
    式來嘗試看看,系統一開始剛重灌完畢,筆者進入"synaptic套件管理程式",筆
    者想到的是先把有關顯示卡驅動程式的套件都更新成當下最新版,筆者搜尋"xorg"
    字樣,列出來的套件"很多",筆者不知道該從何選擇起,xorg相關套件幾乎都是
    7.5版,而列表中最新到7.6版,筆者為了方便省事,就直接點選升級"xorg"這個
    套件,然而套件管理程式自動計算套件相依性的結果,牽連出一大堆的套件也會
    一起更新,其中有個"xserver-xorg-video-nouveau",看似乎像是比較相關的樣
    子,更新完畢筆者重開機,發現一的地方就有問題了,gnome控制中心\硬體\螢幕
    ,原本呈現的資訊有"顯示器:筆者的螢幕品牌""更新頻率:60 Hz 或 75 Hz",
    可是在更新了"xorg"之後,卻變成"顯示器:不明""更新頻率: 0 Hz",而且寫死
    無法更改。筆者完全沒有除錯的方向,不知道該怎麼辦,google也找不到筆者看
    得懂的答案,筆者只好假裝沒看到,先當鴕鳥跳過。

    筆者參考了網友提供的指令的片段關鍵字和筆者看不懂的debian官方網站文件中
    的片段關鍵字,決定先把一些相關的軟體套件再裝一裝,筆者安裝的套件有:

    binutils

    make

    gcc 4.3 (搜尋後,套件清單照字母排序,筆者把 gcc 4.3 開頭的都裝了)

    build-essential

    linux-headers-2.6.32-5-all (2.6.32-5是筆者當下系統核心的版本)

    linux-source-2.6.32

    module-assistant

    nvidia-kernel-common

    nvidia-kernel-source 版本為 260.XX

    nvidia-glx

    nvidia-xconfig

    nvidia-vdpau-driver

    libvdpau1

    nvidia-common

    nvidia-cuda-系列 版本為3.2.XX

    這堆套件中要注意的是,有些是主要程式,有些是函式庫,若能先選到主要程式
    ,則套件管理程式在計算套件相依性的時候應該會把需要對應的函式庫牽連起來
    ,再來因為筆者的CPU硬體是64位元架構的,作業系統軟體也是64位元版本,所
    以筆者原則上希望安裝環境的主程式和函式庫也都統一為64位元的版本,所以選
    套件之時,尤其是函式庫的部分,"不要"選到32位元的版本去了,再來是nvidia
    驅動程式的版號狀況,筆者當然希望統一使用最新的版號,當筆者依造版號排序
    時發現有71.XX,96.XX,173.XX,195.XX,260.XX,筆者當然選擇260.XX系列,
    nvidia官方版本都已經更新到270.XX系列了。

    以上套件的選取並安裝完畢,筆者根據debian官方網站的文件,嘗試一個指令,
    開啟終端機視窗,切換到root帳號權限,執行指令 m-a (請參考套件"module-assistant"
    的指令群說明資訊),會進入一個有許多選項的文字視窗,把其中的項目都去跑過
    一輪,然而注意"SELECT"這個項目,選取其中的子項目"nvidia-kernel",來執行
    ,在終端機視窗中就會跑一些類似編譯安裝之類的資訊,然後筆者在下第二個指
    令 nvidia-xconfig 筆者發現,系統一開始安裝完畢後,內建"並沒有"包含
    "/etc/X11/xorg.conf"這樣一個檔案,而 nvidia-xconfig 就會協助產生這樣一
    個檔案,當然其中的參數設定排序筆者看不懂,筆者希望有圖形化介面的程式,
    可以專門用來設定xorg.conf的參數值(最好是gnome 2.3X.X版環境的整合項目)。

    再一次的重開機後,筆者發現 gnome控制中心\硬體\螢幕,顯示器:還是"不明"
    ,更新頻率則變成了: 50 Hz 或 51 Hz,筆者用的是19"LCD螢幕,照理說選項中
    應該要有"60Hz",這個項目才對,為什麼會出現 50 Hz 或 51 Hz 筆者還是不知
    道該怎麼辦。

    gnome控制中心"也沒有"出現任何類似於"NVIDIA X Server Settings"的項目,
    筆者無法針對 nvidia ion 晶片組的效能,做最佳化的調教,唯一看似可以調整
    的是 gnome控制中心\硬體\螢幕 螢幕解析度(預設就用最大值了)。

    再來就要驗證3D動作遊戲效果和高畫質影音檔案了,筆者執行"Armagetron Advanced"
    3D效果有出來,沒有破圖和延遲,這部分OK,另外筆者發現 /usr/lib/vdpau/libvdpau_nvidia.so
    這個檔案有存在了,根據網友的提示資訊,筆者先嘗試 SMPlayer 這套撥放軟體
    ,其骨子裡用的核心套件為mplyaer,在SMPlyaer選單列\選項\偏好設定\一般\視訊\output driver
    ,選擇"vdpau",並且勾選"disable video filters when using vdpau"項目,
    其他設定項目也都跑過一輪,調教最佳化, 筆者嘗試撥放一個從youtube擷取下
    來的1080P高畫質MP4格式影音檔,除了開頭會噸一兩秒鐘,之後都是非常順暢,
    到此終於把3D效果和高畫質影音兩個部分,在linux系統呈現出來了,所花費的
    時間和精神力以及複雜度,真的比MacOSX和MsWindows多上許多,可是還是有螢
    幕更新頻率的問題,沒有解決,還有顯示色彩品質項目(例如256色,16位元,
    24位元,32位元等等),也"找不到"可設定的圖形介面選項(最好有跟gnome控制
    中心有整合再一起),總之,就是還是差那麼一部分無法完整。

    以上的過程情境,筆者完全是以土法煉鋼的錯誤嘗試方式,拼裝出來的,至於為
    什麼是以上的步驟,筆者也寫不出其中技術的因果關係,只知道反正這樣做,就
    可以跑3D遊戲不破圖,看高畫質影片不延遲,筆者相信,其中應該會有些套件其
    實不用安裝,或著其實還有些影音"解碼器"可以再補安裝,讓高畫質影片呈現得
    更順暢,只是"synaptic套件管理程式"裏頭的套件何其多,筆者根本不知道從何
    比對起。

    參考連結

    http://wiki.debian.org/NvidiaGraphicsDrivers

    http://wiki.debian.org/NvidiaGraphicsDriversNvidiaWay

    debian6.0該如何搭配套件庫的nvidia套件或nvidia官方驅動程式?
    http://moto.debian.org.tw/viewtopic.php?f=11&t=15666
    感謝網友提供多個關鍵提示資訊文字

  4. #54
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續45

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續45

    安裝Nvidia顯示卡驅動程式遇到的狀況與瓶頸,續3

    筆者前面段落提過,系統剛安裝完畢的環境,預設沒有 /etc/X11/xorg.conf 這
    個檔案。當筆者從"synaptic套件管理程式"更新"xorg"套件到最新版,然後又更
    新到了nvidia 260.X系列驅動程式版本,一堆nvidia 相關套件都更新完畢後,
    雖然3D效果和高畫質影片都可以順利呈現和撥放了,可是 \gnome控制中心\硬體
    \螢幕(/usr/bin/gnome-display-properties)的選項卻會出現錯誤問題,例如:
    "顯示器資訊"從有廠牌型號變成"不明","更新頻率"從60hz、75hz變成50hz、51hz
    ,"旋轉:從4個選項,變成只剩一個選項。

    筆者google的結果,都是要自行新增及修改 /etc/X11/xorg.conf 參數設定檔的
    內容,可是筆者沒有這麼多精神力還要去熟悉指令的操作或著設定檔的結構,以
    及參數的排序規則,筆者只是個終端使用者,然後筆者找到了"nvidia-xconfig"
    這個套件,原來這個套件裏頭的純文字指令"nvidia-xconfig",可以協助新增以
    及下參數到 /etc/X11/xorg.conf 內容之中,筆者努力的google,還是找不到
    "nvidia-xconfig"的全圖形化替代方案,只好不得不使用nvidia-xconfig搭配參
    數下指令了,開終端機視窗下指令查詢"man nvidia-xconfig"和"nvidia-xconfig --help"
    一拖拉庫的參數選項看得筆者眼花撩亂,另外 /usr/share/doc/nvidia-glx/html/index.html
    也有一堆看不完的文件資料,總之筆者google之後發現"nvidia-xconfig --no-dynamic-twinview"
    這個參數選項,設定之後會被寫入 /etc/X11/xorg.conf,系統重開機 \gnome控制中心\硬體\螢幕
    更新頻率變回了60hz、75hz,然後其中有個"rotation"相關的參數下了之後,旋轉
    的4個選項都出現了,筆者下了"nvidia-xconfig --query-gpu-info",其中顯示
    了筆者的LCD螢幕品牌的資訊,horizsync和vertrefresh最小與最大值的資訊等等
    ,筆者突發奇想,把這些資訊手動填入到 /etc/X11/xorg.conf 對應的區塊位置上
    ,因為原本的預設值是錯的,結果重開機後 \gnome控制中心\硬體\螢幕 沒有變化
    ,顯示器資訊還是"不明"。至少到目前為止解決了"更新頻率"和"旋轉"這兩個項目
    。筆者必須在終端機視窗中下指令來填值和修改預設值,實在是一種對終端使用者
    不友善的動作,而且改的還只是顯示介面的設定而已。

    之前在嘗試安裝nvidia官方版本驅動程式的時候, \gnome控制中心\,會有一個項
    目"NVIDIA X Server Settings",裏頭有不少晶片組效能調教的選項,筆者當然也
    想找類似的全圖形介面,設定套件來用,然後筆者找到了"nvclock"(圖形介面可選
    用"nvclock-gtk"或"nvclock-qt")這個套件,其中可設定的選項當然沒有nvidia官
    方版本的"NVIDIA X Server Settings"來的完整,而且筆者發現,設定好的數值每
    次重開機後又變回預設值,即使使用root帳號來設定,也會這樣,不曉得為什麼?

    在查詢相關文件的時候,文件中有提到"nvidia-settings"這個純文字指令的設定
    程式,可是筆者在系統中找不到,後來才發現這是要另外安裝的套件,筆者發現原
    來其套件版本為195.X系列,難怪筆者之前沒有選取安裝,因為是舊版的,筆者怕
    安裝之後會出問題,只好犧牲跳過了。

    以下是筆者個人的"xorg.conf"片段內容:

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "NoFlip" "False"
    Option "MultisampleCompatibility" "True"
    Option "Overlay" "True"
    Option "ProbeAllGpus" "True"
    Option "RandRRotation" "True"
    Option "RenderAccel" "True"
    Option "NoRenderExtension" "False"
    Option "UseEdid" "True"
    Option "UseEdidDpi" "True"
    Option "UseEdidFreqs" "True"
    Option "XvmcUsesTextures" "True"
    Option "DynamicTwinView" "False"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    在這裡筆者突然想到,MsWindowsXP圖形介面會有一個"色彩品質"設定項目,
    可以調整整個系統顯示功能的色彩深度,可選項目例如"256色""16位元""24位元"
    "32位元",可是在gnome桌面環境,怎麼就是找不到類似的"圖形介面"可選項
    目?

    參考連結

    Ubuntu 正體中文站 討論區 - Ubuntu 基本支援
    Ubuntu基本設定
    ubuntu 7.04, nvidia, 50 Hz, 螢幕閃爍
    http://www.ubuntu-tw.org/modules/new...d=4100&forum=2

    Ubuntu 正體中文站 討論區 - Ubuntu 基本支援
    Ubuntu硬體支援
    關於ubuntu 8.04 設定螢幕解析度跟頻率問題
    http://www.ubuntu-tw.org/modules/new...d=9779&forum=3

    Ubuntu 正體中文站 討論區 - Ubuntu 基本支援
    Ubuntu基本設定
    給新手和我自己的備忘錄
    http://www.ubuntu-tw.org/modules/new...d=7221&forum=2

    Ubuntu 正體中文站 討論區 - Ubuntu 基本支援
    Ubuntu基本設定
    ubuntu 8.04 LTS解析度設定問題
    http://www.ubuntu-tw.org/modules/new...d=9047&forum=2

  5. #55
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續46

    關於純文字指令"locale"

    軟體環境為debian-6.0.1a-amd64-netinst.iso+gnome桌面,筆者在終端機視窗內
    下指令"locale"得到的資訊如下:
    ---
    root@HTPC:/home/ho# locale
    LANG=zh_TW.UTF-8
    LANGUAGE=zh_TW:zh
    LC_CTYPE="zh_TW.UTF-8"
    LC_NUMERIC="zh_TW.UTF-8"
    LC_TIME="zh_TW.UTF-8"
    LC_COLLATE="zh_TW.UTF-8"
    LC_MONETARY="zh_TW.UTF-8"
    LC_MESSAGES="zh_TW.UTF-8"
    LC_PAPER="zh_TW.UTF-8"
    LC_NAME="zh_TW.UTF-8"
    LC_ADDRESS="zh_TW.UTF-8"
    LC_TELEPHONE="zh_TW.UTF-8"
    LC_MEASUREMENT="zh_TW.UTF-8"
    LC_IDENTIFICATION="zh_TW.UTF-8"
    LC_ALL=
    ---

    筆者發現就缺"LC_ALL="沒有字串值呈現,筆者的想法是希望能找到一個已經存
    在的參數設定檔案,能夠填入類似 LC_ALL="zh_TW.UTF-8" 這樣一個字串值,然
    後當筆者每次重開機,輸入"locale"這個指令後,回應的系統資訊都會完整呈現
    LC_ALL="zh_TW.UTF-8"。筆者google不出所以然來,有幸有熱心的網友回應,可
    將 LC_ALL="zh_TW.UTF-8" 寫入 /etc/default/locale 這個檔案裏頭,筆者照
    做並重開機,輸入"locale"這個指令,果然回應的系統資訊都有呈現 LC_ALL="zh_TW.UTF-8"。

    參考連結

    摩托學園討論區 ; 檢視主題 - 關於locale指令的問題
    討論區首頁 ‹ Debian 討論區 ‹ debian command
    http://moto.debian.org.tw/viewtopic.php?f=15&t=15785

  6. #56
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續47

    關於compiz的新補充

    筆者重新整理一次安裝compiz套件時遇到的狀況,軟體環境為debian-6.0.1a-amd64-netinst.iso
    + gnome桌面 + nvidia 270.X驅動程式(從synaptic內挑選並安裝),另外也有將
    "nvidia-xconfig"這個套件更新到270.X版,以前的段落曾經提過安裝compiz要選
    之相關套件,這就照舊,然後筆者多次嘗試之後發現在開始設定compiz之前,必
    須先將一些參數設定值寫入 /etc/X11/xorg.conf,並且有啟用這些設定值,那麼
    compiz才會有效啟用,在 /etc/X11/xorg.conf 填入以下區段內容(如果原先就有
    那就跳過)。

    ---
    Section "Module"
    Load "glx"
    EndSection
    ---

    再來在終端機視窗下指令和搭配參數。

    #nvidia-xconfig --composite

    以上動作會填入參數設定值到 /etc/X11/xorg.conf,重開機登入系統,讓這些設
    定值生效,然後依照以前段落提過的,執行 compizconfig settings manager 把
    幾個相關選項先啟用,最後在啟用compiz,終於可以玩轉compiz的許多眼睛糖果啦
    。至於為什麼要做以上的設定,筆者也不知道,反正是筆者自己排列組合各種設定
    值的時候矇到的。

    再來附上筆者自己現在的 /etc/X11/xorg.conf 內容片段,可參考看看。

    ---
    Section "Module"
    Load "glx"
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "ION"
    EndSection

    Section "Screen"

    # Monitor "Monitor0"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "RandRRotation" "True"
    Option "DynamicTwinView" "False"
    Option "UseEdidFreqs" "True"
    Option "UseEdid" "True"
    Option "UseEdidDpi" "True"
    Option "AllowGLXWithComposite" "True"
    Option "AddARGBGLXVisuals" "True"
    Option "DisableGLXRootClipping" "False"
    Option "ProbeAllGpus" "True"
    Option "UBB" "True"
    Option "Overlay" "True"
    Option "CIOverlay" "True"
    Option "NoFlip" "False"
    Option "XvmcUsesTextures" "True"
    Option "ConstantDPI" "True"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

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

    參考連結

    摩托學園討論區 • 檢視主題 - 關於 Compiz 的設定問題
    http://moto.debian.org.tw/viewtopic.php?f=11&t=15792

    Compiz - Debian Wiki
    http://wiki.debian.org/Compiz

  7. #57
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續48

    桌面工作列

    MacOSX系列,有一個預設位在畫面下方的Dock(桌面工作列)功能,Linux當然也
    有類似功能的軟體可選用安裝,但gnome預設桌面環境下方已經有gnome面板了,
    所以這些選用的桌面工作列軟體,可能就要移動到畫面的左側或右側,要不然就
    是把原本預設擺在畫面下方下方的gnome面板移除掉,用其他桌面工作列軟體來
    替換,不然就會跟原本的gnome面板重疊在一起了。

    Avant-Window-Navigator

    套件安裝後預設在:
    Gnome選單列\應用程式\附屬應用程式\Avant Window Navigator

    Cairo-Dock

    套件安裝後預設在:
    Gnome選單列\應用程式\系統工具\Cairo-Dock(no OpenGL)
    Gnome選單列\應用程式\系統工具\GLX-Dock(使用OpenGL的Cairo-Dock) 3D效果很炫,但偏好設定有些複雜。


    終端機模擬器

    若比喻的話,這就相當於MsWindows的附屬應用程式\命令提示字元,因筆者使用
    習慣,會希望這個軟體視窗介面能跟gnome桌面風格一致,而且相關設定選項也
    是可在偏好設定的視窗中勾勾選選即完成設定,挑來挑去最後只剩兩款
    gnome terminal(gnome環境的預設),和 ROXTerm。


    參考連結

    Avant Window Navigator
    http://wiki.awn-project.org/

    Glx-Dock / Cairo-Dock
    http://www.glx-dock.org/

  8. #58
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續49

    將debian系統安裝ISO檔案轉換到USB隨身碟上(以X86-64架構為例)

    筆者下載了debian-6.0.1a-amd64-netinst.iso燒錄成光碟,來安裝debian系統,
    這個安裝片開機後一開始是沒有提供滑鼠操作的圖形選單(所謂的圖形是指有張背
    景圖),用鍵盤操作選取使用者想要安裝的環境的模式,並且有好幾個子選單和項
    目可供選選擇。

    首個選單有:
    installer boot menu
    ---
    install
    graphical install
    advanced options >
    help
    ---

    當筆者選取了 advanced options > ,子項目有:
    ---
    back.. <
    expert install
    rescue mode
    automated install
    graphical expert install
    graphical rescue mode
    graphical expert install
    alternative desktop environments >
    ---

    筆者嘗試選取 alternative desktop environments > ,子項目還有:
    ---
    back.. <
    KDE >
    LXDE >
    Xfce >
    ---

    筆者再選取 KDE > ,子項目又有:
    ---
    back.. <
    install
    graphical install
    advanced options >
    help
    ---

    筆者又再嘗試選取 advanced options > ,子項目再有:
    ---
    back.. <
    expert install
    automated install
    graphical expert install
    graphical automated install
    ---

    當筆者最後選取了 graphical expert install debian ,系統開機安裝片開始
    進入可滑鼠操作的全圖形化系統安裝流程畫面。
    由以上情境和以前的段落描述,可知這片安裝片有提供不同的桌面環境可選項
    目選單,預設是gnome,也有提供不同的安裝模式的可選項目選單。

    時代在進步,用光碟安裝的話,一來讀取速度可能較慢,二來機械運作多少會
    有吵雜聲,於是筆者嘗試尋找將iso轉換到USB隨身碟的相關技術資訊,筆者的
    想法與需求是,在系統安裝片內容的圖形畫面,選單結構,操作模式都"不改變"
    並且盡可能使用"全圖形畫面"的轉換與參數的修改與設定過程的條件下,將原本
    的系統安裝片ISO檔,透過一個什麼樣的方式,轉換到一顆USB隨身碟中,然後
    用這顆USB隨身碟來安裝debian系統,這樣的話原本的光碟開機安裝流程,都還
    是一樣,而且又能避免掉光碟運轉時的吵雜聲,安裝資料的讀取速度也能加快
    一些(如果有選用高速USB隨身碟的話),google了許多資料與網友提供的參考資
    訊之後 筆者拼裝出了以下的方法。

    先進入synaptic選取安裝相關的配套軟體,有:
    unetbootin,
    syslinux,
    extlinux,

    用以上三個套件的關鍵字搜尋,synaptic裏頭的套件應該還會發現相關搭配套件
    ,還是要注意一下套件的描述和簡介,若覺得相關的若系統沒有自動搭配,自己
    再去補裝。

    裝完套件後準備好一顆塞得下ISO檔內容容量的USB隨身碟,將之格式化成FAT32
    格式。 gnome選單列\應用程式\系統工具\磁碟公用程式\ 可用來格式化隨身碟
    ,格式化前請先點選"卸載儲存區"項目,格式化完再裝載回來,左側儲存裝置欄
    位選取"USB隨身碟",右側點選"編輯分割區"勾選"可開機"項目。

    執行 gnome選單列\應用程式\系統工具\unetbootin,選取"映像檔"項目並選取
    debian-6.0.1a-amd64-netinst.iso這個範例檔案,最後點選"確定",unetbootin
    就開始將檔案轉換到隨身碟中(不過筆者自己的觀察是,其實只是將原本ISO檔的
    內容解壓到USB隨身碟中,另外再新增幾個unetbootin特製的開機相關系統檔案,
    以及自動偵測設定的開機參數設定檔),USB隨身碟的內容製作完畢,筆者重開機
    並使用USB隨身碟當開機碟試試,嗯~進入USB的隨身碟的選單了,可是一開始的
    選單怎麼跟原本的光碟片開機選單還是不太一樣,於是筆者仔細對照兩種開機選
    單果然unetbootin轉換過後的開機選單跟原本的就有差別了,筆者需要的是原本
    光碟開機的選單內容與階層模式,完全不要變,所以unetbootin修改過的版本不
    符合筆者需求,問題是unetbootin視窗內容項目又沒有跟修改開機選單有關的選
    項欄位,筆者這下子不知道該怎麼辦了,筆者一開始的想法是,仔細比較原本光
    碟內容的目錄和檔案結構,跟unetbootin修改過的USB隨身碟內容版本有些什麼
    差異,看看沒有有一些參數設定黨內容不同的地方,兩相比較之後,發現似乎
    isolinux.cfg和syslinux.cfg就有差異,但還是不知道該從何改起,後來有網友
    提供可能的修改方向,筆者嘗試將USB隨身碟中 /isolinux/ 檔案夾下,所有的
    檔案,子檔案夾,子檔案,維持原來的路徑結構,全部複製到USB隨身碟的"根目錄"
    ,而USB隨身碟根目錄,原本有一個syslinux.cfg檔案則先另外備份起來,用純文
    字編輯器修改syslinux.cfg 的內容如下:
    ---
    include menu.cfg
    default vesamenu.c32
    prompt 0
    timeout 0
    ---
    沒錯,整個syslinux.cfg就只剩下以上"四行內容"而已。存檔後,再用USB隨身
    碟來開機看看,終於效果出來了,原本光碟開機的選單內容和階層結構完整呈
    現在USB隨身碟上了,選取所需項目後,可以進入包含滑鼠操作的全圖形介面系
    統安裝流程。

    接下來,筆者還是有些部分,想要嘗試解決但還是搞不定,就是USB隨身碟裏頭
    的檔案目錄結構一團亂,不像原本的光碟ISO檔那樣分門別類,筆者推測這可能
    需要了解系統安裝功能的相關檔案結構設計,才知道該如何修改吧,不過這已
    經超出筆者的終端使用者能力範圍了。

    筆者期待的是,有進階的電腦玩家能設計出一套"組裝的流程",例如整理好針對
    某個軟硬體架構的版本,就例如這裡用的範例版本 debian 6.0 X86-64,描述可
    以上debian網站的某個連結路徑,下載某些元件檔案,把這些元件檔案分別下載
    來之後,那些檔案擺在那些目錄下,那些檔案擺在根目錄,再來新增或修改某些
    參數設定檔案的字串值,並且分門別類地擺放目錄和檔案,再來可以把隨身碟格
    式化成的檔案系統有哪些可以選用,各要搭配那些開機元件檔案等等,最後把這
    些規劃好的檔案夾和元件檔案,直接複製到USB隨身碟中,就這樣製造好一個debian
    系統安裝隨身碟了,希望以上流程可以在全圖形環境中解決,只是到目前為止,
    沒有找到筆者理想中的並且看得懂得這樣一份文件。

    再來這篇連載的大主題是POWERPC架構下的LINUX經驗,所以筆者真正需要的其實
    是將debian-6.0.1a-powerpc-netinst.iso轉換到USB隨身碟上,可是筆者比較之
    後發現debian-6.0.1a-powerpc-netinst.iso的檔案路徑結構其實是另一回事,
    UNetbootin相關說明又沒看到有寫支援PowerPC架構,於是筆者又不知道該怎麼辦
    了,筆者實在很想知道PowerPC架構的版本可以如何做到筆者以上描述的需求。


    參考連結

    USB系統安裝隨身碟的問題和瓶頸
    http://moto.debian.org.tw/viewtopic.php?f=11&t=15810

    http://wiki.debian.org/Syslinux

    http://en.wikipedia.org/wiki/Syslinux

    http://zh.wikipedia.org/wiki/UNetbootin

    http://unetbootin.sourceforge.net/

    http://www.debian.org/releases/stabl...h04s03.html.en

    http://opensource.nchc.org.tw/debian...ages/hd-media/

    boot.img.gz

  9. #59
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    回覆: Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續50

    關於關於圖形介面的runlevel調整設定

    MsWindowsXP系統開機過程,會陸陸續續執行啟用許多開機常駐服務,或自訂的應
    用程式等等,當然MsWindowsXP有提供圖形介面的設定工具,讓使用者調整要停用
    或啟用那些服務或應用程式,像是內建的msconfig.exe(系統設定公用程式),和
    控制台\系統管理工具\服務 等等。
    在 debian-6.0.1a-amd64-netinst.iso+gnome 環境,筆者當然也要找類似以上功
    能的"圖形介面"工具程式,系統預設安裝好的環境有:
    gnome選單列\系統\控制中心\啟動應用程式,
    gnome選單列\系統\控制中心\服務,
    但這兩個介面功能都很陽春,就是應用程式和服務的大標題以及是否啟用的勾選
    框而已,筆者從 synaptic 找到了可以查詢並設定較為細部的啟用應用程式和服
    務的圖形介面套件bum(boot-up manager),這是一個圖形介面runlevel控制工具
    ,提供的可勾選項目和項目資訊較為詳細,至於runlevel是什麼,解釋這個已經
    超過筆者的能力範圍了。

    參考連結

    http://en.wikipedia.org/wiki/Runlevel

    http://wiki.debian.org/RunLevel

    關於軟體套件標題名稱的一致性

    筆者安裝了一堆圖形介面軟體套件之後發現一個情境,synaptic清單列表中的套
    件名稱,gnome選單列子選單上的軟體套件名稱和註解("debian選單"和"應用程式選單")
    ,軟體套件的視窗標題列,控制中心內的項目名稱,即使是指同一套軟體,字句
    卻不見得會百分之百的一致,例如可能空格或"-"位置不同,簡短的軟體註解敘
    述用字不同等等,只是意思一樣。筆者發現,只要是自由軟體類的好像常常會發
    生這種狀況,偶而還是會造成筆者辨識上的困擾,得來回多比對幾次才能確認哪
    個是哪個,不過想想,畢竟是免費下載來用的軟體,不可能要求那些佛心來著的
    軟體開發者能夠精準到每一個視窗圖形元件的文字敘述等等都完全的統一一致,
    除非啦,有專門的熱心的人,願意花時間,就針對軟體套件標題名稱文字敘述在
    各視窗元件呈現的狀況,做隨時適時的監控,並修正錯誤,以減少文字敘述不一
    致的狀況發生。
    當然啦,如果付費的商業系統軟體,還發生這種狀況就有點說不過去了,筆者就
    曾經發現MacOSX同一系統版本內,有同樣功能作用視窗元件,結果中文名詞翻譯
    不一致的狀況。

    參考連結


  10. #60
    FLY
    FLY 目前未上線
    boy
    註冊日期
    2001-01-28
    討論區文章
    549

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續51

    Linux PowerPC架構版本搭配PowerbookG4,安裝、設定、使用,個人經驗分享,續51

    啟用NumLock功能設定上的一些狀況

    筆者的環境是debian-6.0.1a-amd64-netinst.iso + gnome 2.30,搭配的鍵盤為
    Sun Type 7 USB介面,系統原本安裝好的環境預設值,當開機進入圖形介面的帳
    號密碼登入介面時(GDM),鍵盤上的numlock燈號預設是暗的,筆者必須按下numlock
    鍵,才能啟用鍵盤右側的數字區功能,因此筆者希望有一個設定項目,能夠讓系
    統開機後,就立即自動啟用鍵盤右側的數字區功能(照理說numlock啟用後,numlock
    燈號會恆亮),也就是系統一進圖形介面(登入畫面)開始,就啟用numlock功能,
    上網搜尋資料,一開始找到了項目:

    gnome控制中心\鍵盤\鍵盤偏好設定\配置\鍵盤模式\設定為"一般104鍵 鍵盤",
    gnome控制中心\鍵盤\鍵盤偏好設定\配置\選項\鍵盤配置選項\其他相容選項\
    勾選"default numeric keypadkeys"項目,

    重開機後,發現沒有效果,還是要自行按下numlock按鍵,鍵盤右側的數字區功
    能才會起作用。
    把設定還原,再來筆者嘗試第二種方法,從synaptic尋找並安裝了numlockx這個
    套件,安裝後可在終端機中執行numlockx這個指令,並設定參數為 on ,可是重
    開機後,發現還是沒有效果,依舊要自行按下numlock按鍵,鍵盤右側的數字區
    功能才會起作用。

    於是筆者只好再嘗試第三種方法,根據numlockx套件內容和文件資訊, 筆者得知
    在安裝numlockx套件之後,系統有自動增加了 /etc/X11/Xsession.d/55numlockx
    這個script檔案,使用純文字編輯器開啟 55numlockx,將其中的所有內容複製並
    插入到 /etc/gdm3/Init/Default 這個純文字檔案中最後一行的"exit 0"之前,
    存檔後再重開機試試,結果筆者發現一個狀況,就是雖然鍵盤上的numlock燈號沒
    有恆亮,但是實際上numlock功能是啟用的,可以在登入畫面使用鍵盤右側的數字
    區數字功能,雖然辨識上會造成困擾,但以後再想辦法解決吧(誰有辦法幫筆者解
    決這個問題啊?),在輸入完帳號密碼,進入系統後,numlock燈號才轉變為自動
    恆亮。

    在此筆者延伸產生一些想法,在安裝了numlockx這個套件後,系統有自動增加了
    /etc/X11/Xsession.d/55numlockx 這個script檔案,根據筆者過往的學習經驗,
    覺得系統在開機後,圖形介面啟動的過程中,"應該要""自動"去執行這個script
    檔案,依照script裏頭的內容,把numlock功能啟用,如果沒有作用,那筆者推測
    可能應該是必須把"55numlockx"這個"檔名",穿插到某個"既有的"參數設定檔,
    或著另一個"既有的"script檔案中,讓系統偵測並執行,這樣才合乎較為簡化的
    流程。
    網頁上提供的將55numlockx的文字內容"整個"複製到 /etc/gdm3/Init/Default
    檔案中插入這個方法,筆者認為是一種重複的動作,似乎不太合乎自動化流程的
    一些概念,既然系統設計了55numlockx這個script,那debian就應該要有一套流
    程,是要系統圖形介面在開機時,自動去執行55numlockx(而且要在使用者於圖形
    介面輸入帳號之前就要載入完畢),而不是讓使用者再自行將55numlockx裏頭script
    的所有內容,再複製到 /etc/gdm3/Init/Default 裏頭,這樣多一套手動手續。

    第二個延伸想法是,之前段落有提過bum(boot-up manager)這套圖形介面的runlevel
    軟體,那有沒有一套圖形介面軟體,是針對X window"啟動流程"的功能新增移除
    與參數設定,就好像圖形介面設定runlevel那樣,筆者可以透過這種軟體,把"55numlockx"
    穿插進去並設為啟用,這樣就可以在開機過程中圖形介面輸入帳號密碼時,就自
    動已經有啟用numlock功能了。

    筆者的描述可能不是很完整,盡量嘗試了。

    參考連結
    https://help.ubuntu.com/community/NumLock

第 6 頁,共 21 頁 首頁首頁 ... 4 5 6 7 8 16 ... 末頁末頁

類似的主題

  1. 在PowerBookG4硬體上設定debian-6.0.0-powerpc環境的問題請教
    作者:FLY 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 0
    最後發表: 2011-02-12, 10:35 PM
  2. Seednet虛擬主機使用經驗分享
    作者:Jeffkuo 所在討論版:☉ -- 虛 擬 主 機 討 論 版
    回覆: 3
    最後發表: 2007-08-15, 10:13 AM
  3. 【教學】Linux cluster建制經驗分享
    作者:Marty 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 17
    最後發表: 2006-05-22, 11:39 AM
  4. 【求助】VIGOR 2104P 分享器搭配no-ip架站,該如何設定?
    作者:s58716 所在討論版:-- 網 路 硬 體 版
    回覆: 0
    最後發表: 2005-03-24, 12:25 PM
  5. Linux 使用 ADSL (計時制) 的經驗分享
    作者:阿 土 所在討論版:---- ADSL 精 華 版
    回覆: 0
    最後發表: 2001-01-06, 09:42 AM

 

centos unable to query synaptics hardware

Unicode規範字元的大列表(超級陽春版的字元對應表或字元檢視器) for OpenOffice.org

xorg.conf powerbook g4 rv350 rv360

debian xrdp TAB 無效

debian

mac os x 分享 指令

xrdp cenos6

cent Unable to load the kernel module nvidia.ko錯誤

power pc 沒有可裝載之檔案系

debian-update

centos 6.3 改變軟體更新偏好設定

freeBSD ppc

powerbook g4 光碟機 重灌

power book g4 無法開機 資料夾圖案

powerbook g4 破圖

centos鍵盤設定

centos 鍵盤捷徑 設定

powerpc rv350m10 driver

openoffice 4.0 搭配 Glibc

hd5450 qe無效

powerbook 4g 重灌

powerbook g4 重灌

install opensuse 13.1 ppc powerbook G4

debian 6.0.6 iso download

flybook筆電重灌教學

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •