mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* REGRESSION: 2.6.28.7 => 2.6.29-rc8: pwc mmap always failes with EAGAIN
@ 2009-03-14 16:42 Markus
  0 siblings, 0 replies; only message in thread
From: Markus @ 2009-03-14 16:42 UTC (permalink / raw)
  To: lkml

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!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-14 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-14 16:42 REGRESSION: 2.6.28.7 => 2.6.29-rc8: pwc mmap always failes with EAGAIN Markus

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®