Posts by Thomas126

    Hi everyone,

    I'm running into an issue with my fresh OMV system (bare install, nothing else done -> except the following in the list down there) where the CPU package C-states don't seem to go deeper than PC3, even when the system is completely idle. My individual CPU cores are reaching deep C-states (like CC7) with high residency, but the overall package power saving isn't as good as I'd expect. My goal is to achieve deeper package C-states (PC6, PC7, PC8+, if supported by the CPU) for better power efficiency.


    System Information (Preliminary):

    • Operating System: Debian (Kernel 6.1.0-28-amd64)
    • CPU Model: i3 12100
    • Motherboard/System Model: <a href="https://geizhals.de/gigabyte-b760m-ds3h-ddr4-a2872190.html">GIGABYTE B760M DS3H DDR4</a><br>
    • Output of cat /proc/cmdline: BOOT_IMAGE=/boot/vmlinuz-6.1.0-34-amd64 root=UUID=f99c1d56-3f4e-41dd-aaef-f8688bb2b8b9 ro quiet<br>

    What I've Tried and Checked So Far:

    1. BIOS/UEFI Settings:

      • I've gone through my BIOS settings and believe all relevant power-saving options are enabled, including CPU C-states (all levels), Package C-state control (set to Auto/No Limit), and various ASPM settings (for PCIe, DMI, etc.). I'm open to suggestions for specific BIOS settings to double-check for my platform.
    2. Kernel & System Power Management:

      • PCIe ASPM Policy: Set to powersave.
        • cat /sys/module/pcie_aspm/parameters/policy shows [powersave] as active.
      • powertop Analysis:
        • All suggestions in the "Tunables" tab are set to "Good".
        • "Idle stats" tab confirms individual cores reach deep states like CC7 (~98-99% residency).
        • "Idle stats" also confirms Package C-states are mostly in PC3 (~88-90%), with PC2 having some residency, and PC6+ states at 0%.
        • "Device stats" generally shows low activity for most devices when idle; Runtime PM seems active for relevant devices.
        • "Overview" tab showed some background activity from processes like rrdcached, php-fpm, monit, systemd-journald, and interrupts from rtw_pci (WLAN, if active), i915 (iGPU), nvme. I am currently testing with some of these services (monit, rrdcached) and WLAN temporarily stopped/disabled.
    3. Network Interface Card (Realtek 2.5GbE - enp3s0, driver r8125, PCI ID 0000:03:00.0:(

      • Driver: Updated to the latest version from Realtek's website compatible with my kernel.
      • PCIe ASPM: LnkCtl shows ASPM L0s L1 Enabled.
      • L1 ASPM Substates (L1.1, L1.2): Confirmed enabled via lspci -vvv (L1SubCtl1: ... ASPM_L1.2+ ASPM_L1.1+) and cat /sys/bus/pci/devices/0000:03:00.0/link/l1_aspm (shows 1).
      • Energy-Efficient Ethernet (EEE): Currently disabled for testing (sudo ethtool --set-eee enp3s0 eee off). So far, this hasn't resolved the PC3 limit.
    4. Integrated GPU (Intel i915):

      • Render C-state: powertop shows RC6 at 100% residency (excellent).
      • Display C-states (enable_dc:( cat /sys/module/i915/parameters/enable_dc shows -1 (auto/default, which should be good).
      • Framebuffer Compression (enable_fbc:( cat /sys/module/i915/parameters/enable_fbc shows -1 (auto/default, good).
    5. NVMe SSD (Sandisk Corp WD Blue SN570 - /dev/nvme0:(

      • nvme-cli is installed.
      • Autonomous Power State Transition (APST): Confirmed enabled using sudo nvme get-feature -f 0x0c -H /dev/nvme0.
      • The drive is configured to transition to PS3 after 100ms idle and PS4 after 2000ms idle.

    Current Situation:

    Despite all these checks and configurations, the package C-state stubbornly remains at PC3 during idle.

    My Questions for the Community:

    • Are there any other common culprits or specific kernel parameters I should investigate for being stuck at PC3?
    • Are there known issues or more aggressive power-saving settings for my specific CPU/motherboard platform that I might be missing in the BIOS?
    • What would be the best way to further diagnose which component or process is preventing deeper package sleep (given powertop's overview shows some, but minimal, activity)?

    I'm happy to provide more logs, outputs (turbostat, specific dmesg lines, detailed lspci), or powertop reports if needed.

    Thanks in advance for any insights or suggestions!

    Best regards,Tom

    borg check:

    Code
    borg check /srv/dev-disk-by-uuid XYZ --save-space
    Local Exception
    Traceback (most recent call last):  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 5213, in main    exit_code = archiver.run(args)                ^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 5144, in run    return set_ec(func(args))                  ^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 183, in wrapper    return method(self, args, repository=repository, **kwargs)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/archiver.py", line 343, in do_check    if not repository.check(repair=args.repair, save_space=args.save_space, max_duration=args.max_duration):           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/repository.py", line 1039, in check    objects = list(self.io.iter_objects(segment))              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/repository.py", line 1512, in iter_objects    size, tag, key, data = self._read(fd, self.header_fmt, header, segment, offset,                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3/dist-packages/borg/repository.py", line 1606, in _read    data = fd.read(length)           ^^^^^^^^^^^^^^^
    OSError: [Errno 5] Input/output error
    
    Platform: Linux 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64
    Linux: Unknown Linux  Borg: 1.2.4  Python: CPython 3.11.2 msgpack: 1.0.3 fuse: None [pyfuse3,llfuse]
    PID: 132859  CWD: /root
    sys.argv: ['/usr/bin/borg', 'check', '/srv/dev-disk-by-uuid- XYZ', '--save-space']
    SSH_ORIGINAL_COMMAND: None

    Hi guys,

    i run into a weird problem atm. I have a OMV System at my parents house for backup purposes. They run every night via borg over SSH. Which still works fine.


    A couple of days ago I received a system mail by that system indicating corruption errors.

    I then tried to borg check the repo which resulted in an error and stopped: I/O Error.


    Today i ran smart for the drive and btrfs start to check what is going on.

    The SMART overview shows good Status for the drive.

    The btrfs start command gets aborted after 25min and notes 20 ununcorrectable errors.


    brtfs scrub:


    SMART:


    So i guess my HDD might be broken? I am not sure if that is the case, because i can still write on the drive and access files.

    Should i look for the cables again? Swap the drive?


    Can you guys help me in what the specific problem is and what i should do next? Any help is appreciated!


    Best regards

    Tom

    Can I reopen this thread? I am trying the same thing. Got a raid 5 with 3 HDD in BRTFS from Synology and was able to even mount it within openmediavault no problem. Some how the Mount is read only. Mount Options as ro are not set. Any ideas how to make it readable?


    Code
    Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] 
    md2 : active (auto-read-only) raid5 sdb3[4] sda3[5] sdc3[3]
          23428319360 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
          
    unused devices: <none>


    As it states it is auto read only. Is there a way to enable write?


    Thanks in advance!

    Did anyone manage to solve the issue? Am still waiting for any progress. This far by HC1 is sitting without my data drive.


    Okay so my setup list: "fsname": "/dev/disk/by-label/Storage",


    Which is somehow not available. But why? Instead i was looking for by-Id which outputs 3 entries. Shall I swap my setup to one of those?

    Experincing the same error.

    On my HC1 i get the folllwing error:

    Code
    Nov  4 21:24:22 TOM-HC1 monit[1534]: Filesystem '/srv/dev-disk-by-label-Storage' not mounted
    Nov  4 21:24:22 TOM-HC1 monit[1534]: 'filesystem_srv_dev-disk-by-label-Storage' unable to read filesystem '/srv/dev-disk-by-label-Storage' state
    Nov  4 21:24:22 TOM-HC1 monit[1534]: 'filesystem_srv_dev-disk-by-label-Storage' trying to restart
    Nov  4 21:24:22 TOM-HC1 monit[1534]: 'mountpoint_srv_dev-disk-by-label-Storage' status failed (1) -- /srv/dev-disk-by-label-Storage is not a mountpoint

    When looking inside my file systems tab via omv web page i keeps loading but not showing any info.


    Any help appreciated!

    omv-extras does nothing special with docker. All it is does is set the data-root in the daemon.json file. If you don't want it to manage that, leave the path blank in omv-extras. Then it will do nothing with docker other than install it with apt-get install.

    Thanks for the info.

    Trying to reinstall docker. And deleting /var/lib/docker now....

    So i checked /etc/docker/daemon.json


    only Code inside is data-root: “/var/lib/docker”


    when try to add dns and default-gateway I can save that file. When I restart docker though I only get an error until I set file as original...

    May I bring that topic up again. Anyone ideas?


    did a clean reinstall of docker. Didn’t help.

    Also tried to set dns for Container manually. Which also did not solve the issue.


    so I guess it really has nothing to do with docker? What else may cause this?


    Also want to share infos about my network settings in OMV event though i do not have problems accessing my internet from that point:

    enx001e0630c62a

    IPv4: DHCP

    IPv6: deactivated