From owner-linux-origin@oss.sgi.com Tue Feb 6 16:09:59 2001 Received: by oss.sgi.com id ; Tue, 6 Feb 2001 16:09:51 -0800 Received: from sgi.SGI.COM ([192.48.153.1]:28179 "EHLO sgi.com") by oss.sgi.com with ESMTP id ; Tue, 6 Feb 2001 16:09:30 -0800 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id QAA09130 for ; Tue, 6 Feb 2001 16:09:30 -0800 (PST) mail_from (hawkes@engr.sgi.com) Received: from pchawkes (sshgate.corp.sgi.com [169.238.216.146]) by cthulhu.engr.sgi.com (SGI-8.9.3/8.9.3) with SMTP id QAA65411 for ; Tue, 6 Feb 2001 16:08:12 -0800 (PST) Message-ID: <08c901c09099$89f98100$6401a8c0@marin1.sfba.home.com> From: "John Hawkes" To: "linux-origin" Subject: BUG() oops from skb_put() of len=-12, from tcp_sendmsg() Date: Tue, 6 Feb 2001 16:04:27 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing Running a mips64 2.4.0+lockmetering kernel on the 32-cpu posix0.engr, using sources from the CVS tree grabbed on 22 January 01, I was exercising the system using the IBM synthetic "chat" benchmark (30 "rooms", 10 clients per room, 300 messages per client). BUG() in skb_over_panic(), called from skb_put(), which is inlined in tcp_sendmsg(). Note the "len" of a negative byte count: -12. Not repeatable. skput:over: ffffffff800f38f4:16128 put:-12 dev:kernel BUG at skbuff.c:93! Cpu 7 Unable to handle kernel paging request at address 00000000, epc == 800dac2c, ra == 800dac2c Oops: 0001 Cpu 7 $0 : 0000000000000000 0000000010001ce0 000000000000001b 0000000000000001 $4 : 000000003f5fd975 c0000000000d84d0 ffffffff801b2e48 00000000000004d0 $8 : 0000000000000316 ffffffff801b17c0 00000000000004d0 ffffffffffffffff $12 : 000000000000001b 0000000000000000 000000000000000a ffffffff8015f360 $16 : a8000002639fa280 fffffffffffffff4 0000000000000064 a80000082794c1a0 $20 : a80000026358bfac a80000082794c060 0000000000000000 000000002b51df28 $24 : 0000000000000000 0000000000000020 $28 : a800000d27be0000 a800000d27be3c60 0000000000000064 ffffffff800dac2c Hi : 0000000000000000 Lo : 00000000000004d0 epc : ffffffff800dac2c badvaddr: 0000000000000000 badvaddr: 0000000000000000 Status : 10001ce3 Cause : 0000800c Cause : 0000800c Process chat_s (pid: 5562, stackpage=a800000d27be0000) Stack: ffffffff800f38fc ffffffff800f3dbc 7fffffffffffffff 00000000237061a0 a800000d27be3e58 0000000000000000 00003f0000000000 a80000082794c0a0 0000000163730000 a800000d27be3cc0 ffffffff8003268c ffffffff80032638 ffffffff80044ab0 a80000082794c1a0 a80000082794c060 a800000d27be3e10 0000000000000064 0000000000000064 0000000000000000 0000000000000064 ffffffffffffffff 0000000000000230 0000000000004640 ffffffff80113dcc 0000000000000000 a800000d27be3e10 a800000423ab1510 ffffffff800d723c 000015ba00000000 0000000000000000 0000000000000000 0000000000000000 a800000423ab1510 0000000000000000 000000002b51df28 0000000000000000 ffffffff800d8324 ffffffff800d82a8 a8000003035d69c0 a800000c278ceeec a8000003035d69c0 ... Call Trace:Call Trace: [<800f38fc>] [<800f3dbc>] [<8003268c>] [<80032638>] [<80044ab0>] [<80113dcc>] [<800d723c>] [<800d8324>] [<800d82a8>] [<800eb4fc>] [<800213b4>] [<800de51c>] [<800d836c>] [<80028adc>] [<80028bcc>] Code:Code: 64a53da0 0c00d8dc 2406005d dfbf0000 03e00008 67bd0010 67bdfff0 0080102d From owner-linux-origin@oss.sgi.com Fri Feb 23 15:55:01 2001 Received: by oss.sgi.com id ; Fri, 23 Feb 2001 15:54:41 -0800 Received: from u-183-20.karlsruhe.ipdial.viaginterkom.de ([62.180.20.183]:62705 "EHLO dea.waldorf-gmbh.de") by oss.sgi.com with ESMTP id ; Fri, 23 Feb 2001 15:54:11 -0800 Received: (from ralf@localhost) by dea.waldorf-gmbh.de (8.11.1/8.11.1) id f1NH01r14726; Fri, 23 Feb 2001 18:00:01 +0100 Date: Fri, 23 Feb 2001 18:00:01 +0100 From: Ralf Baechle To: Ken Pearlstein Cc: server1-plat@engr.sgi.com, linux-origin@oss.sgi.com Subject: More IOC3 performance, was: Re: [Fwd: TTCP data test data] more on ftp curiosity Message-ID: <20010223180000.A14320@bacchus.dhis.org> References: <3A8B249F.F0D3A053@nova.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A8B249F.F0D3A053@nova.sgi.com>; from pearlste@nova.sgi.com on Wed, Feb 14, 2001 at 07:36:47PM -0500 X-Accept-Language: de,en,fr Sender: owner-linux-origin@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-origin-outgoing More on IOC3 performance - I fixed a bug which did result in outgoing packets that are larger than 104 bytes and cross a 16kb boundary getting sent corrupted. This didn't show up as data corruption as it was caught by the IP checksum mechanism; it just ruined performance. So for my test platform (for convenience I use an O200 running Linux to develop the driver) and a second O200 running IRIX at the remote end I now clearly get into the leage of sane benchmarks, > 90mbit/s including TCP/IP/802.3 header overhead, for UPD even close to 99mbit/s. On TX only, still and still at the price of burning much more CPU than necessary. Ralf