bugGNU FreeIPMI - Bugs: bug #13076, ipmi_lan_open_session error -1...

 
 

bug #13076: ipmi_lan_open_session error -1 with libfreeipmi-0.1.3

Submitted by:  None
Submitted on:  Fri 13 May 2005 03:58:49 PM UTC  
 
Category: libfreeipmiSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper Behaviour
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Operating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 13 May 2005 05:19:17 PM UTC, comment #1:

patch was applied post 0.1.3 :-(

Its already in 0.2.0

Al

Albert Chu <chu11>
Project Administrator
Fri 13 May 2005 03:58:49 PM UTC, original submission:

This is an old problem that I solved with 0.1.0, but it resurfaced again with 0.1.3.

ipmi_lan_open_session always returns -1 on my i686 systems.

Below is the patch I applied to resolve it again.

--- ipmi-lan-interface.c.orig 2005-05-13 11:09:07.000000000 -0400
+++ ipmi-lan-interface.c 2005-05-13 11:12:30.000000000 -0400
@@ -108,7 +108,7 @@
{
if ((net_fn > IPMI_NET_FN_TRANSPORT_RS)
|| (rs_lun > IPMI_BMC_IPMB_LUN_OEM_LUN2)
- || (rq_seq > IPMI_LAN_SEQ_NUM_MAX)
+ /* || (rq_seq > IPMI_LAN_SEQ_NUM_MAX) * ARCress */
|| (obj_msg == NULL))
{
errno = EINVAL;
@@ -690,6 +690,7 @@
memset (pkt, 0, _pkt_len);
ERR (pkt);

+ fromlen = sizeof(struct sockaddr); /bug fix from 0.1.0, ARCress /
pkt_len = ipmi_lan_recvfrom (sockfd, pkt, _pkt_len, 0, (struct sockaddr *)&from,
&fromlen);
ERR (pkt_len != -1);

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Fri 13 May 2005 05:19:17 PM UTCchu11Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1