Discussion in 'all things UNIX' started by Searching_ _ _, Aug 21, 2010.
Are there any LiveCD's with kmem enabled in the kernel?
Most distros have this disabled by default.
I run in an Ubuntu Lucid 10.4.1 Live CD environment, and upon reading your post, I simply issued the command: man kmem
and advise you to do the same for whatever distro you have installed or Live CD.
/dev/kmem is not included in the 2.6 kernels as it is an avenue for rootkit installation.
/dev/mem has also been removed or limited in what it can do.
Before 2.6 you had to just recompile the kernel with CONFIG_DEVKMEM set to "y". But since it's not included in 2.6 I am at a loss as how to.
Did you look at the man page for kmem? It includes the instructions (for root) on how to create it. Presumably, you could create your own Live CD with those instructions in a chrooted environment on hard disk and then spin your own Live CD, etc...
Everything seems to say that /dev/kmem can't be used in modern Linux.
For Ubuntu, I would have to go back to 7.10 or earlier, but don't know how well my laptop would function.
Ubuntu Security Features
Can't dd /dev/kmem in Ubuntu Jaunty
Ubuntu 8.04 LTS
Distros without kmem
Why do you want kmem access?
mem's and kmem's purpose is to access memory.
So I would like to access memory, see.
So, you're saying you can't access memory in Ubuntu? How exactly do you propose Ubuntu works if it can't access memory? And what specifically do you want access to kmem for?
Not in the way that I would like to. kmem can do wondrous things that when not available can not be accomplished, see.
Dont know about wondrous, but here's some light reading for ya, chronomatic..
Are you a kernel hacker? If not, I don't see any reason you need /dev/kmem.
Yes that's it. I'm a kernel hacker.
But I won't be one if I can't use kmem.
Won't you help me find a way to get kmem working on a distro that will operate on a modern system?
I found fmem to be the new kmem.
Apparently kmem had some known bugs that made its legitimate uses questionable.
Imaging RAM with fmem
Another option is Solaris which still uses kmem for debugging memory.
@ quin tile
Thanks for the links, they were useful.
Separate names with a comma.