Hi.... On Wed, Sep 22, 2010 at 01:01, vinit dhatrak <vinit.dhatrak@xxxxxxxxx> wrote: > I guess this issue has something to do with '/dev/mem' being physical > memory. The address may have different value when data is set and different > data when value is read due to page swapping or copy-on-write. I am just > taking wild guess here, please correct me if I am wrong. I was thinking, it could be that /dev/mem is made as "read only" in the architecture...or ...you're hitting memory region which is protected. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