Changes between Initial Version and Version 1 of Ticket #2319

Show
Ignore:
Timestamp:
05/12/08 11:59:07 (5 years ago)
Author:
khali
Comment:

This is the first report of that type, and I have no idea what's going on.

Lines 379 and 341 are the same:

read < <(exec sleep $INTERVAL)

So I guess that this specific construct doesn't work properly for you. This construct was suggested by the maintainer of the Suse sensors package.

Which version of bash are you using? Is "sleep" an internal or external command? "type sleep" should tell.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2319

    • Property owner changed from somebody to khali
    • Property priority changed from major to minor
    • Property version changed from to 3.0.1
    • Property status changed from new to assigned
  • Ticket #2319 – description

    initial v1  
    11I already noted that for some reason fancontrol is swapping new process in random times: 
    22 
     3{{{ 
    34# ps xua|grep fan[c] 
    45 
     
    1718root     29338  0.0  0.0  19844   772 pts/7    S+   01:01   0:00 /bin/bash /usr/local/sbin/fancontrol 
    1819root     29339  0.0  0.0  19844   772 pts/7    S+   01:01   0:00 /bin/bash /usr/local/sbin/fancontrol 
     20}}} 
    1921 
    2022i usally start and send to background the fancontrol, but to try to seen what happends, i started in a shell and there is the result output: 
     23{{{ 
    2124 /usr/local/sbin/fancontrol 
    2225Loading configuration from /etc/fancontrol ... 
     
    5659/usr/local/sbin/fancontrol: line 341: /tmp/sh-np-7768355284806920479: Interrupted system call 
    5760/usr/local/sbin/fancontrol: line 341: /tmp/sh-np-9159311026931131704: Interrupted system call 
     61}}} 
    5862 
    5963here is my config: 
    6064 
     65{{{ 
    6166INTERVAL=10 
    6267FCTEMPS=/sys/devices/platform/w83627hf.656/pwm2=/sys/devices/platform/w83627hf.656/temp2_input /sys/devices/platform/w83627hf.656/pwm1=/sys/devices/platform/w83627hf.656/temp1_input 
     
    6671MINSTART=/sys/devices/platform/w83627hf.656/pwm2=100 /sys/devices/platform/w83627hf.656/pwm1=70 
    6772MINSTOP=/sys/devices/platform/w83627hf.656/pwm2=95 /sys/devices/platform/w83627hf.656/pwm1=65 
     73}}} 
    6874 
    6975i'm running kernel 2.5.25, but this show up at least since 2.6.24... im using slamd64 (slackware clone at 64bits) 
    7076 
     77{{{ 
    7178# sensors --version 
    7279sensors version 3.0.1 with libsensors version 3.0.1 
     80}}} 
    7381 
    7482the ps -eo pid,stat,wchan:40,comm for all those process says this: 
     83{{{ 
    7584(pid#) S+   pipe_wait                                fancontrol 
     85}}} 
    7686 
    7787fan control is running fine, so this problem is  a bit strange