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

 
 

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

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

Submitted by:  Ahmon Dancy <dancysoft>
Submitted on:  Mon Dec 10 00:38:11 2012  
 
Category: NonePriority: 5 - Normal
Status: In ProgressPrivacy: Public
Assigned to: Anton Arapov <aarapov>Open/Closed: Open

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

Thanks.

Anton Arapov <aarapov>
Project AdministratorIn charge of this item.
Wed Apr 17 16:25:04 2013, 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 Apr 16 12:27:35 2013, 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>
Project AdministratorIn charge of this item.
Fri Mar 22 07:33:53 2013, comment #1:

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

Thanks!

Anton Arapov <aarapov>
Project AdministratorIn charge of this item.
Mon Dec 10 00:38:11 2012, 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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Apr 25 07:16:18 2013aarapovStatusNeed Info=>In Progress
    Wed Apr 17 16:25:04 2013dancysoftAttached File-=>Added dmi2.bin, #27899
      Attached File-=>Added dmi.bin, #27900
      Attached File-=>Added dmi3.bin, #27901
    Wed Apr 17 16:25:03 2013dancysoftAttached File-=>Added extract-dmi, #27898
    Tue Apr 16 12:27:35 2013aarapovStatusNone=>Need Info
    Fri Mar 22 07:34:01 2013aarapovAssigned toNone=>aarapov
    Mon Dec 10 00:38:11 2012dancysoftAttached File-=>Added dmidecode-membase.patch, #27063

    Back to the top


    Powered by Savane 3.1-cleanup