[OmniOS-discuss] IPMI on Dell R720

takashi ary takashiary at gmail.com
Mon Jun 3 13:25:46 EDT 2013


Hi dale,

The results below.

root at omnios:~#
root at omnios:~# truss -xall -tall -vall -wall -rall ipmitool fru
execve(0x08047FE6, 0x08047E64, 0x08047E70)  argc = 2
     0x08047FE6: "/usr/sbin/ipmitool"
sysinfo(5, 0x08047A87, 257)                     = 6
     0x08047A87: "i86pc"
mmap(0x00000000, 32, 0x0007, 0x0102, -1, 0)     = 0xFEFB0000
mmap(0x00000000, 4096, 0x0003, 0x0102, -1, 0)   = 0xFEFA0000
mmap(0x00000000, 4096, 0x0003, 0x0102, -1, 0)   = 0xFEF90000
mmap(0x00000000, 4096, 0x0007, 0x0102, -1, 0)   = 0xFEF80000
memcntl(0xFEFB6000, 47484, 4, 0x0003, 0, 0)     = 0
memcntl(0x08050000, 52328, 4, 0x0003, 0, 0)     = 0
resolvepath(0xFEF90020, 0x08047778, 1023)       = 12
     0xFEF90020: "/usr/lib/ld.so.1"
     0x08047778: "/lib/ld.so.1"
resolvepath(0xFEF9000D, 0x08047778, 1023)       = 18
     0xFEF9000D: "/usr/sbin/ipmitool"
     0x08047778: "/usr/sbin/ipmitool"
sysconfig(6)                                    = 4096
stat64(0xFEF9000D, 0x08047AF8)                  = 0
     0xFEF9000D: "/usr/sbin/ipmitool"
    d=0x02B10002 i=70588 m=0100555 l=1  u=0     g=2     sz=1101512
        at = May 28 15:05:39 JST 2013  [ 1369721139.517345846 ]
        mt = May 28 15:05:39 JST 2013  [ 1369721139.550195896 ]
        ct = May 28 15:05:39 JST 2013  [ 1369721139.550314355 ]
    bsz=131072 blks=973   fs=zfs
open(0xFEFE694A, 0, 0)                          Err#2 ENOENT
     0xFEFE694A: "/var/ld/ld.config"
stat64(0xFEF90048, 0x08047318)                  Err#2 ENOENT
     0xFEF90048: "/usr/sfw/lib/libm.so.2"
stat64(0xFEF9005F, 0x08047318)                  = 0
     0xFEF9005F: "/lib/libm.so.2"
    d=0x02B10002 i=3742  m=0100755 l=1  u=0     g=2     sz=343176
        at = May 16 17:00:07 JST 2013  [ 1368691207.302714978 ]
        mt = May  8 06:56:11 JST 2013  [ 1367963771.000000000 ]
        ct = May 16 14:59:28 JST 2013  [ 1368683968.181422283 ]
    bsz=131072 blks=773   fs=zfs
resolvepath(0xFEF9005F, 0x080473E0, 1023)       = 14
     0xFEF9005F: "/lib/libm.so.2"
     0x080473E0: "/lib/libm.so.2"
open(0xFEF9005F, 0, 0)                          = 3
     0xFEF9005F: "/lib/libm.so.2"
mmapobj(3, 0x20000, 0xFEF80AE8, 0x08047384, 0x00000000) = 0
close(3)                                        = 0
memcntl(0xFEBD0000, 25456, 4, 0x0003, 0, 0)     = 0
mmap(0x00000000, 4096, 0x0007, 0x0102, -1, 0)   = 0xFEF70000
stat64(0xFEF9007D, 0x08047318)                  Err#2 ENOENT
     0xFEF9007D: "/usr/sfw/lib/libsocket.so.1"
stat64(0xFEF90099, 0x08047318)                  = 0
     0xFEF90099: "/lib/libsocket.so.1"
    d=0x02B10002 i=70396 m=0100755 l=1  u=0     g=2     sz=74492
        at = May 27 18:39:10 JST 2013  [ 1369647550.030819652 ]
        mt = May 27 18:39:10 JST 2013  [ 1369647550.033246693 ]
        ct = May 27 18:39:10 JST 2013  [ 1369647550.033371174 ]
    bsz=74752 blks=93    fs=zfs
resolvepath(0xFEF90099, 0x080473E0, 1023)       = 19
     0xFEF90099: "/lib/libsocket.so.1"
     0x080473E0: "/lib/libsocket.so.1"
open(0xFEF90099, 0, 0)                          = 3
     0xFEF90099: "/lib/libsocket.so.1"
mmapobj(3, 0x20000, 0xFEF70110, 0x08047384, 0x00000000) = 0
close(3)                                        = 0
memcntl(0xFEF50000, 17040, 4, 0x0003, 0, 0)     = 0
stat64(0xFEF900B9, 0x08047318)                  Err#2 ENOENT
     0xFEF900B9: "/usr/sfw/lib/libnsl.so.1"
stat64(0xFEF900D2, 0x08047318)                  = 0
     0xFEF900D2: "/lib/libnsl.so.1"
    d=0x02B10002 i=70380 m=0100755 l=1  u=0     g=2     sz=542448
        at = May 27 18:39:09 JST 2013  [ 1369647549.962705069 ]
        mt = May 27 18:39:09 JST 2013  [ 1369647549.978942578 ]
        ct = May 27 18:39:09 JST 2013  [ 1369647549.979062036 ]
    bsz=131072 blks=692   fs=zfs
resolvepath(0xFEF900D2, 0x080473E0, 1023)       = 16
     0xFEF900D2: "/lib/libnsl.so.1"
     0x080473E0: "/lib/libnsl.so.1"
open(0xFEF900D2, 0, 0)                          = 3
     0xFEF900D2: "/lib/libnsl.so.1"
mmapobj(3, 0x20000, 0xFEF706F8, 0x08047384, 0x00000000) = 0
close(3)                                        = 0
memcntl(0xFEB30000, 78576, 4, 0x0003, 0, 0)     = 0
stat64(0xFEF900F6, 0x08047318)                  Err#2 ENOENT
     0xFEF900F6: "/usr/sfw/lib/libcrypto.so.1.0.0"
stat64(0xFEF90116, 0x08047318)                  = 0
     0xFEF90116: "/lib/libcrypto.so.1.0.0"
    d=0x02B10002 i=2577  m=0100555 l=1  u=0     g=2     sz=1885652
        at = May 16 15:13:22 JST 2013  [ 1368684802.165208543 ]
        mt = May  8 06:55:58 JST 2013  [ 1367963758.000000000 ]
        ct = May 16 14:59:27 JST 2013  [ 1368683967.788607698 ]
    bsz=131072 blks=3847  fs=zfs
resolvepath(0xFEF90116, 0x080473E0, 1023)       = 23
     0xFEF90116: "/lib/libcrypto.so.1.0.0"
     0x080473E0: "/lib/libcrypto.so.1.0.0"
open(0xFEF90116, 0, 0)                          = 3
     0xFEF90116: "/lib/libcrypto.so.1.0.0"
mmapobj(3, 0x20000, 0xFEF70CF8, 0x08047384, 0x00000000) = 0
close(3)                                        = 0
mmap(0x00000000, 4096, 0x0007, 0x0102, -1, 0)   = 0xFEDA0000
memcntl(0xFEDB0000, 319876, 4, 0x0003, 0, 0)    = 0
stat64(0xFEF90138, 0x08047318)                  Err#2 ENOENT
     0xFEF90138: "/usr/sfw/lib/libc.so.1"
stat64(0xFEF9014F, 0x08047318)                  = 0
     0xFEF9014F: "/lib/libc.so.1"
    d=0x02B10002 i=70152 m=0100755 l=1  u=0     g=2     sz=1570648
        at = May 27 18:39:09 JST 2013  [ 1369647549.051108737 ]
        mt = May 27 18:39:09 JST 2013  [ 1369647549.086174314 ]
        ct = May 27 18:39:09 JST 2013  [ 1369647549.086308518 ]
    bsz=131072 blks=1488  fs=lofs
resolvepath(0xFEF9014F, 0x080473E0, 1023)       = 14
     0xFEF9014F: "/lib/libc.so.1"
     0x080473E0: "/lib/libc.so.1"
open(0xFEF9014F, 0, 0)                          = 3
     0xFEF9014F: "/lib/libc.so.1"
mmapobj(3, 0x20000, 0xFEDA04D0, 0x08047384, 0x00000000) = 0
close(3)                                        = 0
memcntl(0xFEC50000, 244676, 4, 0x0003, 0, 0)    = 0
stat64(0xFEF90166, 0x08047318)                  Err#2 ENOENT
     0xFEF90166: "/lib/libz.so"
stat64(0xFEF90173, 0x08047318)                  = 0
     0xFEF90173: "/usr/lib/libz.so"
    d=0x02B10002 i=38050 m=0100755 l=1  u=0     g=2     sz=102460
        at = May 16 17:00:07 JST 2013  [ 1368691207.302677330 ]
        mt = May  8 06:55:58 JST 2013  [ 1367963758.000000000 ]
        ct = May 16 15:01:06 JST 2013  [ 1368684066.297446668 ]
    bsz=102912 blks=202   fs=zfs
