From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael =?UTF-8?B?QsO8c2No?= Subject: Re: [Bugme-new] [Bug 38102] New: BUG kmalloc-2048: Poison overwritten Date: Mon, 4 Jul 2011 16:51:37 +0200 Message-ID: <20110704165137.1332c44f@maggie> References: <20110629145135.5179fb0c.akpm@linux-foundation.org> <1309707971.2523.20.camel@edumazet-laptop> <1309788049.2247.9.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> <20110704163134.7f2180b2@maggie> <1309790705.2247.22.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Alexey Zaytsev , Andrew Morton , netdev@vger.kernel.org, Gary Zambrano , bugme-daemon@bugzilla.kernel.org, "David S. Miller" , Pekka Pietikainen , Florian Schirmer , Felix Fietkau , Michael Buesch To: Eric Dumazet Return-path: Received: from bues.ch ([80.190.117.144]:51716 "EHLO bues.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755628Ab1GDOvr convert rfc822-to-8bit (ORCPT ); Mon, 4 Jul 2011 10:51:47 -0400 In-Reply-To: <1309790705.2247.22.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 04 Jul 2011 16:45:05 +0200 Eric Dumazet wrote: > Le lundi 04 juillet 2011 =C3=A0 16:31 +0200, Michael B=C3=BCsch a =C3= =A9crit : > > On Mon, 04 Jul 2011 16:00:49 +0200 > > Eric Dumazet wrote: > > > > And an other question. Why so we have the logic to work-around = the 1Gb > > > > DMA limit instead of just setting the dma mask? > > >=20 > > > Your problem is in RX side : NIC actually writes to a buffer that= is > > > supposedly not its property. > >=20 > > The problem is on both sides, because some Linux architectures simp= ly > > do not support any DMA mask less than 32. This applied to i386 (IA3= 2) last > > time I looked. > > The b44 DMA engine can only address 30-bits. >=20 >=20 > Michael, traces provided by Alexey are in the RX path. >=20 > NIC does a DMA (Receives an UDP frame) into a 2048 bytes buffers tha= t > was freed. Yeah sure. That's obvious from the logs. By "the problem" I meant "the 30bit limitation".