[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:85085] Re: ログについて


回答ありがとうございます。
碇です。

On Fri, 6 Jul 2001 17:32:03 +0900
ISHIOKA Takashi <ishioka _at_ dad.eec.toshiba.co.jp> さんは書きました:
> 
> ikari> Jul 5 01:54:25 hoge kernel: eth0: Too much work in interrupt, status
> ikari> ec01
> ikari> 
> ikari> とか
> ikari> 
> ikari> Jul 5 01:54:25 foo kernel: eth0: Too much work in interrupt, status
> ikari> 0x4050
> 
> 細かい見方はわかりませんが 一回の割り込みで処理できんかった...
> ですよね.
> そのあと 溜ってる割り込みの分は無視してやり直してる(とおもう)から
> 処理としては OK だとおもうんだけど...
> # 100base * 2 だと PPro200M でも 遅いのかなぁ?
>

これなんですけど、今現状はまったく負荷をかけていない状態で上記の
メッセージがでます。

> # 書いてて自信ないので, ソース見て下さい.
> 
> # CPU がおそすぎるなら
> #
> # CPU is too slow to handle full bandwidth
> # CONFIG_CPU_IS_SLOW
> #  If you suspect that your CPU is not fast enough to handle the
> #  full bandwidth of your network connection, try saying Y here. If
> #  unsure, say N.
> # これがきくのかも... 
> 

こんなオプションがあったんですか。

> ikari> 3Com 905-TXを二枚差ししてIP masuquaradeをしようとしてます。
> 
> ドライバをもっと新しいのにしてみる...
>

今現状
kernel 2.4.6を試してみるも駄目。

ログにでていた
http://www.scyld.com/network/
を見て

オプションをつける事を考えてみました。
linux/Documentaion/networking/vortex.txtを見ながら

/etc/modules.conf
options 3c59x debug=1 options=6,6 max_interrupt_work=64
にしてみたところログは出なくなったのですけど果たしてこれでいいのか
まったく皆目見当つきません。

一応vortex.txtには
max_interrupt_work=N

  The driver's interrupt service routine can handle many receive and
  transmit packets in a single invocation.  It does this in a loop. 
  The value of max_interrupt_work governs how mnay times the interrupt
  service routine will loop.  The default value is 32 loops.  If this
  is exceeded the interrupt service routine gives up and generates a
  warning message "eth0: Too much work in interrupt".

とあるんですけど
いいのかなー??

options のところに
ssible media type settings
	0	10baseT
	1	10Mbs AUI
	2	undefined
	3	10base2 (BNC)
	4	100base-TX
	5	100base-FX
	6	MII (Media Independent Interface)
	7	Use default setting from EEPROM
	8       Autonegotiate
	9       External MII
	10      Use default setting from EEPROM

とあるのですが、
8は推奨されていなく、4も3Com-905-TXでは使えなさそうでしたので
options=6,6にしたのですが、今度は100Mbps half-duplexになってしまいました。

halfになったのは一概にドライバとも言い切れないのですけど、
なんとなく感でドライバのような気がします。

週明けにでも上記のサイトの物を使ってみます。

急がず 焦らず 参ろうか
   碇 永志 <ikari _at_ pca.co.jp>

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: