Error while using bootstrap_firmware
Michael E Brown
Michael_E_Brown at dell.com
Tue Jan 29 09:07:38 CST 2008
On Tue, Jan 29, 2008 at 09:23:46AM -0000, Adam Goodall wrote:
> 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
I've got a fix for this in git and will push out a new release later
today with it. (after I've had a chance to fire up my rhel4 box to do
more testing...)
Thanks for the report.
--
Michael
More information about the firmware-tools-devel
mailing list