update_firmware error - this time an 1850 and RHEL4.6

Adam Goodall agoodall at rm.com
Wed Mar 5 06:56:34 CST 2008


Michael

It is reproduceable every time, ive ran it several times over the last
24 hours and it always fails.

I've ran the commands you wanted and the output is below:

[root at localhost dell_inventory_collector_version_5.3.0]#
LD_LIBRARY_PATH=$PWD  ./invcol
<?xml version="1.0" encoding="UTF-8"?>


<SVMInventory lang="en" schemaVersion="1.0"
timeStamp="2008-03-05T12:55:13">
        <OperatingSystem osCode="LIN" osVendor="Redhat" osArch="x86"
majorVersion="redhat-release-4ES" minorVersion="2.6.9-67.0.4.ELsmp"
usingTPMmeasurements="FALSE"/>
        <System systemID="016C" TPMmeasurementsOn="FALSE"/><Device
componentID="2331" display="OpenManage Server Administrator Managed
Node">
<Application componentType="APP" version="5.2.0" display="OpenManage
Server Administrator Managed Node"/>
</Device>
        <Device componentID="159" display="BIOS"
impactsTPMmeasurements="TRUE"><Application componentType="BIOS"
version="A05" display="BIOS"/></Device>
        <Device vendorID="1028" deviceID="0012" subDeviceID="0012"
subVendorID="1028" display="Dell Remote Access Controller (RAC)">
    <Application componentType="FRMW" version="1.00" display="Dell
Remote Access Controller (RAC) Firmware">
    </Application>
  </Device>
        <Device componentID="3967" display="Backplane">
      <Application componentType="FRMW" version="1.00" display="Primary
Backplane"/>
   </Device>
        <Device componentID="5814" display="Baseboard Management
Controller">
      <Application componentType="FRMW" version="1.52" display="BMC"/>
   </Device>
        <Device vendorID="1028" deviceID="0013" subDeviceID="016C"
subVendorID="1028" bus="2" device="14" function="0" display="PowerEdge
Expandable RAID Controller 4e/Si">
<Application componentType="FRMW" version="521X" display="PowerEdge
Expandable RAID Controller 4e/Si Firmware"/>
</Device>
        </SVMInventory>



Thanks!
Adam




-----Original Message-----
From: Michael_E_Brown at Dell.com [mailto:Michael_E_Brown at Dell.com] 
Sent: 04 March 2008 18:00
To: Adam Goodall; firmware-tools-devel at lists.us.dell.com
Subject: RE: update_firmware error - this time an 1850 and RHEL4.6

When I have seen this, it was because the inventory collector was
returning invalid XML. Does it do this every time? I've seen it have a
transient problem, myself (run it once, it does this, run it again and
it works ok.)

Can you:
  # cd
/usr/share/firmware/dell/dup/dell_inventory_collector_version_5.3.0/
  # LD_LIBRARY_PATH=$PWD  ./invcol

And send the output?
--
Michael


-----Original Message-----
From: firmware-tools-devel-bounces at lists.us.dell.com on behalf of Adam
Goodall
Sent: Tue 3/4/2008 8:20 AM
To: firmware-tools-devel at lists.us.dell.com
Subject: update_firmware error - this time an 1850 and RHEL4.6
 
Michael

 

Today im getting an error on a different server when running the
update_firmware tool:

 

[root at localhost ~]# cat /etc/redhat-release

Red Hat Enterprise Linux ES release 4 (Nahant Update 6)

 

[root at localhost ~]# getSystemId

Libsmbios:    2.0.1

System ID:    0x016C

Service Tag:  CZNXD2J

Express Service Code: 28277891947

Product Name: PowerEdge 1850

BIOS Version: A05

Vendor:       Dell Computer Corporation

Is Dell:      1

 

[root at localhost ~]# !rpm

rpm -qa | grep -e dell -e firmware

firmware-addon-dell-2.0.10-1.el4

dell-dup-1.0.4-1.el4

firmware-tools-2.0.10-1.el4

pci_firmware_ven_0x1028_dev_0x0013_subven_0x1028_subdev_0x016c_for_syste
m_ven_0x1028_dev_0x016c-a17-19.1

bmc_firmware_PowerEdge_1850-a09-18.1

dell_inventory_collector-5.3.0-1 

 

 

The error im getting with this is:

 

[root at localhost ~]# update_firmware

No handlers could be found for logger "trace.firmwaretools"

 

Running system inventory...

Traceback (most recent call last):

  File "/usr/sbin/update_firmware", line 23, in ?

    ftmain.main(sys.argv[1:])

  File "/usr/share/firmware-tools/ftmain.py", line 105, in main

    result, resultmsgs = base.doCommands()

  File "<firmwaretools.peak_util_decorators.rewrap wrapping
cli.doCommands at 0xB7BD6AAC>", line 3, in doCommands

  File
"/usr/lib/python2.3/site-packages/firmwaretools/trace_decorator.py",
line 81, in trace

    result = func(*args, **kw)

  File "/usr/share/firmware-tools/cli.py", line 133, in doCommands

    self.opts.mode, self.fullCmdLine, self.args)

  File "<firmwaretools.peak_util_decorators.rewrap wrapping
update_cmd.doCommand at 0xB7B00064>", line 3, in doCommand

  File
"/usr/lib/python2.3/site-packages/firmwaretools/trace_decorator.py",
line 81, in trace

    result = func(*args, **kw)

  File "/usr/share/firmware-tools/plugins/update_cmd.py", line 59, in
doCommand

    base.updateFirmware()

  File "<firmwaretools.peak_util_decorators.rewrap wrapping
cli.updateFirmware at 0xB7BE110C>", line 3, in updateFirmware

  File
"/usr/lib/python2.3/site-packages/firmwaretools/trace_decorator.py",
line 81, in trace

    result = func(*args, **kw)

  File "/usr/share/firmware-tools/cli.py", line 147, in updateFirmware

    updateSet = self.calculateUpgradeList(cb=mycb(depFailures))

  File "<firmwaretools.peak_util_decorators.rewrap wrapping
firmwaretools.calculateUpgradeList at 0xB7BC36F4>", line 3, in
calculateUpgradeList

  File
"/usr/lib/python2.3/site-packages/firmwaretools/trace_decorator.py",
line 81, in trace

    result = func(*args, **kw)

  File "/usr/lib/python2.3/site-packages/firmwaretools/__init__.py",
line 242, in calculateUpgradeList

    self.systemInventory.addAvailablePackage(candidate)

  File "/usr/lib/python2.3/site-packages/firmwaretools/__init__.py",
line 257, in <lambda>

    fget=lambda self: self._getInventory(),

  File "<firmwaretools.peak_util_decorators.rewrap wrapping
firmwaretools._getInventory at 0xB7BC3534>", line 3, in _getInventory

  File
"/usr/lib/python2.3/site-packages/firmwaretools/trace_decorator.py",
line 81, in trace

    result = func(*args, **kw)

  File "/usr/lib/python2.3/site-packages/firmwaretools/__init__.py",
line 230, in _getInventory

    for dev in func(base=self, cb=self.cb):

  File "/usr/lib/python2.3/site-packages/dell_dup/dup.py", line 150, in
InventoryFromDup

    bootstrap = [i.name for i in base.yieldBootstrap()]

  File "/usr/lib/python2.3/site-packages/firmwaretools/__init__.py",
line 286, in yieldBootstrap

    for i in func(base=self, cb=cb):

  File "/usr/lib/python2.3/site-packages/dell_dup/dup.py", line 205, in
BootstrapFromDup

    for pkg in svm.genPackagesFromSvmXml(out):

  File "/usr/lib/python2.3/site-packages/dell_dup/svm.py", line 69, in
genPackagesFromSvmXml

    dom = xml.dom.minidom.parseString(xmlstr)

  File "/usr/lib/python2.3/xml/dom/minidom.py", line 1929, in
parseString

    return expatbuilder.parseString(string)

  File "/usr/lib/python2.3/xml/dom/expatbuilder.py", line 940, in
parseString

    return builder.parseString(string)

  File "/usr/lib/python2.3/xml/dom/expatbuilder.py", line 223, in
parseString

    parser.Parse(string, True)

xml.parsers.expat.ExpatError: syntax error: line 1, column 0

 

 

 

Any ideas on a fix?

 

Thanks

Adam
______________________________________________________________________

You might be interested in this...

Over the next few months RM is hosting a number of free and exciting
events...
...to ensure you don't miss out, visit:
http://www.rm.com/busandconferences

______________________________________________________________________

P.S. Think Green - don't print this email unless you really need to.
This message is confidential, so please treat it appropriately and for
its intended purpose only.  In particular, if it refers to any technical
data, terms or prices not generally available or known, such items are
"commercially sensitive information" within the terms of the Freedom of
Information Act 2000 and related laws.  As it would be prejudicial to
RM's commercial interests if these were disclosed, please refrain from
doing so.

 

As Internet communications are not secure, please be aware that RM
cannot accept responsibility for its contents.  Any views or opinions
presented are those of the author only and not of RM.  If you are not
the intended recipient of this e-mail, please accept our apologies and
arrange for copies of it to be deleted.  For your information, RM may
intercept incoming and outgoing email communications.

 

RM Education plc 
Registered Office: New Mill House, 183 Milton Park, Abingdon,
Oxfordshire, OX14 4SE, England 
Registered Number: 1148594





More information about the firmware-tools-devel mailing list