找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 16025|回复: 23

CL:关于系统出现“Too much work in interrupt, status e401“

[复制链接]
发表于 2004-11-21 23:38:23 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

×
QUOTE
net_server user.warn klogd: eth0: Too much work in interrupt, status e401.
先不考虑状态代码 e401是什么意思,有空我回去查,我们看前面的“Too much work in interrupt”,意思是 eth0 的中断过多,不清楚究竟是什么意思,不过只有两种可能:1、网卡有问题,对数据响应不过来。但是这个日志是系统启动过程出现的,所以不会是网卡问题。2、现在的计算机中断仍然是 16 个硬中断,我们也都清楚中断根本不够用,而现在设备有特别多,如果是以前的结构,不是系统无法工作,就是会出现某个设备不工作,或者工作不正常。现在的计算机采用了 SMB 即系统管理总线,涉及到这里的主要一点就是:共享中断。所以我们在计算机进入操作系统之前会看到很多设备使用相同的中断。解决了资源不足的问题,但是,如果使用相同中断的设备过多,则会导致响应变慢,对于网卡,则会出现丢包的情况。除非你的计算机速度非常快。基于上述的理解,我个人认为:这条日志只是个警告而已,如果没有出现丢包或者其他情况,可以不去管它。我自己一般都选择比较老的机器做CL,免去了共享中断的问题。如果中断不够用,完全可以关闭 串口 和 并口,再配合修改网卡配置,基本上不会出现任何问题了。额外的话:我发现论坛上的朋友使用CL的机器配置真的都是好极了,简直是浪费哦。尤其是内存,128 就不算了,好多人起码都是256M,羡慕哦。建议大家没事的时候看看CL的内存占用情况。话又说回来,LINUX内核在操作封包的时候,每个连接一般也就是使用 256个字节的内存空间,好一点的硬件路由器才 1 万多个连接,即使是连接占用1024字节,最大也就是几十兆的内存。我一直在想哦,要是谁的内存多的没地方用了,能不能赞助给我啊?哈哈哈。
routeros
发表于 2004-11-22 01:39:13 | 显示全部楼层
中断共享的问题?我在没有机器上网的时候就没有这个提示的出现。后来有下面的机器上网才有这个提示的。因为没有机器,这个做路由的机器是现配的 crd 2.66 ddr 256 845gv 500m 破硬盘而已,也不算贵。如果配128内存 以后也用不上,只好这样了,不要寒碜我拉。这个提示不是在启动最开始出现的。
routeros
回复

使用道具 举报

 楼主| 发表于 2004-11-22 03:31:00 | 显示全部楼层
可是你给我的日志当中确实是启动过程中出现的。
routeros
回复

使用道具 举报

发表于 2004-11-22 15:41:41 | 显示全部楼层
是启动后,我在显示器上看到的。我把现在把irq for usb com1 com2 打印端口都屏蔽了,8139 用 10 3c905 用11 不知道会怎么样
routeros
回复

使用道具 举报

发表于 2004-11-22 15:46:54 | 显示全部楼层
是不是cl 对smb支持不好才会有这样的问题呢?
routeros
回复

使用道具 举报

发表于 2004-11-22 23:45:21 | 显示全部楼层
我说下我这里的情况,请各位大侠指点:我的机器配置:k6--2 350,64兆内存,10g硬盘,coyote2.13硬盘版,eth0是内网,eth1是外网,两个同样的8139网卡。外网使用静态ip,从百兆交换机接入;内网交叉线接一台2003客户机。eth0 中断5 状态 up 2003机可以正常ping通eth1 中断9 状态 up ping外网只能正常通讯10多分钟看屏幕显示满屏的“eth1: Too much work in interrupt, status 0x0001”尝试手动设置内外网卡的irq,eth1的物理地址竟变为:FF:FF:FF:FF:FF:FF重起后与外网完全不能通信估计重新插拨下eth1可能会恢复,但不知还会不会出现“eth1: Too much work in interrupt, status 0x0001”?[SIZE=7]请各位高手指点下啊~~
routeros
回复

使用道具 举报

 楼主| 发表于 2004-11-23 11:02:13 | 显示全部楼层
看来是中断不够用了。建议关闭所有串口和并口。
routeros
回复

使用道具 举报

 楼主| 发表于 2004-11-23 11:03:08 | 显示全部楼层
QUOTE (moou @ Nov 22 2004, 03:46 PM)
是不是cl 对smb支持不好才会有这样的问题呢?  
  嗯,你的猜想很有可能,linux对硬件的支持仍然是弱项。
routeros
回复

使用道具 举报

发表于 2004-11-23 22:07:53 | 显示全部楼层
重新插拨外网网卡,可以正常通信10分钟左右,还是出现eth1: Too much work in interrupt, status 0x0001关闭串口和并口,也没能解决问题准备换个外网网卡再试下~~
routeros
回复

使用道具 举报

 楼主| 发表于 2004-11-23 22:28:01 | 显示全部楼层
仅仅释放出点资源不够,还得修改网卡设置。
routeros
回复

使用道具 举报

发表于 2004-11-25 14:27:32 | 显示全部楼层
看看我的问题吧!Nov 25 13:34:16 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:34:29 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:35:08 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:35:36 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:36:17 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:37:24 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:37:44 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:37:48 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:38:06 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:38:10 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:38:10 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:38:33 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:38:56 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:39:09 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:39:16 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:39:18 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:39:34 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:39:34 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:39:40 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:40:32 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:40:48 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:40:52 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:42:00 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:42:01 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:42:58 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:44:38 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:44:42 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:45:12 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:45:28 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:45:34 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:45:48 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:45:50 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:45:50 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:46:29 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:46:56 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:47:10 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:47:46 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001. Nov 25 13:48:00 coyote user.warn klogd: eth0: Too much work at interrupt, status=0x00000001.
routeros
回复

使用道具 举报

 楼主| 发表于 2004-11-25 16:34:44 | 显示全部楼层
好严重,建议更换主板或者网卡。
routeros
回复

使用道具 举报

发表于 2004-11-25 19:50:59 | 显示全部楼层
更换网卡就ok了但是那快换下来的网卡是好的我在win系统下测试能用~
routeros
回复

使用道具 举报

 楼主| 发表于 2004-11-25 20:09:42 | 显示全部楼层
嗯,linux对硬件的支持还是差啊。也难怪,为linux系统提供硬件支持的还是不足。
routeros
回复

使用道具 举报

发表于 2005-1-15 12:32:16 | 显示全部楼层
QUOTE
get the error 'too much work in interrupt'This is because the network card is getting lots of packets. There are a few things you can try. First, build the driver with NAPI support (if it isn't on by default). NAPI means the driver will do the receive processing at soft IRQ, not at the low level interrupt. If the driver doesn't support NAPI, you can try to increase the amount of work a driver will attempt to do in an interrupt. For 3c59x this is done with the option max_interrupt_work (so add something like 'options 3c59x max_interrupt_work=10000' to your /etc/modules.conf file), other cards might have similar options.
routeros
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-11 05:25 , Processed in 0.322115 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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