[ltp] Fan always on problem... does it happen on R52 with the
Intel Media Gr
Leon Brokken
linux-thinkpad@linux-thinkpad.org
Fri, 12 Aug 2005 17:19:41 +0300
If it wasn't for Honey suggesting about cat -options I would never have
found out. When I used just cat or opening in an editor everything
looked pretty decent to me ;-) Which once again shows rtfm, man cat!
Cheers, Leon.
André Wyrwa wrote:
>If the file is transferred in ASCII-mode and a Windows box is involved,
>such things can happen.
>
>I was once doing a support job at a company who had a SuSE based server
>and the installation script for one software they wanted to install on
>it was transferred to it from a Windows box. It took me some hours to
>figure that the malformed line breaks were causing the bad interpreter
>error.
>
>André.
>
>
>On Fr, 2005-08-12 at 07:56 +0300, Leon Brokken wrote:
>
>
>>Honey,
>>
>>Just to confirm that using 'cat -A' showed that the end of lines were
>>marked with ^A$. I have no clue why or even what that means, but I noted
>>that other files were only marked with $ at the end of the lines.
>>Yanking the text into a new emacs window got rid of it. Now it works
>>fine, thanks.
>>
>>Cheers, Leon.
>>
>>
>>honey@gneek.com wrote:
>>
>>
>>
>>>On Thu, 11 Aug 2005, Leon Brokken wrote:
>>>
>>>
>>>
>>>>Thanks a lot Honey,
>>>>
>>>>however, upon starting the init script, I get the following
>>>>
>>>> bash-3.00# /etc/rc.d/rc.ibm_manage_fan start
>>>> : bad interpreter: No such file or directory
>>>>
>>>>
>>>Sounds to me like you don't have /bin/sh :) It's a shell script, so
>>>first line applies. Maybe try checking attaching and unattaching it
>>>didn't add non-printable characters etc - "cat -vent"?
>>>
>>>You'd better also check for false linebreaks too by the sound of it.
>>>Maybe it got mangled in transmission.
>>>
>>>
>>>
>>>>PS: when I run the script /usr/local/sbin/ibm_manage_fan.sh directly,
>>>>the fan boosts for a second and then returns to it normal speed. I don't
>>>>know if it's supposed to do that (haven't checked the config yet) but at
>>>>least that script is not causing the error.
>>>>
>>>>
>>>You need to touch file that tells it to run - check the bottom of the
>>>loop.
>>>That's just to test it, and is exactly why I put the traps in!
>>>Dangerous to test, and not realise your fans left off when you
>>>finish.
>>>
>>>Honey
>>>
>>>
>>--
>>Leon J.S. Brokken
>>Dept. of Anatomy, Inst. of Biomedicine, University of Turku
>>Tykistökatu 6 A, 20520 Turku, Finland
>>Tel. +358(0)405845063, Fax +358(0)22502610
>>--
>>GnuPG: 0x3C0E8DAE | 1EE8 511D A6D3 9F9C 2F43 EB6E 8387 B051 3C0E 8DAE
>>--
>>
>>
>>
--
Leon J.S. Brokken
Dept. of Anatomy, Inst. of Biomedicine, University of Turku
Tykistökatu 6 A, 20520 Turku, Finland
Tel. +358(0)405845063, Fax +358(0)22502610
--
GnuPG: 0x3C0E8DAE | 1EE8 511D A6D3 9F9C 2F43 EB6E 8387 B051 3C0E 8DAE
--