Dell - Internal Use - Confidential  

Hi Kilian,

Thank you for reporting the issue, we are currently working on mapping all 
category strings to two-letter codes. This will be in DSU production soon. We 
would require some more information to analyze the system inventory crash. We 
will start a new thread to get more details.

Thanks,
Soorej

-----Original Message-----
From: linux-poweredge-bounces-Lists On Behalf Of Kilian Cavalotti
Sent: Friday, September 22, 2017 1:16 AM
To: linux-poweredge-Lists <[email protected]>
Subject: [Linux-PowerEdge] DSU errors

Hi there,

I'd like to report some additional issues with DSU.

1. Short options don't work
=====================

-- 8< ---------------------------------------------------------
# dsu -c "iDRAC with Lifecycle Controller"
Unknown Option iDRAC with Lifecycle Controller

Usage: dsu [OPTION]...
       Options:
       -h,   --help                                     Help
       -v,   --version                                  Version
       -i,   --inventory                                Perform Inventory
       -n,-q --non-interactive                          Non-interactive mode
       -g,   --get-categories                           Get category values
       -c,   --category=<CATEGORY1,CATEGORY2,...>       List only
updates of <CATEGORY1,...> categories
[...]
-- 8< ---------------------------------------------------------

The following form works:
-- 8< ---------------------------------------------------------
$ dsu -c="iDRAC with Lifecycle Controller"
-- 8< ---------------------------------------------------------
but that's not how short options are supposed to work. The equal sign is 
usually only used for long options, ie:

$ command -o option
$ command --long-option=option


2. Category names are all over the place ===============================

It would be great to get some consistency here:
-- 8< ---------------------------------------------------------
# dsu -g
DELL EMC System Update 1.5.0
Copyright (C) 2014 DELL EMC Proprietary.
Verifying catalog installation ...
Installing catalog from repository ...
Fetching dsucatalog ...
Reading the catalog ...
Category Value          : Category Name
--------------            -------------
AS                      : SAS Drive
BI                      : BIOS
CE                      : Chassis System Management
DD                      : Drivers for OS Deployment
DI                      : Diagnostics
ES                      : Embedded Server Management
Express Flash PCIe SSD                  : Express Flash PCIe SSD
FC                      : Fibre Channel
FW                      : Firmware
Lifecycle Controller_Legacy                     : Lifecycle Controller (Legacy)
NI                      : Network
PC                      : PCIe SSS
SA                      : Serial ATA
SE                      : SAS Non-RAID
SF                      : SAS RAID
SM                      : Systems Management
SV                      : Lifecycle Controller
TH                      : Tape Devices
iDRAC with Lifecycle Controller                 : iDRAC with Lifecycle
Controller
Exiting DSU!
-- 8< ---------------------------------------------------------

Two-letter code for each category seems like a reachable goal. So what about 
shortening "iDRAC with Lifecycle Controller" or "Express Flash PCIe SSD" too?


3. Crash when collecting inventory
==========================

-- 8< ---------------------------------------------------------
# dsu -c="iDRAC with Lifecycle Controller" -i DELL EMC System Update 1.5.0 
Copyright (C) 2014 DELL EMC Proprietary.
Verifying catalog installation ...
Installing catalog from repository ...
Fetching dsucatalog ...
Reading the catalog ...
Verifying inventory collector installation ...
Getting System Inventory ...
*** glibc detected *** sasdupie: free(): invalid next size (fast):
0x00000000022f23f0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3222c75f4e]
/lib64/libc.so.6[0x3222c78cf0]
./libmvraid.so(_ZN22LinuxSystemDiskScanner10scanOSDiskEv+0x2b7)[0x7ffbae4968ad]
./libmvraid.so(_ZN22LinuxSystemDiskScanner4scanEv+0x15)[0x7ffbae496959]
./libmvraid.so(OSCheckManagement_init+0x36)[0x7ffbae494da4]
./libmvraid.so(inter_MV_API_Initialize+0x92)[0x7ffbae498a76]
./libmvraid.so(MV_API_Initialize+0x85)[0x7ffbae48172a]
sasdupie(_ZN6mv_api12MvCtrlLibAPI28MarvCtrlInitAndInstallDriverEv+0x17)[0x577157]
sasdupie(_ZN22MvCtrlDeviceEnumeratorC1Ev+0x85)[0x4b50d5]
sasdupie(_ZN10DUPWrapperC1Ev+0xc7)[0x433497]
sasdupie(main+0x39)[0x464129]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3222c1ed5d]
sasdupie(__gxx_personality_v0+0x112)[0x42e5ca]
======= Memory map: ========
00400000-005f0000 r-xp 00000000 fd:07 1836074
  /opt/dell/invcol_4FJY0_LN64_17.09.000.1251_A00.b2YXtWYbIl/SAS/sasdupie
006f0000-006f4000 rw-p 001f0000 fd:07 1836074
  /opt/dell/invcol_4FJY0_LN64_17.09.000.1251_A00.b2YXtWYbIl/SAS/sasdupie
006f4000-00702000 rw-p 00000000 00:00 0
022e2000-02303000 rw-p 00000000 00:00 0                                  [heap]
3222800000-3222820000 r-xp 00000000 fd:07 6291514
  /lib64/ld-2.12.so
3222a1f000-3222a20000 r--p 0001f000 fd:07 6291514
  /lib64/ld-2.12.so
3222a20000-3222a21000 rw-p 00020000 fd:07 6291514
  /lib64/ld-2.12.so
