Lines Matching refs:lprintf
303 lprintf(LOG_NOTICE, in HpmfwupgTargetCheck()
312 lprintf(LOG_NOTICE, in HpmfwupgTargetCheck()
317 lprintf(LOG_NOTICE, "-------Target Information-------"); in HpmfwupgTargetCheck()
318 lprintf(LOG_NOTICE, "Device Id : 0x%x", in HpmfwupgTargetCheck()
320 lprintf(LOG_NOTICE, "Device Revision : 0x%x", in HpmfwupgTargetCheck()
322 lprintf(LOG_NOTICE, "Product Id : 0x%04x", in HpmfwupgTargetCheck()
324 lprintf(LOG_NOTICE, "Manufacturer Id : 0x%04x (%s)\n\n", in HpmfwupgTargetCheck()
339 lprintf(LOG_NOTICE, "Get CompGenProp Failed for component Id %d\n", in HpmfwupgTargetCheck()
352 lprintf(LOG_NOTICE, in HpmfwupgTargetCheck()
364 lprintf(LOG_NOTICE, in HpmfwupgTargetCheck()
387 lprintf(LOG_NOTICE, in HpmfwupgTargetCheck()
413 lprintf(LOG_NOTICE, in HpmfwupgTargetCheck()
452 lprintf(LOG_NOTICE, in HpmfwupgTargetCheck()
495 lprintf(LOG_NOTICE, in HpmfwupgUpgrade()
498 lprintf(LOG_NOTICE, in HpmfwupgUpgrade()
501 lprintf(LOG_NOTICE, "\nPerforming upgrade stage:"); in HpmfwupgUpgrade()
522 lprintf(LOG_NOTICE, "Performing activation stage: "); in HpmfwupgUpgrade()
525 lprintf(LOG_NOTICE, in HpmfwupgUpgrade()
532 lprintf(LOG_NOTICE," "); in HpmfwupgUpgrade()
534 lprintf(LOG_NOTICE, in HpmfwupgUpgrade()
537 lprintf(LOG_NOTICE, in HpmfwupgUpgrade()
542 lprintf(LOG_NOTICE," "); in HpmfwupgUpgrade()
544 lprintf(LOG_NOTICE, in HpmfwupgUpgrade()
547 lprintf(LOG_NOTICE, "Firmware upgrade procedure failed\n"); in HpmfwupgUpgrade()
576 lprintf(LOG_NOTICE, "\n Invalid MD5 signature"); in HpmfwupgValidateImageIntegrity()
583 lprintf(LOG_NOTICE,"\n Invalid image signature"); in HpmfwupgValidateImageIntegrity()
588 lprintf(LOG_NOTICE,"\n Unrecognized image version"); in HpmfwupgValidateImageIntegrity()
596 lprintf(LOG_NOTICE,"\n Invalid header checksum"); in HpmfwupgValidateImageIntegrity()
631 lprintf(LOG_NOTICE, in HpmfwupgPreparationStage()
637 lprintf(LOG_NOTICE, in HpmfwupgPreparationStage()
643 lprintf(LOG_NOTICE, "\n Invalid device ID %x", in HpmfwupgPreparationStage()
685 lprintf(LOG_NOTICE, "\n Version: Major: %d", pImageHeader->compRevision[0]); in HpmfwupgPreparationStage()
686 lprintf(LOG_NOTICE, " Minor: %x", pImageHeader->compRevision[1]); in HpmfwupgPreparationStage()
687 lprintf(LOG_NOTICE, " Not compatible with "); in HpmfwupgPreparationStage()
688 lprintf(LOG_NOTICE, " Version: Major: %d", pFwupgCtx->devId.fw_rev1); in HpmfwupgPreparationStage()
689 lprintf(LOG_NOTICE, " Minor: %x", pFwupgCtx->devId.fw_rev2); in HpmfwupgPreparationStage()
718 lprintf(LOG_NOTICE, in HpmfwupgPreparationStage()
724 lprintf(LOG_NOTICE, "\n Upgrade undesirable at this moment"); in HpmfwupgPreparationStage()
819 lprintf(LOG_NOTICE, " Invalid Action record."); in HpmfwupgValidateActionRecordChecksum()
860 lprintf(LOG_NOTICE, in HpmfwupgPreUpgradeCheck()
876 lprintf(LOG_NOTICE, in HpmfwupgPreUpgradeCheck()
896 lprintf(LOG_NOTICE, in HpmfwupgPreUpgradeCheck()
950 lprintf(LOG_NOTICE, in HpmfwupgPreUpgradeCheck()
969 lprintf(LOG_NOTICE, in HpmfwupgPreUpgradeCheck()
978 lprintf(LOG_NOTICE, in HpmfwupgPreUpgradeCheck()
980 lprintf(LOG_NOTICE, in HpmfwupgPreUpgradeCheck()
1068 lprintf(LOG_NOTICE, " Invalid Action type. Cannot continue"); in HpmfwupgUpgradeStage()
1075 lprintf(LOG_NOTICE, "(*) Component requires Payload Cold Reset"); in HpmfwupgUpgradeStage()
1133 lprintf(LOG_ERROR, "Maximum request size is too small to " in HpmFwupgActionUploadFirmware()
1158 lprintf(LOG_NOTICE, "Do not skip %d", in HpmFwupgActionUploadFirmware()
1168 lprintf(LOG_ERR, "ipmitool: malloc failure"); in HpmFwupgActionUploadFirmware()
1215 lprintf(LOG_INFO, in HpmFwupgActionUploadFirmware()
1220 lprintf(LOG_INFO, in HpmFwupgActionUploadFirmware()
1230 lprintf(LOG_NOTICE, in HpmFwupgActionUploadFirmware()
1233 lprintf(LOG_NOTICE, in HpmFwupgActionUploadFirmware()
1249 lprintf(LOG_NOTICE, in HpmFwupgActionUploadFirmware()
1252 lprintf(LOG_NOTICE, in HpmFwupgActionUploadFirmware()
1356 lprintf(LOG_NOTICE, " Self test failed:"); in HpmfwupgActivationStage()
1357 lprintf(LOG_NOTICE, " Result1 = %x", in HpmfwupgActivationStage()
1359 lprintf(LOG_NOTICE, " Result2 = %x", in HpmfwupgActivationStage()
1366 lprintf(LOG_NOTICE," Self test failed."); in HpmfwupgActivationStage()
1377 lprintf(LOG_NOTICE," Getting rollback status..."); in HpmfwupgActivationStage()
1394 lprintf(LOG_ERR, "Cannot open image file '%s'", in HpmfwupgGetBufferFromFile()
1403 lprintf(LOG_ERR, "ipmitool: malloc failure"); in HpmfwupgGetBufferFromFile()
1413 lprintf(LOG_ERR, in HpmfwupgGetBufferFromFile()
1434 lprintf(LOG_ERR, "Error getting device ID."); in HpmfwupgGetDeviceId()
1438 lprintf(LOG_ERR, "Error getting device ID."); in HpmfwupgGetDeviceId()
1439 lprintf(LOG_ERR, "compcode=0x%x: %s", in HpmfwupgGetDeviceId()
1462 lprintf(LOG_ERR, in HpmfwupgGetTargetUpgCapabilities()
1467 lprintf(LOG_ERR, in HpmfwupgGetTargetUpgCapabilities()
1476 lprintf(LOG_NOTICE, "TARGET UPGRADE CAPABILITIES"); in HpmfwupgGetTargetUpgCapabilities()
1477 lprintf(LOG_NOTICE, "-------------------------------"); in HpmfwupgGetTargetUpgCapabilities()
1478 lprintf(LOG_NOTICE, "HPM.1 version............%d ", in HpmfwupgGetTargetUpgCapabilities()
1480 lprintf(LOG_NOTICE, "Component 0 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1482 lprintf(LOG_NOTICE, "Component 1 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1484 lprintf(LOG_NOTICE, "Component 2 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1486 lprintf(LOG_NOTICE, "Component 3 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1488 lprintf(LOG_NOTICE, "Component 4 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1490 lprintf(LOG_NOTICE, "Component 5 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1492 lprintf(LOG_NOTICE, "Component 6 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1494 lprintf(LOG_NOTICE, "Component 7 presence....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1496 lprintf(LOG_NOTICE, "Upgrade undesirable.....[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1498 lprintf(LOG_NOTICE, "Aut rollback override...[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1500 lprintf(LOG_NOTICE, "IPMC degraded...........[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1502 lprintf(LOG_NOTICE, "Defered activation......[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1504 lprintf(LOG_NOTICE, "Service affected........[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1506 lprintf(LOG_NOTICE, "Manual rollback.........[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1508 lprintf(LOG_NOTICE, "Automatic rollback......[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1510 lprintf(LOG_NOTICE, "Self test...............[%c] ", in HpmfwupgGetTargetUpgCapabilities()
1512 lprintf(LOG_NOTICE, "Upgrade timeout.........[%d sec] ", in HpmfwupgGetTargetUpgCapabilities()
1514 lprintf(LOG_NOTICE, "Self test timeout.......[%d sec] ", in HpmfwupgGetTargetUpgCapabilities()
1516 lprintf(LOG_NOTICE, "Rollback timeout........[%d sec] ", in HpmfwupgGetTargetUpgCapabilities()
1518 lprintf(LOG_NOTICE, "Inaccessibility timeout.[%d sec] \n", in HpmfwupgGetTargetUpgCapabilities()
1539 lprintf(LOG_NOTICE, in HpmfwupgGetComponentProperties()
1544 lprintf(LOG_NOTICE, in HpmfwupgGetComponentProperties()
1546 lprintf(LOG_NOTICE, in HpmfwupgGetComponentProperties()
1556 lprintf(LOG_NOTICE, "GENERAL PROPERTIES"); in HpmfwupgGetComponentProperties()
1557 lprintf(LOG_NOTICE, "-------------------------------"); in HpmfwupgGetComponentProperties()
1558 lprintf(LOG_NOTICE, "Payload cold reset req....[%c] ", in HpmfwupgGetComponentProperties()
1560 lprintf(LOG_NOTICE, "Def. activation supported.[%c] ", in HpmfwupgGetComponentProperties()
1562 lprintf(LOG_NOTICE, "Comparison supported......[%c] ", in HpmfwupgGetComponentProperties()
1564 lprintf(LOG_NOTICE, "Preparation supported.....[%c] ", in HpmfwupgGetComponentProperties()
1566 lprintf(LOG_NOTICE, "Rollback supported........[%c] \n", in HpmfwupgGetComponentProperties()
1574 lprintf(LOG_NOTICE, "Current Version: "); in HpmfwupgGetComponentProperties()
1575 lprintf(LOG_NOTICE, " Major: %d", in HpmfwupgGetComponentProperties()
1577 lprintf(LOG_NOTICE, " Minor: %x", in HpmfwupgGetComponentProperties()
1579 lprintf(LOG_NOTICE, " Aux : %03d %03d %03d %03d\n", in HpmfwupgGetComponentProperties()
1595 lprintf(LOG_NOTICE, in HpmfwupgGetComponentProperties()
1603 lprintf(LOG_NOTICE, "Rollback FW Version: "); in HpmfwupgGetComponentProperties()
1604 lprintf(LOG_NOTICE, " Major: %d", in HpmfwupgGetComponentProperties()
1606 lprintf(LOG_NOTICE, " Minor: %x", in HpmfwupgGetComponentProperties()
1608 lprintf(LOG_NOTICE, " Aux : %03d %03d %03d %03d\n", in HpmfwupgGetComponentProperties()
1618 lprintf(LOG_NOTICE, "Deferred FW Version: "); in HpmfwupgGetComponentProperties()
1619 lprintf(LOG_NOTICE, " Major: %d", in HpmfwupgGetComponentProperties()
1621 lprintf(LOG_NOTICE, " Minor: %x", in HpmfwupgGetComponentProperties()
1623 lprintf(LOG_NOTICE, " Aux : %03d %03d %03d %03d\n", in HpmfwupgGetComponentProperties()
1635 lprintf(LOG_NOTICE,"OEM Properties: "); in HpmfwupgGetComponentProperties()
1637 lprintf(LOG_NOTICE, " 0x%x ", in HpmfwupgGetComponentProperties()
1643 lprintf(LOG_NOTICE,"Unsupported component selector"); in HpmfwupgGetComponentProperties()
1665 lprintf(LOG_ERR, "Error - aborting upgrade."); in HpmfwupgAbortUpgrade()
1669 lprintf(LOG_ERR, "Error aborting upgrade"); in HpmfwupgAbortUpgrade()
1670 lprintf(LOG_ERR, "compcode=0x%x: %s", in HpmfwupgAbortUpgrade()
1694 lprintf(LOG_ERR, "Error initiating upgrade action."); in HpmfwupgInitiateUpgradeAction()
1701 lprintf(LOG_NOTICE,"Error initiating upgrade action"); in HpmfwupgInitiateUpgradeAction()
1702 lprintf(LOG_NOTICE, "compcode=0x%x: %s", in HpmfwupgInitiateUpgradeAction()
1728 lprintf(LOG_NOTICE, "Error uploading firmware block."); in HpmfwupgUploadFirmwareBlock()
1753 lprintf(LOG_NOTICE, in HpmfwupgUploadFirmwareBlock()
1769 lprintf(LOG_DEBUG, "HPM: [PATCH]Retryable error detected"); in HpmfwupgUploadFirmwareBlock()
1778 lprintf(LOG_ERR, "Error uploading firmware block"); in HpmfwupgUploadFirmwareBlock()
1779 lprintf(LOG_ERR, "compcode=0x%x: %s", in HpmfwupgUploadFirmwareBlock()
1805 lprintf(LOG_ERR, "Error fininshing firmware upload."); in HpmfwupgFinishFirmwareUpload()
1816 lprintf(LOG_ERR, "Error finishing firmware upload"); in HpmfwupgFinishFirmwareUpload()
1817 lprintf(LOG_ERR, "compcode=0x%x: %s", in HpmfwupgFinishFirmwareUpload()
1842 lprintf(LOG_ERR, "Error activating firmware."); in HpmfwupgActivateFirmware()
1851 lprintf(LOG_NOTICE, "OK"); in HpmfwupgActivateFirmware()
1853 lprintf(LOG_NOTICE, "Failed"); in HpmfwupgActivateFirmware()
1856 lprintf(LOG_ERR, "Error activating firmware"); in HpmfwupgActivateFirmware()
1857 lprintf(LOG_ERR, "compcode=0x%x: %s", in HpmfwupgActivateFirmware()
1881 lprintf(LOG_NOTICE, in HpmfwupgGetUpgradeStatus()
1889 lprintf(LOG_NOTICE, "Upgrade status:"); in HpmfwupgGetUpgradeStatus()
1890 lprintf(LOG_NOTICE, in HpmfwupgGetUpgradeStatus()
1893 lprintf(LOG_NOTICE, in HpmfwupgGetUpgradeStatus()
1905 lprintf(LOG_DEBUG, "HPM: Retryable error detected"); in HpmfwupgGetUpgradeStatus()
1909 lprintf(LOG_NOTICE, "Error getting upgrade status"); in HpmfwupgGetUpgradeStatus()
1910 lprintf(LOG_NOTICE, "compcode=0x%x: %s", rsp->ccode, in HpmfwupgGetUpgradeStatus()
1943 lprintf(LOG_ERR, "Error sending manual rollback."); in HpmfwupgManualFirmwareRollback()
1954 lprintf(LOG_ERR, "Error sending manual rollback"); in HpmfwupgManualFirmwareRollback()
1955 lprintf(LOG_ERR, "compcode=0x%x: %s", in HpmfwupgManualFirmwareRollback()
2007 lprintf(LOG_DEBUG,"HPM: [PATCH]Retryable error detected"); in HpmfwupgQueryRollbackStatus()
2017 lprintf(LOG_ERR, "Error getting upgrade status."); in HpmfwupgQueryRollbackStatus()
2025 lprintf(LOG_NOTICE, in HpmfwupgQueryRollbackStatus()
2029 lprintf(LOG_NOTICE, in HpmfwupgQueryRollbackStatus()
2033 lprintf(LOG_ERR, in HpmfwupgQueryRollbackStatus()
2038 lprintf(LOG_ERR, in HpmfwupgQueryRollbackStatus()
2040 lprintf(LOG_ERR, in HpmfwupgQueryRollbackStatus()
2087 lprintf(LOG_DEBUG, in HpmfwupgQuerySelftestResult()
2097 lprintf(LOG_NOTICE, "Error getting upgrade status\n"); in HpmfwupgQuerySelftestResult()
2104 lprintf(LOG_NOTICE, "Self test results:"); in HpmfwupgQuerySelftestResult()
2105 lprintf(LOG_NOTICE, "Result1 = %x", in HpmfwupgQuerySelftestResult()
2107 lprintf(LOG_NOTICE, "Result2 = %x", in HpmfwupgQuerySelftestResult()
2111 lprintf(LOG_NOTICE, "Error getting self test results"); in HpmfwupgQuerySelftestResult()
2112 lprintf(LOG_NOTICE, "compcode=0x%x: %s", in HpmfwupgQuerySelftestResult()
2152 lprintf(LOG_DEBUG, in HpmfwupgSendCmd()
2154 lprintf(LOG_DEBUG, in HpmfwupgSendCmd()
2160 lprintf(LOG_DEBUG, in HpmfwupgSendCmd()
2162 lprintf(LOG_DEBUG, in HpmfwupgSendCmd()
2175 lprintf(LOG_DEBUG, in HpmfwupgSendCmd()
2177 lprintf(LOG_DEBUG, in HpmfwupgSendCmd()
2193 lprintf(LOG_DEBUG, "HPM: upg/rollback status firmware API called"); in HpmfwupgSendCmd()
2194 lprintf(LOG_DEBUG, "HPM: try to re-open IOL session"); in HpmfwupgSendCmd()
2249 lprintf(LOG_INFO, in HpmfwupgSendCmd()
2319 lprintf(LOG_NOTICE, in HpmfwupgWaitLongDurationCmd()
2343 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2345 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2347 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2349 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2351 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2353 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2355 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2357 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2359 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2361 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2363 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2365 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2367 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2369 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2371 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2373 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2375 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2377 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2379 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2381 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2383 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2385 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2387 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2389 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2391 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2393 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2395 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2397 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2399 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2401 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2403 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2405 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2407 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2409 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2411 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2413 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2415 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2417 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2419 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2421 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2423 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2425 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2427 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2429 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2431 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2433 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2435 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2437 lprintf(LOG_NOTICE, in HpmfwupgPrintUsage()
2450 lprintf(LOG_DEBUG,"ipmi_hpmfwupg_main()"); in ipmi_hpmfwupg_main()
2451 lprintf(LOG_NOTICE, "\nPICMG HPM.1 Upgrade Agent %d.%d.%d: \n", in ipmi_hpmfwupg_main()
2455 lprintf(LOG_ERR, "Not enough parameters given."); in ipmi_hpmfwupg_main()
2491 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2494 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2499 lprintf(LOG_NOTICE, in ipmi_hpmfwupg_main()
2509 lprintf(LOG_NOTICE, in ipmi_hpmfwupg_main()
2534 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2537 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2542 lprintf(LOG_NOTICE, in ipmi_hpmfwupg_main()
2553 lprintf(LOG_NOTICE, in ipmi_hpmfwupg_main()
2583 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2586 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2592 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2595 lprintf(LOG_ERR, in ipmi_hpmfwupg_main()
2622 lprintf(LOG_ERR, "Invalid HPM command: %s", argv[0]); in ipmi_hpmfwupg_main()