<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:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='color:#1F497D'>To all developers reading this I
have discovered the route of the problem but could probably do with some sort
of workaround for others;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Basically as you know, when the system
attaches itself to the server it collects a load of  hardware information,
this calls upon dmidecode which scans /dev/mem.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>The error although seemingly
random seemed to happen on boxes that had a loud of dodgy information in
/dev/mem. I could get the servers connecting to spacewalk by deleting the /dev/mem
device (or renaming it for the rhnreg_ks command and then rename it back).<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I think there should be a
workaround for this since this information was nowhere on the internet. Should
I raise a bug report since this was happening to me 1 in 4 servers.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Chris<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> spacewalk-list-bounces@redhat.com
[mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Christopher
May-Townsend<br>
<b>Sent:</b> 02 September 2010 18:08<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> [Spacewalk-list] Python errors on rhnreg_ks<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Hi all, I’m having an issue with spacewalk when I try
and connect to the server;<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>[root@lcmrst1 ~]# rhnreg_ks
--serverUrl=http://lcmspacewalk1.liquid-capital.liquidcap.com/XMLRPC
--activationkey=1-ac4909121ec738d6f8a4ac2842062d54<o:p></o:p></p>

<p class=MsoNormal>python: src/dmidecode.c:4083: dmi_decode: Assertion `sub_n
!= ((void *)0)' failed.<o:p></o:p></p>

<p class=MsoNormal>Aborted<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>At first it was just a couple of boxes but after trying to
deploy across a range of boxes it has come up several times. I’ve googled
to no avail, I went on IRC and asked around and no one knew what the problem
was so I’m coming here.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I’m going to try and shoehorn a newer version of
python-dmidecode (possibly from fedora) but I wanted to come here to see why 7
out of 29 systems have this error, I’m happy to switch on debug mode,
compare install lists, anything to help you lot get to the bottom of this.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Some background info; all boxes installed identically off
the same kickstart script, on a wide range of off the shelf hardware, it fails
and works on 32bit/64bit centos 5.2 up to 5.5. A full yum upgrade doesn’t
fix the problem and the version of python dmi-decode it installs is
3.10.8-4.el5<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Thank you all for your time,<o:p></o:p></p>

<p class=MsoNormal>Chris<o:p></o:p></p>

<pre>Liquid Capital Markets Ltd (Registered Number 03986148), Liquid Capital <o:p></o:p></pre><pre>Securities Limited ("LCS") (Registered Number 04118899) and Liquid Capital <o:p></o:p></pre><pre>Trading LLP (Registered Number OC313325) are authorised and regulated by the  <o:p></o:p></pre><pre>Financial Services Authority in the United Kingdom. <o:p></o:p></pre><pre>LCS (France) and LCS (Germany) are branches of LCS and are subject to the <o:p></o:p></pre><pre>regulation of the AMF (France) and the Bafin (Germany)<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>LCS is also registered with the National Futures Association ("NFA") as an<o:p></o:p></pre><pre>Exempt Foreign Broker. Liquid Capital Australia Pty Ltd is registered by the<o:p></o:p></pre><pre>Australian Securities and Investment Commission. Liquid Capital Management<o:p></o:p></pre><pre>LLP is a registered limited liability partnership.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>Liquid Capital Markets, LLC ("LCM LLC") is a registered broker dealer whose<o:p></o:p></pre><pre>Designated Examining Authority is the Chicago Board Options Exchange ("CBOE").<o:p></o:p></pre><pre>LCM LLC is also a member of the CBOE and the Chicago Mercantile Exchange. Liquid <o:p></o:p></pre><pre>Capital Securities, LLC (“LCS LLC”) is a FINRA registered broker dealer and an <o:p></o:p></pre><pre>NFA registered introducing broker whose main office is located at 71 South Wacker <o:p></o:p></pre><pre>Drive, Suite 2100, Chicago, IL 60606. For more information about LCS LLC, please <o:p></o:p></pre><pre>contact (312) 345-2110. In accordance with SEC Rule 17a-4 and NASD Rule 3010, <o:p></o:p></pre><pre>e-mails sent to and from this address may be recorded and are subject to archival, <o:p></o:p></pre><pre>monitoring, review and retrieval by the LCS LLC Compliance Department<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Please click this <a
href="http://www.liquidcapital.com/group/index.php?">link</a> for terms relating to email correspondence.<o:p></o:p></pre><pre><o:p> </o:p></pre></div>

</body>

</html>

<pre>Liquid Capital Markets Ltd (Registered Number 03986148), Liquid Capital 
Securities Limited ("LCS") (Registered Number 04118899) and Liquid Capital 
Trading LLP (Registered Number OC313325) are authorised and regulated by the  
Financial Services Authority in the United Kingdom. 
LCS (France) and LCS (Germany) are branches of LCS and are subject to the 
regulation of the AMF (France) and the Bafin (Germany)

LCS is also registered with the National Futures Association ("NFA") as an
Exempt Foreign Broker. Liquid Capital Australia Pty Ltd is registered by the
Australian Securities and Investment Commission. Liquid Capital Management
LLP is a registered limited liability partnership.
 
Liquid Capital Markets, LLC ("LCM LLC") is a registered broker dealer whose
Designated Examining Authority is the Chicago Board Options Exchange ("CBOE").
LCM LLC is also a member of the CBOE and the Chicago Mercantile Exchange. Liquid 
Capital Securities, LLC (“LCS LLC”) is a FINRA registered broker dealer and an 
NFA registered introducing broker whose main office is located at 71 South Wacker 
Drive, Suite 2100, Chicago, IL 60606. For more information about LCS LLC, please 
contact (312) 345-2110. In accordance with SEC Rule 17a-4 and NASD Rule 3010, 
e-mails sent to and from this address may be recorded and are subject to archival, 
monitoring, review and retrieval by the LCS LLC Compliance Department

Please click this <a href=http://www.liquidcapital.com/group/index.php?
location=/web/General/Disclaimer>link</a> for terms relating to email correspondence.