I have a Lenovo SA120 and I'm trying to use this fan control script to manually set the fan speed for the disk array.
The requirement is to use sg3_utils. Which I've installed by using oPKG. I get to this point the script does not respond to ctrl-c.
I have the disk array connected via sas card in vmware:
Looking for suggestions on how to troubleshoot
---
Edit: It responded to ctrl-c with this:
The requirement is to use sg3_utils. Which I've installed by using oPKG. I get to this point the script does not respond to ctrl-c.
I have the disk array connected via sas card in vmware:
Looking for suggestions on how to troubleshoot
---
Edit: It responded to ctrl-c with this:
Code:
Enclosure found on /dev/sg14
Enclosure not found on /dev/sg13
Enclosure not found on /dev/sg12
Enclosure not found on /dev/sg11
Enclosure not found on /dev/sg10
Enclosure not found on /dev/sg9
Enclosure not found on /dev/sg8
Enclosure not found on /dev/sg7
Enclosure not found on /dev/sg6
Enclosure not found on /dev/sg5
Enclosure not found on /dev/sg4
Enclosure not found on /dev/sg3
Enclosure not found on /dev/sg2
Enclosure not found on /dev/sg1
Enclosure not found on /dev/sg0
Enclosure found on /dev/bsg/34:0:11:0
Enclosure not found on /dev/bsg/end_device-34:0:11
Enclosure not found on /dev/bsg/34:0:10:0
^CTraceback (most recent call last):
File "fancontrol.py", line 136, in <module>
main()
File "fancontrol.py", line 126, in main
devices = find_sa120_devices()
File "fancontrol.py", line 64, in find_sa120_devices
output = check_output([sg_ses_binary, '--maxlen=32768', device], stderr=STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 568, in check_output
output, unused_err = process.communicate()
File "/usr/lib/python2.7/subprocess.py", line 792, in communicate
stdout = _eintr_retry_call(self.stdout.read)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
KeyboardInterrupt
Attachments
-
29.1 KB Views: 0
Last edited: