From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,HTML_FONT_LOW_CONTRAST,HTML_MESSAGE, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09AB2C388F7 for ; Fri, 6 Nov 2020 03:09:14 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C473A206DB for ; Fri, 6 Nov 2020 03:09:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="mX+zv9qF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C473A206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CS52Z2FPCzDqYV for ; Fri, 6 Nov 2020 14:09:10 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.vnet.ibm.com (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com; envelope-from=tomjose@linux.vnet.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=mX+zv9qF; dkim-atps=neutral Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CS50R3mmdzDr9B for ; Fri, 6 Nov 2020 14:07:12 +1100 (AEDT) Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A632OA6008296 for ; Thu, 5 Nov 2020 22:07:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : references : from : message-id : date : mime-version : in-reply-to : content-type; s=pp1; bh=bYWzb6i/Vd7+Efd5BaSepcSK/xLmhlZFOEZ4jLZBox0=; b=mX+zv9qFqMcMW9tjIlulZtJ8j3PIJN0t8pvfBGowsZCrO99BGYWgcWQj9dDsvL6W7ByZ 6FLQ+8Ir+pJjPt/1wnpCpsN7PPAZsZUtourWbcYdA8ukh957TixVFjpg3/xgiB3CRDi4 TkZnVfJoOPDPhZ1nQjMib+cOtU5UmNXVVnYS+ZdGuMTP337rDTWXBqFryrroAzenJYqp Ifp+LJCaFa4xEByl5Xj3zw4t95cQn+2DReIaGp6aUN/QF6esWXMT5p8o5pEDpQcAnyQY Ju1LMaRERN1FTMjSuxhis/Y+32+8kqlAsKXd/2YiZTEoRdooKP3Z6tVZ7uB87fuNlm9Z yw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 34mnubwye1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 05 Nov 2020 22:07:09 -0500 Received: from m0098394.ppops.net (m0098394.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 0A632SuA008580 for ; Thu, 5 Nov 2020 22:07:09 -0500 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 34mnubwydg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Nov 2020 22:07:08 -0500 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0A6376bV023451; Fri, 6 Nov 2020 03:07:06 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma04ams.nl.ibm.com with ESMTP id 34h01udtst-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Nov 2020 03:07:06 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0A63740p59244900 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 6 Nov 2020 03:07:04 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 590F311C04C; Fri, 6 Nov 2020 03:07:04 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B432D11C052; Fri, 6 Nov 2020 03:07:03 +0000 (GMT) Received: from [9.79.224.42] (unknown [9.79.224.42]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 6 Nov 2020 03:07:03 +0000 (GMT) Subject: Re: Firmware Version in ipmi mc info To: Shakeeb B K , openbmc@lists.ozlabs.org References: From: TOM JOSEPH Message-ID: Date: Fri, 6 Nov 2020 08:37:01 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------0A57FC0E8C204FE701E8A858" Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-05_16:2020-11-05, 2020-11-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 adultscore=0 mlxlogscore=999 priorityscore=1501 clxscore=1011 bulkscore=0 mlxscore=0 suspectscore=6 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011060016 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" This is a multi-part message in MIME format. --------------0A57FC0E8C204FE701E8A858 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hey Shakeeb, The service implementing the xyz.openbmc_project.Software.Version should be running in the case of a normal boot as well. In our systems the service is xyz.openbmc_project.Software.BMC.Updater and the Version property is populated when the BMCState is Ready. Regards, Tom On 05-11-2020 20:02, Shakeeb B K wrote: > Hi All, Currently the ipmi handler for "mc info" command depends on > the "Version"... > This Message Is From an External Sender > This message came from outside your organization. > > Hi All, > > Currently the ipmi handler for "mc info" command depends on the > "Version" property on interface xyz.openbmc_project.Software.Version. > But this is getting populated only on the image update path by > phosphor-bmc-code-mgmt. > Shouldn't the version be set on a normal boot as well? Is this a gap > in current implementation? > > Thanks, > Shakeeb --------------0A57FC0E8C204FE701E8A858 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hey Shakeeb,

The service implementing the xyz.openbmc_project.Software.Version should be running in the case of a normal boot as well. In our systems the service is xyz.openbmc_project.Software.BMC.Updater and the Version property is populated when the BMCState is Ready.

Regards,
Tom

On 05-11-2020 20:02, Shakeeb B K wrote:
This Message Is From an External Sender
This message came from outside your organization.
Hi All,

Currently the ipmi handler for "mc info" command depends on the "Version" property on interface xyz.openbmc_project.Software.Version. 
But this is getting populated only on the image update path by phosphor-bmc-code-mgmt.
Shouldn't the version be set on a normal boot as well? Is this a gap in current implementation?

Thanks,
Shakeeb
--------------0A57FC0E8C204FE701E8A858--