lgil

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by lgil

  1. On 5/13/2021 at 7:22 PM, lgil said:

    Hi,

    I have followed the steps to disable EPC and Low Current Spinup, all commands finished without errors.

     

    Today morning one of my 2 disks ST8000VN004 (disk 1 - sdf), show a read disk error below:

    Disk1_Error.png.322ab9db38ec40bb5a196530a68884aa.png

     

    Ran a Smart Test and no errors, reboot Unraid  and now show no errors to Disk 1.

    I really appreciate any help.

     

     

     

     

    An update :)

     

    I had setup back to the previous configuration and reboot my Unraid server.

     

    Before starting the array, I have tried one more time this process and is working now.

     

    May 15 05:11:49 honeysnas emhttpd: spinning down /dev/sde

    May 15 05:11:49 honeysnas emhttpd: spinning down /dev/sdf

    May 15 06:21:17 honeysnas emhttpd: read SMART /dev/sdf

    May 15 06:51:21 honeysnas emhttpd: spinning down /dev/sdf

     

    May 15 09:45:33 honeysnas emhttpd: read SMART /dev/sde

    May 15 09:45:33 honeysnas emhttpd: read SMART /dev/sdf

    May 15 10:17:25 honeysnas emhttpd: spinning down /dev/sde

    May 15 10:17:25 honeysnas emhttpd: spinning down /dev/sdf

     

    No read errors since yesterday afternoon

     

    Thank you @Cessquill, great work.

    • Like 1
  2. 17 hours ago, Kaisho said:

     

    I'm having exactly the same issue running Unraid 6.9.2. on a MSI Z490 Gaming Carbon Wifi, controller is a NUVOTON NCT6687 as well. 

     

     

    I have posted this error a quite some time, let's wait if Fan Control will soon update.

  3. On 4/14/2021 at 12:24 AM, prune said:

    Hi,
    I had the same problem with an Asrock H570M-itx motherboard, got only CPU temperature but no fan / fan speed.
    In order for the Dynamix system temperature and fan control plugin to see the fans, I had to modify syslinux.cfg file and add a "acpi_enforce_resources=lax" kernel option on boot.
    So edit the file with nano editor, using the following command line: nano /boot/syslinux/syslinux.cfg

     

    Here is an extract where you will make the modification:

    
    label Unraid OS
      menu default
      kernel /bzimage
      append initrd=/bzroot

     

    Change the content to :

    
    label Unraid OS
      menu default
      kernel /bzimage
      append initrd=/bzroot acpi_enforce_resources=lax


    Exit and save the modification by using Ctrl + X keys.

    And reboot in order for this kernel option to be taken into account.

    I also installed the plugin named "Nuvoton NCT6687 Driver" from the Community Applications, but I don't know if it is mandatory, because my chip is detected as NCT6798.

    With this modifications, all my chassis and CPU fans are detected and I can control them using the Fan Auto Control plugin.

    Hi,

     

    I have tried this steps, but for me still not possible to use the Fan Control plugin, below the error:

     

    <br /><b>Warning</b>:  file_get_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: No such file or directory in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>40</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>42</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>50</b><br />/sys/devices/platform/nct6687.2592/hwmon/hwmon3/fan3_input

     

    I have a MSI MAG B460M MORTAR and the I/O Controller is NUVOTON NCT6687 Controller Chip. Also running Unraid Version: 6.9.2 .

  4. 1 hour ago, locutus_lbc said:

     

    I made something custom for my use case out of this template:

    https://gist.github.com/kidpixo/04d61b42221f6bc8489b

     

    Hi, thank you for the link.

     

    I´m really bad on this, but I did try made some changes and the script put the PWM3 at 150 and show the error below:

    "Script location: /tmp/user.scripts/tmpScripts/FanSpeed/script
    Note that closing this window will abort the execution of this script
    Linear PWM Range is 150 to 255 in 9 increments of 11

    hdparm - get/set hard disk parameters - version v9.60, by Mark Lord.

    clue=11
    Usage: hdparm [options] [device ...]

    Options:
    -a Get/set fs readahead
    -A Get/set the drive look-ahead flag (0/1)
    -b Get/set bus state (0 == off, 1 == on, 2 == tristate)
    -B Set Advanced Power Management setting (1-255)
    -c Get/set IDE 32-bit IO setting
    -C Check drive power mode status
    -d Get/set using_dma flag
    -D Enable/disable drive defect management
    -E Set cd/dvd drive speed
    -f Flush buffer cache for device on exit
    -F Flush drive write cache
    -g Display drive geometry
    -h Display terse usage information
    -H Read temperature from drive (Hitachi only)
    -i Display drive identification
    -I Detailed/current information directly from drive
    -J Get/set Western DIgital "Idle3" timeout for a WDC "Green" drive (DANGEROUS)
    -k Get/set keep_settings_over_reset flag (0/1)
    -K Set drive keep_features_over_reset flag (0/1)
    -L Set drive doorlock (0/1) (removable harddisks only)
    -m Get/set multiple sector count
    -M Get/set acoustic management (0-254, 128: quiet, 254: fast)
    -n Get/set ignore-write-errors flag (0/1)
    -N Get/set max visible number of sectors (HPA) (VERY DANGEROUS)
    -p Set PIO mode on IDE interface chipset (0,1,2,3,4,...)
    -P Set drive prefetch count
    -q Change next setting quietly
    -Q Get/set DMA queue_depth (if supported)
    -r Get/set device readonly flag (DANGEROUS to set)
    -R Get/set device write-read-verify flag
    -s Set power-up in standby flag (0/1) (DANGEROUS)
    -S Set standby (spindown) timeout
    -t Perform device read timings
    -T Perform cache read timings
    -u Get/set unmaskirq flag (0/1)
    -U Obsolete
    -v Use defaults; same as -acdgkmur for IDE drives
    -V Display program version and exit immediately
    -w Perform device reset (DANGEROUS)
    -W Get/set drive write-caching flag (0/1)
    -x Obsolete
    -X Set IDE xfer mode (DANGEROUS)
    -y Put drive in standby mode
    -Y Put drive to sleep
    -z Re-read partition table
    -Z Disable Seagate auto-powersaving mode
    --dco-freeze Freeze/lock current device configuration until next power cycle
    --dco-identify Read/dump device configuration identify data
    --dco-restore Reset device configuration back to factory defaults
    --dco-setmax Use DCO to set maximum addressable sectors
    --direct Use O_DIRECT to bypass page cache for timings
    --drq-hsm-error Crash system with a "stuck DRQ" error (VERY DANGEROUS)
    --fallocate Create a file without writing data to disk
    --fibmap Show device extents (and fragmentation) for a file
    --fwdownload Download firmware file to drive (EXTREMELY DANGEROUS)
    --fwdownload-mode3 Download firmware using min-size segments (EXTREMELY DANGEROUS)
    --fwdownload-mode3-max Download firmware using max-size segments (EXTREMELY DANGEROUS)
    --fwdownload-mode7 Download firmware using a single segment (EXTREMELY DANGEROUS)
    --fwdownload-modee Download firmware using mode E (min-size segments) (EXTREMELY DANGEROUS)
    --fwdownload-modee-max Download firmware using mode E (max-size segments) (EXTREMELY DANGEROUS)
    --idle-immediate Idle drive immediately
    --idle-unload Idle immediately and unload heads
    --Iraw filename Write raw binary identify data to the specfied file
    --Istdin Read identify data from stdin as ASCII hex
    --Istdout Write identify data to stdout as ASCII hex
    --make-bad-sector Deliberately corrupt a sector directly on the media (VERY DANGEROUS)
    --offset use with -t, to begin timings at given offset (in GiB) from start of drive
    --prefer-ata12 Use 12-byte (instead of 16-byte) SAT commands when possible
    --read-sector Read and dump (in hex) a sector directly from the media
    --repair-sector Alias for the --write-sector option (VERY DANGEROUS)
    --sanitize-antifreeze-lock Block sanitize-freeze-lock command until next power cycle
    --sanitize-block-erase Start block erase operation
    --sanitize-crypto-scramble Change the internal encryption keys that used for used data
    --sanitize-freeze-lock Lock drive's sanitize features until next power cycle
    --sanitize-overwrite PATTERN Overwrite the internal media with constant PATTERN
    --sanitize-status Show sanitize status information
    --security-help Display help for ATA security commands
    --set-sector-size Change logical sector size of drive
    --trim-sector-ranges Tell SSD firmware to discard unneeded data sectors: lba:count ..
    --trim-sector-ranges-stdin Same as above, but reads lba:count pairs from stdin
    --verbose Display extra diagnostics from some commands
    --write-sector Repair/overwrite a (possibly bad) sector directly on the media (VERY DANGEROUS)

    /tmp/user.scripts/tmpScripts/FanSpeed/script: line 79: [: : integer expression expected

    hdparm - get/set hard disk parameters - version v9.60, by Mark Lord.

    clue=11
    Usage: hdparm [options] [device ...]

    Options:
    -a Get/set fs readahead
    -A Get/set the drive look-ahead flag (0/1)
    -b Get/set bus state (0 == off, 1 == on, 2 == tristate)
    -B Set Advanced Power Management setting (1-255)
    -c Get/set IDE 32-bit IO setting
    -C Check drive power mode status
    -d Get/set using_dma flag
    -D Enable/disable drive defect management
    -E Set cd/dvd drive speed
    -f Flush buffer cache for device on exit
    -F Flush drive write cache
    -g Display drive geometry
    -h Display terse usage information
    -H Read temperature from drive (Hitachi only)
    -i Display drive identification
    -I Detailed/current information directly from drive
    -J Get/set Western DIgital "Idle3" timeout for a WDC "Green" drive (DANGEROUS)
    -k Get/set keep_settings_over_reset flag (0/1)
    -K Set drive keep_features_over_reset flag (0/1)
    -L Set drive doorlock (0/1) (removable harddisks only)
    -m Get/set multiple sector count
    -M Get/set acoustic management (0-254, 128: quiet, 254: fast)
    -n Get/set ignore-write-errors flag (0/1)
    -N Get/set max visible number of sectors (HPA) (VERY DANGEROUS)
    -p Set PIO mode on IDE interface chipset (0,1,2,3,4,...)
    -P Set drive prefetch count
    -q Change next setting quietly
    -Q Get/set DMA queue_depth (if supported)
    -r Get/set device readonly flag (DANGEROUS to set)
    -R Get/set device write-read-verify flag
    -s Set power-up in standby flag (0/1) (DANGEROUS)
    -S Set standby (spindown) timeout
    -t Perform device read timings
    -T Perform cache read timings
    -u Get/set unmaskirq flag (0/1)
    -U Obsolete
    -v Use defaults; same as -acdgkmur for IDE drives
    -V Display program version and exit immediately
    -w Perform device reset (DANGEROUS)
    -W Get/set drive write-caching flag (0/1)
    -x Obsolete
    -X Set IDE xfer mode (DANGEROUS)
    -y Put drive in standby mode
    -Y Put drive to sleep
    -z Re-read partition table
    -Z Disable Seagate auto-powersaving mode
    --dco-freeze Freeze/lock current device configuration until next power cycle
    --dco-identify Read/dump device configuration identify data
    --dco-restore Reset device configuration back to factory defaults
    --dco-setmax Use DCO to set maximum addressable sectors
    --direct Use O_DIRECT to bypass page cache for timings
    --drq-hsm-error Crash system with a "stuck DRQ" error (VERY DANGEROUS)
    --fallocate Create a file without writing data to disk
    --fibmap Show device extents (and fragmentation) for a file
    --fwdownload Download firmware file to drive (EXTREMELY DANGEROUS)
    --fwdownload-mode3 Download firmware using min-size segments (EXTREMELY DANGEROUS)
    --fwdownload-mode3-max Download firmware using max-size segments (EXTREMELY DANGEROUS)
    --fwdownload-mode7 Download firmware using a single segment (EXTREMELY DANGEROUS)
    --fwdownload-modee Download firmware using mode E (min-size segments) (EXTREMELY DANGEROUS)
    --fwdownload-modee-max Download firmware using mode E (max-size segments) (EXTREMELY DANGEROUS)
    --idle-immediate Idle drive immediately
    --idle-unload Idle immediately and unload heads
    --Iraw filename Write raw binary identify data to the specfied file
    --Istdin Read identify data from stdin as ASCII hex
    --Istdout Write identify data to stdout as ASCII hex
    --make-bad-sector Deliberately corrupt a sector directly on the media (VERY DANGEROUS)
    --offset use with -t, to begin timings at given offset (in GiB) from start of drive
    --prefer-ata12 Use 12-byte (instead of 16-byte) SAT commands when possible
    --read-sector Read and dump (in hex) a sector directly from the media
    --repair-sector Alias for the --write-sector option (VERY DANGEROUS)
    --sanitize-antifreeze-lock Block sanitize-freeze-lock command until next power cycle
    --sanitize-block-erase Start block erase operation
    --sanitize-crypto-scramble Change the internal encryption keys that used for used data
    --sanitize-freeze-lock Lock drive's sanitize features until next power cycle
    --sanitize-overwrite PATTERN Overwrite the internal media with constant PATTERN
    --sanitize-status Show sanitize status information
    --security-help Display help for ATA security commands
    --set-sector-size Change logical sector size of drive
    --trim-sector-ranges Tell SSD firmware to discard unneeded data sectors: lba:count ..
    --trim-sector-ranges-stdin Same as above, but reads lba:count pairs from stdin
    --verbose Display extra diagnostics from some commands
    --write-sector Repair/overwrite a (possibly bad) sector directly on the media (VERY DANGEROUS)

    /tmp/user.scripts/tmpScripts/FanSpeed/script: line 79: [: : integer expression expected
    Highest temp is: 0
    /tmp/user.scripts/tmpScripts/FanSpeed/script: line 90: /sys/class/hwmon/hwmon3/device/hwmon/hwmon3/pwm3_enable: Permission denied
    Setting pwm to: 30"

     

    Also in the folder /sys/class/hwmon/hwmon3/device/hwmon/hwmon3, i don´t have any permission and pwm3_enable is not present

     

    Screenshot 2021-03-09 at 15.50.50.png

  5. On 1/8/2021 at 1:01 PM, mikeyosm said:

    I'm getting permission denied in autofan plugin.... Any ideas why? The plugin is detecting my sensor chip nct6683 OK.

     

    <br /><b>Warning</b>:  file_get_contents(/sys/devices/platform/nct6683.2592/hwmon/hwmon3/pwm1_enable): failed to open stream: No such file or directory in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>40</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6683.2592/hwmon/hwmon3/pwm1_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>42</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6683.2592/hwmon/hwmon3/pwm1): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>43</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6683.2592/hwmon/hwmon3/pwm1): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>46</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6683.2592/hwmon/hwmon3/pwm1): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>49</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6683.2592/hwmon/hwmon3/pwm1_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>50</b><br />/sys/devices/platform/nct6683.2592/hwmon/hwmon3/fan2_input

     

    image.thumb.png.e7d608f22b72dbbe07455aa39a24de44.png

     

    Hi Mikeyosm,

     

    have you been able to fix the permission denied issue? If yes, could you please share with me?

     

    Thank you,

    Luis Gil

  6. Hi,

     

    any update for the drive NCT6687? When I try to use the Autofan plugin and press detect, the below message show up:

     

    <br /><b>Warning</b>:  file_get_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: No such file or directory in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>40</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>42</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>50</b><br />/sys/devices/platform/nct6687.2592/hwmon/hwmon3/fan3_input

     

    Any help to fix this?

     

    Also checking the file location:

     

    Screenshot 2021-03-09 at 15.50.50.png

  7. Hi,

     

    I´m trying run Dynamix System Autofan on MSI 460M Mortar, but cannot see properly the fans and show the error below:

     

     

    "<br /><b>Warning</b>:  file_get_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: No such file or directory in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>40</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>42</b><br /><br /><b>Warning</b>:  file_put_contents(/sys/devices/platform/nct6687.2592/hwmon/hwmon3/pwm3_enable): failed to open stream: Permission denied in <b>/usr/local/emhttp/plugins/dynamix.system.autofan/include/SystemFan.php</b> on line <b>50</b><br />/sys/devices/platform/nct6687.2592/hwmon/hwmon3/fan3_input"

     

    I could added the driver NCT6687-isa-0a20 to the GO file in the startup and the temperature for MB and CPU are working fine.

     

    I will appreciate any help

     

    Maybe a temporary solution:

     

    1- Create a folder (/boot/pwmfan)

    2- run sensors (In my unraid now I have just one 8TB drive, the temp is showing for me over nvme-pci-0200, sensor 2)

    3- run pwmconfig and folow the process for PWM search, the location of the folder (/boot/pwmfan) will need to save the settings.

    4- Create a script to run in the background:

            "

    #!/bin/bash
    #Folder location
    cd /boot/pwmfan

    #Action 

    fancontrol pwmcfg.LyjaWtS8mI

    "