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 10 Dec 2012 12:38:11 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: In ProgressPrivacy: Public
Assigned to: Anton Arapov <aarapov>Open/Closed: Open

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

Thanks.

Anton Arapov <aarapov>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>

 

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 25 Apr 2013 07:16:18 AM UTCaarapovStatusNeed Info=>In Progress
    Wed 17 Apr 2013 04:25:04 PM UTCdancysoftAttached File-=>Added dmi2.bin, #27899
      Attached File-=>Added dmi.bin, #27900
      Attached File-=>Added dmi3.bin, #27901
    Wed 17 Apr 2013 04:25:03 PM UTCdancysoftAttached File-=>Added extract-dmi, #27898
    Tue 16 Apr 2013 12:27:35 PM UTCaarapovStatusNone=>Need Info
    Fri 22 Mar 2013 07:34:01 AM UTCaarapovAssigned toNone=>aarapov
    Mon 10 Dec 2012 12:38:11 AM UTCdancysoftAttached File-=>Added dmidecode-membase.patch, #27063

    Back to the top


    Powered by Savane 3.1-cleanup