Hello,

I tried to use freeipmi on SE7320VP2 Intel mainboard.

bmc-info (from FreeBSD ports) hangs, kdump output is as follows:

 69065 fish     RET   read 701/0x2bd
 69065 fish     CALL  select(0x400,0xbfbfe060,0xbfbfdfe0,0xbfbfdf60,0xbfbfdf58)
 69065 fish     RET   select 1
 69065 fish     CALL  read(0x6,0x8122000,0x1000)
 69065 fish     GIO   fd 6 read 0 bytes
       ""
 69065 fish     RET   read 0
 69065 fish     CALL  close(0x6)
 69065 fish     RET   close 0
 69065 fish     CALL  select(0x400,0xbfbfe680,0xbfbfe600,0xbfbfe580,0xbfbfe578)
 69065 fish     RET   select 1
 69065 fish     CALL  read(0x5,0x80b5000,0x1000)
 69065 fish     GIO   fd 5 read 0 bytes
       ""
 69065 fish     RET   read 0
 69065 fish     CALL  close(0x5)
 69065 fish     RET   close 0
 69065 fish     CALL  open(0x280b1196,0,0x28090100)
 69065 fish     NAMI  "/dev/mem"
 69065 fish     RET   open 5
 69065 fish     CALL  __sysctl(0xbfbfe9f8,0x2,0x2831d29c,0xbfbfe9f4,0,0)
 69065 fish     RET   __sysctl 0
 69065 fish     CALL  __sysctl(0xbfbfea18,0x2,0xbfbfea10,0xbfbfea14,0,0)
 69065 fish     RET   __sysctl 0
 69065 fish     CALL  mmap(0,0x10000,0x1,0x2,0x5,0,0xf0000,0)
 69065 fish     RET   mmap -1 errno 22 Invalid argument
 69065 fish     CALL  close(0x5)
 69065 fish     RET   close 0
 69065 fish     CALL  stat(0x280b641f,0xbfbfe670)
 69065 fish     NAMI  "/var/lib/freeipmi/ipckey"
 69065 fish     RET   stat 0
 69065 fish     CALL  semget(0x2566812,0x1,0x780)
 69065 fish     RET   semget -1 errno 17 File exists
 69065 fish     CALL  semget(0x2566812,0x1,0x380)
 69065 fish     RET   semget 65537/0x10001
 69065 fish     CALL  open(0x280b6438,0,0)
 69065 fish     NAMI  "/dev/io"
 69065 fish     RET   open 5
 69065 fish     CALL  stat(0xbfbfed74,0xbfbfeaa0)
 69065 fish     NAMI  "/usr/local/sbin/bmc-info"
 69065 fish     RET   stat 0
 69065 fish     CALL  sigprocmask(0x1,0,0xbfbfe9bc)
 69065 fish     RET   sigprocmask 0
 69065 fish     CALL  open(0x823cf40,0,0x1b6)
 69065 fish     NAMI  "/usr/local/sbin/bmc-info"
 69065 fish     RET   open 6
 69065 fish     CALL  fcntl(0x6,0x3,0)
 69065 fish     RET   fcntl 0
 69065 fish     CALL  lseek(0x6,0,0,0,0x1)
 69065 fish     RET   lseek 0
 69065 fish     CALL  fstat(0x6,0xbfbfe830)
 69065 fish     RET   fstat 0
 69065 fish     CALL  select(0x400,0xbfbfe680,0xbfbfe600,0xbfbfe580,0xbfbfe578)
 69065 fish     RET   select 1
 69065 fish     CALL  read(0x6,0x80b5000,0x1000)
 69065 fish     GIO   fd 6 read 236 bytes
       "#! /usr/local/sbin/fish -s
        !#
        (catch 'misc-error
               (lambda ()
                (bmc-info-main (fi-command-line)))
               (lambda (k args . opts)
                 (display "bmc-info: error: ")
                 (display (cadr opts))
                 (newline)))
        (fi-exit bmc-info-exit-status)
        
       "
 69065 fish     RET   read 236/0xec
 69065 fish     CALL  sigprocmask(0x1,0,0xbfbfe70c)
 69065 fish     RET   sigprocmask 0
 69065 fish     CALL  semop(0x10001,0x2811800e,0x1)
 69065 fish     RET   semop 0
 69065 fish     CALL  nanosleep(0xbfbfd7a8,0)
 69065 fish     RET   nanosleep 0
 69065 fish     CALL  nanosleep(0xbfbfd7a8,0)
 69065 fish     RET   nanosleep 0
 69065 fish     CALL  nanosleep(0xbfbfd7a8,0)
 69065 fish     RET   nanosleep 0
 69065 fish     CALL  nanosleep(0xbfbfd7a8,0)

I tried with latest CVS version (public access). Compilation failed,
gmake output included.
 
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -D_GNU_SOURCE -DFREEIPMI_BUILD 
-DFREEIPMI_LIBRARY -D_REENTRANT -g -O2 -MT ipmi-interface.lo -MD -MP -MF 
.deps/ipmi-interface.Tpo -c ipmi-interface.c  -fPIC -DPIC -o 
.libs/ipmi-interface.o
ipmi-interface.c: In function `ipmi_open_inband':
ipmi-interface.c:313: error: structure has no member named `private'
ipmi-interface.c:314: error: structure has no member named `private'
ipmi-interface.c: In function `ipmi_inband_close':
ipmi-interface.c:442: error: structure has no member named `private'
gmake[3]: *** [ipmi-interface.lo] Error 1
gmake[3]: Leaving directory `/root/freeipmi/libfreeipmi/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/freeipmi/libfreeipmi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/freeipmi'
gmake: *** [all] Error 2

After having looked at CVS logs, I assume that structure ipmi_device
have changed some time ago, and not all source files use new
structure. Is there a way to sucessfuly compile freeipmi which work on
SE7320VP2 Intel mainboard, SE7320VP2, SE7221BK1, SE7520JR2 Intel
boards (and other 1 U Intel platforms) or Tyan 2881 platform?


-- 
Pzdr
RK



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

Reply via email to