3222a21000-3222a22000 rw-p 00000000 00:00 0
3222c00000-3222d8a000 r-xp 00000000 fd:07 6291517
  /lib64/libc-2.12.so
3222d8a000-3222f8a000 ---p 0018a000 fd:07 6291517
  /lib64/libc-2.12.so
3222f8a000-3222f8e000 r--p 0018a000 fd:07 6291517
  /lib64/libc-2.12.so
3222f8e000-3222f8f000 rw-p 0018e000 fd:07 6291517
  /lib64/libc-2.12.so
3222f8f000-3222f94000 rw-p 00000000 00:00 0
3223000000-3223002000 r-xp 00000000 fd:07 6291572
  /lib64/libdl-2.12.so
3223002000-3223202000 ---p 00002000 fd:07 6291572
  /lib64/libdl-2.12.so
3223202000-3223203000 r--p 00002000 fd:07 6291572
  /lib64/libdl-2.12.so
3223203000-3223204000 rw-p 00003000 fd:07 6291572
  /lib64/libdl-2.12.so
3223400000-3223417000 r-xp 00000000 fd:07 6291520
  /lib64/libpthread-2.12.so
3223417000-3223617000 ---p 00017000 fd:07 6291520
  /lib64/libpthread-2.12.so
3223617000-3223618000 r--p 00017000 fd:07 6291520
  /lib64/libpthread-2.12.so
3223618000-3223619000 rw-p 00018000 fd:07 6291520
  /lib64/libpthread-2.12.so
3223619000-322361d000 rw-p 00000000 00:00 0
3223800000-3223883000 r-xp 00000000 fd:07 6291569
  /lib64/libm-2.12.so
3223883000-3223a82000 ---p 00083000 fd:07 6291569
  /lib64/libm-2.12.so
3223a82000-3223a83000 r--p 00082000 fd:07 6291569
  /lib64/libm-2.12.so
3223a83000-3223a84000 rw-p 00083000 fd:07 6291569
  /lib64/libm-2.12.so
3224000000-3224015000 r-xp 00000000 fd:07 6291571
  /lib64/libz.so.1.2.3
3224015000-3224214000 ---p 00015000 fd:07 6291571
  /lib64/libz.so.1.2.3
3224214000-3224215000 r--p 00014000 fd:07 6291571
  /lib64/libz.so.1.2.3
3224215000-3224216000 rw-p 00015000 fd:07 6291571
  /lib64/libz.so.1.2.3
3227400000-3227416000 r-xp 00000000 fd:07 6291595
  /lib64/libgcc_s-4.4.7-20120601.so.1
3227416000-3227615000 ---p 00016000 fd:07 6291595
  /lib64/libgcc_s-4.4.7-20120601.so.1
3227615000-3227616000 rw-p 00015000 fd:07 6291595
  /lib64/libgcc_s-4.4.7-20120601.so.1
322e400000-322e549000 r-xp 00000000 fd:07 2893220
  /usr/lib64/libxml2.so.2.7.6
322e549000-322e748000 ---p 00149000 fd:07 2893220
  /usr/lib64/libxml2.so.2.7.6
322e748000-322e752000 rw-p 00148000 fd:07 2893220
  /usr/lib64/libxml2.so.2.7.6
322e752000-322e753000 rw-p 00000000 00:00 0
322f400000-322f4e8000 r-xp 00000000 fd:07 2914730
  /usr/lib64/libstdc++.so.6.0.13
322f4e8000-322f6e8000 ---p 000e8000 fd:07 2914730
  /usr/lib64/libstdc++.so.6.0.13
322f6e8000-322f6ef000 r--p 000e8000 fd:07 2914730
  /usr/lib64/libstdc++.so.6.0.13
322f6ef000-322f6f1000 rw-p 000ef000 fd:07 2914730
  /usr/lib64/libstdc++.so.6.0.13
322f6f1000-322f706000 rw-p 00000000 00:00 0
7ffba8000000-7ffba8021000 rw-p 00000000 00:00 0
7ffba8021000-7ffbac000000 ---p 00000000 00:00 0
7ffbae462000-7ffbae4a6000 r-xp 00000000 fd:07 1835853
  
/opt/dell/invcol_4FJY0_LN64_17.09.000.1251_A00.b2YXtWYbIl/MarvellController/libmvraid.so
7ffbae4a6000-7ffbae6a6000 ---p 00044000 fd:07 1835853
  
/opt/dell/invcol_4FJY0_LN64_17.09.000.1251_A00.b2YXtWYbIl/MarvellController/libmvraid.so
7ffbae6a6000-7ffbae6a8000 rw-p 00044000 fd:07 1835853
  
/opt/dell/invcol_4FJY0_LN64_17.09.000.1251_A00.b2YXtWYbIl/MarvellController/libmvraid.so
7ffbae6a8000-7ffbae6b9000 rw-p 00000000 00:00 0
7ffbae6c5000-7ffbae6c7000 rw-p 00000000 00:00 0
7ffbae6c7000-7ffbae6c8000 rw-s 00000000 00:10 8321671
  /dev/shm/sem.Mvlg_ada_lock
7ffbae6c8000-7ffbae6d0000 rw-s 00000000 00:04 32769
  /SYSV30072109 (deleted)
7ffbae6d0000-7ffbae6d1000 rw-p 00000000 00:00 0
7ffc989b3000-7ffc989c8000 rw-p 00000000 00:00 0                          [stack]
7ffc989d7000-7ffc989d8000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
  [vsyscall]
-- 8< ---------------------------------------------------------


Cheers,
--
Kilian

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge

Reply via email to