Accessing memory with /dev/port
A message that is not in the archive (sent off-list or not yet received): [email protected]
hi
Quoted 11 lines · -- Jon Masters
Quoted 1 line · aq
I heard that it is possible to modify the kernel
memory via some
Quoted 1 line
special devices like
/dev/mem,/dev/kmem,
/dev/portand/dev/kcore.Quoted 1 line
There are some papers about that techniques
concerning
/dev/memandQuoted 1 line
/dev/kmem, but I cannot find any informationexplaining how to do that
Quoted 8 lines
Quoted 1 line
(access and modify the memory of kernel) with
/dev/portandQuoted 3 lines
/dev/kcore.Anybody knows about these methods, please tell me?
The best thing to do is to consult the documentation for mmap and then
can u tell some place where i can go look for this mmap. i had seen some places but the concepts are theoretical. how to do things are nto told much
Quoted 8 lines
experiment with mapping these devices and making changes to the mapped
memory (make sure you perform any accesses to device memory using
volatile keywords in your pointer declarations). However I'd be really
very concerned if you want to actually modify kernel memory this way.
well i would like to see if the kernel memory can be increased or in some way i can understand these concepts(do u know any document or link)
Quoted 6 lines
The best way to send information to or from the kernel is to use a
file in /proc and use conventional read/write file operations upon it.
The is the way we do things in UNIX.
i want to know what is this file used for /proc/kcore
Quoted 13 lines
Having said that, there can be times when mapping the raw memory is
useful - if for example you want to display the contents of various
bits of kernel data structures. I'm mulling the idea of writing a GUI
tool to visualise bits of kernel data graphically - I'm not bothered
by keeping it all in sync and up to date, just a view. I bet it's been
done.
well my system is having all this
128 Mb Ram and redhat linux 9.0 kernel 2.4
now i see even on system with 512 Mb RAM the most of the ram is occupied by GUI or xserver around 90% of memory
there is no way to reduce this load? i want to tune it for better performance and i also want GUI
thanks
Ankit
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs