From: shankar@mistralsoftware.com
To: linux-kernel@vger.kernel.org
Cc: shankar@mistralsoftware.com, aravind@mistralsoftware.com
Subject: GadgetFS AIO problem
Date: Thu, 17 Aug 2006 09:49:24 -0700 (PDT) [thread overview]
Message-ID: <48464.220.227.202.101.1155833364.squirrel@www.mistralsoftware.com> (raw)
In-Reply-To:
Hi Greg,
This is regarding debugging a problem in GadgetFS AIO functionality. I'm
working on an developing a USB user space driver on top of the GadgetFS
Driver on Linux Kernel version 2.6.10. I'm using the AIO support of the
GadgetFS driver in my design. When I make a io_getevents call from the
user space, it hangs and never returns. I see that there is a patch
released to fix this on 2.6.17 kernel
(http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.6/2.6.17/). I
tried applying the following of patches in the same order as mentioned
below
usb-gadgetfs-highspeed-bugfix.patch (all the Hunks succeed)
gadgetfs-fix-memory-leaks.patch (2 out of 6 Hunks, #4 and #6 FAILED)
gadgetfs-fix-aio-interface-bugs.patch (all the Hunks succeed)
After applying the patches, I get some memory faults when the io_submit is
called. But the io_getevetns returns without reading any data. I don't
know whether it matters, but the libaio version that I use is
libaio-0.3.99.
Please advice me on whether I'm applying the patches in the correct order
or am I missing something here. If some one can give me a direction on how
to go about fixing this, it would be great.
Please mark a copy of your reply to my email id: shankar@mistralsoftware.com
Thanks and Regards,
Shankar
reply other threads:[~2006-08-17 16:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=48464.220.227.202.101.1155833364.squirrel@www.mistralsoftware.com \
--to=shankar@mistralsoftware.com \
--cc=aravind@mistralsoftware.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®