LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1281|回复: 7

linux下如何修改硬件中断了?????

[复制链接]
发表于 2008-4-1 13:21:28 | 显示全部楼层 |阅读模式
我装了 ati 的 fglrx 驱动,  但是启动的x的时候 总说 XIO: 致命的错误 等消息, 但是还是可以启动进去..

我再 /proc/interrupt那里看了, 显示 sata_nv ohci_hcd:usb1 fglrx共享10号中断, 难道是 3 个共享10中断发生错误, 所以, 问下有没有办法 更改中断了?
 楼主| 发表于 2008-4-2 12:50:33 | 显示全部楼层
freebsd可以再内核配置里面改, 不知道linux可以没有
回复 支持 反对

使用道具 举报

发表于 2008-4-3 01:46:56 | 显示全部楼层
...................

dmesg | grep fglrx
dmesg | grep agp
lsmod
glxinfo
先确认自己fglrx有没有装好..
回复 支持 反对

使用道具 举报

发表于 2008-4-3 01:48:16 | 显示全部楼层
致命错误在X上面有很多情况会出现
最好把starx 的信息
特别是 EE那些错误贴出来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-3 07:26:22 | 显示全部楼层
xauth:  creating new authority file /home/zyl/.serverauth.3049


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux debian 2.6.23.14 #1 SMP Sat Mar 29 17:44:57 CST 2008 i686
Build Date: 24 January 2008
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr  3 07:12:11 2008
(==) Using config file: "/etc/X11/xorg.conf"
(WW) fglrx: No matching Device section for instance (BusID PCI:7:0:1) found
                                                   //前面说没有合适的设备, 但是pci端口就是我的ati显卡驱动, 并且前面说过 fglrx共享sata中断
[atiddx] ASYNCIO init succeed!
Receive enable interrupt ret message
...irqEnableMask: 20008000
...dwIRQEnableId: 00000008
Receive enable interrupt ret message
...irqEnableMask: 10000000
...dwIRQEnableId: 00000009
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+us" };
    xkb_geometry             { include "pc(pc104)" };
                               /// 下面一些是fvwm, 不是大错误, 只是屏幕小点, 所以参数不大达标.
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Illegal size arguments
FvwmButtons: Button too tall. Giving up
Button=0 num_rows=71 bheight=80 h=0
[FvwmForm-QuitVerify][FlocaleGetFontSet]: (8x13bold) Missing font charsets:
GB2312.1980-0
[FVWM][ComplexFunction]: <<ERROR>> Grab failed in function FuncAutoEnter
, unable to execute immediate action
[FVWM][convert_charsets]: WARNING -
        Invalid byte sequence during conversion from EUC-CN to UTF-8
[FVWM][convert_charsets]: WARNING -
        Invalid byte sequence during conversion from EUC-CN to UTF-8

NULL packet: exiting


waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown).


FCITX -- Get Signal No.: 1
urxvt: X connection to ':0.0' broken, unable to recover, exiting.
urxvt: X connection to ':0.0' broken, unable to recover, exiting.
X connection to :0.0 broken (explicit kill or server shutdown).
                    // 下面就是 我说的XIO错误了, 关闭X的时候才出现, fatal IO,  我想,  是不是我说的 , 共享中断出错了?

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"

      after 1757 requests (1744 known processed) with 4 events remaining.

X connection to :0.0 broken (explicit kill or server shutdown).

X connection to :0.0 broken (explicit kill or server shutdown).

X connection to :0.0 broken (explicit kill or server shutdown).

X connection to :0.0 broken (explicit kill or server shutdown).
回复 支持 反对

使用道具 举报

发表于 2008-4-4 01:48:38 | 显示全部楼层
fglrx应该是没有正确加载
fglrx: No matching Device section for instance (BusID PCI:7:0:1) found
可能是字体服务出错了
重新配置X
和IO中断请求时两码事情。
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-4 14:57:04 | 显示全部楼层
fglrx确实是加载了, 但是他开始的时候显示没有 匹配设备, 后面我进X后 看见 加载了, 并且我可以玩3D游戏, 说明加载了。 lsmod 也显示加载了。

字体不会出错, 因为都没有提字体, 它报错。
搞不明白的就是, 为什么 我登录进X的时候没有报XIO: fatal, 但是我一登录出来的时候就报错了????
回复 支持 反对

使用道具 举报

发表于 2008-4-4 17:01:30 | 显示全部楼层
登陆XIO没有报错
但是退出报错
很有可能是字体问题

最好运行这个命令看看xerror具体信息
startx 2>&1 | tee xerror.log

fglrx: No matching Device section for instance (BusID PCI:7:0:1) found
X重新配置一遍下看看
我觉得应该是fglrx没有安装正确才会出现的
回复 支持 反对

使用道具 举报

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

本版积分规则

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