patchdmidecode - Patches: patch #7901, Allow base address to be specified...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7901: Allow base address to be specified when using --from-dump

Submitter:  Ahmon Dancy <dancysoft>
Submitted:  Mon 10 Dec 2012 12:38:11 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  In Progress Privacy:  Public
Assigned to:  aarapov Open/Closed:  Open

Thu 25 Apr 2013 07:15:59 AM UTC, comment #4: 

Thanks.

Anton Arapov <aarapov>
Group administrator
Wed 17 Apr 2013 04:25:04 PM UTC, comment #3: 

Anton, I was using Xen hypervisor and I used "xm dump-core" to get the core image.  I used the attached script to locate and extract the dmi information.  I've also attached 3 extracted images.


(file #27898, file #27899, file #27900, file #27901)

Ahmon Dancy <dancysoft>
Tue 16 Apr 2013 12:27:35 PM UTC, comment #2: 

I don't mind this change, it gives more flexibility. However, could you please give more details about the hyperviser software and version as well as provide binary dmi dump.

Thanks,
Anton

Anton Arapov <aarapov>
Group administrator
Fri 22 Mar 2013 07:33:53 AM UTC, comment #1: 

Sorry for the late answer, I'll take a look at the problem and your patch soon.

Thanks!

Anton Arapov <aarapov>
Group administrator
Mon 10 Dec 2012 12:38:11 AM UTC, original submission:  

Today I collected a snippet of memory from a virtual machine.  The snippet contained the DMI information so I figured I'd run dmidecode against it to see if the information was what I expected it to be.   However, dmidecode failed due to a bus error after printing the summary information (SMBIOS version, number of structs, etc).   This was because the structure table address in the snippet is a physical memory address (e.g. 0xeb01f).  So I added a way to specify the expected base address (e.g. 0xeb000) if the binary input file.

Patch attached for consideration.

Note that I made the display of "Table at 0x%08X." unconditional because the information that it displays is useful at guessing what value to supply to --mem-base.


Ahmon Dancy <dancysoft>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #27899:  dmi2.bin added by dancysoft (4KiB - application/octet-stream)
file #27900:  dmi.bin added by dancysoft (4KiB - application/octet-stream)
file #27901:  dmi3.bin added by dancysoft (4KiB - application/octet-stream)
file #27898:  extract-dmi added by dancysoft (396B - application/octet-stream)
file #27063:  dmidecode-membase.patch added by dancysoft (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aarapov (Posted a comment)
  • -email is unavailable- added by dancysoft (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-25 aarapov StatusNeed Info In Progress
    2013-04-17 dancysoft Attached File- Added dmi2.bin, #27899
        Attached File- Added dmi.bin, #27900
        Attached File- Added dmi3.bin, #27901
    2013-04-17 dancysoft Attached File- Added extract-dmi, #27898
    2013-04-16 aarapov StatusNone Need Info
    2013-03-22 aarapov Assigned toNone aarapov
    2012-12-10 dancysoft Attached File- Added dmidecode-membase.patch, #27063

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code