Your message dated Fri, 23 Sep 2011 01:54:28 +0000
with message-id <e1r6uyc-0000z4...@franck.debian.org>
and subject line Bug#637423: fixed in ipmitool 1.8.11-2+squeeze1
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-2+squeeze1
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-2+squeeze1.diff.gz
to main/i/ipmitool/ipmitool_1.8.11-2+squeeze1.diff.gz
ipmitool_1.8.11-2+squeeze1.dsc
to main/i/ipmitool/ipmitool_1.8.11-2+squeeze1.dsc
ipmitool_1.8.11-2+squeeze1_i386.deb
to main/i/ipmitool/ipmitool_1.8.11-2+squeeze1_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: Thu, 22 Sep 2011 21:42:49 +0200
Source: ipmitool
Binary: ipmitool
Architecture: source i386
Version: 1.8.11-2+squeeze1
Distribution: stable
Urgency: low
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: 637423
Changes:
ipmitool (1.8.11-2+squeeze1) stable; urgency=low
.
* debian/control:
- Add myself as co-maintainer.
* Only approach rsp->data when rsp is set (Closes: #637423).
Checksums-Sha1:
a90fdac2dfdd4b97b6ded6f7eae21ae59f5bbd8b 1107 ipmitool_1.8.11-2+squeeze1.dsc
e38b0192880fa7552b6ee255037ca2ebcff39a27 7704
ipmitool_1.8.11-2+squeeze1.diff.gz
845932a27e1d316ca776b0251b1c89f8954cf1d5 378438
ipmitool_1.8.11-2+squeeze1_i386.deb
Checksums-Sha256:
7ffa4fe37de0208a1d1c897cef133db56a1f91392060c7c5aec62d37e32ce4fb 1107
ipmitool_1.8.11-2+squeeze1.dsc
19842dad3ea77beb52b92c6cb4955094edb156751bd467d04f09392fdac8a357 7704
ipmitool_1.8.11-2+squeeze1.diff.gz
5c317f946671350edabb9b1055fdba2b6cdee4bf6e630101e47e2e78ad95e704 378438
ipmitool_1.8.11-2+squeeze1_i386.deb
Files:
991ee1a8ed74ca5816bc1ad295411da4 1107 utils optional
ipmitool_1.8.11-2+squeeze1.dsc
840f95ae29e833d70bfdf6a818d8754f 7704 utils optional
ipmitool_1.8.11-2+squeeze1.diff.gz
5ec92678e4b6f338591b9114948af1bc 378438 utils optional
ipmitool_1.8.11-2+squeeze1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk57lNQACgkQ5UTeB5t8Mo0oagCfczfRnT5CVRHTnDkDxVYw8KdA
yDYAoL+Xo/CBffAPsKDK3R0acigJbdP+
=wNuM
-----END PGP SIGNATURE-----
--- End Message ---