Reading/Writing from/to 2.6.28 /dev/mem doesn't seem to work...

Submitted by Anonymous
on January 15, 2009 - 9:03am

Hey,
I've tried reading from /dev/mem with this code http://rafb.net/p/F5qi7e60.html
but it gave me an invalid argument error with perror, anyone got a clue why ? or how to fix it ? (what seems to be the problem is the address, although when I grep it from System.map it seems valid)

thanks in advance.

Your URL

Ferdinand (not verified)
on
January 19, 2009 - 4:50pm

Your URL http://rafb.net/p/F5qi7e60.html yields only a 404.

The symbols in Symbol.map are used with /dev/kmem, not with /dev/mem.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.