freeipmi-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-users] dell r420 loops getting challenge request


From: Albert Chu
Subject: Re: [Freeipmi-users] dell r420 loops getting challenge request
Date: Fri, 22 Nov 2013 13:20:26 -0800

Hi Brian,

This is certainly strange.  It's not entirely clear if the remote
machine is not responding to Get Session Challenge Requests at all, or
if FreeIPMI is dropping the Get Session Challenge Response packets
(perhaps b/c the responses are malformed).

Few thoughts:

1) You could try running w/ IPMI 2.0 instead of IPMI 1.5 using "-D
lan20" on the command line.  It's possible this system disables IPMI 1.5
by default.

2) If you use tcpdump we could get an idea if the responses are coming
from the remote server at all.

3) If you're compiling FreeIPMI, if you add --enable-debug and
--enable-trace to the ./configure run, we can get more debugging info.

Hope that's a start.

Al

>         Hi,
>         
>         I'm trying to get freeipmi 1.3.3 to operate with a Dell R420.  It 
> seems
>         it times out in the authentication challenge/response cycle.  In fact 
> I
>         don't think it even gets to the response portion.  Here's the --debug
>         output from trying:
>         
>         host-1-mgmt: =====================================================
>         host-1-mgmt: IPMI 1.5 Get Channel Authentication Capabilities Request
>         host-1-mgmt: =====================================================
>         host-1-mgmt: RMCP Header:
>         host-1-mgmt: ------------
>         host-1-mgmt: [               6h] = version[ 8b]
>         host-1-mgmt: [               0h] = reserved[ 8b]
>         host-1-mgmt: [              FFh] = sequence_number[ 8b]
>         host-1-mgmt: [               7h] = message_class.class[ 5b]
>         host-1-mgmt: [               0h] = message_class.reserved[ 2b]
>         host-1-mgmt: [               0h] = message_class.ack[ 1b]
>         host-1-mgmt: IPMI Session Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [               0h] = authentication_type[ 8b]
>         host-1-mgmt: [               0h] = session_sequence_number[32b]
>         host-1-mgmt: [               0h] = session_id[32b]
>         host-1-mgmt: [               9h] = ipmi_msg_len[ 8b]
>         host-1-mgmt: IPMI Message Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [              20h] = rs_addr[ 8b]
>         host-1-mgmt: [               0h] = rs_lun[ 2b]
>         host-1-mgmt: [               6h] = net_fn[ 6b]
>         host-1-mgmt: [              C8h] = checksum1[ 8b]
>         host-1-mgmt: [              81h] = rq_addr[ 8b]
>         host-1-mgmt: [               0h] = rq_lun[ 2b]
>         host-1-mgmt: [              1Bh] = rq_seq[ 6b]
>         host-1-mgmt: IPMI Command Data:
>         host-1-mgmt: ------------------
>         host-1-mgmt: [              38h] = cmd[ 8b]
>         host-1-mgmt: [               Eh] = channel_number[ 4b]
>         host-1-mgmt: [               0h] = reserved1[ 3b]
>         host-1-mgmt: [               0h] = get_ipmi_v2.0_extended_data[ 1b]
>         host-1-mgmt: [               3h] = maximum_privilege_level[ 4b]
>         host-1-mgmt: [               0h] = reserved2[ 4b]
>         host-1-mgmt: IPMI Trailer:
>         host-1-mgmt: --------------
>         host-1-mgmt: [              CAh] = checksum2[ 8b]
>         host-1-mgmt: =====================================================
>         host-1-mgmt: IPMI 1.5 Get Channel Authentication Capabilities Response
>         host-1-mgmt: =====================================================
>         host-1-mgmt: RMCP Header:
>         host-1-mgmt: ------------
>         host-1-mgmt: [               6h] = version[ 8b]
>         host-1-mgmt: [               0h] = reserved[ 8b]
>         host-1-mgmt: [              FFh] = sequence_number[ 8b]
>         host-1-mgmt: [               7h] = message_class.class[ 5b]
>         host-1-mgmt: [               0h] = message_class.reserved[ 2b]
>         host-1-mgmt: [               0h] = message_class.ack[ 1b]
>         host-1-mgmt: IPMI Session Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [               0h] = authentication_type[ 8b]
>         host-1-mgmt: [               0h] = session_sequence_number[32b]
>         host-1-mgmt: [               0h] = session_id[32b]
>         host-1-mgmt: [              10h] = ipmi_msg_len[ 8b]
>         host-1-mgmt: IPMI Message Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [              81h] = rq_addr[ 8b]
>         host-1-mgmt: [               0h] = rq_lun[ 2b]
>         host-1-mgmt: [               7h] = net_fn[ 6b]
>         host-1-mgmt: [              63h] = checksum1[ 8b]
>         host-1-mgmt: [              20h] = rs_addr[ 8b]
>         host-1-mgmt: [               0h] = rs_lun[ 2b]
>         host-1-mgmt: [              1Bh] = rq_seq[ 6b]
>         host-1-mgmt: IPMI Command Data:
>         host-1-mgmt: ------------------
>         host-1-mgmt: [              38h] = cmd[ 8b]
>         host-1-mgmt: [               0h] = comp_code[ 8b]
>         host-1-mgmt: [               1h] = channel_number[ 8b]
>         host-1-mgmt: [               0h] = authentication_type.none[ 1b]
>         host-1-mgmt: [               1h] = authentication_type.md2[ 1b]
>         host-1-mgmt: [               1h] = authentication_type.md5[ 1b]
>         host-1-mgmt: [               0h] = authentication_type.reserved1[ 1b]
>         host-1-mgmt: [               0h] = 
> authentication_type.straight_password_key[ 1b]
>         host-1-mgmt: [               0h] = authentication_type.oem_prop[ 1b]
>         host-1-mgmt: [               0h] = authentication_type.reserved2[ 1b]
>         host-1-mgmt: [               0h] = 
> authentication_type.ipmi_v2.0_extended_capabilities_available[ 1b]
>         host-1-mgmt: [               0h] = 
> authentication_status.anonymous_login[ 1b]
>         host-1-mgmt: [               0h] = 
> authentication_status.null_username[ 1b]
>         host-1-mgmt: [               1h] = 
> authentication_status.non_null_username[ 1b]
>         host-1-mgmt: [               1h] = 
> authentication_status.user_level_authentication[ 1b]
>         host-1-mgmt: [               1h] = 
> authentication_status.per_message_authentication[ 1b]
>         host-1-mgmt: [               0h] = authentication_status.k_g[ 1b]
>         host-1-mgmt: [               0h] = authentication_status.reserved[ 2b]
>         host-1-mgmt: [               0h] = 
> channel_supports_ipmi_v1.5_connections[ 1b]
>         host-1-mgmt: [               0h] = 
> channel_supports_ipmi_v2.0_connections[ 1b]
>         host-1-mgmt: [               0h] = reserved[ 6b]
>         host-1-mgmt: [               0h] = oem_id[24b]
>         host-1-mgmt: [               0h] = oem_auxiliary_data[ 8b]
>         host-1-mgmt: IPMI Trailer:
>         host-1-mgmt: --------------
>         host-1-mgmt: [              19h] = checksum2[ 8b]
>         host-1-mgmt: =====================================================
>         host-1-mgmt: IPMI 1.5 Get Session Challenge Request
>         host-1-mgmt: =====================================================
>         host-1-mgmt: RMCP Header:
>         host-1-mgmt: ------------
>         host-1-mgmt: [               6h] = version[ 8b]
>         host-1-mgmt: [               0h] = reserved[ 8b]
>         host-1-mgmt: [              FFh] = sequence_number[ 8b]
>         host-1-mgmt: [               7h] = message_class.class[ 5b]
>         host-1-mgmt: [               0h] = message_class.reserved[ 2b]
>         host-1-mgmt: [               0h] = message_class.ack[ 1b]
>         host-1-mgmt: IPMI Session Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [               0h] = authentication_type[ 8b]
>         host-1-mgmt: [               0h] = session_sequence_number[32b]
>         host-1-mgmt: [               0h] = session_id[32b]
>         host-1-mgmt: [              18h] = ipmi_msg_len[ 8b]
>         host-1-mgmt: IPMI Message Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [              20h] = rs_addr[ 8b]
>         host-1-mgmt: [               0h] = rs_lun[ 2b]
>         host-1-mgmt: [               6h] = net_fn[ 6b]
>         host-1-mgmt: [              C8h] = checksum1[ 8b]
>         host-1-mgmt: [              81h] = rq_addr[ 8b]
>         host-1-mgmt: [               0h] = rq_lun[ 2b]
>         host-1-mgmt: [              1Ch] = rq_seq[ 6b]
>         host-1-mgmt: IPMI Command Data:
>         host-1-mgmt: ------------------
>         host-1-mgmt: [              39h] = cmd[ 8b]
>         host-1-mgmt: [               2h] = authentication_type[ 4b]
>         host-1-mgmt: [               0h] = reserved[ 4b]
>         host-1-mgmt: [  BYTE ARRAY ... ] = user_name[16B]
>         host-1-mgmt: [ 61h 64h 6Dh 69h 6Eh 00h 00h 00h ]
>         host-1-mgmt: [ 00h 00h 00h 00h 00h 00h 00h 00h ]
>         host-1-mgmt: IPMI Trailer:
>         host-1-mgmt: --------------
>         host-1-mgmt: [              CBh] = checksum2[ 8b]
>         (ipmipower_powercmd.c, _retry_packets, 1369): host = lotus-23-mgmt; p 
> = 2; Sending retry, retry count=1
>         host-1-mgmt: =====================================================
>         host-1-mgmt: IPMI 1.5 Get Session Challenge Request
>         host-1-mgmt: =====================================================
>         host-1-mgmt: RMCP Header:
>         host-1-mgmt: ------------
>         host-1-mgmt: [               6h] = version[ 8b]
>         host-1-mgmt: [               0h] = reserved[ 8b]
>         host-1-mgmt: [              FFh] = sequence_number[ 8b]
>         host-1-mgmt: [               7h] = message_class.class[ 5b]
>         host-1-mgmt: [               0h] = message_class.reserved[ 2b]
>         host-1-mgmt: [               0h] = message_class.ack[ 1b]
>         host-1-mgmt: IPMI Session Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [               0h] = authentication_type[ 8b]
>         host-1-mgmt: [               0h] = session_sequence_number[32b]
>         host-1-mgmt: [               0h] = session_id[32b]
>         host-1-mgmt: [              18h] = ipmi_msg_len[ 8b]
>         host-1-mgmt: IPMI Message Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [              20h] = rs_addr[ 8b]
>         host-1-mgmt: [               0h] = rs_lun[ 2b]
>         host-1-mgmt: [               6h] = net_fn[ 6b]
>         host-1-mgmt: [              C8h] = checksum1[ 8b]
>         host-1-mgmt: [              81h] = rq_addr[ 8b]
>         host-1-mgmt: [               0h] = rq_lun[ 2b]
>         host-1-mgmt: [              1Dh] = rq_seq[ 6b]
>         host-1-mgmt: IPMI Command Data:
>         host-1-mgmt: ------------------
>         host-1-mgmt: [              39h] = cmd[ 8b]
>         host-1-mgmt: [               2h] = authentication_type[ 4b]
>         host-1-mgmt: [               0h] = reserved[ 4b]
>         host-1-mgmt: [  BYTE ARRAY ... ] = user_name[16B]
>         host-1-mgmt: [ 61h 64h 6Dh 69h 6Eh 00h 00h 00h ]
>         host-1-mgmt: [ 00h 00h 00h 00h 00h 00h 00h 00h ]
>         host-1-mgmt: IPMI Trailer:
>         host-1-mgmt: --------------
>         host-1-mgmt: [              C7h] = checksum2[ 8b]
>         (ipmipower_powercmd.c, _retry_packets, 1369): host = lotus-23-mgmt; p 
> = 2; Sending retry, retry count=2
>         host-1-mgmt: =====================================================
>         host-1-mgmt: IPMI 1.5 Get Session Challenge Request
>         host-1-mgmt: =====================================================
>         host-1-mgmt: RMCP Header:
>         host-1-mgmt: ------------
>         host-1-mgmt: [               6h] = version[ 8b]
>         host-1-mgmt: [               0h] = reserved[ 8b]
>         host-1-mgmt: [              FFh] = sequence_number[ 8b]
>         host-1-mgmt: [               7h] = message_class.class[ 5b]
>         host-1-mgmt: [               0h] = message_class.reserved[ 2b]
>         host-1-mgmt: [               0h] = message_class.ack[ 1b]
>         host-1-mgmt: IPMI Session Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [               0h] = authentication_type[ 8b]
>         host-1-mgmt: [               0h] = session_sequence_number[32b]
>         host-1-mgmt: [               0h] = session_id[32b]
>         host-1-mgmt: [              18h] = ipmi_msg_len[ 8b]
>         host-1-mgmt: IPMI Message Header:
>         host-1-mgmt: --------------------
>         host-1-mgmt: [              20h] = rs_addr[ 8b]
>         host-1-mgmt: [               0h] = rs_lun[ 2b]
>         host-1-mgmt: [               6h] = net_fn[ 6b]
>         host-1-mgmt: [              C8h] = checksum1[ 8b]
>         host-1-mgmt: [              81h] = rq_addr[ 8b]
>         host-1-mgmt: [               0h] = rq_lun[ 2b]
>         host-1-mgmt: [              1Eh] = rq_seq[ 6b]
>         host-1-mgmt: IPMI Command Data:
>         host-1-mgmt: ------------------
>         host-1-mgmt: [              39h] = cmd[ 8b]
>         host-1-mgmt: [               2h] = authentication_type[ 4b]
>         host-1-mgmt: [               0h] = reserved[ 4b]
>         host-1-mgmt: [  BYTE ARRAY ... ] = user_name[16B]
>         host-1-mgmt: [ 61h 64h 6Dh 69h 6Eh 00h 00h 00h ]
>         host-1-mgmt: [ 00h 00h 00h 00h 00h 00h 00h 00h ]
>         host-1-mgmt: IPMI Trailer:
>         host-1-mgmt: --------------
>         host-1-mgmt: [              C3h] = checksum2[ 8b]
>         (ipmipower_powercmd.c, _retry_packets, 1369): host = lotus-23-mgmt; p 
> = 2; Sending retry, retry count=3
>         ...
>         host-1-mgmt: session timeout
>         ipmipower> 
>         
>         
>         Any ideas?
>         
>         Cheers,
>         b.
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

[Prev in Thread] Current Thread [Next in Thread]