From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 15 Apr 2002 14:15:19 +0530 (IST) From: "Amit S. Jain" Subject: Re: Memory allocation in Linux (fwd) In-Reply-To: <20020411180847.E20895@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Benjamin LaHaise Cc: Joseph A Knapka , linux-mm@kvack.org List-ID: You cannot pass address returned from vmalloc to hardware: vmalloc returns > a virtual mapping of memory. > > -ben Thanks Ben, So wass the solution for this.....?? Thanks Amit On Thu, 11 Apr 2002, Benjamin LaHaise wrote: > On Thu, Apr 11, 2002 at 06:16:56PM +0530, Amit S. Jain wrote: > > Hi everyone, > > This is a continuation of the mail I had written earlier (see > > down)tellin bout my problem that when i use vmalloc()...I get an error stating > > "PCI bus error 2290".I think i have a slight idea what the problem could > > be.....Hope u all could comment on it. > > The large amount of memory i obtain using vmalloc is then pointed to by > > the skb "network" buffers as i copy data into this memory which has to be > > transmitted.Since the memory is discontinuous implying data is > > discontinuous and the ethernet card I am using is REALTEK8139 which > > doesnot support SCATTER/GATHER DMA.... hence the PCI bus cant find the > > continuous data which has to be transmitted. > > You cannot pass address returned from vmalloc to hardware: vmalloc returns > a virtual mapping of memory. > > -ben > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/