From: Markus <M4rkusXXL@web.de>
To: lkml <linux-kernel@vger.kernel.org>
Subject: REGRESSION: 2.6.28.7 => 2.6.29-rc8: pwc mmap always failes with EAGAIN
Date: Sat, 14 Mar 2009 17:42:53 +0100 [thread overview]
Message-ID: <200903141742.53496.M4rkusXXL@web.de> (raw)
Hello!
I just tried the 2.6.29-rc8 and run into a problem.
Running motion (a motion detection software for a webcam:
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome) with the pwc
driver will give some error message:
[1] Error mapping buffer 0 mmap: Resource temporarily unavailable
[1] MAP_FAILED: Resource temporarily unavailable
Looking in the sources:
It opens the video device (/dev/video1 for me) and then tries to mmap
with:
mmap(NULL, buf.length, PROT_READ | PROT_WRITE, MAP_SHARED, s->fd,
buf.m.offset);
It returns MAP_FAILED and errno is EAGAIN.
>From the manpages of mmap:
"EAGAIN The file has been locked, or too much memory has been locked
(see setrlimit(2))."
The software is not able to gather a picture from the webcam (its a
logitech orbit). Everything works with kernel 2.6.28.7 and before. The
config is copied from the 2.6.28.7 (except of some new options: "make
oldconfig"). Nothing else is changed! (Only the kernel differs.)
I dont know how that can be debugged further as the pwc module wasn
changed (except of a small api-adjustment).
Thanks!
Markus
PS: Please CC me!
reply other threads:[~2009-03-14 16:43 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=200903141742.53496.M4rkusXXL@web.de \
--to=m4rkusxxl@web.de \
--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®