Zvika Shaubi wrote:
> Hi Corey,
>
> I'm also trying to get the physical slot number using ATCA shelf.
> What is the command to fetch the ATCA board slot number?
>   
Here's the output for the entity info of an ATCA board.  The physical
slot is the slot number from ATCA, but you don't get the site type:

    > entity info emu(r0.130.160.0)
    Entity:
      Name: emu(r0.130.160.0)
      Type: mc
      Present: true
      Presence sensor always there: false
      Hot swappable: true
      Supports managed hot swap: true
      Parents:
        Name: emu(23.1)
      Physical Slot: 1
      Id: Board1
      Entity ID String: ATCA Board
      Channel: 0
      LUN: 0
      OEM: 0x0
      Slave Address: 0x82
      ACPI_system_power_notify_required: false
      ACPI_device_power_notify_required: false
      controller_logs_init_agent_errors: false
      log_init_agent_errors_accessing: false
      global_init: false
      chassis_device: false
      bridge: false
      IPMB_event_generator: true
      IPMB_event_receiver: false
      FRU_inventory_device: true
      SEL_device: false
      SDR_repository_device: false
      sensor_device: true


Here are the controls, and the dumping of the address control for the board:

    > control list emu(r0.130.160.0)
    Entity:
      Name: emu(r0.130.160.0)
      Controls:
        Name: emu(r0.130.160.0).address
        Name: emu(r0.130.160.0).cold reset
        Name: emu(r0.130.160.0).warm reset
        Name: emu(r0.130.160.0).graceful reboot
        Name: emu(r0.130.160.0).diagnostic interrupt
        Name: emu(r0.130.160.0).blue led
        Name: emu(r0.130.160.0).led 1
    > control get emu(r0.130.160.0).address
    Data: [ 00 01 41 82 ]

The data is: <site type> <site number> <hardware address> <ipmb address>


-Corey
> -Zvika.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Corey Minyard
> Sent: Friday, November 03, 2006 3:45 PM
> To: Raghavendra G
> Cc: [email protected]; [email protected];
> [email protected]
> Subject: Re: [Openipmi-developer] Mapping between Logical and Physical
> slots
>
> Raghavendra G wrote:
>   
>> Hi,
>>
>> Is there a way to obtain the mapping between the Logical and Physical
>> slot numbers? The Ipmi 1.5 specification says that it is stored in the
>> Shelf EPROM. But the Spec doesnt say at what offset it is stored in
>> the ROM. Are there any IPMI commands which can retrieve this mapping?
>>     
> That would be the PICMG 3.0 specification, not the IPMI 1.5
> specification.
>
> If you are using an ATCA shelf, openipmi will automagically fetch this
> value and provide it in two ways.  There is a "slot" value that can be
> fetched from the board's entity that has the slot number (but not the
> slot type).  And there is an "address" control that has all the address
> information.
>
> I'm not sure about freeipmi; it may fetch the shelf address table and
> provide this information.  If not, you will have to parse the shelf FRU
> yourself.
>
> -Corey
>
> ------------------------------------------------------------------------
> -
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Openipmi-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openipmi-developer
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Openipmi-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openipmi-developer
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to