-
Reduce power consumption with powertop
perhaps because this patch needs to be included in the kernel? https://lore.kernel.org/lkml/[email protected]/T/ i have the same issue
-
Reduce power consumption with powertop
root@Unraid:~# powertop --auto-tune modprobe cpufreq_stats failed Loaded 0 prior measurements Cannot load from file /var/cache/powertop/saved_parameters.powertop File will be loaded after taking minimum number of measurement(s) with battery only RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask 5 RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask 5 Devfreq not enabled glob returned GLOB_ABORTED Cannot load from file /var/cache/powertop/saved_parameters.powertop File will be loaded after taking minimum number of measurement(s) with battery only Leaving PowerTOP i keep getting this if i do anything with powertop: Q1: modprobe cpufreq_stats fail <-- is this an issue? Q2 100% is bad right? Q2.2 but this is all good right ? root@Unraid:~# lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM )' 00:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port (rev 01) (prog-if 00 [Normal decode]) LnkCap: Port #5, Speed 16GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <4us, L1 <16us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 00:1a.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #25 (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #25, Speed 16GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <1us, L1 <4us LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk- 00:1b.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #17 (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #17, Speed 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <4us LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk- 00:1c.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #1 (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #1, Speed 8GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <4us LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk- 00:1c.2 PCI bridge: Intel Corporation Device 7a3a (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #3, Speed 8GT/s, Width x1, ASPM L1, Exit Latency L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 00:1d.0 PCI bridge: Intel Corporation Raptor Lake PCI Express Root Port #9 (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #9, Speed 16GT/s, Width x4, ASPM L1, Exit Latency L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 00:1d.4 PCI bridge: Intel Corporation Device 7a34 (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #13, Speed 16GT/s, Width x4, ASPM L1, Exit Latency L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO (prog-if 02 [NVM Express]) pcilib: sysfs_read_vpd: read failed: No such device LnkCap: Port #0, Speed 16GT/s, Width x4, ASPM L1, Exit Latency L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05) LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 06:00.0 SATA controller: ASMedia Technology Inc. ASM1166 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0]) LnkCap: Port #0, Speed 8GT/s, Width x2, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 07:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) (prog-if 02 [NVM Express]) LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ sometimes i see it go into C2. but mostly its all on 0.0
-
[Plugin] Docker Compose Manager
hi, maybe im just a docker-compose noob. but could we ad a functionality to add a dockerfile to a project ? or am i doing it wrong anyways ?dockerfile.dockerfile docker-compose.yml
-
Setting up Cloudflare > Nginx > NextClould gives DNS_PROBE_FINISHED_NXDOMAIN
sure to the dockers and all its easy and fine, but how do you forward that same cloudflared tunnel to unraid itself ? i had it working in the cloudflared app via home assistant. but now im trying to fully move to unraid. Everything works, except a tunnel to unraid itself, not even the server addon generated url's work
-
Cloudflared Tunnel on unraid server
sure, fine, but i want to do all that via the cloudflared tunnel. even if its the myservers long url. fine with me. how do i do that? i had an cloudflared app running trough home assistant, there the cloudflared tunnel to unraid worked fine. but as a docker within unraid it does not
-
No package C-states reached after starting VM
Maybe forward Zigbee2mqtt towards an raspberry pi solution ? now i understand the format of these kind of things... https://uzg.zig-star.com/ https://zig-star.com/projects/ https://mind.in.ua/ (support for ukraine <3) (not affiliated)
-
Microsoft ReFS is better than anything out there and you are Jelly. But can you ReFS an unRAID !? We find out.
(i got here while my mind wandered during learning for AZ-800 :P) cool concept. but how does Refs handle power effeciency ? will it spin down disks? at the moment unraid is more or less a fight against power usage
-
how to enable Win 11 Secure Boot on OVMF TPM enabled bios?
if anyone would make a youtube video for this or unraid would build something for this to make it Way easier i would be soooooo happy.... @SpaceInvaderOne ... wink wink nudge nudge....
-
Error log fills up after updating to 6.12
found the error: as posted above i did it like this: kernel /bzimage append initrd=/bzroot pcie_aspm=off append isolcpus=8-11 initrd=/bzroot i changed it to this: kernel /bzimage append isolcpus=8-11 pci=noaer initrd=/bzroot makes more sense tbh
-
Error log fills up after updating to 6.12
it came back in version 6.12.2, regardless of what i entered in the flass boot ... thingy
-
Error log fills up after updating to 6.12
kernel /bzimage append initrd=/bzroot pcie_aspm=off append isolcpus=8-11 initrd=/bzroot i still get the same errors Jun 16 23:12:03 Unraid kernel: pcieport 0000:00:01.0: AER: Multiple Corrected error received: 0000:01:00.0 Jun 16 23:12:03 Unraid kernel: vfio-pci 0000:01:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID) Jun 16 23:12:03 Unraid kernel: vfio-pci 0000:01:00.0: device [10de:1c82] error status/mask=00001000/0000a000 (pci device is an working nvidia gpu, im using it as we speak to write) unraid-diagnostics-20230616-2318.zip
-
Error log fills up after updating to 6.12
I cant really find what error i have after updating. something with a pci device Jun 16 11:05:05 Unraid kernel: vfio-pci 0000:01:00.0: AER: Error of this Agent is reported first Jun 16 11:05:05 Unraid kernel: vfio-pci 0000:01:00.1: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID) Jun 16 11:05:05 Unraid kernel: vfio-pci 0000:01:00.1: device [10de:0fb9] error status/mask=00001000/0000a000 Jun 16 11:05:05 Unraid kernel: vfio-pci 0000:01:00.1: [12] Timeout - after reboots, it takes about 20/30 minutes for the error log to fill up to 100% unraid-diagnostics-20230616-1213.zip
-
okkies started following Quick Feature Request: SMBIOS Configuration Options in Unraid GUI
-
Quick Feature Request: SMBIOS Configuration Options in Unraid GUI
Hope everything's going great on your end. I've got a tiny feature request that I think would make a big difference for us Unraid users. It would be super cool if we could add SMBIOS configuration options to the Unraid GUI. That way, we can easily set custom info like the manufacturer, product name, version, and serial number for our VMs. Right now, we have to manually edit the libvirt XML config and use <qemu:commandline> elements, which can be a bit of a pain. Here's an example of the current situation: <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> ... (rest of the configuration) ... <qemu:commandline> <qemu:arg value='-smbios'/> <qemu:arg value='type=1,manufacturer=NotApple,product=Testmachine,version=1.000,serial=343434-1234-5678-9123'/> </qemu:commandline> </domain> A simple GUI section for SMBIOS options would make life so much easier and let us set up our VMs in a snap. Ideally, the Unraid GUI could include fields for entering the manufacturer, product name, version, and serial number, and the resulting XML would look something like this: <domain type='kvm'> ... (rest of the configuration) ... <smbios> <type1 manufacturer='NotApple' product='Testmachine' version='1.000' serial='80533-1234-5678-9123'/> </smbios> </domain> Since it's a small feature, I'm guessing it wouldn't take too long to implement. It'd be amazing to see this in the next Unraid update (pretty please?). Thanks for considering this idea, and keep up the awesome work on Unraid! XOXO,
-
Stop Docker Container via SSH and/or if other machine does not respond
to find your docker container id docker ps to kill or stop the container docker stop container <container number> docker kill container <container number> remotely run the script using SSH ssh root@<remoteserverip> "docker stop container <containerID>" Sause: https://www.cyberciti.biz/faq/linux-unix-osx-bsd-ssh-run-command-on-remote-machine-server/ you have to setup ssh to login without the password tough, forgot how to do that, but google/ chatgpt is your friend: for windows: ssh-keygen type C:\Users\username\.ssh\id_rsa.pub | ssh user@hostname 'mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys'
-
Stop Docker Container via SSH and/or if other machine does not respond
we can start an array with: #!/bin/bash emcmd cmdStart=Start and stop an array with #!/bin/bash emcmd cmdStop=Stop (source) https://forums.unraid.net/topic/79924-startstop-array-via-cli/ i dont know how you can see the current status. if you can figure out the current status of the array. perhaps it you can find it here. https://wiki.unraid.net/Console beside that, i done something remotely similair just now. ive made an node-red automation in home assistant that checks if a VM is active, and if its active using Virsh domstate it sets the state. (bottom part) Or when i manually change the state the VM will turn itself on or off (top 2 smaller parts) Ive exported what i made, you can directly import this in Node-red, also install these pallets "node-red-contrib-bigssh" "node-red-contrib-bigline" then you can import this module to set it up. [{"id":"143dd69542798222","type":"tab","label":"Set state of VM workstation","disabled":false,"info":"","env":[]},{"id":"d3b7983c.c97908","type":"bigssh","z":"143dd69542798222","name":"virsh domstate 'Work Vm\"","commandLine":"virsh domstate 'Work Vm'","commandArgs":"","minError":1,"minWarning":1,"noStdin":false,"format":"","payloadIsArg":true,"myssh":"3a26c7d9be25c952","x":270,"y":1240,"wires":[["477828b0.0ecb68"],[],[]]},{"id":"7a7fdea4.2ec13","type":"inject","z":"143dd69542798222","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"120","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"checkedstatus","payloadType":"flow","x":200,"y":1120,"wires":[["d3b7983c.c97908"]]},{"id":"477828b0.0ecb68","type":"bigline","z":"143dd69542798222","name":"","filename":"","format":"utf8","keepEmptyLines":false,"x":480,"y":1240,"wires":[["57e4f6a28403bb1c"],[]]},{"id":"57d1bc03d78f8cc6","type":"debug","z":"143dd69542798222","name":"debug 1","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1240,"y":1220,"wires":[]},{"id":"c0f2ca54619b43a6","type":"api-call-service","z":"143dd69542798222","name":"","server":"424d958a.550f6c","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_on","areaId":[],"deviceId":[],"entityId":["input_boolean.work_vm_unraid"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1040,"y":1220,"wires":[["57d1bc03d78f8cc6"]]},{"id":"69e280abb4bb2501","type":"api-call-service","z":"143dd69542798222","name":"","server":"424d958a.550f6c","version":5,"debugenabled":false,"domain":"input_boolean","service":"turn_off","areaId":[],"deviceId":[],"entityId":["input_boolean.work_vm_unraid"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1040,"y":1280,"wires":[["2918880847aead4b"]]},{"id":"2918880847aead4b","type":"debug","z":"143dd69542798222","name":"debug 2","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1240,"y":1280,"wires":[]},{"id":"57e4f6a28403bb1c","type":"function","z":"143dd69542798222","name":"function 1","func":"var state = msg.payload.trim(); // trim the output to remove any extra whitespaces\nif (state === 'running') {\n msg.payload = 'Running';\n} else if (state === 'shut off') {\n msg.payload = 'Shut off';\n} else {\n msg.payload = 'Unknown';\n}\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":660,"y":1240,"wires":[["074f53b1651d9286","a7a8ce0300c31706"]]},{"id":"074f53b1651d9286","type":"debug","z":"143dd69542798222","name":"debug 3","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":860,"y":1140,"wires":[]},{"id":"a7a8ce0300c31706","type":"switch","z":"143dd69542798222","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Running","vt":"str"},{"t":"eq","v":"Shut off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":830,"y":1260,"wires":[["c0f2ca54619b43a6"],["69e280abb4bb2501"]]},{"id":"ed1f89c48c5cd42c","type":"bigssh","z":"143dd69542798222","name":"virsh start 'Work Vm'","commandLine":"virsh start 'Work Vm'","commandArgs":"","minError":1,"minWarning":1,"noStdin":false,"format":"","payloadIsArg":true,"myssh":"3a26c7d9be25c952","x":960,"y":800,"wires":[[],[],[]]},{"id":"aa22a57b149a4984","type":"bigssh","z":"143dd69542798222","name":"virsh shutdown 'Work Vm'","commandLine":"virsh shutdown 'Work Vm'","commandArgs":"","minError":1,"minWarning":1,"noStdin":false,"format":"","payloadIsArg":true,"myssh":"3a26c7d9be25c952","x":970,"y":920,"wires":[[],[],[]]},{"id":"ba95c1fa3e19dec9","type":"server-state-changed","z":"143dd69542798222","name":"","server":"424d958a.550f6c","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.work_vm_unraid","entityidfiltertype":"exact","outputinitially":true,"state_type":"habool","haltifstate":"false","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":520,"y":920,"wires":[["aa22a57b149a4984"],[]]},{"id":"42e9f73e317e6bbf","type":"server-state-changed","z":"143dd69542798222","name":"","server":"424d958a.550f6c","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"input_boolean.work_vm_unraid","entityidfiltertype":"exact","outputinitially":true,"state_type":"habool","haltifstate":"true","halt_if_type":"bool","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":true,"ignoreCurrentStateUnavailable":true,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":520,"y":800,"wires":[["ed1f89c48c5cd42c"],[]]},{"id":"663084b0f96e0085","type":"comment","z":"143dd69542798222","name":"Check every minute if the actual state is changed","info":"","x":480,"y":1080,"wires":[]},{"id":"948684c228ff774f","type":"comment","z":"143dd69542798222","name":"crrect the state if required","info":"","x":1070,"y":1140,"wires":[]},{"id":"f13982d83493ba22","type":"comment","z":"143dd69542798222","name":"turn on boolean","info":"","x":260,"y":800,"wires":[]},{"id":"983a68fed78f959e","type":"comment","z":"143dd69542798222","name":"turn off boolean","info":"","x":260,"y":920,"wires":[]},{"id":"3a26c7d9be25c952","type":"SSH_Credentials","host":"192.168.30.14","port":"22","userlabel":"[email protected]"},{"id":"424d958a.550f6c","type":"server","name":"Home Assistant","addon":true}]
okkies
Members
-
Joined
-
Last visited