Hi Al, kernel based kcs driver should take care of retries internally. May be
freeipmi's user space kcs driver will work. If we face the same problem, we can
play around these two macro values.

#define IPMI_KCS_SLEEP_USECS              0x01
#define IPMI_KCS_POLL_ATTEMPTS            100000

--
Anand Babu Periasamy
GPG Key ID: 0x62E15A31
Blog [http://ab.freeshell.org]
The GNU Operating System [http://www.gnu.org]
Z RESEARCH Inc [http://www.zresearch.com]



Al Chu wrote:
Hey David,

On Tue, 2008-08-26 at 17:36 -0700, David Sparks wrote:
Al Chu wrote:
Hey David,

Hmmm.  What you're showing me is indicative of timeouts.  As if the
inband communication is too busy to respond or just isn't responding.
Did you load the openipmi kernel driver?  Or are you using the freeipmi
KCS driver?
If I understand how I'm doing things I'm using the in-kernel driver (via /dev/ipmi0).

I don't know if the freeipmi-KCS driver works.  You may want to give it
a shot.  Just force it by specify --driver-type=KCS on the command line.
Otherwise, I'm sort of stumped.  If the IPMI packets don't come back
from /dev/ipmi0, I'm not sure what else can be done.  I could maybe add
a retry-mechanism into the in-band communication code.  Never thought
I'd have to support retransmissions on in-band communication :P

I tried the 0.5.6 LAN driver without success but now that I've upgraded to 0.6.5 the LAN driver works!

That's good.

Al

# ipmimonitoring -h d-scanner1 -u root -p XXX
1 | Temp | Temperature | Nominal | C | 50.000000
2 | Temp | Temperature | Nominal | C | 48.000000
3 | Ambient Temp | Temperature | Nominal | C | 17.000000
4 | Planar Temp | Temperature | Nominal | C | 37.000000
5 | Riser Temp | Temperature | Nominal | C | 40.000000
6 | Temp | Temperature | Nominal | C | 40.000000
7 | Temp | Temperature | Nominal | C | 40.000000
8 | CMOS Battery | Voltage | Nominal | V | 3.134700
19 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
20 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
21 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
22 | Presence  | Entity Presence | Nominal | N/A | 'Entity Present'
23 | ROMB Presence | Entity Presence | Nominal | N/A | 'Entity Present'
24 | FAN 1A RPM | Fan | Nominal | RPM | 7350.000000
25 | FAN 1B RPM | Fan | Nominal | RPM | 5700.000000
26 | FAN 2A RPM | Fan | Nominal | RPM | 7800.000000
27 | FAN 2B RPM | Fan | Nominal | RPM | 5175.000000
28 | FAN 3A RPM | Fan | Nominal | RPM | 7575.000000
29 | FAN 3B RPM | Fan | Nominal | RPM | 5250.000000
30 | FAN 4A RPM | Fan | Nominal | RPM | 7875.000000
31 | FAN 4B RPM | Fan | Nominal | RPM | 5400.000000
32 | Status  | Group Processor | Nominal | N/A | 'Processor Presence detected'
33 | Status  | Group Processor | Nominal | N/A | 'Processor Presence detected'
34 | Status  | Power Supply | Nominal | N/A | 'Presence detected'
35 | Status  | Power Supply | Nominal | N/A | 'Presence detected'
36 | VRM  | Power Supply | Nominal | N/A | 'Presence detected'
37 | VRM  | Power Supply | Nominal | N/A | 'Presence detected'
38 | OS Watchdog | Watchdog2 | Nominal | N/A | ''
40 | Intrusion | Physical Security | Nominal | N/A | ''
56 | Drive | Slot Connector | Warning | N/A | 'Slot/Connector Device Removal Request'
57 | ECC Corr Err | Memory | Critical | N/A | 'Presence detected'
58 | ECC Uncorr Err | Memory | Critical | N/A | 'Presence detected'
59 | I/O Channel Chk | Critical Interrupt | Critical | N/A | 'EISA Fail Safe Timeout' 60 | PCI Parity Err | Critical Interrupt | Critical | N/A | 'EISA Fail Safe Timeout' 61 | PCI System Err | Critical Interrupt | Critical | N/A | 'EISA Fail Safe Timeout'
62 | SBE Log Disabled | Event Logging Disabled | Nominal | N/A | ''
63 | Logging Disabled | Event Logging Disabled | Nominal | N/A | ''
72 | Memory Added | Memory | Warning | N/A | 'Correctable ECC/other correctable memory error' 73 | Memory Removed | Memory | Warning | N/A | 'Correctable ECC/other correctable memory error' 74 | PCIE Fatal Err | Critical Interrupt | Critical | N/A | 'Front Panel NMI/Diagnostic Interrupt' 75 | Chipset Err | Critical Interrupt | Critical | N/A | 'Front Panel NMI/Diagnostic Interrupt'





_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to