From: Patrick Scharrenberg <pittipatti@web.de>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: out of dma-memory when using usblp-module in driverdomain
Date: Sun, 25 Mar 2007 16:29:12 +0200 [thread overview]
Message-ID: <46068738.1000802@web.de> (raw)
Hi!
I tried attaching an usb-printer to an usb-port of a driver-domain.
On loading the module usblp I get the following error:
/usr/src/xen/xen-unstable.hg/linux-2.6.18-xen/drivers/usb/class/usblp.c:
out of memory for write buf
usblp: probe of 2-1:1.0 failed with error -5
I figured out, that reducing USBLP_BUF_SIZE (usb/class/usblp.c) form
8192 to some smaller value, e.g. 4096 it works fine, but that's just a
workaround.
USBLP_BUF_SIZE is used to "usb_buffer_alloc" (usb/core/usb.c) dma memory:
>From usb.c:
usb_buffer_alloc - allocate dma-consistent buffer for
URB_NO_xxx_DMA_MAP
but here I'm out..
cheers
~patrick
next reply other threads:[~2007-03-25 14:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-25 14:29 Patrick Scharrenberg [this message]
2007-03-26 7:23 ` out of dma-memory when using usblp-module in driverdomain Jan Beulich
2007-04-10 15:01 ` Patrick Scharrenberg
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=46068738.1000802@web.de \
--to=pittipatti@web.de \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.