Loading ...
Sorry, an error occurred while loading the content.
 

Re: Cool'n Quiet on LS2 MIPS : news > Need the UARTD process name!

Expand Messages
  • Frenchy
    To owners of noisy LS2 s, (the Linstation fans have a short life) As the father of the CnQ script, if you want me to make try and make it work on LS2 I need
    Message 1 of 21 , Oct 9, 2005
      To owners of noisy LS2's, (the Linstation fans have a short life)

      As the father of the CnQ script, if you want me to make try and make
      it work on LS2 I need the exact name string of the UART daemon
      process on LS2 called "ppc_uartd" on LS1. Know that there is a
      condition when this process is stopped and I need it to run. So I
      always make sure it is running before handling any status change.

      I read the entire page below all the way down, no trace of UARTD
      there. INSTEAD OPEN A TELNET ON YOUR LS2 AND TYPE THIS: ps -ef
      Then post a reply with the output or whatever is the UARTD name
      string.

      It boils down to test on LS2 you can try to bypass my script
      manipulations of UARTD, then refresh my memory about why it is
      required. It won't wipe out your disk instantly but I
      *sort*of*recall* that daily cron log rotation around 4am stops the
      UARTD and without it the fan speed is stuck in watever status it was
      before UARTD stop (thus explaining why I always check on it and
      restard it when needed) - Well if I had an LS2 handy I could figure
      this out.

      I have an enhancement up my sleeve to redirect log outputs to an
      external USB key so the HDD does not get spun only to dump 2 lines
      at the bottom of a log file. I see that happening about every 3
      hours where instead my disk could sleep non-stop unless the network
      needs it.
      Sam.

      --- In LinkStation_General@yahoogroups.com, "samerbaer"
      <samerbaer@y...> wrote:
      >
      > Hi,
      > just wanted to add that I'm really interrested in this feature as
      well
      > What exactly is the problem running it?
      > If I issue "echo -n '\\\\' >/dev/ttyS0" the fan slows down etc.
      >
      > my linkstation2 with Openlink 0.52b gives the following output to
      ls:
      > lrwxrwxrwx 1 root root 18 Sep 28 14:11
      S05dropbear ->
      > ../init.d/dropbear
      > lrwxrwxrwx 1 root root 18 Sep 28 14:11
      S05utelnetd ->
      > ../init.d/utelnetd
      > lrwxrwxrwx 1 root root 18 Sep 28 14:11
      S10murasaki ->
      > ../init.d/murasaki
      > lrwxrwxrwx 1 root root 17 Sep 28 14:11
      S10ntpdate ->
      > ../init.d/ntpdate
      > lrwxrwxrwx 1 root root 16 Sep 28 14:11 S10syslog -
      >
      > ../init.d/syslog
      > lrwxrwxrwx 1 root root 16 Sep 28 14:11 S11devfsd -
      >
      > ../init.d/devfsd
      > lrwxrwxrwx 1 root root 21 Sep 28 14:11 S11ekpd ->
      > /etc/rc.d/init.d/ekpd
      > lrwxrwxrwx 1 root root 17 Sep 28 14:11
      S20apservd ->
      > ../init.d/apservd
      > lrwxrwxrwx 1 root root 15 Sep 28 14:11 S20inetd ->
      > ../init.d/inetd
      > lrwxrwxrwx 1 root root 25 Oct 4 15:58
      > S20smartmontools -> /etc/init.d/smartmontools
      > lrwxrwxrwx 1 root root 16 Sep 28 14:11 S20thttpd -
      >
      > ../init.d/thttpd
      > lrwxrwxrwx 1 root root 15 Sep 28 14:11 S60lprng ->
      > ../init.d/lprng
      > lrwxrwxrwx 1 root root 14 Sep 28 14:11 S89cron ->
      > ../init.d/cron
      > lrwxrwxrwx 1 root root 15 Sep 28 14:11 S90atalk ->
      > ../init.d/atalk
      > lrwxrwxrwx 1 root root 13 Sep 28 14:11 S91smb ->
      > ../init.d/smb
      > lrwxrwxrwx 1 root root 14 Sep 28 14:11 S92ftpd ->
      > ../init.d/ftpd
      > lrwxrwxrwx 1 root root 16 Sep 28 14:11 S92pcastd -
      >
      > ../init.d/pcastd
      > lrwxrwxrwx 1 root root 17 Sep 28 14:11
      S95mc_ctld ->
      > ../init.d/mc_ctld
      > lrwxrwxrwx 1 root root 15 Sep 28 15:56 S99nfs ->
      > /etc/init.d/nfs
      > lrwxrwxrwx 1 root root 19 Sep 28 14:11
      S99rmnologin
      > -> ../init.d/rmnologin
      >
      > Cheers,
      > Jens
      >
      > --- In LinkStation_General@yahoogroups.com, "punga1968"
      <yahoo@p...>
      > wrote:
      > > Hello,
      > >
      > > any news in adapting the Cool'n Quiet - script for the LS2?
      > >
      > > Would be great!
      > >
      > > cheers
      > > Punga
      > >
      > >
      > > --- In LinkStation_General@yahoogroups.com, "hadaps"
      <hadaps@y...>
      > > wrote:
      > > > Hey - I have a LS2 - the output is:
      > > >
      > > > bash-2.05a# ls -l /etc/rc.d/rc2.d
      > > > total 1
      > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
      > > S05dropbear ->
      > > > ../init.d/dropbear
      > > > -rw------- 1 root root 458 Aug 31 21:28
      S05utelnet
      > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
      > > S05utelnetd ->
      > > > ../init.d/utelnetd
      > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
      > > S10murasaki ->
      > > > ../init.d/murasaki
      > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
      S10ntpdate -
      > > >
      > > > ../init.d/ntpdate
      > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
      S10syslog ->
      > > > ../init.d/syslog
      > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
      S11devfsd ->
      > > > ../init.d/devfsd
      > > > lrwxrwxrwx 1 root root 21 Aug 31 21:23
      S11ekpd ->
      > > > /etc/rc.d/init.d/ekpd
      > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
      S20apservd -
      > > >
      > > > ../init.d/apservd
      > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
      S20inetd ->
      > > > ../init.d/inetd
      > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
      S20thttpd ->
      > > > ../init.d/thttpd
      > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
      S60lprng ->
      > > > ../init.d/lprng
      > > > lrwxrwxrwx 1 root root 14 Aug 31 21:23
      S89cron ->
      > > > ../init.d/cron
      > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
      S90atalk ->
      > > > ../init.d/atalk
      > > > lrwxrwxrwx 1 root root 13 Aug 31 21:23
      S91smb ->
      > > > ../init.d/smb
      > > > lrwxrwxrwx 1 root root 14 Aug 31 21:23
      S92ftpd ->
      > > > ../init.d/ftpd
      > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
      S92pcastd ->
      > > > ../init.d/pcastd
      > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
      S95mc_ctld -
      > > >
      > > > ../init.d/mc_ctld
      > > > lrwxrwxrwx 1 root root 18 Aug 31 23:58
      > > S98AutoFand ->
      > > > ../init.d/AutoFand
      > > > lrwxrwxrwx 1 root root 19 Aug 31 21:23
      S99rmnologin
      > > > -> ../init.d/rmnologin
      > > >
      > > > Regards Benny
      > > >
      > > > --- In LinkStation_General@yahoogroups.com, "oseyboldt"
      <oli@s...>
      > > wrote:
      > > > > > > Can someone with LS2 reply with the output of this
      command:
      > > > > > > ls -l /etc/rc.d/rc2.d
      > > > > > >
      > > > >
      > > > > My ls2 gives the following output:
      > > > >
      > > > > root@SPEICHER:/www/cgi-bin3# ls -l /etc/rc.d/rc2.d
      > > > > total 0
      > > > > lrwxrwxrwx 1 root root 18 Aug 28 19:54
      > > S05dropbear -
      > > > > > ../init.d/dropbear
      > > > > lrwxrwxrwx 1 root root 18 Aug 28 19:54
      > > S10murasaki -
      > > > > > ../init.d/murasaki
      > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
      > > S10ntpdate -
      > > > > > ../init.d/ntpdate
      > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
      > > S10syslog -
      > > > > > ../init.d/syslog
      > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
      > > S11devfsd -
      > > > > > ../init.d/devfsd
      > > > > lrwxrwxrwx 1 root root 21 Aug 28 19:54
      S11ekpd -
      > > > > > /etc/rc.d/init.d/ekpd
      > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
      > > S20apservd -
      > > > > > ../init.d/apservd
      > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
      S20inetd -
      > > > > > ../init.d/inetd
      > > > > lrwxrwxrwx 1 root root 25 Aug 28 22:07
      > > > > S20smartmontools -> /etc/init.d/smartmontools
      > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
      > > S20thttpd -
      > > > > > ../init.d/thttpd
      > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
      S60lprng -
      > > > > > ../init.d/lprng
      > > > > lrwxrwxrwx 1 root root 14 Aug 28 19:54
      S89cron -
      > > > > > ../init.d/cron
      > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
      S90atalk -
      > > > > > ../init.d/atalk
      > > > > lrwxrwxrwx 1 root root 13 Aug 28 19:54
      S91smb -
      > > > > > ../init.d/smb
      > > > > lrwxrwxrwx 1 root root 14 Aug 28 19:54
      S92ftpd -
      > > > > > ../init.d/ftpd
      > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
      > > S92pcastd -
      > > > > > ../init.d/pcastd
      > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
      > > S95mc_ctld -
      > > > > > ../init.d/mc_ctld
      > > > > lrwxrwxrwx 1 root root 18 Aug 29 23:46
      > > S98AutoFand -
      > > > > > ../init.d/AutoFand
      > > > > lrwxrwxrwx 1 root root 19 Aug 28 19:54
      > > > > S99rmnologin -> ../init.d/rmnologin
      > > > >
      > > > >
      > > > > So what has to be modified? Does anyone succeed with
      adapting
      > > > > AutoFan and AutoFand for the ls2?
      > > > >
      > > > > Best,
      > > > > Oliver
      >
    • oseyboldt
      Hi Frenchy, I´m glad to see your still interested in realizing l2-compatibility. I will try to supply you with all information you need to solve the CnQ for
      Message 2 of 21 , Oct 10, 2005
        Hi Frenchy,
        I´m glad to see your still interested in realizing l2-compatibility.
        I will try to supply you with all information you need to solve
        the "CnQ for ls2"-Problem. I think it is the mc_ctld. But have a
        look yourself:

        root@SPEICHER:~# ps -ef
        UID PID PPID C STIME TTY TIME CMD
        root 1 0 1 00:23 ? 00:00:02 init
        root 2 1 0 00:23 ? 00:00:00 [keventd]
        root 3 1 0 00:23 ? 00:00:00 [ksoftirqd_CPU0]
        root 4 1 0 00:23 ? 00:00:00 [kswapd]
        root 5 1 0 00:23 ? 00:00:00 [bdflush]
        root 6 1 0 00:23 ? 00:00:00 [kupdated]
        root 9 1 0 00:23 ? 00:00:00 [mtdblockd]
        root 10 1 0 00:23 ? 00:00:00 [khubd]
        root 15 1 0 00:24 ? 00:00:00 [kjournald]
        root 63 1 0 00:24 ? 00:00:00 [kjournald]
        root 182 1 0 00:24 ? 00:00:00 /usr/sbin/dropbear -
        d /etc/dropb
        root 196 1 0 00:24 ? 00:00:00 /sbin/syslogd -m 0
        root 202 1 0 00:24 ?
        00:00:00 /usr/local/EPKowa/printer/ekpd
        root 209 1 0 00:24 ? 00:00:00 /usr/sbin/ls_servd -
        i eth0
        root 215 1 0 00:24 ? 00:00:00 /usr/sbin/inetd
        root 220 1 0 00:24 ? 00:00:00 /usr/sbin/thttpd -
        C /etc/thttpd.
        daemon 225 1 0 00:24 ? 00:00:00 lpd Waiting
        root 231 1 0 00:24 ? 00:00:00 /usr/sbin/cron
        root 244 1 0 00:24 ? 00:00:00 /usr/sbin/atalkd -
        f /etc/atalk/a
        root 245 1 0 00:24 ? 00:00:00 /usr/sbin/smbd -D
        root 247 1 0 00:24 ? 00:00:00 /usr/sbin/nmbd -D
        nobody 251 1 0 00:24 ? 00:00:00 proftpd: (accepting
        connections)
        root 257 1 0 00:24 ? 00:00:00 /usr/sbin/pcastd
        root 264 257 0 00:24 ? 00:00:00 /usr/sbin/pcastd
        root 265 1 0 00:24 ? 00:00:00 /usr/sbin/mc_ctld
        root 279 1 0 00:24 ? 00:00:00 /usr/sbin/papd
        root 281 1 0 00:24 ? 00:00:00 /usr/sbin/afpd -c
        1000 -n SPEICH
        root 283 182 3 00:27 ? 00:00:00 /usr/sbin/dropbear -
        d /etc/dropb
        root 284 283 0 00:27 pts/0 00:00:00 -bash
        root 285 284 0 00:27 pts/0 00:00:00 ps -ef



        All the best,
        Oliver


        --- In LinkStation_General@yahoogroups.com, "Frenchy "
        <glasseron@y...> wrote:
        >
        > To owners of noisy LS2's, (the Linstation fans have a short life)
        >
        > As the father of the CnQ script, if you want me to make try and
        make
        > it work on LS2 I need the exact name string of the UART daemon
        > process on LS2 called "ppc_uartd" on LS1. Know that there is a
        > condition when this process is stopped and I need it to run. So I
        > always make sure it is running before handling any status change.
        >
        > I read the entire page below all the way down, no trace of UARTD
        > there. INSTEAD OPEN A TELNET ON YOUR LS2 AND TYPE THIS: ps -ef
        > Then post a reply with the output or whatever is the UARTD name
        > string.
        >
        > It boils down to test on LS2 you can try to bypass my script
        > manipulations of UARTD, then refresh my memory about why it is
        > required. It won't wipe out your disk instantly but I
        > *sort*of*recall* that daily cron log rotation around 4am stops the
        > UARTD and without it the fan speed is stuck in watever status it
        was
        > before UARTD stop (thus explaining why I always check on it and
        > restard it when needed) - Well if I had an LS2 handy I could
        figure
        > this out.
        >
        > I have an enhancement up my sleeve to redirect log outputs to an
        > external USB key so the HDD does not get spun only to dump 2 lines
        > at the bottom of a log file. I see that happening about every 3
        > hours where instead my disk could sleep non-stop unless the
        network
        > needs it.
        > Sam.
        >
        > --- In LinkStation_General@yahoogroups.com, "samerbaer"
        > <samerbaer@y...> wrote:
        > >
        > > Hi,
        > > just wanted to add that I'm really interrested in this feature
        as
        > well
        > > What exactly is the problem running it?
        > > If I issue "echo -n '\\\\' >/dev/ttyS0" the fan slows down etc.
        > >
        > > my linkstation2 with Openlink 0.52b gives the following output
        to
        > ls:
        > > lrwxrwxrwx 1 root root 18 Sep 28 14:11
        > S05dropbear ->
        > > ../init.d/dropbear
        > > lrwxrwxrwx 1 root root 18 Sep 28 14:11
        > S05utelnetd ->
        > > ../init.d/utelnetd
        > > lrwxrwxrwx 1 root root 18 Sep 28 14:11
        > S10murasaki ->
        > > ../init.d/murasaki
        > > lrwxrwxrwx 1 root root 17 Sep 28 14:11
        > S10ntpdate ->
        > > ../init.d/ntpdate
        > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
        S10syslog -
        > >
        > > ../init.d/syslog
        > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
        S11devfsd -
        > >
        > > ../init.d/devfsd
        > > lrwxrwxrwx 1 root root 21 Sep 28 14:11 S11ekpd -
        >
        > > /etc/rc.d/init.d/ekpd
        > > lrwxrwxrwx 1 root root 17 Sep 28 14:11
        > S20apservd ->
        > > ../init.d/apservd
        > > lrwxrwxrwx 1 root root 15 Sep 28 14:11
        S20inetd ->
        > > ../init.d/inetd
        > > lrwxrwxrwx 1 root root 25 Oct 4 15:58
        > > S20smartmontools -> /etc/init.d/smartmontools
        > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
        S20thttpd -
        > >
        > > ../init.d/thttpd
        > > lrwxrwxrwx 1 root root 15 Sep 28 14:11
        S60lprng ->
        > > ../init.d/lprng
        > > lrwxrwxrwx 1 root root 14 Sep 28 14:11 S89cron -
        >
        > > ../init.d/cron
        > > lrwxrwxrwx 1 root root 15 Sep 28 14:11
        S90atalk ->
        > > ../init.d/atalk
        > > lrwxrwxrwx 1 root root 13 Sep 28 14:11 S91smb ->
        > > ../init.d/smb
        > > lrwxrwxrwx 1 root root 14 Sep 28 14:11 S92ftpd -
        >
        > > ../init.d/ftpd
        > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
        S92pcastd -
        > >
        > > ../init.d/pcastd
        > > lrwxrwxrwx 1 root root 17 Sep 28 14:11
        > S95mc_ctld ->
        > > ../init.d/mc_ctld
        > > lrwxrwxrwx 1 root root 15 Sep 28 15:56 S99nfs ->
        > > /etc/init.d/nfs
        > > lrwxrwxrwx 1 root root 19 Sep 28 14:11
        > S99rmnologin
        > > -> ../init.d/rmnologin
        > >
        > > Cheers,
        > > Jens
        > >
        > > --- In LinkStation_General@yahoogroups.com, "punga1968"
        > <yahoo@p...>
        > > wrote:
        > > > Hello,
        > > >
        > > > any news in adapting the Cool'n Quiet - script for the LS2?
        > > >
        > > > Would be great!
        > > >
        > > > cheers
        > > > Punga
        > > >
        > > >
        > > > --- In LinkStation_General@yahoogroups.com, "hadaps"
        > <hadaps@y...>
        > > > wrote:
        > > > > Hey - I have a LS2 - the output is:
        > > > >
        > > > > bash-2.05a# ls -l /etc/rc.d/rc2.d
        > > > > total 1
        > > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
        > > > S05dropbear ->
        > > > > ../init.d/dropbear
        > > > > -rw------- 1 root root 458 Aug 31 21:28
        > S05utelnet
        > > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
        > > > S05utelnetd ->
        > > > > ../init.d/utelnetd
        > > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
        > > > S10murasaki ->
        > > > > ../init.d/murasaki
        > > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
        > S10ntpdate -
        > > > >
        > > > > ../init.d/ntpdate
        > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
        > S10syslog ->
        > > > > ../init.d/syslog
        > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
        > S11devfsd ->
        > > > > ../init.d/devfsd
        > > > > lrwxrwxrwx 1 root root 21 Aug 31 21:23
        > S11ekpd ->
        > > > > /etc/rc.d/init.d/ekpd
        > > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
        > S20apservd -
        > > > >
        > > > > ../init.d/apservd
        > > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
        > S20inetd ->
        > > > > ../init.d/inetd
        > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
        > S20thttpd ->
        > > > > ../init.d/thttpd
        > > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
        > S60lprng ->
        > > > > ../init.d/lprng
        > > > > lrwxrwxrwx 1 root root 14 Aug 31 21:23
        > S89cron ->
        > > > > ../init.d/cron
        > > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
        > S90atalk ->
        > > > > ../init.d/atalk
        > > > > lrwxrwxrwx 1 root root 13 Aug 31 21:23
        > S91smb ->
        > > > > ../init.d/smb
        > > > > lrwxrwxrwx 1 root root 14 Aug 31 21:23
        > S92ftpd ->
        > > > > ../init.d/ftpd
        > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
        > S92pcastd ->
        > > > > ../init.d/pcastd
        > > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
        > S95mc_ctld -
        > > > >
        > > > > ../init.d/mc_ctld
        > > > > lrwxrwxrwx 1 root root 18 Aug 31 23:58
        > > > S98AutoFand ->
        > > > > ../init.d/AutoFand
        > > > > lrwxrwxrwx 1 root root 19 Aug 31 21:23
        > S99rmnologin
        > > > > -> ../init.d/rmnologin
        > > > >
        > > > > Regards Benny
        > > > >
        > > > > --- In LinkStation_General@yahoogroups.com, "oseyboldt"
        > <oli@s...>
        > > > wrote:
        > > > > > > > Can someone with LS2 reply with the output of this
        > command:
        > > > > > > > ls -l /etc/rc.d/rc2.d
        > > > > > > >
        > > > > >
        > > > > > My ls2 gives the following output:
        > > > > >
        > > > > > root@SPEICHER:/www/cgi-bin3# ls -l /etc/rc.d/rc2.d
        > > > > > total 0
        > > > > > lrwxrwxrwx 1 root root 18 Aug 28 19:54
        > > > S05dropbear -
        > > > > > > ../init.d/dropbear
        > > > > > lrwxrwxrwx 1 root root 18 Aug 28 19:54
        > > > S10murasaki -
        > > > > > > ../init.d/murasaki
        > > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
        > > > S10ntpdate -
        > > > > > > ../init.d/ntpdate
        > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
        > > > S10syslog -
        > > > > > > ../init.d/syslog
        > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
        > > > S11devfsd -
        > > > > > > ../init.d/devfsd
        > > > > > lrwxrwxrwx 1 root root 21 Aug 28 19:54
        > S11ekpd -
        > > > > > > /etc/rc.d/init.d/ekpd
        > > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
        > > > S20apservd -
        > > > > > > ../init.d/apservd
        > > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
        > S20inetd -
        > > > > > > ../init.d/inetd
        > > > > > lrwxrwxrwx 1 root root 25 Aug 28 22:07
        > > > > > S20smartmontools -> /etc/init.d/smartmontools
        > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
        > > > S20thttpd -
        > > > > > > ../init.d/thttpd
        > > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
        > S60lprng -
        > > > > > > ../init.d/lprng
        > > > > > lrwxrwxrwx 1 root root 14 Aug 28 19:54
        > S89cron -
        > > > > > > ../init.d/cron
        > > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
        > S90atalk -
        > > > > > > ../init.d/atalk
        > > > > > lrwxrwxrwx 1 root root 13 Aug 28 19:54
        > S91smb -
        > > > > > > ../init.d/smb
        > > > > > lrwxrwxrwx 1 root root 14 Aug 28 19:54
        > S92ftpd -
        > > > > > > ../init.d/ftpd
        > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
        > > > S92pcastd -
        > > > > > > ../init.d/pcastd
        > > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
        > > > S95mc_ctld -
        > > > > > > ../init.d/mc_ctld
        > > > > > lrwxrwxrwx 1 root root 18 Aug 29 23:46
        > > > S98AutoFand -
        > > > > > > ../init.d/AutoFand
        > > > > > lrwxrwxrwx 1 root root 19 Aug 28 19:54
        > > > > > S99rmnologin -> ../init.d/rmnologin
        > > > > >
        > > > > >
        > > > > > So what has to be modified? Does anyone succeed with
        > adapting
        > > > > > AutoFan and AutoFand for the ls2?
        > > > > >
        > > > > > Best,
        > > > > > Oliver
        > >
        >
      • andy_jf_alexanderuk
        Hi, Has there been any more progress (or help needed) on getting this working with the LS2. My fan is beginning to make my LS sound more like a jet engine than
        Message 3 of 21 , Nov 7, 2005
          Hi,

          Has there been any more progress (or help needed) on getting this
          working with the LS2.

          My fan is beginning to make my LS sound more like a jet engine than
          a 'discrete' storage device.

          If any more info is needed, am more than happy to supply

          Thanks

          Andy


          --- In LinkStation_General@yahoogroups.com, "oseyboldt" <oli@s...>
          wrote:
          >
          > Hi Frenchy,
          > I´m glad to see your still interested in realizing l2-
          compatibility.
          > I will try to supply you with all information you need to solve
          > the "CnQ for ls2"-Problem. I think it is the mc_ctld. But have a
          > look yourself:
          >
          > root@SPEICHER:~# ps -ef
          > UID PID PPID C STIME TTY TIME CMD
          > root 1 0 1 00:23 ? 00:00:02 init
          > root 2 1 0 00:23 ? 00:00:00 [keventd]
          > root 3 1 0 00:23 ? 00:00:00 [ksoftirqd_CPU0]
          > root 4 1 0 00:23 ? 00:00:00 [kswapd]
          > root 5 1 0 00:23 ? 00:00:00 [bdflush]
          > root 6 1 0 00:23 ? 00:00:00 [kupdated]
          > root 9 1 0 00:23 ? 00:00:00 [mtdblockd]
          > root 10 1 0 00:23 ? 00:00:00 [khubd]
          > root 15 1 0 00:24 ? 00:00:00 [kjournald]
          > root 63 1 0 00:24 ? 00:00:00 [kjournald]
          > root 182 1 0 00:24 ?
          00:00:00 /usr/sbin/dropbear -
          > d /etc/dropb
          > root 196 1 0 00:24 ? 00:00:00 /sbin/syslogd -m 0
          > root 202 1 0 00:24 ?
          > 00:00:00 /usr/local/EPKowa/printer/ekpd
          > root 209 1 0 00:24 ?
          00:00:00 /usr/sbin/ls_servd -
          > i eth0
          > root 215 1 0 00:24 ? 00:00:00 /usr/sbin/inetd
          > root 220 1 0 00:24 ? 00:00:00 /usr/sbin/thttpd -
          > C /etc/thttpd.
          > daemon 225 1 0 00:24 ? 00:00:00 lpd Waiting
          > root 231 1 0 00:24 ? 00:00:00 /usr/sbin/cron
          > root 244 1 0 00:24 ? 00:00:00 /usr/sbin/atalkd -
          > f /etc/atalk/a
          > root 245 1 0 00:24 ? 00:00:00 /usr/sbin/smbd -D
          > root 247 1 0 00:24 ? 00:00:00 /usr/sbin/nmbd -D
          > nobody 251 1 0 00:24 ? 00:00:00 proftpd:
          (accepting
          > connections)
          > root 257 1 0 00:24 ? 00:00:00 /usr/sbin/pcastd
          > root 264 257 0 00:24 ? 00:00:00 /usr/sbin/pcastd
          > root 265 1 0 00:24 ? 00:00:00 /usr/sbin/mc_ctld
          > root 279 1 0 00:24 ? 00:00:00 /usr/sbin/papd
          > root 281 1 0 00:24 ? 00:00:00 /usr/sbin/afpd -c
          > 1000 -n SPEICH
          > root 283 182 3 00:27 ?
          00:00:00 /usr/sbin/dropbear -
          > d /etc/dropb
          > root 284 283 0 00:27 pts/0 00:00:00 -bash
          > root 285 284 0 00:27 pts/0 00:00:00 ps -ef
          >
          >
          >
          > All the best,
          > Oliver
          >
          >
          > --- In LinkStation_General@yahoogroups.com, "Frenchy "
          > <glasseron@y...> wrote:
          > >
          > > To owners of noisy LS2's, (the Linstation fans have a short life)
          > >
          > > As the father of the CnQ script, if you want me to make try and
          > make
          > > it work on LS2 I need the exact name string of the UART daemon
          > > process on LS2 called "ppc_uartd" on LS1. Know that there is a
          > > condition when this process is stopped and I need it to run. So
          I
          > > always make sure it is running before handling any status change.
          > >
          > > I read the entire page below all the way down, no trace of UARTD
          > > there. INSTEAD OPEN A TELNET ON YOUR LS2 AND TYPE THIS: ps -ef
          > > Then post a reply with the output or whatever is the UARTD name
          > > string.
          > >
          > > It boils down to test on LS2 you can try to bypass my script
          > > manipulations of UARTD, then refresh my memory about why it is
          > > required. It won't wipe out your disk instantly but I
          > > *sort*of*recall* that daily cron log rotation around 4am stops
          the
          > > UARTD and without it the fan speed is stuck in watever status it
          > was
          > > before UARTD stop (thus explaining why I always check on it and
          > > restard it when needed) - Well if I had an LS2 handy I could
          > figure
          > > this out.
          > >
          > > I have an enhancement up my sleeve to redirect log outputs to an
          > > external USB key so the HDD does not get spun only to dump 2
          lines
          > > at the bottom of a log file. I see that happening about every 3
          > > hours where instead my disk could sleep non-stop unless the
          > network
          > > needs it.
          > > Sam.
          > >
          > > --- In LinkStation_General@yahoogroups.com, "samerbaer"
          > > <samerbaer@y...> wrote:
          > > >
          > > > Hi,
          > > > just wanted to add that I'm really interrested in this feature
          > as
          > > well
          > > > What exactly is the problem running it?
          > > > If I issue "echo -n '\\\\' >/dev/ttyS0" the fan slows down etc.
          > > >
          > > > my linkstation2 with Openlink 0.52b gives the following output
          > to
          > > ls:
          > > > lrwxrwxrwx 1 root root 18 Sep 28 14:11
          > > S05dropbear ->
          > > > ../init.d/dropbear
          > > > lrwxrwxrwx 1 root root 18 Sep 28 14:11
          > > S05utelnetd ->
          > > > ../init.d/utelnetd
          > > > lrwxrwxrwx 1 root root 18 Sep 28 14:11
          > > S10murasaki ->
          > > > ../init.d/murasaki
          > > > lrwxrwxrwx 1 root root 17 Sep 28 14:11
          > > S10ntpdate ->
          > > > ../init.d/ntpdate
          > > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
          > S10syslog -
          > > >
          > > > ../init.d/syslog
          > > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
          > S11devfsd -
          > > >
          > > > ../init.d/devfsd
          > > > lrwxrwxrwx 1 root root 21 Sep 28 14:11
          S11ekpd -
          > >
          > > > /etc/rc.d/init.d/ekpd
          > > > lrwxrwxrwx 1 root root 17 Sep 28 14:11
          > > S20apservd ->
          > > > ../init.d/apservd
          > > > lrwxrwxrwx 1 root root 15 Sep 28 14:11
          > S20inetd ->
          > > > ../init.d/inetd
          > > > lrwxrwxrwx 1 root root 25 Oct 4 15:58
          > > > S20smartmontools -> /etc/init.d/smartmontools
          > > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
          > S20thttpd -
          > > >
          > > > ../init.d/thttpd
          > > > lrwxrwxrwx 1 root root 15 Sep 28 14:11
          > S60lprng ->
          > > > ../init.d/lprng
          > > > lrwxrwxrwx 1 root root 14 Sep 28 14:11
          S89cron -
          > >
          > > > ../init.d/cron
          > > > lrwxrwxrwx 1 root root 15 Sep 28 14:11
          > S90atalk ->
          > > > ../init.d/atalk
          > > > lrwxrwxrwx 1 root root 13 Sep 28 14:11
          S91smb ->
          > > > ../init.d/smb
          > > > lrwxrwxrwx 1 root root 14 Sep 28 14:11
          S92ftpd -
          > >
          > > > ../init.d/ftpd
          > > > lrwxrwxrwx 1 root root 16 Sep 28 14:11
          > S92pcastd -
          > > >
          > > > ../init.d/pcastd
          > > > lrwxrwxrwx 1 root root 17 Sep 28 14:11
          > > S95mc_ctld ->
          > > > ../init.d/mc_ctld
          > > > lrwxrwxrwx 1 root root 15 Sep 28 15:56
          S99nfs ->
          > > > /etc/init.d/nfs
          > > > lrwxrwxrwx 1 root root 19 Sep 28 14:11
          > > S99rmnologin
          > > > -> ../init.d/rmnologin
          > > >
          > > > Cheers,
          > > > Jens
          > > >
          > > > --- In LinkStation_General@yahoogroups.com, "punga1968"
          > > <yahoo@p...>
          > > > wrote:
          > > > > Hello,
          > > > >
          > > > > any news in adapting the Cool'n Quiet - script for the LS2?
          > > > >
          > > > > Would be great!
          > > > >
          > > > > cheers
          > > > > Punga
          > > > >
          > > > >
          > > > > --- In LinkStation_General@yahoogroups.com, "hadaps"
          > > <hadaps@y...>
          > > > > wrote:
          > > > > > Hey - I have a LS2 - the output is:
          > > > > >
          > > > > > bash-2.05a# ls -l /etc/rc.d/rc2.d
          > > > > > total 1
          > > > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
          > > > > S05dropbear ->
          > > > > > ../init.d/dropbear
          > > > > > -rw------- 1 root root 458 Aug 31 21:28
          > > S05utelnet
          > > > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
          > > > > S05utelnetd ->
          > > > > > ../init.d/utelnetd
          > > > > > lrwxrwxrwx 1 root root 18 Aug 31 21:23
          > > > > S10murasaki ->
          > > > > > ../init.d/murasaki
          > > > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
          > > S10ntpdate -
          > > > > >
          > > > > > ../init.d/ntpdate
          > > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
          > > S10syslog ->
          > > > > > ../init.d/syslog
          > > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
          > > S11devfsd ->
          > > > > > ../init.d/devfsd
          > > > > > lrwxrwxrwx 1 root root 21 Aug 31 21:23
          > > S11ekpd ->
          > > > > > /etc/rc.d/init.d/ekpd
          > > > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
          > > S20apservd -
          > > > > >
          > > > > > ../init.d/apservd
          > > > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
          > > S20inetd ->
          > > > > > ../init.d/inetd
          > > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
          > > S20thttpd ->
          > > > > > ../init.d/thttpd
          > > > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
          > > S60lprng ->
          > > > > > ../init.d/lprng
          > > > > > lrwxrwxrwx 1 root root 14 Aug 31 21:23
          > > S89cron ->
          > > > > > ../init.d/cron
          > > > > > lrwxrwxrwx 1 root root 15 Aug 31 21:23
          > > S90atalk ->
          > > > > > ../init.d/atalk
          > > > > > lrwxrwxrwx 1 root root 13 Aug 31 21:23
          > > S91smb ->
          > > > > > ../init.d/smb
          > > > > > lrwxrwxrwx 1 root root 14 Aug 31 21:23
          > > S92ftpd ->
          > > > > > ../init.d/ftpd
          > > > > > lrwxrwxrwx 1 root root 16 Aug 31 21:23
          > > S92pcastd ->
          > > > > > ../init.d/pcastd
          > > > > > lrwxrwxrwx 1 root root 17 Aug 31 21:23
          > > S95mc_ctld -
          > > > > >
          > > > > > ../init.d/mc_ctld
          > > > > > lrwxrwxrwx 1 root root 18 Aug 31 23:58
          > > > > S98AutoFand ->
          > > > > > ../init.d/AutoFand
          > > > > > lrwxrwxrwx 1 root root 19 Aug 31 21:23
          > > S99rmnologin
          > > > > > -> ../init.d/rmnologin
          > > > > >
          > > > > > Regards Benny
          > > > > >
          > > > > > --- In LinkStation_General@yahoogroups.com, "oseyboldt"
          > > <oli@s...>
          > > > > wrote:
          > > > > > > > > Can someone with LS2 reply with the output of this
          > > command:
          > > > > > > > > ls -l /etc/rc.d/rc2.d
          > > > > > > > >
          > > > > > >
          > > > > > > My ls2 gives the following output:
          > > > > > >
          > > > > > > root@SPEICHER:/www/cgi-bin3# ls -l /etc/rc.d/rc2.d
          > > > > > > total 0
          > > > > > > lrwxrwxrwx 1 root root 18 Aug 28 19:54
          > > > > S05dropbear -
          > > > > > > > ../init.d/dropbear
          > > > > > > lrwxrwxrwx 1 root root 18 Aug 28 19:54
          > > > > S10murasaki -
          > > > > > > > ../init.d/murasaki
          > > > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
          > > > > S10ntpdate -
          > > > > > > > ../init.d/ntpdate
          > > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
          > > > > S10syslog -
          > > > > > > > ../init.d/syslog
          > > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
          > > > > S11devfsd -
          > > > > > > > ../init.d/devfsd
          > > > > > > lrwxrwxrwx 1 root root 21 Aug 28 19:54
          > > S11ekpd -
          > > > > > > > /etc/rc.d/init.d/ekpd
          > > > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
          > > > > S20apservd -
          > > > > > > > ../init.d/apservd
          > > > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
          > > S20inetd -
          > > > > > > > ../init.d/inetd
          > > > > > > lrwxrwxrwx 1 root root 25 Aug 28 22:07
          > > > > > > S20smartmontools -> /etc/init.d/smartmontools
          > > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
          > > > > S20thttpd -
          > > > > > > > ../init.d/thttpd
          > > > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
          > > S60lprng -
          > > > > > > > ../init.d/lprng
          > > > > > > lrwxrwxrwx 1 root root 14 Aug 28 19:54
          > > S89cron -
          > > > > > > > ../init.d/cron
          > > > > > > lrwxrwxrwx 1 root root 15 Aug 28 19:54
          > > S90atalk -
          > > > > > > > ../init.d/atalk
          > > > > > > lrwxrwxrwx 1 root root 13 Aug 28 19:54
          > > S91smb -
          > > > > > > > ../init.d/smb
          > > > > > > lrwxrwxrwx 1 root root 14 Aug 28 19:54
          > > S92ftpd -
          > > > > > > > ../init.d/ftpd
          > > > > > > lrwxrwxrwx 1 root root 16 Aug 28 19:54
          > > > > S92pcastd -
          > > > > > > > ../init.d/pcastd
          > > > > > > lrwxrwxrwx 1 root root 17 Aug 28 19:54
          > > > > S95mc_ctld -
          > > > > > > > ../init.d/mc_ctld
          > > > > > > lrwxrwxrwx 1 root root 18 Aug 29 23:46
          > > > > S98AutoFand -
          > > > > > > > ../init.d/AutoFand
          > > > > > > lrwxrwxrwx 1 root root 19 Aug 28 19:54
          > > > > > > S99rmnologin -> ../init.d/rmnologin
          > > > > > >
          > > > > > >
          > > > > > > So what has to be modified? Does anyone succeed with
          > > adapting
          > > > > > > AutoFan and AutoFand for the ls2?
          > > > > > >
          > > > > > > Best,
          > > > > > > Oliver
          > > >
          > >
          >
        • p_g_varney
          The relevant process on LS2 is mc_ctld . It seems to behave exactly as ppc_uartd on LS1, although on my LS2 (Openlink 052b) the fan at some point seems to
          Message 4 of 21 , Nov 19, 2005
            The relevant process on LS2 is "mc_ctld". It seems to behave exactly
            as "ppc_uartd" on LS1, although on my LS2 (Openlink 052b) the fan at
            some point seems to start back up again after the script turns the fan
            off, even though the disk hasn't start spinning again. To get around
            this, I modified the script so that when it checks the fan status and
            sees the fan speed is in theory already set to low, I echo the command
            again to set it low just in case mc_ctld has set it high again.

            Also, regarding the logs, my LS2 with Openlink has all the logs on a
            ramdisk that gets backed up and restored to the HDD on
            startup/shutdown and once a day during the log rotate cron job, thus
            avoiding spinning up and shutting down the disk just to update the logs.

            Paul

            --- In LinkStation_General@yahoogroups.com, "andy_jf_alexanderuk"
            <andrew.alexander@i...> wrote:
            >
            > Hi,
            >
            > Has there been any more progress (or help needed) on getting this
            > working with the LS2.
            >
            > My fan is beginning to make my LS sound more like a jet engine than
            > a 'discrete' storage device.
            >
            > If any more info is needed, am more than happy to supply
            >
            > Thanks
            >
            > Andy
            >

            [Snip]

            > > --- In LinkStation_General@yahoogroups.com, "Frenchy "
            > > <glasseron@y...> wrote:
            > > >
            > > > To owners of noisy LS2's, (the Linstation fans have a short life)
            > > >
            > > > As the father of the CnQ script, if you want me to make try and
            > > make
            > > > it work on LS2 I need the exact name string of the UART daemon
            > > > process on LS2 called "ppc_uartd" on LS1. Know that there is a
            > > > condition when this process is stopped and I need it to run. So
            > I
            > > > always make sure it is running before handling any status change.
            > > >
            > > > I read the entire page below all the way down, no trace of UARTD
            > > > there. INSTEAD OPEN A TELNET ON YOUR LS2 AND TYPE THIS: ps -ef
            > > > Then post a reply with the output or whatever is the UARTD name
            > > > string.
            > > >
            > > > It boils down to test on LS2 you can try to bypass my script
            > > > manipulations of UARTD, then refresh my memory about why it is
            > > > required. It won't wipe out your disk instantly but I
            > > > *sort*of*recall* that daily cron log rotation around 4am stops
            > the
            > > > UARTD and without it the fan speed is stuck in watever status it
            > > was
            > > > before UARTD stop (thus explaining why I always check on it and
            > > > restard it when needed) - Well if I had an LS2 handy I could
            > > figure
            > > > this out.
            > > >
            > > > I have an enhancement up my sleeve to redirect log outputs to an
            > > > external USB key so the HDD does not get spun only to dump 2
            > lines
            > > > at the bottom of a log file. I see that happening about every 3
            > > > hours where instead my disk could sleep non-stop unless the
            > > network
            > > > needs it.
            > > > Sam.
            > > >

            [Snip]
          • prezet2005
            I ve been having a look at Cool&Quiet on the MIPSEL, I was/am getting the problem of getting C&Q to run properly because my drive wouldn t stay in standby mode
            Message 5 of 21 , Nov 19, 2005
              I've been having a look at Cool&Quiet on the MIPSEL, I was/am getting the problem of
              getting C&Q to run properly because my drive wouldn't stay in standby mode for very long
              before Samba and 'kupdated' would ping the drive and spin it back up. Which renders
              C&Q useless because it's very rarely in standby mode.

              Due to this I've been working on a script which is called by cron every ten minutes that
              checks the disks spinning status, and/or temp and adjusts the fan speed accordingly. It's
              still a working project, but here's the script I'm using:

              #!/bin/sh

              # HD
              #
              MAX_TEMP=35
              DISKSLEEP="$(/sbin/hdparm -C /dev/hda | /bin/grep 'standby' -c)"

              # AVR
              #
              TTY="/dev/ttyS0"
              SLOW="\\\\"
              FAST="]]]]"


              # ... we need to be 'root'
              #
              if [ $UID -ne 0 ]; then
              echo "You need 'root' permissions for this script. Try 'sudo silence'."
              exit 1
              fi

              if [ "$DISKSLEEP" = 1 ]; then
              echo "${SLOW}" > $TTY
              else
              HD_TEMP=`smartctl -A /dev/hda | awk '/^194/ { print($10) }'`
              echo "Current HDD Temperature: $HD_TEMP"
              if [ $HD_TEMP -le $MAX_TEMP ]; then
              echo "${SLOW}" > $TTY
              else
              echo "${FAST}" > $TTY
              fi
              fi

              exit 0

              Basically, it checks if the HDD is in standby, if it is the fan speed is set to low. Else, it
              checks the HDD temperature, if the temp is over 35c it allows the fan to move to high, else
              sets it to low.

              I also found that if you access 'smartctl' to obtain thr hdd temp it spins the drive back up,
              so it useless to use when the drive is alseep, hence it is called late in the process.



              --- In LinkStation_General@yahoogroups.com, "p_g_varney" <p_g_varney@y...> wrote:
              >
              > The relevant process on LS2 is "mc_ctld". It seems to behave exactly
              > as "ppc_uartd" on LS1, although on my LS2 (Openlink 052b) the fan at
              > some point seems to start back up again after the script turns the fan
              > off, even though the disk hasn't start spinning again. To get around
              > this, I modified the script so that when it checks the fan status and
              > sees the fan speed is in theory already set to low, I echo the command
              > again to set it low just in case mc_ctld has set it high again.
              >
              > Also, regarding the logs, my LS2 with Openlink has all the logs on a
              > ramdisk that gets backed up and restored to the HDD on
              > startup/shutdown and once a day during the log rotate cron job, thus
              > avoiding spinning up and shutting down the disk just to update the logs.
              >
              > Paul
              >
              > --- In LinkStation_General@yahoogroups.com, "andy_jf_alexanderuk"
              > <andrew.alexander@i...> wrote:
              > >
              > > Hi,
              > >
              > > Has there been any more progress (or help needed) on getting this
              > > working with the LS2.
              > >
              > > My fan is beginning to make my LS sound more like a jet engine than
              > > a 'discrete' storage device.
              > >
              > > If any more info is needed, am more than happy to supply
              > >
              > > Thanks
              > >
              > > Andy
              > >
              >
              > [Snip]
              >
              > > > --- In LinkStation_General@yahoogroups.com, "Frenchy "
              > > > <glasseron@y...> wrote:
              > > > >
              > > > > To owners of noisy LS2's, (the Linstation fans have a short life)
              > > > >
              > > > > As the father of the CnQ script, if you want me to make try and
              > > > make
              > > > > it work on LS2 I need the exact name string of the UART daemon
              > > > > process on LS2 called "ppc_uartd" on LS1. Know that there is a
              > > > > condition when this process is stopped and I need it to run. So
              > > I
              > > > > always make sure it is running before handling any status change.
              > > > >
              > > > > I read the entire page below all the way down, no trace of UARTD
              > > > > there. INSTEAD OPEN A TELNET ON YOUR LS2 AND TYPE THIS: ps -ef
              > > > > Then post a reply with the output or whatever is the UARTD name
              > > > > string.
              > > > >
              > > > > It boils down to test on LS2 you can try to bypass my script
              > > > > manipulations of UARTD, then refresh my memory about why it is
              > > > > required. It won't wipe out your disk instantly but I
              > > > > *sort*of*recall* that daily cron log rotation around 4am stops
              > > the
              > > > > UARTD and without it the fan speed is stuck in watever status it
              > > > was
              > > > > before UARTD stop (thus explaining why I always check on it and
              > > > > restard it when needed) - Well if I had an LS2 handy I could
              > > > figure
              > > > > this out.
              > > > >
              > > > > I have an enhancement up my sleeve to redirect log outputs to an
              > > > > external USB key so the HDD does not get spun only to dump 2
              > > lines
              > > > > at the bottom of a log file. I see that happening about every 3
              > > > > hours where instead my disk could sleep non-stop unless the
              > > > network
              > > > > needs it.
              > > > > Sam.
              > > > >
              >
              > [Snip]
              >
            • Woody
              Thanks! That script looks good. I just installed smartmontools on my dev box to try it out and I can get the temperature down from 38 to 26 C by keeping the
              Message 6 of 21 , Nov 20, 2005
                Thanks! That script looks good. I just installed smartmontools on my
                dev box to try it out and I can get the temperature down from 38
                to 26 C by keeping the HDD spun down.

                The only thing I want to add to your script is

                (a) a whole load of logging so I can see what is going on
                (b) test the temperature if the disk is in standby n times in a row
                otherwise we might just be catching it after a load of activity but
                in fact it is quite hot. However doesn't seem much chance of that
                even though I set called hdparm -S6 /dev/hda3 (spin down after
                30 seconds) it is not spinning down. I really don't want to
                get into why this is: if there are processes that need to do IO
                then they need to do it
                (c) after calling smartctl, call hdparm -y /dev/hda3 because the disk
                will have been woken out of standby

                BTW what does AVR stand for?

                > # AVR
                > #
                > TTY="/dev/ttyS0"


                Woody



                --- In LinkStation_General@yahoogroups.com, "prezet2005" <powell.lee.
                imac@g...> wrote:
                >
                > I've been having a look at Cool&Quiet on the MIPSEL, I was/am
                getting the problem of
                > getting C&Q to run properly because my drive wouldn't stay in
                standby mode for very long
                > before Samba and 'kupdated' would ping the drive and spin it back
                up. Which renders
                > C&Q useless because it's very rarely in standby mode.
                >
                > Due to this I've been working on a script which is called by cron
                every ten minutes that
                > checks the disks spinning status, and/or temp and adjusts the fan
                speed accordingly. It's
                > still a working project, but here's the script I'm using:
                >
                > #!/bin/sh
                >
                > # HD
                > #
                > MAX_TEMP=35
                > DISKSLEEP="$(/sbin/hdparm -C /dev/hda | /bin/grep 'standby' -c)"
                >
                > # AVR
                > #
                > TTY="/dev/ttyS0"
                > SLOW="\\\\"
                > FAST="]]]]"
                >
                >
                > # ... we need to be 'root'
                > #
                > if [ $UID -ne 0 ]; then
                > echo "You need 'root' permissions for this script. Try 'sudo
                silence'."
                > exit 1
                > fi
                >
                > if [ "$DISKSLEEP" = 1 ]; then
                > echo "${SLOW}" > $TTY
                > else
                > HD_TEMP=`smartctl -A /dev/hda | awk '/^194/ { print($10) }'`
                > echo "Current HDD Temperature: $HD_TEMP"
                > if [ $HD_TEMP -le $MAX_TEMP ]; then
                > echo "${SLOW}" > $TTY
                > else
                > echo "${FAST}" > $TTY
                > fi
                > fi
                >
                > exit 0
                >
                > Basically, it checks if the HDD is in standby, if it is the fan
                speed is set to low. Else, it
                > checks the HDD temperature, if the temp is over 35c it allows the
                fan to move to high, else
                > sets it to low.
                >
                > I also found that if you access 'smartctl' to obtain thr hdd temp it
                spins the drive back up,
                > so it useless to use when the drive is alseep, hence it is called
                late in the process.
                >
                >
              • prezet2005
                Thanks woody - I ve been working on this a bit recently, and since my post a number of things have changed. Firstly I ve stopped allowing cron to run the job
                Message 7 of 21 , Nov 21, 2005
                  Thanks woody - I've been working on this a bit recently, and since my post a number of
                  things have changed. Firstly I've stopped allowing cron to run the job as it 'wakes' the
                  box, and am now running it in /etc/init.d on a loop, which seems to be working well.

                  (a) Logging is still to add at a later date.
                  (b) I had the same problem of the box not spinning down, it came down to 2 processes
                  which kept waking the box: ftp and samba, once I turned both of them off it sleeps like a
                  baby. I've also run logging tests of the temperature of the drive while in spun down mode
                  and it cools quickly.
                  (c) I don't want to allow smartctl to check the temp while sleeping, as I'm running the
                  script to check every 1 minute, if I allowed it to check the box wold never sleep.

                  The AVR does lots of things, but importantly controls the speed of the fan.

                  Will keep you updated once I get the script progressed..

                  Lee


                  --- In LinkStation_General@yahoogroups.com, "Woody" <serenity@w...> wrote:
                  >
                  >
                  > Thanks! That script looks good. I just installed smartmontools on my
                  > dev box to try it out and I can get the temperature down from 38
                  > to 26 C by keeping the HDD spun down.
                  >
                  > The only thing I want to add to your script is
                  >
                  > (a) a whole load of logging so I can see what is going on
                  > (b) test the temperature if the disk is in standby n times in a row
                  > otherwise we might just be catching it after a load of activity but
                  > in fact it is quite hot. However doesn't seem much chance of that
                  > even though I set called hdparm -S6 /dev/hda3 (spin down after
                  > 30 seconds) it is not spinning down. I really don't want to
                  > get into why this is: if there are processes that need to do IO
                  > then they need to do it
                  > (c) after calling smartctl, call hdparm -y /dev/hda3 because the disk
                  > will have been woken out of standby
                  >
                  > BTW what does AVR stand for?
                  >
                  > > # AVR
                  > > #
                  > > TTY="/dev/ttyS0"
                  >
                  >
                  > Woody
                  >
                  >
                  >
                  > --- In LinkStation_General@yahoogroups.com, "prezet2005" <powell.lee.
                  > imac@g...> wrote:
                  > >
                  > > I've been having a look at Cool&Quiet on the MIPSEL, I was/am
                  > getting the problem of
                  > > getting C&Q to run properly because my drive wouldn't stay in
                  > standby mode for very long
                  > > before Samba and 'kupdated' would ping the drive and spin it back
                  > up. Which renders
                  > > C&Q useless because it's very rarely in standby mode.
                  > >
                  > > Due to this I've been working on a script which is called by cron
                  > every ten minutes that
                  > > checks the disks spinning status, and/or temp and adjusts the fan
                  > speed accordingly. It's
                  > > still a working project, but here's the script I'm using:
                  > >
                  > > #!/bin/sh
                  > >
                  > > # HD
                  > > #
                  > > MAX_TEMP=35
                  > > DISKSLEEP="$(/sbin/hdparm -C /dev/hda | /bin/grep 'standby' -c)"
                  > >
                  > > # AVR
                  > > #
                  > > TTY="/dev/ttyS0"
                  > > SLOW="\\\\"
                  > > FAST="]]]]"
                  > >
                  > >
                  > > # ... we need to be 'root'
                  > > #
                  > > if [ $UID -ne 0 ]; then
                  > > echo "You need 'root' permissions for this script. Try 'sudo
                  > silence'."
                  > > exit 1
                  > > fi
                  > >
                  > > if [ "$DISKSLEEP" = 1 ]; then
                  > > echo "${SLOW}" > $TTY
                  > > else
                  > > HD_TEMP=`smartctl -A /dev/hda | awk '/^194/ { print($10) }'`
                  > > echo "Current HDD Temperature: $HD_TEMP"
                  > > if [ $HD_TEMP -le $MAX_TEMP ]; then
                  > > echo "${SLOW}" > $TTY
                  > > else
                  > > echo "${FAST}" > $TTY
                  > > fi
                  > > fi
                  > >
                  > > exit 0
                  > >
                  > > Basically, it checks if the HDD is in standby, if it is the fan
                  > speed is set to low. Else, it
                  > > checks the HDD temperature, if the temp is over 35c it allows the
                  > fan to move to high, else
                  > > sets it to low.
                  > >
                  > > I also found that if you access 'smartctl' to obtain thr hdd temp it
                  > spins the drive back up,
                  > > so it useless to use when the drive is alseep, hence it is called
                  > late in the process.
                  > >
                  > >
                  >
                • oseyboldt
                  To those who successfully installed the Cool´n Quiet Script on LS2, could anyone post the scipts to the Files-Section? I have still the scripts from frenchy
                  Message 8 of 21 , Nov 21, 2005
                    To those who successfully installed the Cool´n Quiet Script on LS2,
                    could anyone post the scipts to the Files-Section? I have still the
                    scripts from frenchy and did not suceed in adapting them.
                    I´m convinced, also some others would be very happy about it!

                    Many thanks in advance,
                    Oliver

                    --- In LinkStation_General@yahoogroups.com, "prezet2005"
                    <powell.lee.imac@g...> wrote:
                    >
                    > Thanks woody - I've been working on this a bit recently, and since
                    my post a number of
                    > things have changed. Firstly I've stopped allowing cron to run
                    the job as it 'wakes' the
                    > box, and am now running it in /etc/init.d on a loop, which seems
                    to be working well.
                    >
                    > (a) Logging is still to add at a later date.
                    > (b) I had the same problem of the box not spinning down, it came
                    down to 2 processes
                    > which kept waking the box: ftp and samba, once I turned both of
                    them off it sleeps like a
                    > baby. I've also run logging tests of the temperature of the drive
                    while in spun down mode
                    > and it cools quickly.
                    > (c) I don't want to allow smartctl to check the temp while
                    sleeping, as I'm running the
                    > script to check every 1 minute, if I allowed it to check the box
                    wold never sleep.
                    >
                    > The AVR does lots of things, but importantly controls the speed of
                    the fan.
                    >
                    > Will keep you updated once I get the script progressed..
                    >
                    > Lee
                    >
                    >
                    > --- In LinkStation_General@yahoogroups.com, "Woody"
                    <serenity@w...> wrote:
                    > >
                    > >
                    > > Thanks! That script looks good. I just installed smartmontools
                    on my
                    > > dev box to try it out and I can get the temperature down from 38
                    > > to 26 C by keeping the HDD spun down.
                    > >
                    > > The only thing I want to add to your script is
                    > >
                    > > (a) a whole load of logging so I can see what is going on
                    > > (b) test the temperature if the disk is in standby n times in a
                    row
                    > > otherwise we might just be catching it after a load of activity
                    but
                    > > in fact it is quite hot. However doesn't seem much chance of that
                    > > even though I set called hdparm -S6 /dev/hda3 (spin down after
                    > > 30 seconds) it is not spinning down. I really don't want to
                    > > get into why this is: if there are processes that need to do IO
                    > > then they need to do it
                    > > (c) after calling smartctl, call hdparm -y /dev/hda3 because the
                    disk
                    > > will have been woken out of standby
                    > >
                    > > BTW what does AVR stand for?
                    > >
                    > > > # AVR
                    > > > #
                    > > > TTY="/dev/ttyS0"
                    > >
                    > >
                    > > Woody
                    > >
                    > >
                    > >
                    > > --- In LinkStation_General@yahoogroups.com, "prezet2005"
                    <powell.lee.
                    > > imac@g...> wrote:
                    > > >
                    > > > I've been having a look at Cool&Quiet on the MIPSEL, I was/am
                    > > getting the problem of
                    > > > getting C&Q to run properly because my drive wouldn't stay in
                    > > standby mode for very long
                    > > > before Samba and 'kupdated' would ping the drive and spin it
                    back
                    > > up. Which renders
                    > > > C&Q useless because it's very rarely in standby mode.
                    > > >
                    > > > Due to this I've been working on a script which is called by
                    cron
                    > > every ten minutes that
                    > > > checks the disks spinning status, and/or temp and adjusts the
                    fan
                    > > speed accordingly. It's
                    > > > still a working project, but here's the script I'm using:
                    > > >
                    > > > #!/bin/sh
                    > > >
                    > > > # HD
                    > > > #
                    > > > MAX_TEMP=35
                    > > > DISKSLEEP="$(/sbin/hdparm -C /dev/hda | /bin/grep 'standby' -
                    c)"
                    > > >
                    > > > # AVR
                    > > > #
                    > > > TTY="/dev/ttyS0"
                    > > > SLOW="\\\\"
                    > > > FAST="]]]]"
                    > > >
                    > > >
                    > > > # ... we need to be 'root'
                    > > > #
                    > > > if [ $UID -ne 0 ]; then
                    > > > echo "You need 'root' permissions for this script. Try 'sudo
                    > > silence'."
                    > > > exit 1
                    > > > fi
                    > > >
                    > > > if [ "$DISKSLEEP" = 1 ]; then
                    > > > echo "${SLOW}" > $TTY
                    > > > else
                    > > > HD_TEMP=`smartctl -A /dev/hda | awk '/^194/ { print($10) }'`
                    > > > echo "Current HDD Temperature: $HD_TEMP"
                    > > > if [ $HD_TEMP -le $MAX_TEMP ]; then
                    > > > echo "${SLOW}" > $TTY
                    > > > else
                    > > > echo "${FAST}" > $TTY
                    > > > fi
                    > > > fi
                    > > >
                    > > > exit 0
                    > > >
                    > > > Basically, it checks if the HDD is in standby, if it is the
                    fan
                    > > speed is set to low. Else, it
                    > > > checks the HDD temperature, if the temp is over 35c it allows
                    the
                    > > fan to move to high, else
                    > > > sets it to low.
                    > > >
                    > > > I also found that if you access 'smartctl' to obtain thr hdd
                    temp it
                    > > spins the drive back up,
                    > > > so it useless to use when the drive is alseep, hence it is
                    called
                    > > late in the process.
                    > > >
                    > > >
                    > >
                    >
                  • jhaveri
                    Hi: I got tired of the slow samba serving speed on NSLU2 and got the LS2 (MIPS based) yesterday . I flashed it with openlink, installed twonkey, smart
                    Message 9 of 21 , Dec 15 1:46 AM
                      Hi:

                      I got tired of the slow samba serving speed on NSLU2 and got the LS2
                      (MIPS based) yesterday . I flashed it with openlink, installed
                      twonkey, smart monitoring tool, and other development tools. Works
                      like a charm, I can serve high bitrate DVDs to MG-35 with no
                      stutter.

                      However, the fan is really noisy, and I plan to keep LS2 on 24/7.
                      The following Cool'n Qiet script modified for LS2 will be
                      nice to use if someone has more info on it. Is it OK to use the
                      script as it is, or is there an updated one?

                      Thanks again to the LS Development team.

                      Regards,

                      Bharat

                      --- In LinkStation_General@yahoogroups.com, "prezet2005"
                      <powell.lee.imac@g...> wrote:
                      >
                      > I've been having a look at Cool&Quiet on the MIPSEL, I was/am
                      getting the problem of
                      > getting C&Q to run properly because my drive wouldn't stay in
                      standby mode for very long
                      > before Samba and 'kupdated' would ping the drive and spin it back
                      up. Which renders
                      > C&Q useless because it's very rarely in standby mode.
                      >
                      > Due to this I've been working on a script which is called by cron
                      every ten minutes that
                      > checks the disks spinning status, and/or temp and adjusts the fan
                      speed accordingly. It's
                      > still a working project, but here's the script I'm using:
                      >
                      > #!/bin/sh
                      >
                      > # HD
                      > #
                      > MAX_TEMP=35
                      > DISKSLEEP="$(/sbin/hdparm -C /dev/hda | /bin/grep 'standby' -c)"
                      >
                      > # AVR
                      > #
                      > TTY="/dev/ttyS0"
                      > SLOW="\\\\"
                      > FAST="]]]]"
                      >
                      >
                      > # ... we need to be 'root'
                      > #
                      > if [ $UID -ne 0 ]; then
                      > echo "You need 'root' permissions for this script. Try 'sudo
                      silence'."
                      > exit 1
                      > fi
                      >
                      > if [ "$DISKSLEEP" = 1 ]; then
                      > echo "${SLOW}" > $TTY
                      > else
                      > HD_TEMP=`smartctl -A /dev/hda | awk '/^194/ { print($10) }'`
                      > echo "Current HDD Temperature: $HD_TEMP"
                      > if [ $HD_TEMP -le $MAX_TEMP ]; then
                      > echo "${SLOW}" > $TTY
                      > else
                      > echo "${FAST}" > $TTY
                      > fi
                      > fi
                      >
                      > exit 0
                      >
                      > Basically, it checks if the HDD is in standby, if it is the fan
                      speed is set to low. Else, it
                      > checks the HDD temperature, if the temp is over 35c it allows the
                      fan to move to high, else
                      > sets it to low.
                      >
                      > I also found that if you access 'smartctl' to obtain thr hdd temp
                      it spins the drive back up,
                      > so it useless to use when the drive is alseep, hence it is called
                      late in the process.
                      >
                    • prb0x
                      Half the talk on here is about noisy fans. I have a great cheap solution that s quite straightforward and does not require taking apart your unit. Take the
                      Message 10 of 21 , Dec 15 6:24 AM
                        Half the talk on here is about noisy fans.

                        I have a great cheap solution that's quite straightforward and does
                        not require taking apart your unit.

                        Take the linkstation and put it somewhere where you won't hear it.

                        I've done this on my MIPs linkstaiton and it works fine. Once I work
                        out how to port this over to my PPC linkstation I will do that.

                        08:10:59 up 94 days, 20:37, load average: 0.05, 0.06, 0.19

                        It's not as if I have to keep on turning the thing on and off. That's
                        the only reason it needs to be close by isn't it?

                        If anyone needs help them I'm prepared to write a detailed guide with
                        illustrations and photos.

                        Cheers,
                        Al
                      Your message has been successfully submitted and would be delivered to recipients shortly.