Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-22 Thread Zdenek Styblik
On Thu, Dec 15, 2011 at 5:33 AM, Zdenek Styblik wrote: [...] >> That would be good if we can add some default timeout also if the user has >> not given any timeout. >> Else we will always be blocked if there is no response on that fd if the >> user has not provided. >> Like default of 2 or 5 sec

Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-15 Thread Zdenek Styblik
On Thu, Dec 15, 2011 at 3:29 PM, Corey Minyard wrote: [...] ~~~ 'src/plugins/open/open.c' ~~~       if (select(intf->fd+1,&rset, NULL, NULL, NULL)<    0) {               lperror(LOG_ERR, "I/O Error");               return NULL;       } ~~~ 'src/plugins/open/open.c' ~~

Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-15 Thread Corey Minyard
On 12/14/2011 10:23 PM, Zdenek Styblik wrote: > On Thu, Dec 15, 2011 at 12:28 AM, Corey Minyard wrote: >> On 12/14/2011 06:26 AM, Zdenek Styblik wrote: >>> Hello, >>> >>> as you may have noticed, there was thread about ipmitool getting >>> stucked. I dug into this issue and found the problem. >>>

Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-14 Thread Zdenek Styblik
On Wed, Dec 14, 2011 at 4:39 PM, Harshad Prabhu (hprabhu) wrote: > Hi Zdenek, > > Please find my comments below. > [...] > > That would be good if we can add some default timeout also if the user has > not given any timeout. > Else we will always be blocked if there is no response on that fd if t

Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-14 Thread Zdenek Styblik
On Thu, Dec 15, 2011 at 12:28 AM, Corey Minyard wrote: > On 12/14/2011 06:26 AM, Zdenek Styblik wrote: >> Hello, >> >> as you may have noticed, there was thread about ipmitool getting >> stucked. I dug into this issue and found the problem. >> >> Line to blame is: >> ~~~ 'src/plugins/open/open.c'

Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-14 Thread Corey Minyard
On 12/14/2011 06:26 AM, Zdenek Styblik wrote: > Hello, > > as you may have noticed, there was thread about ipmitool getting > stucked. I dug into this issue and found the problem. > > Line to blame is: > ~~~ 'src/plugins/open/open.c' ~~~ > if (select(intf->fd+1,&rset, NULL, NULL, NULL)< 0) {

Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-14 Thread Albert Chu
On Wed, 2011-12-14 at 04:26 -0800, Zdenek Styblik wrote: > Hello, > > as you may have noticed, there was thread about ipmitool getting > stucked. I dug into this issue and found the problem. > > Line to blame is: > ~~~ 'src/plugins/open/open.c' ~~~ > if (select(intf->fd+1, &rset, NULL, NULL

Re: [Ipmitool-devel] Time-out for KCS resp. open interface driver

2011-12-14 Thread Harshad Prabhu (hprabhu)
Hi Zdenek, Please find my comments below. >-Original Message- >From: Zdenek Styblik [mailto:zdenek.styb...@gmail.com] >Sent: Wednesday, December 14, 2011 5:56 PM >To: ipmitool-devel >Cc: Harshad Prabhu (hprabhu); Andy Cress >Subject: Time-out for KCS resp. open interface driver > >Hello,