Re: TCP MSG_PEEK kernel assertions ...

From: Stephen Hemminger
Date: Mon Mar 12 2007 - 15:24:04 EST


On Fri, 09 Mar 2007 16:43:10 -0500
davef1624@xxxxxxx wrote:

>
> Hello,
>
> I periodically see the following TCP kernel assertion errors in
> /var/log/message
> (it does seem that networking is eventually able to recover from these
> errors):
>
> kernel: KERNEL: assertion (flags & MSG_PEEK) failed at net/ipv4/tcp.c
> (1171)
> kernel: KERNEL: assertion (flags & MSG_PEEK) failed at net/ipv4/tcp.c
> (1171)
> kernel: KERNEL: assertion (tp->copied_seq == tp->rcv_nxt || (flags &
> (MSG_PEEK | MSG_TRUNC))) failed at net/ipv4/tcp.c (1235)
> kernel: KERNEL: assertion (flags & MSG_PEEK) failed at net/ipv4/tcp.c
> (1171)
> kernel: KERNEL: assertion (tp->copied_seq == tp->rcv_nxt || (flags &
> (MSG_PEEK | MSG_TRUNC))) failed at net/ipv4/tcp.c (1235)
>
> These errors only seem to occur when using the sk98lin (SysKonnect)
> Network Device Driver,
> and a Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (from Marvell I
> believe).
> (The other NIC cards we're using in-house don't exhibit this issue).

Wrong mailing list. TCP errors should be sent to netdev@xxxxxxxxxxxxxxx

> I've seen postings concerning this issue over the past year or so,
> but have not seen a clear resolution and/or understanding of the
> root-cause of this issue.

Also please include more information, like what kernel version and what
other networking features you are using like VLAN's, netfiltering, ...

> I'm in the process of upgrading my sk98lin network driver to the
> latest from SysKonnect
> in an attempt to see if this corrects the problem.

No, that driver is worse, try the skge driver. The sk98lin driver
is headed for removal

> Does anybody have any insight into this problem?
>
> Best regards,
> Dave F
>
>
>
> ________________________________________________________________________
>
> AOL now offers free email to everyone. Find out more about what's free
> from AOL at AOL.com.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net"
> in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
> ________________________________________________________________________
> AOL now offers free email to everyone. Find out more about what's free
> from AOL at AOL.com.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


--
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/