[問題]更新kernerl之後,無法進xwindow

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

[問題]更新kernerl之後,無法進xwindow

文章訪客 » 週三 4月 28, 2004 5:50 pm

我是從2.4 更新到2.6
直接下apt-get install kernel-image-2.6-686
結果...就進不去xwin了....

代碼: 選擇全部
(**) Option "Protocol" "ImPS/2"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(EE) xf86OpenSerial: Cannot open device /dev/psaux
   No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
(II) UnloadModule: "mouse"
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
   No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(WW) No core pointer registered
No core pointer

Fatal server error:
failed to initialize core devices

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to submit@bugs.debian.org.


從log看來應該是滑鼠的問題吧
應該不會是硬體的問題,因為在更新前都很正常
lsmod 也有看到psmouse的模組
然後把滑鼠拔掉再插回去,也有看到有偵測到的訊息說
真不知道那裡有問題??
訪客
 

re:[問題]更新kernerl之後,無法進xwindow

文章訪客 » 週三 4月 28, 2004 11:06 pm

本來是打算重編的

apt-get install kernel-source-2.6.3
解開之後
mkde menuconfig 就出問題了.....
代碼: 選擇全部
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:29:20: curses.h: No such file or directory
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:127: error: parse error before "use_colors"
scripts/lxdialog/dialog.h:127: warning: type defaults to `int' in declaration of `use_colors'
scripts/lxdialog/dialog.h:127: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:128: error: parse error before "use_shadow"
scripts/lxdialog/dialog.h:128: warning: type defaults to `int' in declaration of `use_shadow'
scripts/lxdialog/dialog.h:128: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:130: error: parse error before "attributes"
scripts/lxdialog/dialog.h:130: warning: type defaults to `int' in declaration of `attributes'
scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:143: error: parse error before '*' token
scripts/lxdialog/dialog.h:143: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:146: error: parse error before '*' token
scripts/lxdialog/dialog.h:146: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:147: error: parse error before '*' token
scripts/lxdialog/dialog.h:147: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:148: error: parse error before '*' token
scripts/lxdialog/dialog.h:149: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:150: error: parse error before '*' token
scripts/lxdialog/dialog.h:150: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c:32: error: parse error before '*' token
scripts/lxdialog/checklist.c:34: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c: In function `print_item':
scripts/lxdialog/checklist.c:38: warning: implicit declaration of function `wattrset'
scripts/lxdialog/checklist.c:38: error: `win' undeclared (first use in this function)
scripts/lxdialog/checklist.c:38: error: (Each undeclared identifier is reported only once
scripts/lxdialog/checklist.c:38: error: for each function it appears in.)
scripts/lxdialog/checklist.c:39: warning: implicit declaration of function `wmove'
scripts/lxdialog/checklist.c:39: error: `choice' undeclared (first use in this function)
scripts/lxdialog/checklist.c:41: warning: implicit declaration of function `waddch'
scripts/lxdialog/checklist.c:44: error: `selected' undeclared (first use in this function)
scripts/lxdialog/checklist.c:46: warning: implicit declaration of function `wprintw'
scripts/lxdialog/checklist.c:46: error: `status' undeclared (first use in this function)
scripts/lxdialog/checklist.c:51: warning: implicit declaration of function `mvwaddch'
scripts/lxdialog/checklist.c:51: error: `item' undeclared (first use in this function)
scripts/lxdialog/checklist.c:53: warning: implicit declaration of function `waddstr'
scripts/lxdialog/checklist.c:56: warning: implicit declaration of function `wrefresh'
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/checklist.c:64: error: parse error before '*' token
scripts/lxdialog/checklist.c:66: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c: In function `print_arrows':
scripts/lxdialog/checklist.c:67: error: `win' undeclared (first use in this function)
scripts/lxdialog/checklist.c:67: error: `y' undeclared (first use in this function)
scripts/lxdialog/checklist.c:67: error: `x' undeclared (first use in this function)
scripts/lxdialog/checklist.c:69: error: `scroll' undeclared (first use in this function)
scripts/lxdialog/checklist.c:82: error: `height' undeclared (first use in this function)
scripts/lxdialog/checklist.c:85: error: `item_no' undeclared (first use in this function)
scripts/lxdialog/checklist.c:85: error: `choice' undeclared (first use in this function)
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/checklist.c:103: error: parse error before '*' token
scripts/lxdialog/checklist.c:104: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c: In function `print_buttons':
scripts/lxdialog/checklist.c:105: error: `width' undeclared (first use in this function)
scripts/lxdialog/checklist.c:106: error: `height' undeclared (first use in this function)
scripts/lxdialog/checklist.c:108: error: `dialog' undeclared (first use in this function)
scripts/lxdialog/checklist.c:108: error: `selected' undeclared (first use in this function)
scripts/lxdialog/checklist.c: In function `dialog_checklist':
scripts/lxdialog/checklist.c:126: error: `WINDOW' undeclared (first use in this function)
scripts/lxdialog/checklist.c:126: error: `dialog' undeclared (first use in this function)
scripts/lxdialog/checklist.c:126: error: `list' undeclared (first use in this function)
scripts/lxdialog/checklist.c:126: warning: left-hand operand of comma expression has no effect
scripts/lxdialog/checklist.c:132: warning: implicit declaration of function `endwin'
scripts/lxdialog/checklist.c:133: warning: implicit declaration of function `fprintf'
scripts/lxdialog/checklist.c:133: error: `stderr' undeclared (first use in this function)
scripts/lxdialog/checklist.c:150: error: `COLS' undeclared (first use in this function)
scripts/lxdialog/checklist.c:151: error: `LINES' undeclared (first use in this function)
scripts/lxdialog/checklist.c:153: error: `stdscr' undeclared (first use in this function)
scripts/lxdialog/checklist.c:155: warning: implicit declaration of function `newwin'
scripts/lxdialog/checklist.c:156: warning: implicit declaration of function `keypad'
scripts/lxdialog/checklist.c:156: error: `TRUE' undeclared (first use in this function)
scripts/lxdialog/checklist.c:189: warning: implicit declaration of function `subwin'
scripts/lxdialog/checklist.c:221: warning: implicit declaration of function `wnoutrefresh'
scripts/lxdialog/checklist.c:223: warning: implicit declaration of function `doupdate'
scripts/lxdialog/checklist.c:226: warning: implicit declaration of function `wgetch'
scripts/lxdialog/checklist.c:233: error: `KEY_UP' undeclared (first use in this function)
scripts/lxdialog/checklist.c:233: error: `KEY_DOWN' undeclared (first use in this function)
scripts/lxdialog/checklist.c:243: error: `FALSE' undeclared (first use in this function)
scripts/lxdialog/checklist.c:244: warning: implicit declaration of function `scrollok'
scripts/lxdialog/checklist.c:245: warning: implicit declaration of function `wscrl'
scripts/lxdialog/checklist.c:272: error: called object is not a function
scripts/lxdialog/checklist.c:308: warning: implicit declaration of function `delwin'
scripts/lxdialog/checklist.c:312: error: `KEY_LEFT' undeclared (first use in this function)
scripts/lxdialog/checklist.c:313: error: `KEY_RIGHT' undeclared (first use in this function)
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/dialog.h:130: warning: array `attributes' assumed to have one element
make[2]: *** [scripts/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2


後來就去看了一下readme
發現在mouse的問題裡面似乎就有提到了
把psmouse 和 mousedev load 進去就好了

而現在mouse的問題是解決了
不過不知道不能mkde menuconfig 是什麼問題??
訪客
 

re:[問題]更新kernerl之後,無法進xwindow

文章阿信 » 週四 4月 29, 2004 1:22 am

嗯...libncurses5-dev 需要安裝喔... :-)

打錯字了,原文已修改...
:-)
最後由 阿信 於 週五 4月 30, 2004 7:35 pm 編輯,總共編輯了 1 次。
頭像
阿信
版面大總管
版面大總管
 
文章: 4756
註冊時間: 週二 9月 03, 2002 11:58 pm
來自: 台灣 - 嘉義

re:[問題]更新kernerl之後,無法進xwindow

文章訪客 » 週五 4月 30, 2004 5:01 pm

哇.......
我用的是testing
沒有 libncurse5-dev..... :-?
訪客
 

re:[問題]更新kernerl之後,無法進xwindow

文章訪客 » 週五 4月 30, 2004 6:08 pm

是 libncurses5-dev
訪客
 


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客