<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Courier New";
panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
tt
{mso-style-priority:99;
font-family:"Courier New",serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:595.0pt 842.0pt;
margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US">Thanks to everyone for answers. I tried to dig in the serial number; lsvpd did the trick like Dan suggested.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US">Another info I’m trying to search is VM UUID;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US">I know this command: cat /proc/device-tree/ibm,partition-uuid works on some lpars (I guess this is due to some firmware level where it works and where not..? )<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US">..but is there some other commands (like on newest AIX level uuid_get cmd
<a href="https://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.cmds5/uuid_get.htm">
https://www.ibm.com/support/knowledgecenter/ssw_aix_72/com.ibm.aix.cmds5/uuid_get.htm</a> ) that would do the trick?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US">/tommi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:14.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Steve Munroe <sjmunroe@us.ibm.com><br>
<b>Date: </b>Tuesday, 31 October 2017 at 15.31<br>
<b>To: </b>Sihvo Tommi <Tommi.Sihvo@tieto.com><br>
<b>Cc: </b>"linuxppc-users@lists.ozlabs.org" <linuxppc-users@lists.ozlabs.org><br>
<b>Subject: </b>Re: [Linuxppc-users] dmidecode package for ppc64le ?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p><span style="font-size:10.0pt">dmidecode is x86 specific. Most of which does not apply to POWER or PowerISA,</span><br>
<br>
<span style="font-size:10.0pt">What are you trying to defined out?</span><br>
<br>
<span style="font-size:10.0pt">A lot of information is in the Aux Vector:</span><br>
<br>
<span style="font-size:10.0pt">$ LD_SHOW_AUXV=1 /bin/true</span><br>
<span style="font-size:10.0pt">AT_DCACHEBSIZE: 0x80</span><br>
<span style="font-size:10.0pt">AT_ICACHEBSIZE: 0x80</span><br>
<span style="font-size:10.0pt">AT_UCACHEBSIZE: 0x0</span><br>
<span style="font-size:10.0pt">AT_SYSINFO_EHDR: 0x3fff97e30000</span><br>
<span style="font-size:10.0pt">AT_HWCAP: true_le archpmu vsx arch_2_06 dfp ic_snoop smt mmu fpu altivec ppc64 ppc32</span><br>
<span style="font-size:10.0pt">AT_PAGESZ: 65536</span><br>
<span style="font-size:10.0pt">AT_CLKTCK: 100</span><br>
<span style="font-size:10.0pt">AT_PHDR: 0x37a50040</span><br>
<span style="font-size:10.0pt">AT_PHENT: 56</span><br>
<span style="font-size:10.0pt">AT_PHNUM: 8</span><br>
<span style="font-size:10.0pt">AT_BASE: 0x3fff97e50000</span><br>
<span style="font-size:10.0pt">AT_FLAGS: 0x0</span><br>
<span style="font-size:10.0pt">AT_ENTRY: 0x37a51a5c</span><br>
<span style="font-size:10.0pt">AT_UID: 1007</span><br>
<span style="font-size:10.0pt">AT_EUID: 1007</span><br>
<span style="font-size:10.0pt">AT_GID: 1007</span><br>
<span style="font-size:10.0pt">AT_EGID: 1007</span><br>
<span style="font-size:10.0pt">AT_SECURE: 0</span><br>
<span style="font-size:10.0pt">AT_RANDOM: 0x3fffd1231912</span><br>
<span style="font-size:10.0pt">AT_HWCAP2: htm-nosc vcrypto tar isel ebb dscr htm arch_2_07</span><br>
<span style="font-size:10.0pt">AT_EXECFN: /bin/true</span><br>
<span style="font-size:10.0pt">AT_PLATFORM: power8</span><br>
<span style="font-size:10.0pt">AT_BASE_PLATFORM:power8</span><br>
<br>
<span style="font-size:10.0pt">This documented in the <b>64-Bit ELF V2 ABI Specification</b></span><br>
<br>
<a href="http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/ch_preface.html"><span style="font-size:10.0pt">http://openpowerfoundation.org/wp-content/uploads/resources/leabi/content/ch_preface.html</span></a><br>
<br>
<span style="font-size:10.0pt">With newer GLIBC you can access the AUXV at runtime via getauxval:
</span><br>
<br>
<a href="https://www.gnu.org/software/libc/manual/html_mono/libc.html#Definition-of-getauxval"><span style="font-size:10.0pt">https://www.gnu.org/software/libc/manual/html_mono/libc.html#Definition-of-getauxval</span></a><br>
<br>
<span style="font-size:10.0pt">With newer GCC you can access AT_PLATFORM and AT_HWCAP/AT_HWCAP2 info via __builtin_cpu_is / __builtin_cpu_supports</span><br>
<br>
<a href="https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/PowerPC-Built-in-Functions.html#PowerPC-Built-in-Functions"><span style="font-size:10.0pt">https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/PowerPC-Built-in-Functions.html#PowerPC-Built-in-Functions</span></a><br>
<br>
<span style="font-size:10.0pt">Steven J. Munroe<br>
Linux on Power Toolchain Architect<br>
IBM Corporation, Linux Technology Center<br>
</span><br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1025" src="cid:image001.gif@01D352E7.781AC660" alt="nactive hide details for ---10/31/2017 08:08:49 AM---Hi all, Is there any"><span style="font-size:10.0pt;color:#424282">---10/31/2017 08:08:49 AM---Hi all,
Is there any dmidecode package available for ppc64le ? Or is it x86 only ?</span><br>
<br>
<span style="font-size:10.0pt;color:#5F5F5F">From: </span><span style="font-size:10.0pt"><Tommi.Sihvo@tieto.com></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">To: </span><span style="font-size:10.0pt"><linuxppc-users@lists.ozlabs.org></span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Date: </span><span style="font-size:10.0pt">10/31/2017 08:08 AM</span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Subject: </span><span style="font-size:10.0pt">[Linuxppc-users] dmidecode package for ppc64le ?</span><br>
<span style="font-size:10.0pt;color:#5F5F5F">Sent by: </span><span style="font-size:10.0pt">"Linuxppc-users" <linuxppc-users-bounces+sjmunroe=us.ibm.com@lists.ozlabs.org></span><o:p></o:p></p>
<div class="MsoNormal">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<span style="font-size:13.5pt">Hi all,</span><br>
<br>
<span style="font-size:13.5pt">Is there any dmidecode package available for ppc64le ? Or is it x86 only ?</span><br>
<br>
<span style="font-size:13.5pt">Br,</span><br>
<span style="font-size:13.5pt">tommi</span><tt><span style="font-size:10.0pt">_______________________________________________</span></tt><span style="font-size:10.0pt;font-family:"Courier New",serif"><br>
<tt>Linuxppc-users mailing list</tt><br>
<tt>Linuxppc-users@lists.ozlabs.org</tt><br>
<tt><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.ozlabs.org_listinfo_linuxppc-2Dusers&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=T7r-LXDLinWJNLr1nUUPaUUYEahDQNyKidvdz_Y3ljY&m=w7IGL6y_PqPUzuYQzDcRAJ5a3pODZGTYZqgk1lJ66hw&s=zIcy_crwEe0kdnrvS66o8E49MP-wvGT__7DOb7tprdM&e=">https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.ozlabs.org_listinfo_linuxppc-2Dusers&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=T7r-LXDLinWJNLr1nUUPaUUYEahDQNyKidvdz_Y3ljY&m=w7IGL6y_PqPUzuYQzDcRAJ5a3pODZGTYZqgk1lJ66hw&s=zIcy_crwEe0kdnrvS66o8E49MP-wvGT__7DOb7tprdM&e=</a></tt><br>
</span><br>
<br>
<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>