Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 158215 Details for
Bug 246245
fence_ilo does not work with iLO 2 firmware revs > 1.29
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to support firmware > 1.29
fence_ilo.diff (text/plain), 1.25 KB, created by
Ryan McCabe
on 2007-06-29 15:35:34 UTC
(
hide
)
Description:
patch to support firmware > 1.29
Filename:
MIME Type:
Creator:
Ryan McCabe
Created:
2007-06-29 15:35:34 UTC
Size:
1.25 KB
patch
obsolete
>Index: fence/agents/ilo/fence_ilo.pl >=================================================================== >RCS file: /cvs/cluster/cluster/fence/agents/ilo/fence_ilo.pl,v >retrieving revision 1.5.4.1 >diff -u -r1.5.4.1 fence_ilo.pl >--- fence/agents/ilo/fence_ilo.pl 9 Apr 2007 15:20:09 -0000 1.5.4.1 >+++ fence/agents/ilo/fence_ilo.pl 29 Jun 2007 15:32:44 -0000 >@@ -262,10 +262,13 @@ > > foreach my $line (@response) > { >+ if ($line =~ /FIRMWARE_VERSION\s*=\s*\"(.*)\"/) { >+ $firmware_rev = $1; >+ } > if ($line =~ /MANAGEMENT_PROCESSOR\s*=\s*\"(.*)\"/) { > if ($1 eq "iLO2") { > $ilo_vers = 2; >- print "power_status: reporting iLO2\n" if ($verbose); >+ print "power_status: reporting iLO2 $firmware_rev\n" if ($verbose); > } > } > >@@ -341,7 +344,11 @@ > # HOLD_PWR_BUTTON is used to power the machine off, and > # PRESS_PWR_BUTTON is used to power the machine on; > # when the power is off, HOLD_PWR_BUTTON has no effect. >- sendsock $socket, "<HOLD_PWR_BTN/>\n"; >+ if ($firmware_rev > 1.29) { >+ sendsock $socket, "<HOLD_PWR_BTN TOGGLE=\"Yes\" />\n"; >+ } else { >+ sendsock $socket, "<HOLD_PWR_BTN/>\n"; >+ } > } > # As of firmware version 1.71 (RIBCL 2.21) The SET_HOST_POWER command > # is no longer available. HOLD_PWR_BTN and PRESS_PWR_BTN are used
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246245
: 158215 |
158216