RE: [Panicsel-developers] hwreset -o option
Brought to you by:
arcress
|
From: Cress, A. R <and...@in...> - 2004-08-09 15:21:07
|
Neil, Well, the utility should report this as an error, rather than ok. The status was ok, but the completion code =3D 0xcc indicates that the firmware said that the data field was invalid (the 0x05 byte, pertaining to the -o option). =20 In the IPMI spec in Table 22-4, the 0x05 value for chassis control says that this is a soft-shutdown via ACPI, and that it is optional. The Langley platform firmware doesn't implement this option. The way that ISM does an OS shutdown on this platform, is to do=20 "init 0" and set up a watchdog event for the IPMI reset with a=20 timeout that allows enough time for the shutdown to complete (about 50 sec). I guess I could've implemented that in hwreset, but I had thought that this=20 method would be more IPMI-generic. =20 Hmmm. The best thing would be to use the IPMI DeviceID to determine which method to use. Since we know that several platforms don't=20 implement this reset option intrinsically, we could detect the platform=20 type for those and use the other method. I'll put in that code. Andy -----Original Message----- From: pan...@li... [mailto:pan...@li...] On Behalf Of nei...@no... Sent: Monday, August 09, 2004 9:50 AM To: pan...@li... Subject: [Panicsel-developers] hwreset -o option Hi, When I try to use hwreset with the -o option on a langley server it reports that the IPMI reset succeeded ok but in fact no reset occurs. I'm unclear whether the "Invalid data field" in=20 the verbose output indicates a malformed ipmi request or a problem with the imb ipmi driver. Thanks, Neil root@xxx:/util/panicsel# ./hwreset -o hwreset ver 1.8 hwreset: powering down ... hwreset: IPMI_Reset ok root@icgsprobe:/util/panicsel# root@xxx:/util/panicsel# ./hwreset -ox hwreset ver 1.8 hwreset: powering down ... Driver type 1, rc =3D 0 ipmi_cmd_ia: request (len=3D13): 08 20 00 00 00 9c fc ff bf 06 00 00 00 req.data=3D0xbffffc9c, dlen=3D6: 05 80 00 48 00 00 ipmi_cmd_ia: sendImbRequest status=3D0, ccode=3D0 ipmi_cmd_ia: response (len=3D0): ipmi_cmd_ia: request (len=3D13): 02 20 00 00 00 9c fc ff bf 01 00 00 00 req.data=3D0xbffffc9c, dlen=3D1: 05 ipmi_cmd_ia: sendImbRequest status=3D0, ccode=3Dcc ipmi_cmd_ia: response (len=3D0): ccode cc: Invalid data field in request Cmd 2 code cc, resp[0] =3D 0, resp[1] =3D 0 hwreset: IPMI_Reset ok ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Panicsel-developers mailing list Pan...@li... https://lists.sourceforge.net/lists/listinfo/panicsel-developers |