WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] out of dma-memory when using usblp-module in driverdomain

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] out of dma-memory when using usblp-module in driverdomain
From: Patrick Scharrenberg <pittipatti@xxxxxx>
Date: 2007年3月25日 16:29:12 +0200
Delivery-date: 2007年3月25日 07:28:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: IceDove 1.5.0.9 (X11/20061220)
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: rcu support in xen , Mike D. Day
Next by Date: Re: [Xen-devel] HVM guest shutdown send ACPI Power Event , Julian Pawlowski
Previous by Thread: [Xen-devel] Re: [Xen-users] xen kernel and e1000 problem , Anand Gupta
Next by Thread: Re: [Xen-devel] out of dma-memory when using usblp-module in driverdomain , Jan Beulich
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /