From: Christopher Chan <cchan@outblaze.com>
To: netdev@oss.sgi.com
Cc: Christopher Chan <cchan@outblaze.com>, ganesh.venkatesan@intel.com
Subject: Re: linux 2.6.9 still having network code problems
Date: Thu, 04 Nov 2004 09:08:28 +0800 [thread overview]
Message-ID: <4189810C.4080302@outblaze.com> (raw)
In-Reply-To: <4187478A.1040002@outblaze.com>
Christopher Chan wrote:
>
>>> Previously with 2.6.7 I had to use this values in sysctl to be able
>>> to continue to access the box:
>>>
>>> net.ipv4.tcp_max_syn_backlog = 2048
>>> net.ipv4.route.gc_thresh = 65536
>>> net.ipv4.route.max_size = 1048576
>>> Nov 1 03:16:00 spf5-3 kernel: Out of Memory: Killed process 21861
>>> (smtpd).
>>> Nov 1 03:16:00 spf5-3 kernel: KERNEL: assertion (flags & MSG_PEEK)
>>> failed at net/ipv4/tcp.c (1284)
>>> Nov 1 03:16:00 spf5-3 kernel: recvmsg bug: copied 1E619F78 seq 1E61A378
>>> Nov 1 03:16:00 spf5-3 kernel: KERNEL: assertion (flags & MSG_PEEK)
>>> failed at net/ipv4/tcp.c (1284)
>>> Nov 1 03:16:00 spf5-3 kernel: recvmsg bug: copied 1E619F78 seq 1E61A378
>>> Nov 1 03:16:00 spf5-3 kernel: KERNEL: assertion (tp->copied_seq ==
>>> tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed at
>>> net/ipv4/tcp.c (1348)
>>> Nov 1 03:16:00 spf5-3 kernel: KERNEL: assertion (flags & MSG_PEEK)
>>> failed at net/ipv4/tcp.c (1284)
>>> Nov 1 03:16:00 spf5-3 kernel: recvmsg bug: copied 1E619F78 seq 1E61A378
>>> Nov 1 03:16:00 spf5-3 kernel: KERNEL: assertion (tp->copied_seq ==
>>> tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed at
>>> net/ipv4/tcp.c (1348)
>>> Nov 1 03:16:00 spf5-3 kernel: KERNEL: assertion (flags & MSG_PEEK)
>>> failed at net/ipv4/tcp.c (1284)
>>> Nov 1 03:16:00 spf5-3 kernel: recvmsg bug: copied 1E619F78 seq 1E61A378
>>> Nov 1 03:16:00 spf5-3 kernel: KERNEL: assertion (tp->copied_seq ==
>>> tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed at
>>> net/ipv4/tcp.c (1348)
>>
>>
>>
>> This is a networking bug.
>>
>
> Yes...it's the same one that won't allow me to use the e100 driver with
> NAPI enabled with or without them sysctl tweaks and the same one that
> forces me to use the tweaks without NAPI enabled for the e100 driver.
>
> With NAPI enabled, I see the problem when under pressure.
>
> FYI, the 2.6.9 kernel is running with NAPI enabled.
>
2.6.9 kernel with NAPI enabled and sysctl tweaks listed at the top of
mail still triggers network code problems:
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:46:45 spf0 kernel: KERNEL: assertion (tp->copied_seq ==
tp->rcv_nxt || (flags & (MSG_PEEK | MSG_TRUNC))) failed a
t net/ipv4/tcp.c (1348)
Nov 3 10:47:56 spf0 kernel: kb)->end_seq)) failed at net/ipv4/tcp.c (1061)
Nov 3 10:47:56 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:47:56 spf0 kernel: KERNEL: assertion (!skb ||
before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq)) failed at net/ipv
4/tcp.c (1061)
......................................
Nov 3 10:47:59 spf0 kernel: printk: 156 messages suppressed.
Nov 3 10:47:59 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:47:59 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:47:59 spf0 kernel: KERNEL: assertion (!skb ||
before(tp->copied_seq, TCP_SKB_CB(skb)->end_seq)) failed at net/ipv
4/tcp.c (1061)
Nov 3 10:47:59 spf0 kernel: printk: 106 messages suppressed.
Nov 3 10:47:59 spf0 kernel: printk: 121 messages suppressed.
Nov 3 10:47:59 spf0 kernel: printk: 222 messages suppressed.
Nov 3 10:47:59 spf0 kernel: printk: 151 messages suppressed.
Nov 3 10:47:59 spf0 kernel: KERNEL: assertion (flags & MSG_PEEK) failed
at net/ipv4/tcp.c (1284)
Nov 3 10:47:59 spf0 kernel: recvmsg bug: copied D51512C9 seq D51512FA
Nov 3 10:47:59 spf0 kernel: printk: 163 messages suppressed.
Nov 3 10:48:04 spf0 kernel: printk: 216 messages suppressed.
apparent recovery...
Nov 3 11:15:44 spf0 kernel: printk: 15 messages suppressed.
Nov 3 11:23:42 spf0 kernel: printk: 61 messages suppressed.
Box is gone...
Please continue to keep available the NAPI disable/enable option in the
e100 driver.
prev parent reply other threads:[~2004-11-04 1:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-02 8:14 linux 2.6.9 still having network code problems Christopher Chan
2004-11-02 9:19 ` Andrew Morton
2004-11-02 8:38 ` Christopher Chan
2004-11-02 9:41 ` Andrew Morton
2004-11-02 9:04 ` linux 2.6.9 controller order reordered. was: [Re: linux 2.6.9 still having network code problems] Christopher Chan
2004-11-02 10:07 ` Andrew Morton
2004-11-02 9:21 ` Christopher Chan
2004-11-02 10:26 ` Andrew Morton
2004-11-02 16:40 ` Alan Cox
2004-11-03 6:57 ` Christopher Chan
2004-11-03 13:00 ` Bartlomiej Zolnierkiewicz
2004-11-03 15:51 ` Christopher Chan
2004-11-03 17:01 ` Bartlomiej Zolnierkiewicz
2004-11-04 1:08 ` Christopher Chan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4189810C.4080302@outblaze.com \
--to=cchan@outblaze.com \
--cc=ganesh.venkatesan@intel.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.