Re: reading BIOS dump



On Fri, 29 Dec 2006 19:59:34 -0600, CBFalconer wrote
(in article <4595C806.55D90293@xxxxxxxxx>):

Randy Howard wrote:
On Fri, 29 Dec 2006 17:02:07 -0600, Bill Cunningham wrote

The answer to the OP's question is it starts at f0000 (f000:0000
for the old DOS crowd). You can open /dev/mem, seek to that
address and read it as if it were a file. It's the entire
"segment", or 64K in length.

Instead of going to the trouble to write a small C program what
about using the dd command. Copy if=/dev/mem to of= and use bs=64k
and seek=0xffff0 ? Would that work ? I'll try it if it sounds safe
I don't want to screw up my system.

Reading from /dev/mem can't hurt your system. Writing to it is
another matter entirely.

What if i/o is memory mapped? Reading a location may reset a
'ready' flag and/or empty a hardware buffer.

The original form of this question was in reference to Linux boxes. I
know of none that have such a problem to be worried about. Do you?



--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw





.



Relevant Pages

  • Re: reading BIOS dump
    ... Randy Howard wrote: ... for the old DOS crowd). ... Reading from /dev/mem can't hurt your system. ... What if i/o is memory mapped? ...
    (comp.programming)
  • Re: Scanf and number formats
    ... :the 'd' that would mean almost multiplying our time for reading even good ... largely dominated by the disk I/O rate... ... same input buffer, and it usually isn't worth duplicating the ... The slow part of reading is getting the data from disk to your ...
    (comp.lang.c)
  • Re: What made you stay here?
    ... I couldn't make myself continue reading. ... Worse than no editing, and publishers not caring, is when a writer ... decides correct spelling and grammar no longer matter. ... The editor changed it to "delicacies," and I didn't catch ...
    (rec.arts.tv.soaps.cbs)
  • Re: Its A Done Deal
    ... Is this instance knowledge is fungible and what he knew before reading ... the Ferrari documents cannot be separated nor distinguished from what ... McLaren are not responsible for the private actions of an employee in his own time, no matter what those activities might be and no matter whether they might have a bearing on his day job or not. ... ROFL. ...
    (rec.autos.sport.f1)
  • Re: Another huge bug: DECwindows MAIL: include file
    ... It does not matter if you are in mail ... WRITE ALLOW READ they the ability to open the file for reading is there. ... > But if it is safe to TYPE the file, if it is safe for TPU to read the file, ... this would suggest that VMS is failing to prevent TYPE ...
    (comp.os.vms)