• Accessing individual disk's SMART diagnostics behing a physical RAID

    From Yassine Chaouche@21:1/5 to All on Wed Mar 12 16:50:01 2025
    Dear list,

    I have 5 disks on my server,
    2x1 terabyte disks + 3x450 Gb disks,
    but smartctl and cciss_vol_status only show 3 disks.
    My controller is sg0 as shown in the output of lssci


    root@messagerie-recup[10.10.10.22] ~ # lsscsi -gs
    [1:0:0:0] cd/dvd hp DVD A DS8A5LH 1HE3 /dev/sr0 /dev/sg3 1.07GB
    [2:0:0:0] storage HP P420i 3.22 - /dev/sg0 -
    [2:1:0:0] disk HP LOGICAL VOLUME 3.22 /dev/sda /dev/sg1 450GB
    [2:1:0:1] disk HP LOGICAL VOLUME 3.22 /dev/sdb /dev/sg2 2.00TB
    root@messagerie-recup[10.10.10.22] ~ #


    and this is the output from cciss


    root@messagerie-recup[10.10.10.22] ~ # cciss_vol_status -V /dev/sg0
    Controller: Smart Array P420i
    Board ID: 0x3354103c
    Logical drives: 2
    Running firmware: 3.22
    ROM firmware: 3.22
    /dev/sda: (Smart Array P420i) RAID 1(1+0) Volume 0 status: Using interim recovery mode.
    Failed drives:
    connector 1I box 2 bay 2 HP EG0450FBLSF 6XQ1HLAJ0000B239FN4Z HPD7

    Total of 1 failed physical drives detected on this logical drive.
    /dev/sdb: (Smart Array P420i) RAID 5 Volume 1 status: Using interim recovery mode.
    Failed drives:
    connector 2I box 2 bay 6 HP MM1000FBFVR 9XG25D7Z00009248ZTUB HPD5

    Total of 1 failed physical drives detected on this logical drive.
    Physical drives: 3
    connector 1I box 2 bay 1 HP EG0450FBLSF 6XQ1HGMC0000B307B4YK HPD7 S.M.A.R.T. predictive failure.
    connector 2I box 2 bay 5 HP MM1000FBFVR 9XG2CG0J00009250NWN4 HPD5 OK
    connector 2I box 2 bay 7 HP MM1000FBFVR 9XG5RYDQ000094198GDT HPD8 OK
    /dev/sg0(Smart Array P420i:0): Non-Volatile Cache status:
    Cache configured: Yes
    Total cache memory: 816 MiB
    Cache Ratio: 10% Read / 90% Write
    Read cache memory: 82 MiB
    Write cache memory: 734 MiB
    Write cache enabled: Yes
    Flash backed cache present
    root@messagerie-recup[10.10.10.22] ~ #



    in particular, it says physical drives: 3
    smartctl also detects 3 drives:



    root@messagerie-recup[10.10.10.22] ~ # for i in {0..10}; do smartctl -a -d cciss,"$i" /dev/sg0 | grep -E '(User Capacity|Serial number|Logical Unit id)'; done
    User Capacity: 450,098,159,616 bytes [450 GB]
    Logical Unit id: 0x5000c5005a341ef7
    Serial number: 6XQ1HGMC0000B307B4YK
    User Capacity: 1,000,204,886,016 bytes [1.00 TB]
    Logical Unit id: 0x5000c500421e7a3f
    Serial number: 9XG2CG0J00009250NWN4
    User Capacity: 1,000,204,886,016 bytes [1.00 TB]
    Logical Unit id: 0x5000c50057d167ff
    Serial number: 9XG5RYDQ000094198GDT
    root@messagerie-recup[10.10.10.22] ~ #




    Halp!

    Best,

    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg@21:1/5 to Yassine Chaouche on Wed Mar 12 18:00:01 2025
    On 3/12/25 16:41, Yassine Chaouche wrote:
    Dear list,

    I have 5 disks on my server,
    2x1 terabyte disks + 3x450 Gb disks,
    but smartctl and cciss_vol_status only show 3 disks.
    My controller is sg0 as shown in the output of lssci


      root@messagerie-recup[10.10.10.22] ~ # lsscsi -gs
      [1:0:0:0]    cd/dvd  hp       DVD A  DS8A5LH   1HE3  /dev/sr0   /dev/
    sg3   1.07GB
      [2:0:0:0]    storage HP       P420i            3.22  -          /dev/
    sg0        -
      [2:1:0:0]    disk    HP       LOGICAL VOLUME   3.22  /dev/sda   /dev/
    sg1    450GB
      [2:1:0:1]    disk    HP       LOGICAL VOLUME   3.22  /dev/sdb   /dev/
    sg2   2.00TB
      root@messagerie-recup[10.10.10.22] ~ #


    and this is the output from cciss

      root@messagerie-recup[10.10.10.22] ~ # cciss_vol_status -V /dev/sg0
      Controller: Smart Array P420i
        Board ID: 0x3354103c
        Logical drives: 2
        Running firmware: 3.22
        ROM firmware: 3.22
      /dev/sda: (Smart Array P420i) RAID 1(1+0) Volume 0 status: Using
    interim recovery mode.
        Failed drives:
               connector 1I box 2 bay 2                  HP
    EG0450FBLSF                          6XQ1HLAJ0000B239FN4Z     HPD7
          Total of 1 failed physical drives detected on this logical drive.
      /dev/sdb: (Smart Array P420i) RAID 5 Volume 1 status: Using interim recovery mode.
        Failed drives:
               connector 2I box 2 bay 6                  HP
    MM1000FBFVR                          9XG25D7Z00009248ZTUB     HPD5
          Total of 1 failed physical drives detected on this logical drive.
        Physical drives: 3
               connector 1I box 2 bay 1                  HP
    EG0450FBLSF                          6XQ1HGMC0000B307B4YK     HPD7
    S.M.A.R.T. predictive failure.
               connector 2I box 2 bay 5                  HP
    MM1000FBFVR                          9XG2CG0J00009250NWN4     HPD5 OK
               connector 2I box 2 bay 7                  HP
    MM1000FBFVR                          9XG5RYDQ000094198GDT     HPD8 OK
      /dev/sg0(Smart Array P420i:0): Non-Volatile Cache status:
                         Cache configured: Yes
                       Total cache memory: 816 MiB
                              Cache Ratio: 10% Read / 90% Write
                        Read cache memory: 82 MiB
                       Write cache memory: 734 MiB
                      Write cache enabled: Yes
         Flash backed cache present
      root@messagerie-recup[10.10.10.22] ~ #



    in particular, it says physical drives: 3
    smartctl also detects 3 drives:



      root@messagerie-recup[10.10.10.22] ~ # for i in {0..10}; do smartctl
    -a -d cciss,"$i" /dev/sg0 | grep -E '(User Capacity|Serial number|
    Logical Unit id)'; done
      User Capacity:        450,098,159,616 bytes [450 GB]
      Logical Unit id:      0x5000c5005a341ef7
      Serial number:        6XQ1HGMC0000B307B4YK
      User Capacity:        1,000,204,886,016 bytes [1.00 TB]
      Logical Unit id:      0x5000c500421e7a3f
      Serial number:        9XG2CG0J00009250NWN4
      User Capacity:        1,000,204,886,016 bytes [1.00 TB]
      Logical Unit id:      0x5000c50057d167ff
      Serial number:        9XG5RYDQ000094198GDT
      root@messagerie-recup[10.10.10.22] ~ #

    According to my (very old) scripts you should use something like /dev/cciss/c1d0 instead of /dev//sg?. So try:
    smartctl -i -d cciss,$i /dev/cciss/c1d0

    Greg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Yassine Chaouche on Wed Mar 12 23:20:01 2025
    On Wed, Mar 12, 2025 at 04:41:06PM +0100, Yassine Chaouche wrote:
    I have 5 disks on my server,
    2x1 terabyte disks + 3x450 Gb disks,
    but smartctl and cciss_vol_status only show 3 disks.
    My controller is sg0 as shown in the output of lssci

    Two of the drives are dead, you're not going to see anything from them

    and this is the output from cciss

    root@messagerie-recup[10.10.10.22] ~ # cciss_vol_status -V /dev/sg0
    Controller: Smart Array P420i
    Board ID: 0x3354103c
    Logical drives: 2
    Running firmware: 3.22
    ROM firmware: 3.22
    /dev/sda: (Smart Array P420i) RAID 1(1+0) Volume 0 status: Using interim recovery mode.
    Failed drives:
    connector 1I box 2 bay 2 HP EG0450FBLSF 6XQ1HLAJ0000B239FN4Z HPD7
    Total of 1 failed physical drives detected on this logical drive.
    /dev/sdb: (Smart Array P420i) RAID 5 Volume 1 status: Using interim recovery mode.
    Failed drives:
    connector 2I box 2 bay 6 HP MM1000FBFVR 9XG25D7Z00009248ZTUB HPD5
    Total of 1 failed physical drives detected on this logical drive.
    Physical drives: 3
    connector 1I box 2 bay 1 HP EG0450FBLSF 6XQ1HGMC0000B307B4YK HPD7 S.M.A.R.T. predictive failure.
    connector 2I box 2 bay 5 HP MM1000FBFVR 9XG2CG0J00009250NWN4 HPD5 OK
    connector 2I box 2 bay 7 HP MM1000FBFVR 9XG5RYDQ000094198GDT HPD8 OK
    /dev/sg0(Smart Array P420i:0): Non-Volatile Cache status:
    Cache configured: Yes
    Total cache memory: 816 MiB
    Cache Ratio: 10% Read / 90% Write
    Read cache memory: 82 MiB
    Write cache memory: 734 MiB
    Write cache enabled: Yes
    Flash backed cache present
    root@messagerie-recup[10.10.10.22] ~ #



    in particular, it says physical drives: 3

    That's 3 working physical drives. This array is both strange and shot.
    It looks like thre was a raid 1 with a single 1TB drive, then a raid 5
    of 3 smaller drives and another 1TB drive. And another of the smaller
    drives in the raid 5 is about to die.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Thu Mar 13 14:10:01 2025
    Le 3/12/25 à 23:11, Michael Stone a écrit :
    Two of the drives are dead, you're not going to see anything from them

    So this means I can't rely on smartctl to list physical disks,
    which implies that,
    for servers I didn't install,
    I need to know their RAID setup in advance,
    or at least the total number of disks,
    then compare with the output of smartctl or cciss_vol_status.

    and this is the output from cciss
    [...]
    in particular, it says physical drives: 3

    That's 3 working physical drives. This array is both strange and shot. It looks like thre was a raid 1 with a single 1TB drive, then a raid 5 of 3 smaller drives and another 1TB drive. And another of the smaller drives in the raid 5 is about to die.

    Sorry, I was wrong.

    Array 1 = 450G + 450G in raid 1
    Array 2 = 1T + 1T + 1T in raid 5

    The failing drives are 450G in Array 1
    and 1T in array 2,
    and there's probably another 1T drive that's about to die.


    Best,

    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Erwan David@21:1/5 to Yassine Chaouche on Thu Mar 13 14:50:01 2025
    On Thu, Mar 13, 2025 at 02:08:21PM CET, Yassine Chaouche <a.chaouche@algerian-radio.dz> said:
    Le 3/12/25 à 23:11, Michael Stone a écrit :
    Two of the drives are dead, you're not going to see anything from them

    So this means I can't rely on smartctl to list physical disks,
    which implies that,
    for servers I didn't install,
    I need to know their RAID setup in advance,
    or at least the total number of disks,
    then compare with the output of smartctl or cciss_vol_status.

    You can get the layout with lsblk, IIRC

    --
    Erwan David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Thu Mar 13 15:30:01 2025
    Le 3/12/25 à 17:51, Greg a écrit> According to my (very old) scripts you should use something like
    /dev/cciss/c1d0 instead of /dev//sg?

    It could be the old driver/kernel module interface.
    The one I have is /dev/sgx.
    I have no /dev/cciss* present.

    Besides, for HP Smart Array,
    the example found in the documentation[1] uses a /dev/sg* path.

    From the man page:


    To look at disks behind HP Smart Array controllers, use syntax such as:
    smartctl -a -d cciss,0 /dev/cciss/c0d0 (cciss driver under Linux)
    smartctl -a -d cciss,0 /dev/sg2 (hpsa or hpahcisr drivers under Linux)





    [1] https://www.smartmontools.org/wiki/Supported_RAID-Controllers

    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Yassine Chaouche on Thu Mar 13 17:40:01 2025
    On Thu, Mar 13, 2025 at 02:08:21PM +0100, Yassine Chaouche wrote:
    Le 3/12/25 à 23:11, Michael Stone a écrit :
    Two of the drives are dead, you're not going to see anything from them

    So this means I can't rely on smartctl to list physical disks,

    I guess I don't understand how you expect smartctl to query a dead disk.
    It's dead, that means it's not going to respond.

    A tool that queries the structure of the raid can tell you what drives
    the raid expects to see, regardless of whether they are available or
    not. A tool that queries drives can't tell you that there's supposed to
    be a drive that's not there.

    for servers I didn't install,
    I need to know their RAID setup in advance,
    or at least the total number of disks,
    then compare with the output of smartctl or cciss_vol_status.

    Yeah. Looking again, I misread the cciss_vol_status output (which is
    truly horrible). I don't see any way to determine which drives are in
    which volumes from that output, and the formatting/indentation suggests
    all of the drives are in the last volume listed. I guess this tool is
    intended to give a quick overview, and not really manage an array. You
    can look for the (non-free) ssacli tool from HPE which can actually be
    used to create/query/etc an array in much more detail. I'm not aware of
    a free tool for this.

    If you're just looking to figure out whether there's a dead drive the ccs_vols_status tool will do that (any volume whose status is not "OK"). smartctl won't help you, but I'm not sure why you're trying to use
    smartctl at all here--in general, stuff in a hardware raid aray needs to
    be managed at the array level, not at the disk level.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Stone@21:1/5 to Charles Curley on Thu Mar 13 18:50:02 2025
    On Thu, Mar 13, 2025 at 11:35:08AM -0600, Charles Curley wrote:
    On Thu, 13 Mar 2025 12:36:46 -0400
    Michael Stone <mstone@debian.org> wrote:
    I guess I don't understand how you expect smartctl to query a dead
    disk. It's dead, that means it's not going to respond.

    Not quite. The electronics may respond even if the head-disk assembly
    (HDA) is broken. It probably won't give a complete or coherent report,
    but it could report.

    Maybe yes, maybe no. In some cases a disk might be mostly dead but
    partially responsive, but as a generalization you can't expect that a
    dead disk will do anything at all. More specifically in this case we're
    asking an array controller to pass information to a drive it has marked
    as offline, which may not happen regardless of what the drive might or
    might not do on its own.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Michael Stone on Thu Mar 13 18:40:02 2025
    On Thu, 13 Mar 2025 12:36:46 -0400
    Michael Stone <mstone@debian.org> wrote:

    I guess I don't understand how you expect smartctl to query a dead
    disk. It's dead, that means it's not going to respond.

    Not quite. The electronics may respond even if the head-disk assembly
    (HDA) is broken. It probably won't give a complete or coherent report,
    but it could report.


    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Sun Mar 16 10:50:01 2025
    Le 3/13/25 à 14:33, Erwan David a écrit :

    You can get the layout with lsblk, IIRC


    I'm not an expert on the subject,
    but from the few man pages and online help I've gathered,
    I have come to understand that the system (and lsblk) only see logical disks. Physical disks are hidden behind the RAID controller,
    so we need special software and drivers that send low level commands directly to raid controllers.

    Best,


    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Sun Mar 16 12:10:02 2025
    Le 3/13/25 à 17:36, Michael Stone a écrit :
    I guess I don't understand how you expect smartctl to query a dead disk. It's dead, that means it's not going to respond.

    I secretly wished there was some kind of blackbox in some specialized chip or memory
    that specialized software can use for forensics and diagnosis.

    A tool that queries the structure of the raid can tell you what drives the raid expects to see, regardless of whether they are available or not[...]
    [...] You can look for the (non-free) ssacli tool from HPE[...]

    I figure that's the tool to query the structure of the RAID?
    I can't find a 64bit version of it,
    and the 32bit version isn't working well,
    even after installing the 32bit versions of the glibc and libstdc++.

    Here's an execution trace,
    it gets stuck after showing a header line.

    root@messagerie-recup[10.10.10.22] ~ # ssacli
    ssacli: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    root@messagerie-recup[10.10.10.22] ~ # LD_LIBRARY_PATH=/usr/i686-linux-gnu/lib/ /usr/local/bin/ssacli
    Smart Storage Administrator CLI 2.65.7.0
    ^C
    root@messagerie-recup[10.10.10.22] ~ # find /usr/i686-linux-gnu/lib/
    /usr/i686-linux-gnu/lib/
    /usr/i686-linux-gnu/lib/libdl.so.2
    /usr/i686-linux-gnu/lib/libnss_dns.so.2
    /usr/i686-linux-gnu/lib/libnss_compat.so.2
    /usr/i686-linux-gnu/lib/libstdc++.so.6
    /usr/i686-linux-gnu/lib/libnss_hesiod.so.2
    /usr/i686-linux-gnu/lib/libstdc++.so.6.0.30
    /usr/i686-linux-gnu/lib/libBrokenLocale.so.1
    /usr/i686-linux-gnu/lib/librt.so.1
    /usr/i686-linux-gnu/lib/ld-linux.so.2
    /usr/i686-linux-gnu/lib/libnss_files.so.2
    /usr/i686-linux-gnu/lib/libc.so.6
    /usr/i686-linux-gnu/lib/libutil.so.1
    /usr/i686-linux-gnu/lib/libresolv.so.2
    /usr/i686-linux-gnu/lib/libmemusage.so
    /usr/i686-linux-gnu/lib/libpcprofile.so
    /usr/i686-linux-gnu/lib/libm.so.6
    /usr/i686-linux-gnu/lib/libanl.so.1
    /usr/i686-linux-gnu/lib/libpthread.so.0
    /usr/i686-linux-gnu/lib/libthread_db.so.1
    /usr/i686-linux-gnu/lib/libc_malloc_debug.so.0
    /usr/i686-linux-gnu/lib/libnsl.so.1
    /usr/i686-linux-gnu/lib/libgcc_s.so.1
    root@messagerie-recup[10.10.10.22] ~ #



    Here's an strace output:


    root@messagerie-recup[10.10.10.22] ~ # strace -fE LD_LIBRARY_PATH=/usr/i686-linux-gnu/lib/ /usr/local/bin/ssacli /dev/sg0
    execve("/usr/local/bin/ssacli", ["/usr/local/bin/ssacli", "/dev/sg0"], 0x564250c036c0 /* 59 vars */) = 0
    [ Process PID=468280 runs in 32 bit mode. ]
    brk(NULL) = 0xb391000
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f1d000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=13716, ...}) = 0
    mmap2(NULL, 16392, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7f18000
    mmap2(0xf7f19000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf7f19000
    mmap2(0xf7f1a000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f1a000
    mmap2(0xf7f1b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f1b000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libpthread.so.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=13716, ...}) = 0
    mmap2(NULL, 16392, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7f13000
    mmap2(0xf7f14000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf7f14000
    mmap2(0xf7f15000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f15000
    mmap2(0xf7f16000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f16000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/librt.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=13820, ...}) = 0
    mmap2(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7f0e000
    mmap2(0xf7f0f000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf7f0f000
    mmap2(0xf7f10000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f10000
    mmap2(0xf7f11000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f11000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libstdc++.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=2213548, ...}) = 0
    mmap2(NULL, 2225648, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7cee000
    mmap2(0xf7d66000, 1142784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x78000) = 0xf7d66000
    mmap2(0xf7e7d000, 552960, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18f000) = 0xf7e7d000
    mmap2(0xf7f04000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x215000) = 0xf7f04000
    mmap2(0xf7f0c000, 5616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7f0c000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=1066564, ...}) = 0
    mmap2(NULL, 1065052, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7be9000
    mmap2(0xf7bf6000, 786432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0xf7bf6000
    mmap2(0xf7cb6000, 221184, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xcd000) = 0xf7cb6000
    mmap2(0xf7cec000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x103000) = 0xf7cec000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=153020, ...}) = 0
    mmap2(NULL, 155992, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7bc2000
    mmap2(0xf7bc5000, 118784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0xf7bc5000
    mmap2(0xf7be2000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xf7be2000
    mmap2(0xf7be7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0xf7be7000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3204\2\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0755, stx_size=2225200, ...}) = 0
    mmap2(NULL, 2259228, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf799a000
    mmap2(0xf79bc000, 1544192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0xf79bc000
    mmap2(0xf7b35000, 524288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19b000) = 0xf7b35000
    mmap2(0xf7bb5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21b000) = 0xf7bb5000
    mmap2(0xf7bb8000, 39196, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7bb8000
    close(3) = 0
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7998000
    set_thread_area({entry_number=-1, base_addr=0xf7999480, limit=0x0fffff, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=1, seg_not_present=0, useable=1}) = 0 (entry_number=12)
    set_tid_address(0xf79994e8) = 468280
    set_robust_list(0xf79994ec, 12) = 0
    rseq(0xf7999920, 0x20, 0, 0x53053053) = 0
    mprotect(0xf7bb5000, 8192, PROT_READ) = 0
    mprotect(0xf7be7000, 4096, PROT_READ) = 0
    mprotect(0xf7cec000, 4096, PROT_READ) = 0
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7996000
    mprotect(0xf7f04000, 24576, PROT_READ) = 0
    mprotect(0xf7f11000, 4096, PROT_READ) = 0
    mprotect(0xf7f16000, 4096, PROT_READ) = 0
    mprotect(0xf7f1b000, 4096, PROT_READ) = 0
    mprotect(0xf7f57000, 8192, PROT_READ) = 0
    ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
    getrandom("\x77\x77\x01\xb1", 4, GRND_NONBLOCK) = 4
    brk(NULL) = 0xb391000
    brk(0xb3b2000) = 0xb3b2000
    brk(0xb3b3000) = 0xb3b3000
    futex(0xf7f0bd74, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    brk(0xb3d4000) = 0xb3d4000
    brk(0xb3f5000) = 0xb3f5000
    rt_sigaction(SIGHUP, {sa_handler=0x8109b5e, sa_mask=[HUP], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGINT, {sa_handler=0x8109b5e, sa_mask=[INT], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGQUIT, {sa_handler=0x8109b5e, sa_mask=[QUIT], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGSEGV, {sa_handler=0x8109b5e, sa_mask=[SEGV], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGABRT, {sa_handler=0x8109b5e, sa_mask=[ABRT], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGFPE, {sa_handler=0x8109b5e, sa_mask=[FPE], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGPIPE, {sa_handler=0x8109b5e, sa_mask=[PIPE], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGALRM, {sa_handler=0x8109b5e, sa_mask=[ALRM], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGTERM, {sa_handler=0x8109b5e, sa_mask=[TERM], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGUSR1, {sa_handler=0x8109b5e, sa_mask=[USR1], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGUSR2, {sa_handler=0x8109b5e, sa_mask=[USR2], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGUSR2, {sa_handler=0x8109b5e, sa_mask=[USR2], sa_flags=SA_RESTART}, {sa_handler=0x8109b5e, sa_mask=[USR2], sa_flags=SA_RESTART}, 8) = 0
    geteuid32() = 0
    rt_sigaction(SIGRT_1, {sa_handler=0xf7a1efa0, sa_mask=[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    ^C--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
    strace: Process 468280 detached

    root@messagerie-recup[10.10.10.22] ~ #


    I used grok.ai to analyse it,
    it sees no sign of failure.
    libraries are loading,
    memory is mapped,
    signal handlers are being set.
    No sign of malfunction.


    Finally, here's output from the /proc/ pseudo filesystem,
    in particular,
    it shows an empty stack trace,
    even when the process is in running state:


    root@messagerie-recup[10.10.10.22] ~ # pgrep ssacli
    468233
    root@messagerie-recup[10.10.10.22] ~ # cat /proc/468233/syscall
    running
    root@messagerie-recup[10.10.10.22] ~ # cat /proc/468233/stack
    root@messagerie-recup[10.10.10.22] ~ # cat /proc/468233/status
    Name: ssacli
    Umask: 0022
    State: R (running)
    Tgid: 468233
    Ngid: 0
    Pid: 468233
    PPid: 468084
    TracerPid: 0
    Uid: 0 0 0 0
    Gid: 0 0 0 0
    FDSize: 256
    Groups: 0
    NStgid: 468233
    NSpid: 468233
    NSpgid: 468233
    NSsid: 468084
    VmPeak: 26568 kB
    VmSize: 26568 kB
    VmLck: 0 kB
    VmPin: 0 kB
    VmHWM: 8880 kB
    VmRSS: 8880 kB
    RssAnon: 624 kB
    RssFile: 8256 kB
    RssShmem: 0 kB
    VmData: 1244 kB
    VmStk: 132 kB
    VmExe: 19396 kB
    VmLib: 3668 kB
    VmPTE: 72 kB
    VmSwap: 0 kB
    HugetlbPages: 0 kB
    CoreDumping: 0
    THP_enabled: 1
    Threads: 1
    SigQ: 2/63639
    SigPnd: 0000000000000000
    ShdPnd: 0000000000000000
    SigBlk: 0000000000000000
    SigIgn: 0000000000000000
    SigCgt: 0000000100007ea7
    CapInh: 0000000000000000
    CapPrm: 000001ffffffffff
    CapEff: 000001ffffffffff
    CapBnd: 000001ffffffffff
    CapAmb: 0000000000000000
    NoNewPrivs: 0
    Seccomp: 0
    Seccomp_filters: 0
    Speculation_Store_Bypass: vulnerable
    Cpus_allowed: ffffffff,ffffffff
    Cpus_allowed_list: 0-63
    Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,
    00000000,00000000,00000000,00000000,00000000,00000000,00000001
    Mems_allowed_list: 0
    voluntary_ctxt_switches: 1
    nonvoluntary_ctxt_switches: 41
    root@messagerie-recup[10.10.10.22] ~ #


    Analyzing this again with grok.ai it suggests that the process is hung in a loop,
    but not an I/O loop.
    I can see it is eating 100% of one CPU using htop,
    so I think grok.ai is right.

    Best,

    --
    yassine -- sysadm
    http://about.me/ychaouche
    Looking for side gigs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yassine Chaouche@21:1/5 to All on Tue Mar 18 10:00:01 2025
    Le 3/13/25 à 17:36, Michael Stone a écrit> I guess I don't understand how you expect smartctl to query a dead disk. It's dead, that means it's not going to respond.

    I wish there a was some kind of "death" that would render the drive useless for storage
    but still usable enough to retrieve diagnostic info from whatever chip or special memory that would have been set aside,
    like blackboxes in airplanes.


    A tool that queries the structure of the raid can tell you what drives the raid expects to see, regardless of whether they are available or not> [...] You can look for the (non-free) ssacli tool from HPE which can actually be used to create/query/etc
    an array in much more detail.

    Is that the tool you're referring to? (ssacli)

    I coudln't find a 64bit version.
    And even after installing the 32bit libraries,
    I couldn't get ssacli to properly work.
    It gets stuck after printing the first line.



    root@messagerie-recup[10.10.10.22] ~ # ssacli
    ssacli: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    root@messagerie-recup[10.10.10.22] ~ # find /usr/i686-linux-gnu/lib/
    /usr/i686-linux-gnu/lib/
    /usr/i686-linux-gnu/lib/libdl.so.2
    /usr/i686-linux-gnu/lib/libnss_dns.so.2
    /usr/i686-linux-gnu/lib/libnss_compat.so.2
    /usr/i686-linux-gnu/lib/libstdc++.so.6
    /usr/i686-linux-gnu/lib/libnss_hesiod.so.2
    /usr/i686-linux-gnu/lib/libstdc++.so.6.0.30
    /usr/i686-linux-gnu/lib/libBrokenLocale.so.1
    /usr/i686-linux-gnu/lib/librt.so.1
    /usr/i686-linux-gnu/lib/ld-linux.so.2
    /usr/i686-linux-gnu/lib/libnss_files.so.2
    /usr/i686-linux-gnu/lib/libc.so.6
    /usr/i686-linux-gnu/lib/libutil.so.1
    /usr/i686-linux-gnu/lib/libresolv.so.2
    /usr/i686-linux-gnu/lib/libmemusage.so
    /usr/i686-linux-gnu/lib/libpcprofile.so
    /usr/i686-linux-gnu/lib/libm.so.6
    /usr/i686-linux-gnu/lib/libanl.so.1
    /usr/i686-linux-gnu/lib/libpthread.so.0
    /usr/i686-linux-gnu/lib/libthread_db.so.1
    /usr/i686-linux-gnu/lib/libc_malloc_debug.so.0
    /usr/i686-linux-gnu/lib/libnsl.so.1
    /usr/i686-linux-gnu/lib/libgcc_s.so.1
    root@messagerie-recup[10.10.10.22] ~ # LD_LIBRARY_PATH=/usr/i686-linux-gnu/lib/ /usr/local/bin/ssacli
    Smart Storage Administrator CLI 2.65.7.0
    ^C
    root@messagerie-recup[10.10.10.22] ~ #



    Here's some /proc/ and strace information if that's ever useful
    First, /proc/.
    Usually /proc/pid/stack displays a series of functions,
    but here it seems empty,
    although the the process is in running state:


    root@messagerie-recup[10.10.10.22] ~ # pgrep ssacli
    468233
    root@messagerie-recup[10.10.10.22] ~ # cat /proc/468233/syscall
    running
    root@messagerie-recup[10.10.10.22] ~ # cat /proc/468233/sta
    stack stat statm status
    root@messagerie-recup[10.10.10.22] ~ # cat /proc/468233/stack
    root@messagerie-recup[10.10.10.22] ~ # cat /proc/468233/status
    Name: ssacli
    Umask: 0022
    State: R (running)
    Tgid: 468233
    Ngid: 0
    Pid: 468233
    PPid: 468084
    TracerPid: 0
    Uid: 0 0 0 0
    Gid: 0 0 0 0
    FDSize: 256
    Groups: 0
    NStgid: 468233
    NSpid: 468233
    NSpgid: 468233
    NSsid: 468084
    VmPeak: 26568 kB
    VmSize: 26568 kB
    VmLck: 0 kB
    VmPin: 0 kB
    VmHWM: 8880 kB
    VmRSS: 8880 kB
    RssAnon: 624 kB
    RssFile: 8256 kB
    RssShmem: 0 kB
    VmData: 1244 kB
    VmStk: 132 kB
    VmExe: 19396 kB
    VmLib: 3668 kB
    VmPTE: 72 kB
    VmSwap: 0 kB
    HugetlbPages: 0 kB
    CoreDumping: 0
    THP_enabled: 1
    Threads: 1
    SigQ: 2/63639
    SigPnd: 0000000000000000
    ShdPnd: 0000000000000000
    SigBlk: 0000000000000000
    SigIgn: 0000000000000000
    SigCgt: 0000000100007ea7
    CapInh: 0000000000000000
    CapPrm: 000001ffffffffff
    CapEff: 000001ffffffffff
    CapBnd: 000001ffffffffff
    CapAmb: 0000000000000000
    NoNewPrivs: 0
    Seccomp: 0
    Seccomp_filters: 0
    Speculation_Store_Bypass: vulnerable
    Cpus_allowed: ffffffff,ffffffff
    Cpus_allowed_list: 0-63
    Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,
    00000000,00000000,00000000,00000000,00000000,00000000,00000001
    Mems_allowed_list: 0
    voluntary_ctxt_switches: 1
    nonvoluntary_ctxt_switches: 41
    root@messagerie-recup[10.10.10.22] ~ #



    now strace:


    root@messagerie-recup[10.10.10.22] ~ # strace -fE LD_LIBRARY_PATH=/usr/i686-linux-gnu/lib/ /usr/local/bin/ssacli /dev/sg0
    execve("/usr/local/bin/ssacli", ["/usr/local/bin/ssacli", "/dev/sg0"], 0x564250c036c0 /* 59 vars */) = 0
    [ Process PID=468280 runs in 32 bit mode. ]
    brk(NULL) = 0xb391000
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7f1d000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/i686", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/tls", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/i686", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/sse2/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    statx(AT_FDCWD, "/usr/i686-linux-gnu/lib/sse2", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0xffefcbd8) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libdl.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=13716, ...}) = 0
    mmap2(NULL, 16392, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7f18000
    mmap2(0xf7f19000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf7f19000
    mmap2(0xf7f1a000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f1a000
    mmap2(0xf7f1b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f1b000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libpthread.so.0", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=13716, ...}) = 0
    mmap2(NULL, 16392, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7f13000
    mmap2(0xf7f14000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf7f14000
    mmap2(0xf7f15000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f15000
    mmap2(0xf7f16000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f16000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/librt.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=13820, ...}) = 0
    mmap2(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7f0e000
    mmap2(0xf7f0f000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf7f0f000
    mmap2(0xf7f10000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f10000
    mmap2(0xf7f11000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xf7f11000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libstdc++.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=2213548, ...}) = 0
    mmap2(NULL, 2225648, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7cee000
    mmap2(0xf7d66000, 1142784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x78000) = 0xf7d66000
    mmap2(0xf7e7d000, 552960, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18f000) = 0xf7e7d000
    mmap2(0xf7f04000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x215000) = 0xf7f04000
    mmap2(0xf7f0c000, 5616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7f0c000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libm.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=1066564, ...}) = 0
    mmap2(NULL, 1065052, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7be9000
    mmap2(0xf7bf6000, 786432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0xf7bf6000
    mmap2(0xf7cb6000, 221184, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xcd000) = 0xf7cb6000
    mmap2(0xf7cec000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x103000) = 0xf7cec000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\0\0\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=153020, ...}) = 0
    mmap2(NULL, 155992, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7bc2000
    mmap2(0xf7bc5000, 118784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0xf7bc5000
    mmap2(0xf7be2000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xf7be2000
    mmap2(0xf7be7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0xf7be7000
    close(3) = 0
    openat(AT_FDCWD, "/usr/i686-linux-gnu/lib/libc.so.6", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
    read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3204\2\0004\0\0\0"..., 512) = 512
    statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0755, stx_size=2225200, ...}) = 0
    mmap2(NULL, 2259228, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf799a000
    mmap2(0xf79bc000, 1544192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0xf79bc000
    mmap2(0xf7b35000, 524288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19b000) = 0xf7b35000
    mmap2(0xf7bb5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21b000) = 0xf7bb5000
    mmap2(0xf7bb8000, 39196, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf7bb8000
    close(3) = 0
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7998000
    set_thread_area({entry_number=-1, base_addr=0xf7999480, limit=0x0fffff, seg_32bit=1, contents=0, read_exec_only=0, limit_in_pages=1, seg_not_present=0, useable=1}) = 0 (entry_number=12)
    set_tid_address(0xf79994e8) = 468280
    set_robust_list(0xf79994ec, 12) = 0
    rseq(0xf7999920, 0x20, 0, 0x53053053) = 0
    mprotect(0xf7bb5000, 8192, PROT_READ) = 0
    mprotect(0xf7be7000, 4096, PROT_READ) = 0
    mprotect(0xf7cec000, 4096, PROT_READ) = 0
    mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7996000
    mprotect(0xf7f04000, 24576, PROT_READ) = 0
    mprotect(0xf7f11000, 4096, PROT_READ) = 0
    mprotect(0xf7f16000, 4096, PROT_READ) = 0
    mprotect(0xf7f1b000, 4096, PROT_READ) = 0
    mprotect(0xf7f57000, 8192, PROT_READ) = 0
    ugetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
    getrandom("\x77\x77\x01\xb1", 4, GRND_NONBLOCK) = 4
    brk(NULL) = 0xb391000
    brk(0xb3b2000) = 0xb3b2000
    brk(0xb3b3000) = 0xb3b3000
    futex(0xf7f0bd74, FUTEX_WAKE_PRIVATE, 2147483647) = 0
    brk(0xb3d4000) = 0xb3d4000
    brk(0xb3f5000) = 0xb3f5000
    rt_sigaction(SIGHUP, {sa_handler=0x8109b5e, sa_mask=[HUP], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGINT, {sa_handler=0x8109b5e, sa_mask=[INT], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGQUIT, {sa_handler=0x8109b5e, sa_mask=[QUIT], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGSEGV, {sa_handler=0x8109b5e, sa_mask=[SEGV], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGABRT, {sa_handler=0x8109b5e, sa_mask=[ABRT], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGFPE, {sa_handler=0x8109b5e, sa_mask=[FPE], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGPIPE, {sa_handler=0x8109b5e, sa_mask=[PIPE], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGALRM, {sa_handler=0x8109b5e, sa_mask=[ALRM], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGTERM, {sa_handler=0x8109b5e, sa_mask=[TERM], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGUSR1, {sa_handler=0x8109b5e, sa_mask=[USR1], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGUSR2, {sa_handler=0x8109b5e, sa_mask=[USR2], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
    rt_sigaction(SIGUSR2, {sa_handler=0x8109b5e, sa_mask=[USR2], sa_flags=SA_RESTART}, {sa_handler=0x8109b5e, sa_mask=[USR2], sa_flags=SA_RESTART}, 8) = 0
    geteuid32() = 0
    rt_sigaction(SIGRT_1, {sa_handler=0xf7a1efa0, sa_mask=[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
    ^C--- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
    strace: Process 468280 detached

    root@messagerie-recup[10.10.10.22] ~ #



    With the help of grok.ai,
    the analysis of this trace shows no trace of



    --
    Yassine -- Sysadmin and SMTP Whisperer, delivering mail and bad puns since 2014.
    57 70
    023 50 01 11

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)