- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: bnx2 ip checksum error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 02:23 AM
тАО12-20-2007 02:23 AM
bnx2 ip checksum error
I'm noticing a random amount of outgoing packets with ip checksum error, generated by eth1 in DL385 G2. Bnx2 driver version is either 1.4.43-rh or 1.4.52d, RHEL4 release 6. This happens regardless of the tcp checksum offload setting (ethtool -K) and I also see bad packets on the other side, which means this problem is real and not just artefact of hw checksum offloading.
Has anyone seen anything like that?
I have a batch of fresh DL385s here on the table on which I can simply repeat the problem. Hook two together via eth1, enable chargen in xinetd on one and nc to port 19 from the other and redirect to /dev/null. Observe traffic with something like iptraf -d eth1. Ip checksum error counter goes up like crazy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-20-2007 08:11 AM
тАО12-20-2007 08:11 AM
Re: bnx2 ip checksum error
Looks like Broadcom BCM5708 has issues with tcp segmentation, so it's better to do it in software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2007 10:13 AM
тАО12-31-2007 10:13 AM
Re: bnx2 ip checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2007 10:24 AM
тАО12-31-2007 10:24 AM
Re: bnx2 ip checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2007 11:50 AM
тАО12-31-2007 11:50 AM
Re: bnx2 ip checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2007 12:30 PM
тАО12-31-2007 12:30 PM
Re: bnx2 ip checksum error
Whatever that ethool -K affects :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2008 01:54 PM
тАО01-02-2008 01:54 PM
Re: bnx2 ip checksum error
You may be seeing the problem fixed by the above patch. This patch is in bnx2 version 1.5.11 or later. The latest driver from Broadcom's website should also have the patch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 03:43 AM
тАО01-07-2008 03:43 AM
Re: bnx2 ip checksum error
I think I'll contact mchan and davem directly to get this analyzed and hopefully fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2008 10:11 AM
тАО01-07-2008 10:11 AM
Re: bnx2 ip checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 12:46 AM
тАО01-08-2008 12:46 AM
Re: bnx2 ip checksum error
I'm attaching 1mb of dump on sending and receiving side. You can see many "tcp checkusm incorrect" on sending and "tcp previous segment lost" on receiving side.
The only pattern that I find interesting is that whenever tcp checksum is wrong on sending side, it is like 0x2nnn. Hopefully you can get some more information from dumps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 01:10 AM
тАО01-08-2008 01:10 AM
Re: bnx2 ip checksum error
I did some more experiments and discovered that if I have established connection to chargen and change tso setting with ethtool, it does not affect that particular connection.
(S=sender, R=receiver)
S: ethtool -K eth1 tso off
R: nc sender 19 > /dev/null
S: iptraf -d eth1 shows no bad packets
S: ethtool -K eth1 tso on
S: iptraf -d eth1 shows no bad packets
R: kill nc
R: nc sender 19 > /dev/null
S: iptraf -d eth1 shows avalanche of bad packets
It's the same if I start with tso on and disable it later, while chargen connection is still up. That's why I prematurely concluded above that 1.6.7b is worse, when actually the situation is still the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 02:45 PM
тАО01-08-2008 02:45 PM
Re: bnx2 ip checksum error
If you see bad TCP or IP checksum on the receiver, then it's different and it's real. Do you see any on the receiver? I did a search for bad TCP or bad IP checksum and did not find any on receiving.tcp.
The "TCP previous segment lost" on receiving.tcp is a different thing and I see that a lot. My guess is that ethereal for some reason cannot keep up and sometimes drops packets during capture. When analyzing the trace, it will falsely detect some missing packets. To see if you really have any TCP loss, you should use netstat -s and look at the TCP counters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 03:16 PM
тАО01-08-2008 03:16 PM
Re: bnx2 ip checksum error
I could not duplicate the problem doing the exact same steps you outlined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2008 03:04 AM
тАО01-11-2008 03:04 AM
Re: bnx2 ip checksum error
You might be right that I got fooled by the hardware checksuming on the testing systems here, but the dumps I'm attaching this time are from our production system drbd link, which I managed to upgrade to 1.6.7b. These captures were done with tso off and bad packets are seen on receiving side too.
I hope you can get some useful info from them, because I would really like to figure this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2008 05:04 PM
тАО01-14-2008 05:04 PM
Re: bnx2 ip checksum error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2008 01:37 AM
тАО01-15-2008 01:37 AM
Re: bnx2 ip checksum error
Can you point me to some docs where I can study this to understand better the details of what I'm seeing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2008 10:11 AM
тАО01-15-2008 10:11 AM
Re: bnx2 ip checksum error
ethereal traces that you collected did not show any IP checksum error packets. You can also look up /proc/net/snmp and look for the InHdrErrors counter.