freeipmi-devel
[Top][All Lists]
Advanced

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

Re: [Freeipmi-devel] ipmi_ctx_find_inband: device already open


From: Albert Chu
Subject: Re: [Freeipmi-devel] ipmi_ctx_find_inband: device already open
Date: Mon, 13 Sep 2010 10:57:45 -0700

Hey Kenneth,

This is a different problem, so the other problem was fixed.

As for this one, it appears the "Get SDR Repository Info" command just
isn't supported on your motherboard.  But this is working when the
kernel drivers are loaded?

Al

On Mon, 2010-09-13 at 10:30 -0700, Kenneth Stailey wrote:
> Patch applied and modules not loaded
> 
> $ sudo /opt/freeipmi/sbin/ipmi-sensors
> ipmi-api-util.c: 253: api_ipmi_cmd: error 'Cannot execute command. Command, 
> or request parameter(s), not supported in present state.' (213)
> ipmi-sdr-repository-cmds-api.c: 89: ipmi_cmd_get_sdr_repository_info: error 
> 'bad completion code' (22)
> ipmi-sdr-cache-common.c: 100: ipmi_sdr_cache_info: error 'internal IPMI 
> error' (20)
> ipmi_sdr_cache_open: 
> /root/.freeipmi/sdr-cache/sdr-cache-molybdenum.localhost: internal IPMI error
> 
> --- On Mon, 9/13/10, Albert Chu <address@hidden> wrote:
> 
> > From: Albert Chu <address@hidden>
> > Subject: Re: [Freeipmi-devel] ipmi_ctx_find_inband: device already open
> > To: "Kenneth Stailey" <address@hidden>
> > Cc: "address@hidden" <address@hidden>
> > Date: Monday, September 13, 2010, 1:14 PM
> > Hi Kenneth,
> > 
> > If you could try the patch w/o those modules installed I'd
> > appreciate
> > it.  In the function, I "probe" looking for an
> > interface to do inband
> > IPMI with.  The below gets around the problem by
> > finding an interface
> > earlier in the probe, so the bug is never reached, but it's
> > still there.
> > 
> > Thanks,
> > Al
> > 
> > On Mon, 2010-09-13 at 10:01 -0700, Kenneth Stailey wrote:
> > > I got it working without the patch.  I had to run
> > modprobe to install these:
> > > 
> > > ipmi_si           
> >     57164  0 
> > > ipmi_devintf       
> >    20624  0 
> > > ipmi_msghandler        50680 
> > 2 ipmi_si,ipmi_devintf
> > > 
> > > 
> > > --- On Mon, 9/13/10, Albert Chu <address@hidden>
> > wrote:
> > > 
> > > > From: Albert Chu <address@hidden>
> > > > Subject: Re: [Freeipmi-devel]
> > ipmi_ctx_find_inband: device already open
> > > > To: "Kenneth Stailey" <address@hidden>
> > > > Cc: "address@hidden"
> > <address@hidden>
> > > > Date: Monday, September 13, 2010, 12:46 PM
> > > > Hey Kenneth,
> > > > 
> > > > Doh!  I didn't fall through on a error case
> > > > correctly.  Does the
> > > > attached patch fix the problem?
> > > > 
> > > > cd freeipmi-0-8-9/
> > > > patch -p0 < fallthrough.patch
> > > > 
> > > > Al
> > > > 
> > > > On Mon, 2010-09-13 at 05:09 -0700, Kenneth
> > Stailey wrote:
> > > > > 
> > > > > $ sudo /opt/freeipmi/sbin/ipmi-sensors
> > > > > ipmi-openipmi-driver.c: 379:
> > > > ipmi_openipmi_ctx_io_init: errno '' (2)
> > > > > ipmi-api.c: 1004: ipmi_ctx_open_inband:
> > error 'device
> > > > not found' (5)
> > > > > ipmi-sunbmc-driver.c: 330:
> > ipmi_sunbmc_ctx_io_init:
> > > > errno '' (2)
> > > > > ipmi-api.c: 1031: ipmi_ctx_open_inband:
> > error 'device
> > > > not found' (5)
> > > > > ipmi-api.c: 849: ipmi_ctx_open_inband: error
> > 'device
> > > > not supported' (17)
> > > > > ipmi-locate-dmidecode.c: 562:
> > > > ipmi_locate_dmidecode_get_device_info: error
> > 'internal
> > > > system error' (6)
> > > > > ipmi-locate-smbios.c: 411:
> > _copy_ipmi_dev_info: error
> > > > 'internal system error' (6)
> > > > > ipmi-locate-pci.c: 301:
> > > > ipmi_locate_pci_get_device_info: error 'internal
> > system
> > > > error' (6)
> > > > > ipmi-locate.c: 161:
> > _ipmi_locate_get_device_info:
> > > > error 'internal system error' (6)
> > > > > ipmi-api.c: 778: ipmi_ctx_open_inband: error
> > 'device
> > > > already open' (15)
> > > > > ipmi_ctx_find_inband: device already open
> > > > > 
> > > > > --- On Fri, 9/10/10, Albert Chu <address@hidden>
> > > > wrote:
> > > > > 
> > > > > > From: Albert Chu <address@hidden>
> > > > > > Subject: Re: [Freeipmi-devel]
> > > > ipmi_ctx_find_inband: device already open
> > > > > > To: "Kenneth Stailey" <address@hidden>
> > > > > > Cc: "address@hidden"
> > > > <address@hidden>
> > > > > > Date: Friday, September 10, 2010, 5:28
> > PM
> > > > > > Hey Kenneth,
> > > > > > 
> > > > > > I looked through to code to see what
> > might
> > > > possibly cause
> > > > > > this, but I
> > > > > > can't find anything.  Do you think
> > you could
> > > > download
> > > > > > the .tar.gz and
> > > > > > compile with debugging to get me some
> > extra
> > > > info?  To
> > > > > > compile w/
> > > > > > debugging, specify --enable-debug and
> > > > --enable-trace in
> > > > > > ./configure.
> > > > > > 
> > > > > > Thanks,
> > > > > > Al
> > > > > > 
> > > > > > On Fri, 2010-09-10 at 12:57 -0700,
> > Kenneth
> > > > Stailey wrote:
> > > > > > > $ lsb_release -d
> > > > > > > Description:    Ubuntu
> > 8.04.4 LTS
> > > > > > > 
> > > > > > > $ uname -srv
> > > > > > > Linux 2.6.24-28-server #1 SMP Wed
> > Aug 25
> > > > 14:46:03 UTC
> > > > > > 2010
> > > > > > > 
> > > > > > > $ echo `sudo dmidecode -s
> > > > system-manufacturer ; sudo
> > > > > > dmidecode -s system-product-name`
> > > > > > > HP ProLiant DL145 G1
> > > > > > > 
> > > > > > > $ sudo ipmi-sensors --version
> > > > > > > ipmi-sensors - 0.8.9
> > > > > > > Copyright (C) 2003-2010 FreeIPMI
> > Core Team
> > > > > > > This program is free software; you
> > may
> > > > redistribute it
> > > > > > under the terms of
> > > > > > > the GNU General Public
> > License.  This
> > > > program has
> > > > > > absolutely no warranty.
> > > > > > > 
> > > > > > > $ sudo ipmi-sensors
> > > > > > > ipmi_ctx_find_inband: device
> > already open
> > > > > > > 
> > > > > > > Please help, thanks.
> > > > > > > 
> > > > > > > 
> > > > > > >
> > > > _______________________________________________
> > > > > > > Freeipmi-devel mailing list
> > > > > > > address@hidden
> > > > > > > http://****lists.gnu.org/mailman/listinfo/freeipmi-devel
> > > > > > > 
> > > > > > -- 
> > > > > > Albert Chu
> > > > > > address@hidden
> > > > > > Computer Scientist
> > > > > > High Performance Systems Division
> > > > > > Lawrence Livermore National Laboratory
> > > > > > 
> > > > > > 
> > > > > 
> > > > -- 
> > > > Albert Chu
> > > > address@hidden
> > > > Computer Scientist
> > > > High Performance Systems Division
> > > > Lawrence Livermore National Laboratory
> > > > 
> > > 
> > -- 
> > Albert Chu
> > address@hidden
> > Computer Scientist
> > High Performance Systems Division
> > Lawrence Livermore National Laboratory
> > 
> > 
> 
-- 
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]