Your message dated Tue, 20 Sep 2011 05:47:10 +0000
with message-id <e1r5tak-00061a...@franck.debian.org>
and subject line Bug#637423: fixed in ipmitool 1.8.11-3
has caused the Debian Bug report #637423,
regarding ipmitool sdr elist segfault
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
637423: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637423
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ipmitool
Version: 1.8.11-2
Severity: serious
Tags: patch
When running ipmitool sdr elist, ipmitool segfaults:
# ipmitool -I lan -H *** -U root -P *** sdr elist
Temp | 01h | ok | 3.1 | -40 degrees C
Temp | 02h | ok | 3.2 | -33 degrees C
Temp | 05h | ok | 10.1 | 44 degrees C
Ambient Temp | 07h | ok | 10.1 | 40 degrees C
Temp | 06h | ok | 10.2 | 40 degrees C
Ambient Temp | 08h | ok | 10.2 | 40 degrees C
Ambient Temp | 0Eh | ok | 7.1 | 25 degrees C
Planar Temp | 0Fh | ok | 7.1 | 49 degrees C
CMOS Battery | 10h | ok | 7.1 |
VCORE | 12h | ok | 3.1 | State Deasserted
VCORE | 13h | ok | 3.2 | State Deasserted
IOH THERMTRIP | 5Dh | ns | 7.1 | Disabled
1.5V PG | 17h | ok | 7.1 | State Deasserted
1.8V PG | 18h | ok | 7.1 | State Deasserted
3.3V PG | 19h | ok | 7.1 | State Deasserted
5V PG | 1Ah | ok | 7.1 | State Deasserted
0.75VTT PG | 14h | ok | 3.2 | State Deasserted
PFault Fail Safe | 5Fh | ns | 7.1 | Disabled
HEATSINK PRES | 52h | ok | 7.1 | Present
iDRAC6 Ent PRES | 70h | ok | 7.1 | Present
USB CABLE PRES | 59h | ok | 7.1 | Present
STOR ADAPT PRES | 5Ah | ok | 7.1 | Present
RISER2 PRES | 5Bh | ok | 7.1 | Present
RISER1 PRES | 5Ch | ok | 7.1 | Present
0.75 VTT PG | 15h | ok | 3.1 | State Deasserted
MEM PG | 1Bh | ok | 3.2 | State Deasserted
MEM PG | 1Eh | ok | 3.1 | State Deasserted
0.9V PG | 21h | ok | 7.1 | State Deasserted
VTT PG | 1Fh | ok | 3.2 | State Deasserted
VTT PG | 20h | ok | 3.1 | State Deasserted
1.8 PLL PG | 22h | ok | 3.2 | State Deasserted
1.8 PLL PG | 24h | ok | 3.1 | State Deasserted
8.0V PG | 25h | ok | 7.1 | State Deasserted
1.1V PG | 28h | ok | 7.1 | State Deasserted
1.0V LOM PG | 29h | ok | 7.1 | State Deasserted
1.0V AUX PG | 2Ah | ok | 7.1 | State Deasserted
1.05V PG | 2Bh | ok | 7.1 | State Deasserted
FAN MOD 1A RPM | 30h | ok | 7.1 | 4320 RPM
FAN MOD 2A RPM | 31h | ok | 7.1 | 4440 RPM
FAN MOD 3A RPM | 32h | ok | 7.1 | 4560 RPM
FAN MOD 4A RPM | 33h | ok | 7.1 | 4320 RPM
FAN MOD 5A RPM | 34h | ok | 7.1 | 4560 RPM
FAN MOD 6A RPM | 35h | ok | 7.1 | 4560 RPM
FAN MOD 1B RPM | 36h | ok | 7.1 | 3120 RPM
FAN MOD 2B RPM | 37h | ok | 7.1 | 3120 RPM
FAN MOD 3B RPM | 38h | ok | 7.1 | 3000 RPM
FAN MOD 4B RPM | 39h | ok | 7.1 | 3120 RPM
FAN MOD 5B RPM | 3Ah | ok | 7.1 | 3120 RPM
FAN MOD 6B RPM | 3Bh | ok | 7.1 | 3120 RPM
Presence | 50h | ok | 3.1 | Present
Presence | 51h | ok | 3.2 | Present
Presence | 54h | ok | 10.1 | Present
Presence | 55h | ok | 10.2 | Present
Presence | 56h | ok | 26.1 | Present
Status | 60h | ok | 3.1 | Presence detected
Status | 61h | ok | 3.2 | Presence detected
Status | 64h | ok | 10.1 | Presence detected
Status | 65h | ok | 10.2 | Presence detected
Riser Config | 66h | ok | 7.1 | Connected
OS Watchdog | 71h | ok | 7.1 |
SEL | 72h | ns | 7.1 | Disabled
Intrusion | 73h | ok | 7.1 |
PS Redundancy | 74h | ok | 7.1 | Fully Redundant
Fan Redundancy | 75h | ok | 7.1 | Fully Redundant
CPU Temp Interf | 76h | ns | 7.1 | Disabled
Drive | 80h | ok | 26.1 | Drive Present
Cable SAS A | 90h | ok | 26.1 | Connected
Cable SAS B | 91h | ok | 26.1 | Connected
Segmentation fault
This bug seems to be fixed with the following patch:
diff -Nur ipmitool-1.8.11/lib/ipmi_sdr.c ipmitool-1.8.11.fix/lib/ipmi_sdr.c
--- ipmitool-1.8.11/lib/ipmi_sdr.c 2009-02-25 21:38:52.000000000 +0100
+++ ipmitool-1.8.11.fix/lib/ipmi_sdr.c 2011-08-10 18:21:26.000000000 +0200
@@ -1828,7 +1828,7 @@
printf("ns | %2d.%1d | ",
sensor->entity.id,
sensor->entity.instance);
- if (IS_SCANNING_DISABLED(rsp->data[1]))
+ if (rsp && IS_SCANNING_DISABLED(rsp->data[1]))
printf("Disabled");
else
printf("No Reading");
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-6-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages ipmitool depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libncurses5 5.7+20100313-5 shared libraries for terminal hand
ii libreadline6 6.1-3 GNU readline and history libraries
ii libssl0.9.8 0.9.8o-4squeeze1 SSL shared libraries
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ipmitool recommends no packages.
Versions of packages ipmitool suggests:
pn openipmi <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: ipmitool
Source-Version: 1.8.11-3
We believe that the bug you reported is fixed in the latest version of
ipmitool, which is due to be installed in the Debian FTP archive:
ipmitool_1.8.11-3.diff.gz
to main/i/ipmitool/ipmitool_1.8.11-3.diff.gz
ipmitool_1.8.11-3.dsc
to main/i/ipmitool/ipmitool_1.8.11-3.dsc
ipmitool_1.8.11-3_i386.deb
to main/i/ipmitool/ipmitool_1.8.11-3_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 637...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luk Claes <l...@debian.org> (supplier of updated ipmitool package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 19 Sep 2011 19:35:04 +0200
Source: ipmitool
Binary: ipmitool
Architecture: source i386
Version: 1.8.11-3
Distribution: unstable
Urgency: high
Maintainer: Matthew Johnson <mj...@debian.org>
Changed-By: Luk Claes <l...@debian.org>
Description:
ipmitool - utility for IPMI control with kernel driver or LAN interface
Closes: 578492 637423
Changes:
ipmitool (1.8.11-3) unstable; urgency=high
.
* debian/control:
- Add myself as co-maintainer.
- Add Vcs entries.
- Update Architecture to any as ipmitool can be used for
remote devices (Closes: #578492).
* Only approach rsp->data when rsp is set (Closes: #637423).
Checksums-Sha1:
f43fa23544c32fcf9cf3a8d2da2803681716bffa 1184 ipmitool_1.8.11-3.dsc
452c4c36ff7bdceba66e2bdd6313ce9f2028f382 7776 ipmitool_1.8.11-3.diff.gz
b086fe3c944682ee559ac6b34651e23ccb176ed1 395494 ipmitool_1.8.11-3_i386.deb
Checksums-Sha256:
8821c8f942d5a7a2ad35eaaa61e49c6a84081d60bd2d69771138c2bafad1146e 1184
ipmitool_1.8.11-3.dsc
fe648f4c8b0175e365a3c193ae737799ae48e0d4d35ac956178f9ddea1a957a7 7776
ipmitool_1.8.11-3.diff.gz
c75a22299942a29c4a568076f375f7b31cd7f3e617f797951038cd12bcce067f 395494
ipmitool_1.8.11-3_i386.deb
Files:
051358dbd596ff18c9e8381c9147cebe 1184 utils optional ipmitool_1.8.11-3.dsc
b63ff2ac6095a7ce531ad976c5268c7b 7776 utils optional ipmitool_1.8.11-3.diff.gz
1f12165695cd96758754a145efcf8051 395494 utils optional
ipmitool_1.8.11-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk54JjYACgkQ5UTeB5t8Mo2NGgCfU1fLaA4uSwUFlSdROOeUq9aN
0fQAn1yWdRxi/XQJ/wokqpCorQjhJBBm
=B1WN
-----END PGP SIGNATURE-----
--- End Message ---