LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-14-2013, 03:37 PM   #1
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
/proc/sys/vm/mmap_min_addr missing


Recently I stumbled upon some mystery that I can't understand.
My Google search bring no results.

I have 3 VM with different Linuxes that run under QEMU and now I noticed that
all of them don't have /proc/sys/vm/mmap_min_addr files (/proc is mounted)

I am sure that this file was here some time ago.
I didn't recompile kernel in any of those VMs, don't upgrade QEMU - nothing of the sort.

But those VMs where started and stopped multiple times.

So my questions:
1. What happened, where this file gone?
2. How can I get it back?

My host system (Fedora 12, x86-64) has this file.
One of VM is Fedora 12 ARM, another - Fedora Core 3 x86-64, ant yet another ARM OABI debian - all of them miss mmap_min_addr file.

Thank you,
Valery.
 
Old 01-15-2013, 07:12 PM   #2
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
From within the VMs, what does 'sysctl vm.mmap_min_addr' show?

Admittedly for Debian, this Debian wiki entry on mmap_min_addr implies that older versions of Qemu needed mmap_min_addr set to zero to work (newer versions are ok). Are you running an older version?

Also, "Fedora qemu mmap_min_addr" throws up a lot of hits showing Fedora did once have an issue with mmap_min_addr set to 0. Are you convinced you remember accurately (not that I'm doubting you, I mis-remember things all the time).
 
Old 01-16-2013, 12:20 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Original Poster
Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by padeen View Post
From within the VMs, what does 'sysctl vm.mmap_min_addr' show?

Admittedly for Debian, this Debian wiki entry on mmap_min_addr implies that older versions of Qemu needed mmap_min_addr set to zero to work (newer versions are ok). Are you running an older version?

Also, "Fedora qemu mmap_min_addr" throws up a lot of hits showing Fedora did once have an issue with mmap_min_addr set to 0. Are you convinced you remember accurately (not that I'm doubting you, I mis-remember things all the time).
Turns out that you are quite right - I remembered wrong.
Now I boot QEMU with other (Ubuntu's) kernel for ARM and got my mmap_min_addr back.

Thank you anyway
 
  


Reply

Tags
/proc, mmap_min_addr, qemu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/sys/vm/drop_caches sulekha Ubuntu 4 12-06-2008 03:38 AM
missing file??? /proc/sys/kernel/sysrq bad_gui Linux - General 4 08-18-2006 10:37 PM
LM_Sensors proc V sys Weirdname Slackware 5 11-29-2005 08:22 PM
/proc vs /sys alaios Linux - Newbie 1 06-11-2005 11:56 PM
/proc replaced by /sys in 2.6? Thaidog Linux - General 1 04-25-2005 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration