Hi Searching___, 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. -- Tom
/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... -- Tom
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
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.. http://lwn.net/Articles/147901/ http://www.pubbs.net/201005/freebsd/2448-freebsd-80-kmem-map-too-small.html http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/kmem.c
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.