public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "zhenzhong.duan" <zhenzhong.duan@oracle.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: khali@linux-fr.org, linux-kernel@vger.kernel.org,
	Feng Jin <joe.jin@oracle.com>
Subject: Re: [PATCH 2/2] Fetch dmi version from SMBIOS if it exist
Date: Thu, 26 Jul 2012 09:41:59 +0800	[thread overview]
Message-ID: <5010A067.8050300@oracle.com> (raw)
In-Reply-To: <20120725125518.d89b78a6.akpm@linux-foundation.org>



于 2012-07-26 03:55, Andrew Morton 写道:
> On Wed, 25 Jul 2012 19:05:09 +0800
> "zhenzhong.duan"<zhenzhong.duan@oracle.com>  wrote:
>
>> The right dmi version is in SMBIOS if it's zero in DMI region
>>
> This description is too brief to permit me to understand the patch.
> Can you please provide a more detailed explanation?
>
This issue was originally found from an oracle bug.
One customer noticed system UUID doesn't match between dmidecode & uek2.
HP ProLiant BL460c G6 :
# cat /sys/devices/virtual/dmi/id/product_uuid
00000000-0000-4C48-3031-4D5030333531
# dmidecode | grep -i uuid
UUID: 00000000-0000-484C-3031-4D5030333531
 From SMBIOS 2.6 on, spec use little-endian encoding for UUID other than 
network byte order.
So we need to get dmi version to distinguish. If version is 0.0, the 
real version is taken from the SMBIOS version. This is part of original 
kernel comment in code.

thanks
zduan

      reply	other threads:[~2012-07-26  1:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-25 11:05 [PATCH 2/2] Fetch dmi version from SMBIOS if it exist zhenzhong.duan
2012-07-25 19:55 ` Andrew Morton
2012-07-26  1:41   ` zhenzhong.duan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5010A067.8050300@oracle.com \
    --to=zhenzhong.duan@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=joe.jin@oracle.com \
    --cc=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox