LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-03-2008, 04:05 PM   #1
chvince
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
"Bad address" reading /dev/mem


I have 2G RAM, but I get this:

localhost:~# dd if=/dev/mem bs=1024 >/dev/null
dd: reading `/dev/mem': Bad address
917504+0 records in
917504+0 records out
939524096 bytes (940 MB) copied, 1.16839 seconds, 804 MB/s

Why can't I read above 917504 kbytes?
 
Old 12-03-2008, 06:06 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
What is /dev/mem and how does it compare to /proc/kcore?

(I don't know the answer, but the secret lies in understanding Linux memory management which, according to my reading, is not a trivial undertaking)

If it makes you feel any better, my system gives the same result, but takes 1/10th of a second longer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openvpn ipaddress problem: "MULTI: bad source address from client" arobinson74 Linux - Networking 6 10-02-2008 06:26 PM
Who's sending this mail to "Bad destination mailbox address" ssfrstlstnm Linux - Server 10 06-20-2008 10:14 PM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM
Fedora install problem "error 2 reading header: cpio: Bad Magic" galois007 Linux - Software 0 03-09-2006 10:41 PM
"/usr/tux/backup/login: Bad Address" dri95 Linux - Security 0 02-26-2002 07:30 AM


All times are GMT -5. The time now is 03:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration