Error while using bootstrap_firmware

Adam Goodall agoodall at rm.com
Tue Jan 29 03:23:46 CST 2008


Hi

 

I've just started trying to use the tools within the software repository
to manage firmware levels of our boxes. Initial tests seems to work well
however yesterday I tried again with a new server and I couldn't get the
bootstrap_firmware command to work. I checked again on a box I knew I
had it working with and it still worked, I then updated the box and now
get the same error with bootstrap_firmware.

 

Is there any known bugs in the latest version of the code?

 

Here is what I get:

 

[root at localhost ~]# uname -a

Linux localhost.localdomain 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST
2007 i686 i686 i386 GNU/Linux

 

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

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

 

[root at localhost ~]# getSystemId

Libsmbios:    2.0.0_BETA_1

System ID:    0x01B3

Service Tag:  XXXXX

Express Service Code: XXXXX

Product Name: PowerEdge 1950

BIOS Version: 2.0.1

Vendor:       Dell Inc.

Is Dell:      1

 

[root at localhost ~]# bootstrap_firmware

/usr/lib/python2.3/site-packages/peak/util/decorators.py:67:
FutureWarning: %u/%o/%x/%X of negative int will return a signed string
in Python 2.4 and up

  filename = "<%s wrapping %s at 0x%08X>" % (qname(wrapper),
qname(func), id(func))

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

Traceback (most recent call last):

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

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

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

    result, resultmsgs = base.doCommands()

  File "<peak.util.decorators.rewrap wrapping cli.doCommands at
0xB7BE8A74>", line 3, in doCommands

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

    result = func(*args, **kw)

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

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

  File "<peak.util.decorators.rewrap wrapping bootstrap_cmd.doCommand at
0xB7B8B534>", line 3, in doCommand

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

    result = func(*args, **kw)

  File "/usr/share/firmware-tools/plugins/bootstrap_cmd.py", line 57, in
doCommand

    for pkg in base.yieldBootstrap():

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

    for i in func():

  File
"/usr/lib/python2.3/site-packages/firmwaretools/bootstrap_pci.py", line
42, in BootstrapGenerator

    for i in lspciGenerator():

  File
"/usr/lib/python2.3/site-packages/firmwaretools/bootstrap_pci.py", line
148, in lspciGenerator

    yield supplementOldLspciFormat(oneDevData)

  File "<peak.util.decorators.rewrap wrapping
firmwaretools.bootstrap_pci.supplementOldLspciFormat at 0xB7B8BED4>",
line 3, in supplementOldLspciFormat

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

    result = func(*args, **kw)

  File
"/usr/lib/python2.3/site-packages/firmwaretools/bootstrap_pci.py", line
176, in supplementOldLspciFormat

    dprint("line: %s" % line)

NameError: global name 'dprint' is not defined

 

The version of the packages I am using are:

firmware-addon-dell     i386       2.0.1-1.el4

firmware-tools          noarch     2.0.2-1.el4

 libsmbios               i386       2.0.0_BETA_1-1.el4

 python-decoratortools   noarch     1.4-2.el4

 smbios-utils            i386       2.0.0_BETA_1-1.el4

 

If anyone can shed any light on this I would really appreciate it!

 

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/firmware-tools-devel/attachments/20080129/09618afb/attachment-0001.htm 


More information about the firmware-tools-devel mailing list