resolvepath(0xFEF90173, 0x080473E0, 1023)       = 22
     0xFEF90173: "/usr/lib/libz.so"
     0x080473E0: "/usr/lib/libz.so.1.2.7"
open(0xFEF90173, 0, 0)                          = 3
     0xFEF90173: "/usr/lib/libz.so"
mmapobj(3, 0x20000, 0xFEDA0F00, 0x08047384, 0x00000000) = 0
close(3)                                        = 0
mmap(0x00000000, 4096, 0x0007, 0x0102, -1, 0)   = 0xFEC40000
memcntl(0xFE7E0000, 8020, 4, 0x0003, 0, 0)      = 0
mmap(0x00010000, 24576, 0x0007, 0x80000302, -1, 0) = 0xFEBC0000
context(0, 0x08047938)
getrlimit(3, 0x08047930)                        = 0
        cur = 10485760  max = RLIM_INFINITY
getpid()                                        = 21688 [21687]
lwp_private(0, 1, 0xFEBC2A40)                   = 0x000001C3
context(3, 0xFEBC2AA0)
sigpendsys(2, 0xFED9CFA0)                       = 0
        sigmask = 0xFFFFFFFF 0xFFFFFFFF 0x000000FF 0
sysi86(41, 0xFED9DF8C, 0x0000133F, 0x00001F80)  = 0x00000001
schedctl()                                      = 0xFEB23000
sigaction(0x00000002, 0x08047CA0, 0x08047D10)   = 0
    new: hand = 0xFED15A41 mask = 0xFFBFFEFF 0xFFFFFFFF 0x000000FF 0
flags = 0x0002
    old: hand = 0x00000000 mask = 0 0 0 0 flags = 0x0000
brk(0x081E2320)                                 = 0
brk(0x081E4320)                                 = 0
ioctl(1, 0x00005401, 0x08047B4E)                = 0
        iflag=0022402 oflag=0014005 cflag=0000275 lflag=0105073 line=0
            cc:  003 034 010 025 004 000 000 000
fstat64(1, 0x08047A90)                          = 0
    d=0x082C0000 i=1103126768 m=0020620 l=1  u=1000  g=7     rdev=0x03980001
        at = Jun  4 01:52:10 JST 2013  [ 1370278330.000000000 ]
        mt = Jun  4 01:52:19 JST 2013  [ 1370278339.000000000 ]
        ct = Jun  3 14:31:00 JST 2013  [ 1370237460.000000000 ]
    bsz=8192  blks=0     fs=dev
FRU Device Description : Builtin FRU Device (ID 0)
write(1, 0xFED9E3C4, 51)                        = 51
   F R U   D e v i c e   D e s c r i p t i o n   :   B u i l t i n
     F R U   D e v i c e   ( I D   0 )\n
open(0x08047B48, 02, 0)                         = 3
     0x08047B48: "/dev/ipmi0"
ioctl(3, 0x40046910, 0x08047B58)                Err#22 EINVAL
                read 4 bytes
fstat64(2, 0x08046B60)                          = 0
    d=0x082C0000 i=1103126768 m=0020620 l=1  u=1000  g=7     rdev=0x03980001
        at = Jun  4 01:52:10 JST 2013  [ 1370278330.000000000 ]
        mt = Jun  4 01:52:19 JST 2013  [ 1370278339.000000000 ]
        ct = Jun  3 14:31:00 JST 2013  [ 1370237460.000000000 ]
    bsz=8192  blks=0     fs=dev
Could not enable event receiverwrite(2, 0x0815F6C0, 31)                 = 31
   C o u l d   n o t   e n a b l e   e v e n t   r e c e i v e r
: write(2, 0xFED9DB54, 2)                               = 2
     0xFED9DB54: " :  "
Invalid argumentwrite(2, 0xFED285BD, 16)                        = 16
   I n v a l i d   a r g u m e n t

write(2, 0xFED9DB54, 1)                         = 1
     0xFED9DB54: "\n"
Get Device ID command failedwrite(2, 0x0815FAC0, 28)                    = 28
   G e t   D e v i c e   I D   c o m m a n d   f a i l e d

write(2, 0xFED9DB54, 1)                         = 1
     0xFED9DB54: "\n"
_exit(1)
root at omnios:~#


Thanks


2013/6/4 Dale Ghent <daleg at omniti.com>:
>
> Can you provide some truss output from a non-working ipmitool command?
>
> truss -xall -tall -vall -wall -rall ipmitool ….
>
> would suffice.
>
> Thanks
> /dale
>


More information about the OmniOS-discuss mailing list