Dynamix - V6 Plugins


Recommended Posts

  • 2 weeks later...
  • 2 weeks later...

  

Hi all,

 

I'm facing a rather weird issue, sometimes the system won't go to sleep (either manually or automated). Sometimes it fails, I come back home 3 hours later and find the system sleeping...

 

Sleep action starts but immediately fails because of some kernel issue. I'd be very thankful if any of you have some ideas.

 

I tried:

- Turn off all scripts

- Make sure disks are spun down

- Turn off docker

 

 

The console trace is the following:

Oct 14 08:57:31 UnraidServ s3_sleep: Enter sleep mode
Oct 14 08:57:31 UnraidServ s3_sleep: Enter sleep state now
Oct 14 08:57:31 UnraidServ kernel: PM: suspend entry (deep)
Oct 14 08:57:51 UnraidServ kernel: PM: Syncing filesystems ... done.
Oct 14 08:57:51 UnraidServ kernel: Freezing user space processes ...
Oct 14 08:57:51 UnraidServ kernel: Freezing of tasks failed after 20.002 seconds (1 tasks refusing to freeze, wq_busy=0):
Oct 14 08:57:51 UnraidServ kernel: find D 0 13773 13772 0x00000004
Oct 14 08:57:51 UnraidServ kernel: Call Trace:
Oct 14 08:57:51 UnraidServ kernel: ? __schedule+0x4ef/0x548
Oct 14 08:57:51 UnraidServ kernel: schedule+0x65/0x6e
Oct 14 08:57:51 UnraidServ kernel: request_wait_answer+0xec/0x1d4
Oct 14 08:57:51 UnraidServ kernel: ? wait_woken+0x6a/0x6a
Oct 14 08:57:51 UnraidServ kernel: __fuse_request_send+0x78/0x7e
Oct 14 08:57:51 UnraidServ kernel: fuse_simple_request+0xf8/0x12e
Oct 14 08:57:51 UnraidServ kernel: fuse_dentry_revalidate+0x14a/0x28e
Oct 14 08:57:51 UnraidServ kernel: lookup_fast+0x1fb/0x280
Oct 14 08:57:51 UnraidServ kernel: walk_component+0xb6/0x254
Oct 14 08:57:51 UnraidServ kernel: path_lookupat.isra.0+0x146/0x208
Oct 14 08:57:51 UnraidServ kernel: ? fuse_change_attributes+0x7a/0x101
Oct 14 08:57:51 UnraidServ kernel: filename_lookup+0x7c/0xdf
Oct 14 08:57:51 UnraidServ kernel: ? _cond_resched+0x1b/0x1e
Oct 14 08:57:51 UnraidServ kernel: ? kmem_cache_alloc+0xdf/0xeb
Oct 14 08:57:51 UnraidServ kernel: ? getname_flags+0x44/0x146
Oct 14 08:57:51 UnraidServ kernel: vfs_statx+0x6b/0xc7
Oct 14 08:57:51 UnraidServ kernel: ? __vfs_write+0x32/0x13a
Oct 14 08:57:51 UnraidServ kernel: __se_sys_newfstatat+0x31/0x63
Oct 14 08:57:51 UnraidServ kernel: ? vfs_write+0x11c/0x166
Oct 14 08:57:51 UnraidServ kernel: ? vfs_write+0x11c/0x166
Oct 14 08:57:51 UnraidServ kernel: ? ksys_write+0x60/0xb2
Oct 14 08:57:51 UnraidServ kernel: do_syscall_64+0x57/0xf2
Oct 14 08:57:51 UnraidServ kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 14 08:57:51 UnraidServ kernel: RIP: 0033:0x150bd95772bb
Oct 14 08:57:51 UnraidServ kernel: Code: Bad RIP value.
Oct 14 08:57:51 UnraidServ kernel: RSP: 002b:00007fff34591438 EFLAGS: 00000246 ORIG_RAX: 0000000000000106
Oct 14 08:57:51 UnraidServ kernel: RAX: ffffffffffffffda RBX: 000000000045d6c0 RCX: 0000150bd95772bb
Oct 14 08:57:51 UnraidServ kernel: RDX: 000000000045d738 RSI: 000000000045d7c8 RDI: 000000000000000a
Oct 14 08:57:51 UnraidServ kernel: RBP: 000000000045d738 R08: 0000000000000100 R09: 0000000000000001
Oct 14 08:57:51 UnraidServ kernel: R10: 0000000000000100 R11: 0000000000000246 R12: 0000000000449ed0
Oct 14 08:57:51 UnraidServ kernel: R13: 000000000044cb60 R14: 0000000000000008 R15: 0000000000449ed0
Oct 14 08:57:51 UnraidServ kernel: OOM killer enabled.
Oct 14 08:57:51 UnraidServ kernel: Restarting tasks ... done.
Oct 14 08:57:51 UnraidServ kernel: video LNXVIDEO:00: Restoring backlight state
Oct 14 08:57:51 UnraidServ kernel: PM: suspend exit
Oct 14 08:57:51 UnraidServ s3_sleep: Wake-up now
Oct 14 08:57:51 UnraidServ s3_sleep: Wake-up from sleep mode

Thanks in advance

Link to comment

Also having sleep issues.  Worked perfectly for years, but some months ago (after an OS & plugin update), it never sleeps unless I manually spin-down the drives.  The sleep log repeatedly states 'drive activity', yet (as you can see) all the drives are inactive.  I tried tweaking the network activity settings to no avail.

Screenshot_20201015-062247_Chrome.jpg

Link to comment
2 minutes ago, curtis-r said:

Also having sleep issues.  Worked perfectly for years, but some months ago (after an OS & plugin update), it never sleeps unless I manually spin-down the drives.  The sleep log repeatedly states 'drive activity', yet (as you can see) all the drives are inactive.  I tried tweaking the network activity settings to no avail.

Screenshot_20201015-062247_Chrome.jpg

It seems I was able to get the situation better by using the following pre and post sleep actions:

for disknum in 1 `ls /dev/md* | sed "sX/dev/mdXX"`; do /usr/local/sbin/mdcmd spindown $disknum; done 

 

Link to comment
14 hours ago, curtis-r said:

@Pipould, that seems to have fixed it.  Placed your code in the pre & post, rebooted, then checked back couple of hours later & it was asleep.  Thanks!!!

Well it's not my code, i just picked it up somewhere else :)

Glad it helped you. I still face the issue on my side :/

Link to comment

I read through a bunch of these posts but still couldnt find a solution for the behavior I am seeing... sensors-detect is able to find `coretemp` and `nct6775` right away on my ASUS Prime Z490-Plus board. I am also able to find those drivers using "Detect" in the SYSTEM TEMP section of the plugin...

However, it appears to me that none of the nct6775 sensors are actually populating... From command line, i can run `modprobe nct6775` without error, and it appears to me that the driver is loading properly. Is there something I am missing to ensure that nct6775 loads correctly? I also edited /boot/config/go to include:

`modprobe coretemp`

`modprobe nct6775`

`/usr/bin/sensors -s`

 

Heres what I see at the plugin:

image.thumb.png.477e7f54d4c107774b0d1c74410b8cf5.png

Edited by MarlinJones
Link to comment
  • 2 weeks later...

Hello,

I'm using Dynamix System Autofan and I noticed it is confusing while searching for the good fan. it would be nice to be able to give them names.

also, some fan's are grouped  for the same function, could it be possible to groupe them.

one last thing, I have some fans that are directly behind hard drives to cool them.... but there is no option for drive sensor. that would be great !

Thanks

 

Edited by Nexius2
Link to comment
  • 2 weeks later...
On 8/25/2020 at 6:19 PM, ljm42 said:

If I run "sensors -A" manually, I get this error:


root@ODROID:~# sensors -A
Error: File /etc/sensors.d/sensors.conf, line 2: Undeclared bus id referenced
Error: File /etc/sensors.d/sensors.conf, line 6: Undeclared bus id referenced
sensors_init: Can't parse bus name

The fix (specific to my system) is to add this Bus Statement near the top of the sensors.conf file:


bus "i2c-0" "SMBus I801 adapter at f040"

 

As a work around until the plugin is fixed, I have written a User Script that modifies the "Dynamix System Temperature" plugin so that it adds the necessary "bus" line to sensors.conf. 

 

If you get the "Undeclared bus id referenced" when running "sensors -A", or if your sensors suddenly disappear after pressing Apply, this should resolve the issue for you. Installation instructions are in the comments at the top of the script:

  https://gist.github.com/ljm42/d3132eab72661d0fd725f86f3ed13f65

 

tagging @Pol de Lepel @GFRoSTY @Fireball3 @Spitko @eagle470 - this should resolve your issues

  • Like 2
Link to comment

Quick question, if I use SSD drives exclusively for cache and Unassigned drives (I do not use the array function at all) is there any advantage at all to using the Cache Dirs plugin? I do have mounted Google drives (accessed through mergerfs/rclone) where a large amount of media is stored. Would the plugin benefit in that case? I have lots of memory (64GB) so that's not a concern but it does increase CPU usage a bit. I'm just wondering if it's worth it to still use it with SSDs and for mergerfs/rclone/gdrive type use.

 

