Announcement

Collapse
No announcement yet.

Linux 5.17-rc2 Released - "A Bit On The Bigger Side"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux 5.17-rc2 Released - "A Bit On The Bigger Side"

    Phoronix: Linux 5.17-rc2 Released - "A Bit On The Bigger Side"

    Linus Torvalds' schedule due to travels remains a bit off and as such Linux 5.17-rc2 is already available this morning...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Speaking of Linux in general, does it have an antivirus or something that kills processes? Maybe systemd does?
    I'm launching a process as sudo from the terminal and it seems to get killed abruptly, what could it be?

    I'm inserting printf("..\n") commands to trace where it's exiting, rebuilding the app and same thing happens, it doesn't even get to print the next printf() command, just exits for no reason. (The app does I/O in root folder).

    Ubuntu 21.10

    Comment


    • #3
      I'm curious to see how big the impact of the latest i915 mitigations will be. Hopefully Michael will run some benchmarking soon....

      Comment


      • #4
        Originally posted by cl333r View Post
        Speaking of Linux in general, does it have an antivirus or something that kills processes? Maybe systemd does?
        I'm launching a process as sudo from the terminal and it seems to get killed abruptly, what could it be?

        I'm inserting printf("..\n") commands to trace where it's exiting, rebuilding the app and same thing happens, it doesn't even get to print the next printf() command, just exits for no reason. (The app does I/O in root folder).

        Ubuntu 21.10
        Anything in logged in dmesg? Maybe there's a segfault?
        Have you tried stepping through it with gdb? Maybe it can dump some traces if you can enable debug in your code?

        No default AV in Linux/systemd or Ubuntu 21.10 that I know of, not out of the box. ClamAV and others exist, but you'd need to install them yourself.
        Last edited by scratchi; 30 January 2022, 12:11 PM.

        Comment


        • #5
          Did they left a way to turn these new mitigations off?

          Comment


          • #6
            Originally posted by scratchi View Post

            Anything in logged in dmesg? Maybe there's a segfault?
            Have you tried stepping through it with gdb? Maybe it can dump some traces if you can enable debug in your code?

            No default AV in Linux/systemd or Ubuntu 21.10 that I know of, not out of the box. ClamAV and others exist, but you'd need to install them yourself.
            Nothing in dmesg related to app crash, segfaults usually print something to the terminal like "segmentation fault", the app though exits cleanly at random points (no exit() called inside the app). It's weird, never happened to me before.

            Comment


            • #7
              Originally posted by Danny3 View Post
              Did they left a way to turn these new mitigations off?
              According to the patchset it doesn't look like i915.mitigations=off covers that so it looks like everyone has to take it!

              Comment


              • #8
                Originally posted by cl333r View Post

                Nothing in dmesg related to app crash, segfaults usually print something to the terminal like "segmentation fault", the app though exits cleanly at random points (no exit() called inside the app). It's weird, never happened to me before.
                Ubuntu has apparmor, which is enabled by default. Can you try stop apparmor for a test?
                Code:
                sudo systemctl stop apparmor
                If it works, then you can tweak apparmor config to allow you application without fully stopping/disabling it (or adjust your code so apparmor doesn't block it with default profile). I assume if that's the case, apparmor block should be logged somewhere, but it's been a while since I played with it.

                Hope that helps, good luck!
                Last edited by scratchi; 30 January 2022, 01:32 PM.

                Comment


                • #9
                  Originally posted by cl333r View Post

                  Nothing in dmesg related to app crash, segfaults usually print something to the terminal like "segmentation fault", the app though exits cleanly at random points (no exit() called inside the app). It's weird, never happened to me before.
                  Try using strace, which will display system calls used by the application.

                  Comment


                  • #10
                    ClamTK is what I use.
                    An easy to use, light-weight, on-demand virus scanner for Linux systems. For additional help, see the wiki.

                    Comment

                    Working...
                    X