Skip to contentSkip to conversation

mmap error?

DISCUSSION Gene Heskett 3 participants 5 messages Apr 2, 2007

lore
Share & tools
lore
#0 lore raw

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 <[email protected]> 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

Signature · 5 lines
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?
#1 lore raw

Hi Gene,

Quoted 6 lines · Gene Heskett

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:

Quoted 7 lines

--------
Using growisofs 7.0 Copyright (C) Andy Polyakov <[email protected]> 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

Signature · 1 line
das eine Mal als Tragödie, das andere Mal als Farce
#2 lore raw
Quoted 15 lines · Ken Moffat

Hi Gene,

Quoted 12 lines · Gene Heskett

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 <[email protected]> Starting writing...

:-( unable to anonymously mmap 33554432; resource temporarily

Quoted 8 lines
Quoted 3 lines

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. :)

Signature · 8 lines
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
#3 lore raw
Quoted 3 lines · Gene Heskett

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

#4 lore raw
Quoted 10 lines · Kyle Moffett
Quoted 8 lines · Gene Heskett

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.

Quoted 8 lines

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.

Quoted 2 lines

Cheers,
Kyle Moffett

Signature · 8 lines
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.