[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory allocation in Linux (fwd)
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/