Thanks!

 

Link to comment

Hey just curious if its possible to display a second cpu temp with the system temp plugin. I have a dual Xeon setup and would be handy to monitor both cpu temps, or even if possible for it to display each core temp on the dashboard page next to each core listed.
Thanks!

Edited by MtX
typo
Link to comment
  • 2 weeks later...

Hello, I am trying to let my system shutdown in the evening usind the Dynamix S3 Sleep plugin.

 

My problem is, that if I have "wait for array inactivity" turned on, it wont work.

 

I suspect it has to do with me not having a cache drive and small everyday operations keeping some of the drives from spinning down.

That in itself wouldn't be a problem for me as those operations don't really care if the system shuts down, but in the case of for example a parity check I think it wouldn't be very good for the system to shut down.

 

Is there a good fix for this? (Diagnostics zip attached)

nas-diagnostics-20201206-1949.zip

Link to comment

ASUS X570 ROG Crosshair VIII Hero  with a Ryzen 3700X running unraid 6.8.3

installed perl (perl-5.32.0-x86_64-1.txz) with nerdpack then installed dynamix system temps.

 

detect returns "k10temp nct6775" and clicked load drivers. there are no fan or temp options for any of the drop downs.

 

Logs show:

Dec  6 21:25:43 husky kernel: nct6775: Found NCT6796D or compatible chip at 0x2e:0x290
Dec  6 21:25:43 husky kernel: ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000290-0x0000000000000299 (\AMW0.SHWM) (20180810/utaddress-204)
Dec  6 21:25:43 husky kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Dec  6 21:25:48 husky kernel: i2c /dev entries driver

 

sshing into the box, sensors shows:

# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

 

looking around online, it looks like ryzen 3000 needs newer kernel than what 6.8.3 has..  might want to add verbiage to the user so they know the plugin itself isnt at fault and they need to use newer unraid/wait.

 

Edited by zoggy
Link to comment

Cache Plugin

Seems like the "include folders" feature does not support folders that use a &

 

Fotoalbum Anita & Chris

Software & Resources

Dec 15 07:37:52 NAS cache_dirs: ERROR: included directory 'Fotoalbum\ Anita\ &\ Chris' does not exist.
Dec 15 07:37:52 NAS cache_dirs: ERROR: included directory 'Software\ &\ Resources' does not exist.

Could the plugin support that in the near future? :)

Edited by cholzer
Link to comment
On 12/11/2020 at 8:46 AM, feins said:

HI I had some issue as my Dynamix System Temp doesnt detect any Fan sensor.

 

 

Fan Speed.PNG

ts-s30-diagnostics-20201211-1545.zip 97.66 kB · 0 downloads

 

I have the same like you, no fan sensor in the Dynamix System Temp. And i have no PWM Contoller in the Dynamix Auto Fan.


Dose some one have a hint for me how to get it working? I also added a screenshot of my Mainboard and CPU.

 

Thanks Marzel

System.png

System_AutoFan.png

System_Temp.png

Edited by Marzel
Link to comment

I just installed the most recent 6.9 RC. I am wrestling with Nvidia GPU passthrough.

I tried to set my vm back to use vnc and then launched, but got the following error on the NoVNC screen.

>>


noVNC encountered an error:

SyntaxError: import not found: hasScrollbarGutter
http://buckyu.local/plugins/dynamix.vm.manager/novnc/app/ui.js?ts=20200718:11:34

>>

This is a showstopper. Not even sure which dynamix plugin this refers to:

 

Rolling back to 6.8.3 in the meantime.

 

>>

update: This is a firefox problem. Works fine in chrome.

>>>

Edited by bucky2076
Link to comment

Problem with Dynamix System Buttons using 6.9.0-rc1.

 

Tried to shutdown the system using the plugin.  It went through the process but the system never shut off.  (I ended up using the server power switch to force a power off!)  No parity check on restart so it was not an unclean shutdown.  Last line on the Console monitor was this:

 

reboot:  Power down

 

It has happened twice now.  Diagnostics file after restart attached.

rose-diagnostics-20201221-1051.zip

Link to comment
1 hour ago, trurl said:

Does that plugin still do anything useful? I haven't tried it in a very long time but there are already buttons on the Dashboard page for Stop, Reboot, Shutdown.

Just uninstalled the Dynamix System Buttons plugin.  Then tried to shut the server down from the Dashboard page and got the same result as with the plugin.  So I guess it is not the plugin alone that has a problem.  Not sure if it a general problem or something unique with my system.  Hope someone else will have a look at it... 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.