All of lore.kernel.org
 help / color / mirror / Atom feed
* mmap error?
@ 2007-04-02 14:30 Gene Heskett
  2007-04-02 17:35 ` Ken Moffat
  0 siblings, 1 reply; 5+ messages in thread
From: Gene Heskett @ 2007-04-02 14:30 UTC (permalink / raw)
  To: linux-kernel, Andy Polyakov

Greetings all;

Has something been changed recently, say post 2.6.19, that would effect 
this error from k3b when I click start (the burn), with a fresh dvd+r in 
the drive:

--------
Using growisofs 7.0 Copyright (C) Andy Polyakov <appro@fy.chalmers.se>
Starting writing...
:-( unable to anonymously mmap 33554432; resource temporarily 
unavailable...
Fatal error at startup, resource temporarily unavailable...
--------

And k3b then ejects the tray.

Selinux is disabled.
Currently booted kernel 2.6.21-rc5

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Why be difficult when, with a bit of effort, you could be impossible?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mmap error?
  2007-04-02 14:30 mmap error? Gene Heskett
@ 2007-04-02 17:35 ` Ken Moffat
  2007-04-02 17:54   ` Gene Heskett
  0 siblings, 1 reply; 5+ messages in thread
From: Ken Moffat @ 2007-04-02 17:35 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel, Andy Polyakov

Hi Gene,

On Mon, Apr 02, 2007 at 10:30:29AM -0400, Gene Heskett wrote:
> Greetings all;
> 
> Has something been changed recently, say post 2.6.19, that would effect 
> this error from k3b when I click start (the burn), with a fresh dvd+r in 
> the drive:
> 
> --------
> Using growisofs 7.0 Copyright (C) Andy Polyakov <appro@fy.chalmers.se>
> Starting writing...
> :-( unable to anonymously mmap 33554432; resource temporarily 
> unavailable...
> Fatal error at startup, resource temporarily unavailable...
> --------
 Known problem, please see
http://fy.chalmers.se/~appro/linux/DVD+RW/tools/ (third paragraph)
for a workaround.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mmap error?
  2007-04-02 17:35 ` Ken Moffat
@ 2007-04-02 17:54   ` Gene Heskett
  2007-04-02 18:02     ` Kyle Moffett
  0 siblings, 1 reply; 5+ messages in thread
From: Gene Heskett @ 2007-04-02 17:54 UTC (permalink / raw)
  To: linux-kernel

On Monday 02 April 2007, Ken Moffat wrote:
>Hi Gene,
>
>On Mon, Apr 02, 2007 at 10:30:29AM -0400, Gene Heskett wrote:
>> Greetings all;
>>
>> Has something been changed recently, say post 2.6.19, that would
>> effect this error from k3b when I click start (the burn), with a fresh
>> dvd+r in the drive:
>>
>> --------
>> Using growisofs 7.0 Copyright (C) Andy Polyakov <appro@fy.chalmers.se>
>> Starting writing...
>>
>> :-( unable to anonymously mmap 33554432; resource temporarily
>>
>> unavailable...
>> Fatal error at startup, resource temporarily unavailable...
>> --------
>
> Known problem, please see
>http://fy.chalmers.se/~appro/linux/DVD+RW/tools/ (third paragraph)
>for a workaround.
>
Ahh, thank you very much.  But I have 7.0, supposedly fixed, sigh...  That 
did fix it, the dvd is burning as I type, again thanks.

???? Can I put this into rc.local so its global?  I guess I will just for 
effects.  Or is there an option in a make xconfig to reset this to a 
usable sized limit?, because I can see cups also having problems since I 
have its render cache set for 127 megs, which should also trigger this.

Seems like a 'what were they thinking moment' to me. :)

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
purpitation, n.:
	To take something off the grocery shelf, decide you
	don't want it, and then put it in another section.
		-- "Sniglets", Rich Hall & Friends

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mmap error?
  2007-04-02 17:54   ` Gene Heskett
@ 2007-04-02 18:02     ` Kyle Moffett
  2007-04-02 19:35       ` Gene Heskett
  0 siblings, 1 reply; 5+ messages in thread
From: Kyle Moffett @ 2007-04-02 18:02 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel

On Apr 02, 2007, at 13:54:28, Gene Heskett wrote:
> Ahh, thank you very much.  But I have 7.0, supposedly fixed,  
> sigh...  That did fix it, the dvd is burning as I type, again thanks.
>
> ???? Can I put this into rc.local so its global?  I guess I will  
> just for effects.  Or is there an option in a make xconfig to reset  
> this to a usable sized limit?, because I can see cups also having  
> problems since I have its render cache set for 127 megs, which  
> should also trigger this.

Well, that's not a limit on how much memory you can map, it's a limit  
on how many pages you can lock into memory (as in, cannot be swapped  
out or written back to disk and reused).  For low-latency  
applications (IE: cd burning) you need to have all memory mlocked so  
that you don't get a low-latency wakup and then promptly lose all  
latency guarantees by swapping madly, but something like CUPS doesn't  
have a problem because it doesn't use mlock() or mlockall().

Cheers,
Kyle Moffett


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mmap error?
  2007-04-02 18:02     ` Kyle Moffett
@ 2007-04-02 19:35       ` Gene Heskett
  0 siblings, 0 replies; 5+ messages in thread
From: Gene Heskett @ 2007-04-02 19:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: Kyle Moffett

On Monday 02 April 2007, Kyle Moffett wrote:
>On Apr 02, 2007, at 13:54:28, Gene Heskett wrote:
>> Ahh, thank you very much.  But I have 7.0, supposedly fixed,
>> sigh...  That did fix it, the dvd is burning as I type, again thanks.
>>
>> ???? Can I put this into rc.local so its global?  I guess I will
>> just for effects.  Or is there an option in a make xconfig to reset
>> this to a usable sized limit?, because I can see cups also having
>> problems since I have its render cache set for 127 megs, which
>> should also trigger this.
>
>Well, that's not a limit on how much memory you can map, it's a limit
>on how many pages you can lock into memory (as in, cannot be swapped
>out or written back to disk and reused).  For low-latency
>applications (IE: cd burning) you need to have all memory mlocked so
>that you don't get a low-latency wakup and then promptly lose all
>latency guarantees by swapping madly, but something like CUPS doesn't
>have a problem because it doesn't use mlock() or mlockall().
>
Ah, that clarifies that then, thanks Kyle.

>Cheers,
>Kyle Moffett



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The perversity of nature is nowhere better demonstrated by the fact that, 
when
exposed to the same atmosphere, bread becomes hard while crackers become 
soft.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-02 19:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02 14:30 mmap error? Gene Heskett
2007-04-02 17:35 ` Ken Moffat
2007-04-02 17:54   ` Gene Heskett
2007-04-02 18:02     ` Kyle Moffett
2007-04-02 19:35       ` Gene Heskett

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.