From: "Amit S. Jain" <amitjain@tifr.res.in>
To: Benjamin LaHaise <bcrl@redhat.com>
Cc: Joseph A Knapka <jknapka@earthlink.net>, linux-mm@kvack.org
Subject: Re: Memory allocation in Linux (fwd)
Date: Mon, 15 Apr 2002 14:15:19 +0530 (IST) [thread overview]
Message-ID: <Pine.LNX.4.21.0204151414050.20877-100000@mailhost.tifr.res.in> (raw)
In-Reply-To: <20020411180847.E20895@redhat.com>
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/
next prev parent reply other threads:[~2002-04-15 8:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-04 7:34 Amit S. Jain
2002-04-04 11:52 ` Joseph A Knapka
2002-04-11 12:46 ` Amit S. Jain
2002-04-11 22:08 ` Benjamin LaHaise
2002-04-15 8:45 ` Amit S. Jain [this message]
2002-04-19 17:46 ` Eric W. Biederman
2002-04-04 18:38 ` Ravi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.21.0204151414050.20877-100000@mailhost.tifr.res.in \
--to=amitjain@tifr.res.in \
--cc=bcrl@redhat.com \
--cc=jknapka@earthlink.net \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox