From: SourceForge.net <no...@so...> - 2008-06-16 20:25:47
|
Bugs item #1794820, was opened at 2007-09-14 09:59 Message generated for change (Comment added) made by shuah You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=1794820&group_id=71730 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: IPMI Direct plugin Group: Future Status: Open Resolution: None Priority: 5 Private: No Submitted By: PeterP (ppothier) Assigned to: Shuah Khan (shuah) Summary: Inventory RDRs no longer visible after Hotswap AMC Initial Comment: After extracting, and then re-inserting an AMC on an ATCA Blade (the ATCA Blade is not extracted), the Inventory RDRs are no longer visible. In fact, ALL of the Sensor RDRs are also no longer visible, with the exception of the Hotswap Sensor. Before extraction of AMC: +--- {SYSTEM_CHASSIS,1}{PHYSICAL_SLOT,4}{193,5} | |__ Sensor Num: 1, Type: OEM_SENSOR, Category: SENSOR_SPECIFIC, Tag: FRU1 Hot Swap0 | |__ Sensor Num: 114, Type: (null), Category: STATE, Tag: B1:Ver change0 | |__ Sensor Num: 113, Type: PLATFORM_ALERT, Category: STATE, Tag: B1:IpmC Reboot0 | |__ Sensor Num: 112, Type: PLATFORM_ALERT, Category: STATE, Tag: B1:Health Error0 | |__ Sensor Num: 111, Type: TEMPERATURE, Category: THRESHOLD, Tag: B1:Temp PSU In | |__ Sensor Num: 110, Type: TEMPERATURE, Category: THRESHOLD, Tag: B1:Temp PSU Out | |__ Sensor Num: 109, Type: TEMPERATURE, Category: THRESHOLD, Tag: B1:Temp Exhaust | |__ Sensor Num: 108, Type: TEMPERATURE, Category: THRESHOLD, Tag: B1:Temp AirInlet | |__ Sensor Num: 107, Type: VOLTAGE, Category: THRESHOLD, Tag: B1:Board BlueLed | |__ Sensor Num: 106, Type: VOLTAGE, Category: THRESHOLD, Tag: B1:Board 12v | |__ Sensor Num: 105, Type: VOLTAGE, Category: THRESHOLD, Tag: B1:Board 3.3VSUS | |__ Sensor Num: 104, Type: VOLTAGE, Category: THRESHOLD, Tag: B1:Board 5V | |__ Sensor Num: 103, Type: OEM_SENSOR, Category: SENSOR_SPECIFIC, Tag: B1:IPMBL State0 | |__ Sensor Num: 102, Type: OEM_SENSOR, Category: SENSOR_SPECIFIC, Tag: B1:ModuleHotSwap0 | |__ Sensor Num: 101, Type: OEM_SENSOR, Category: AVAILABILITY, Tag: B1:FRU Agent0 | |__ Sensor Num: 100, Type: OEM_SENSOR, Category: GENERIC, Tag: B1:IPMI Info-20 | |__ Sensor Num: 99, Type: OEM_SENSOR, Category: GENERIC, Tag: B1:IPMI Info-10 | |__ Control Num: 0, Type: OEM, Output Type: LED, Tag: Blue LED | |__ Control Num: 1, Type: OEM, Output Type: LED, Tag: LED 1 | |__ Control Num: 2, Type: OEM, Output Type: LED, Tag: LED 2 | |__ Inventory Idr Num: 1, Num Areas: 2, Tag: B1:AM45X0 | After Re-Inserting AMC: +--- {SYSTEM_CHASSIS,1}{PHYSICAL_SLOT,4}{193,5} | |__ Sensor Num: 1, Type: OEM_SENSOR, Category: SENSOR_SPECIFIC, Tag: FRU1 Hot Swap0 | ---------------------------------------------------------------------- >Comment By: Shuah Khan (shuah) Date: 2008-06-16 14:25 Message: Logged In: YES user_id=1884926 Originator: NO Will take a look at this patch and get back to you in a couple of days. -- Shuah ---------------------------------------------------------------------- Comment By: Takuro Ashie (makeinu) Date: 2008-06-02 21:40 Message: Logged In: YES user_id=364243 Originator: NO I posted a patch for this issue to openhpi-devel ML. https://sourceforge.net/mailarchive/message.php?msg_name=20080314191240.093b0915.ashie%40homa.ne.jp Although I think the patch isn't perfect, it works fine for me. I'm now anxious on this issue because Pierre has leaved this project and currently no one doesn't care about this issue. ---------------------------------------------------------------------- Comment By: Renier Morales (renierm) Date: 2008-05-13 10:59 Message: Logged In: YES user_id=660960 Originator: NO Anything new on this bug? ---------------------------------------------------------------------- Comment By: Pierre Sangouard (psangouard) Date: 2007-11-28 06:02 Message: Logged In: YES user_id=944149 Originator: NO This is not the right fix. If you do that, the removal of any FRU will remove the corresponding MC and all of its managed FRUs; meaning that in your case, when you remove your AMC module the ATCA Carrier board resource will be removed as well (And reinserted when you reinsert the AMC module). The mentioned line was added to fix bug #1120217. ---------------------------------------------------------------------- Comment By: PeterP (ppothier) Date: 2007-11-26 17:08 Message: Logged In: YES user_id=1549494 Originator: YES Now running openhpi-2.10.1, commenting out one line in ipmi_discover.cpp cIpmiMcThread::HandleHotswapEvent() appears to correct this behavior... case eIpmiFruStateNotInstalled: // We care only if it's the MC itself #if 0 if ( sensor->Resource()->FruId() == 0 ) #endif { // remove mc WriteLock(); if ( m_mc ) m_domain->CleanupMc( m_mc ); WriteUnlock(); m_mc = 0; } break; After commenting out the check for FruId==0, both Inventory and Sensor information are correctly provided after pulling out and then re-inserting the AMC card. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=1794820&group_id=71730 |