Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gkrellm not showing hard drive temps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Ahnilated
n00b
n00b


Joined: 12 Sep 2010
Posts: 39

PostPosted: Fri Dec 03, 2010 3:31 am    Post subject: Gkrellm not showing hard drive temps Reply with quote

Hello everyone and thanks in advance for any tips/help.

I know I am missing something. I have Gkrellm up and running but I can't for the life of me get it to show my hard drive temps. The hard drives are:

/dev/sda
/dev/sdb
/dev/sdc

Now it only allows:

/dev/hda
/dev/hdb

I have tried editing the config files in ~.gkrellm2/ only to have them written back to the defaults which do not show my drives.

This is what it changes sensor-config back too:
__________________________________________________________
sensor sensor_config_version 1
sensor sensor_sysdep_private 2
sensor sensor_float_factor 10000
sensor gkrellm_float_factor 1000
sensor "CPU" "atk0110@0/temp1" 0 0 0 0
sensor "MB" "atk0110@0/temp2" 0 0 1 0
sensor "Core 0" "coretemp@0/temp1" 0 0 1 0
sensor "Core 1" "coretemp@1/temp1" 0 0 1 0
sensor "Core 2" "coretemp@2/temp1" 0 0 1 0
sensor "Core 3" "coretemp@3/temp1" 0 0 1 0
sensor "GPU C" "nVidia GPU Core" 10000 0 1 0
sensor "hda" "hddtemp/hda" 10000 0 1 0
sensor "hdb" "hddtemp/hdb" 10000 0 1 0
sensor "CPU" "atk0110@0/fan1" 0 0 1 0
sensor "CHASSIS1" "atk0110@0/fan2" 0 0 1 0
sensor "CHASSIS2" "atk0110@0/fan3" 0 0 1 0
sensor "CHASSIS3" "atk0110@0/fan4" 0 0 1 0
sensor "POWER" "atk0110@0/fan5" 0 0 1 0
sensor "Vcore" "atk0110@0/in0" 0 0 1 0
sensor " +3.3" "atk0110@0/in1" 0 0 1 0
sensor " +5" "atk0110@0/in2" 0 0 1 0
sensor " +12" "atk0110@0/in3" 0 0 1 0
sensor units_fahrenheit 0
sensor volt_display_mode 0
________________________________________________________________
Now my user-config is:
________________________________________________________________
### GKrellM user config. Auto written, do not edit (usually) ###
### Version 2.3.2 ###
enable_hostname 1
hostname_short 0
enable_sysname 0
mbmon_port 0
sticky_state 0
dock_type 0
decorated 0
skip_taskbar 1
skip_pager 1
above 0
below 0
track_gtk_theme_name 0
default_track_theme "Default"
save_position 1
chart_width 100
update_HZ 10
allow_multiple_instances 0
float_factor 1000
hostname sysname_mode 1
clock_cal clock_launch
clock_cal clock_tooltip
clock_cal cal_launch
clock_cal cal_tooltip
clock_cal hour_chime_command
clock_cal quarter_chime_command
clock_cal loop_chime_enable 0
clock_cal clock_options 0
clock_cal cal_options 0
clock_cal cal_format %a <span foreground="$A"><big><big>%e</big></big></span> %b
clock_cal clock_format %l:%M <span foreground="$A"><small>%S</small></span>
cpu extra_info cpu 1
cpu chart_config cpu 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu0 1
cpu chart_config cpu0 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu1 1
cpu chart_config cpu1 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu2 1
cpu chart_config cpu2 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu3 1
cpu chart_config cpu3 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu4 1
cpu chart_config cpu4 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu5 1
cpu chart_config cpu5 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu6 1
cpu chart_config cpu6 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu extra_info cpu7 1
cpu chart_config cpu7 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500
cpu enable 1
cpu smp_mode 1
cpu omit_nice_mode 0
cpu config_tracking 0
cpu sensor_mode 0
cpu text_format $T
proc enable 0 1
proc launch (null)
proc tooltip_comment (null)
proc sensor_mode 0
proc text_format \w88\a$p\f procs\n\e$u\f users
proc chart_config 40 100 0 0 0 0 : 1 0 0 0 500 : 0 0 0 0 500
disk assign_method 2
disk device Disk 0 0 0 1 1 0 0
disk chart_config Disk 40 200000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
disk device sdb 0 0 11 0 1 -1 0
disk device sdb1 0 0 11 0 1 1 0
disk device sda 0 0 11 0 1 -1 0
disk device sda1 0 0 11 0 1 1 0
disk device sda2 0 0 11 0 1 2 0
disk device sda3 0 0 11 0 1 3 0
disk device sdc 0 0 11 0 1 -1 0
disk device sdc1 0 0 11 0 1 1 0
disk device sr0 0 0 14 0 1 -1 0
disk device md0 0 0 15 0 1 -1 0
disk text_format $T
inet text_format all \t$a\f $l\N$A\f $L
inet update_interval all 1
net enables eth0 1 1 0
net chart_config eth0 40 700 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500
net enables eth1 0 1 0
net enables lo 0 1 0
net enables sit0 0 1 0
net timer_enabled 0
net timer_seconds 0
net timer_iface none
net timer_on
net timer_off
net text_format $T\b\c\f$L
net reset_mday 1
net net_stats_window_height 200
meminfo mem_meter 0 0 0
meminfo swap_meter 0 0
meminfo swap_chart 0 1
meminfo mem_launch
meminfo mem_tooltip
meminfo mem_data_format $t - $f free
meminfo swap_launch
meminfo swap_tooltip
meminfo swap_data_format $t - $f free
meminfo text_format $T
fs fs_check_timeout 2
fs nfs_check_timeout 16
fs auto_eject 0
fs binary_units 0
fs data_format $t - $f free
mail mailbox-local mbox /var/mail/benedictd
mail mua
mail notify
mail fetch_command
mail remote_check_timeout 5
mail local_check_timeout 4
mail fetch_check_is_local 0
mail msg_count_mode 0
mail animation_select_mode 3
mail fetch_check_only_mode 0
mail reset_remote_mode 0
mail unseen_is_new 0
mail enable 1 0 0 0
mail animation_continuous 0
mail show_tooltip 1
mail mh_seq_ignore 0
battery enable 0
battery enable_composite 0
battery estimate_time 0
battery estimate_time_discharge 1500
battery estimate_time_charge 3000
battery estimate_time_charge_model 0
battery full_cap_fallback 5000
battery poll_interval 5
battery alert_units_percent 0
uptime enable 1
uptime launch
uptime tooltip
mailwatch_plugin_config toggles 65535
mailwatch_plugin_config animation_steps 6
__________________________________________________________________________

it shows the right drives but I can't get it to work in the sensor-config file. What am I missing?

It acts like it is reading a default file and not the computers drives.
Back to top
View user's profile Send private message
MacGyver031
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2004
Posts: 141
Location: Ilavalai, Sri Lanka

PostPosted: Fri Dec 03, 2010 7:35 am    Post subject: Reply with quote

Hi,
Could you tell us the make and model.
Further do you have the hddtemp plugin?
Did you configure (some new drives have to be defined and configured properly!) hddtemp and start the script?
_________________
Sincerely your
Joanand K.

MacBook Pro 5.1: 2.4GHz Core2 Duo, 4096MB, 500GB, NVidia 9400/9600 M GT
Gentoo, Kernel 3.4.9, XOrg, Fluxbox.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10306
Location: Córdoba (Spain)

PostPosted: Fri Dec 03, 2010 9:55 am    Post subject: Reply with quote

I can think of two problems here.

If you rely on hddtemp to fetch the temperature info then you must make sure that hddtemp is installed, is running, and your hd models are on its database (/usr/share/hddtemp/*).

If you rely on lm_sensors, then you should look at the dmesg output and make sure that the lm_sensor module for your sensors is correctly loaded. In the latest kernel versions there have been changed related to the ACPI layer that prevent some modules from loading to avoid conflicts. It's possible to override this new policy (google for acpi_enforce_resources=lax), and it's usually safe, but make your own research, just in case.
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7167

PostPosted: Fri Dec 03, 2010 10:24 am    Post subject: Reply with quote

i92guboj wrote:

If you rely on hddtemp to fetch the temperature info then you must make sure that hddtemp is installed, is running, and your hd models are on its database (/usr/share/hddtemp/*).


I agree, the gkrellm hddtemp just fetch the info from the hddtemp program so:
/etc/init.d/hddtemp start
Back to top
View user's profile Send private message
Ahnilated
n00b
n00b


Joined: 12 Sep 2010
Posts: 39

PostPosted: Fri Dec 03, 2010 4:11 pm    Post subject: Reply with quote

Thanks everyone for the reply's. I have tried it with hddtemp and without hddtemp. I have tried updating the database to have the correct info for my drives, which gets reset on updates. I have also read that Gkrellm doesn't need hddtemp anymore because it pulls the information on its own. Either way it doesn't work in Gkrellm. I am able to type hddtemp /dev/sda and get a temp in a terminal window on all the drives.
_______________________________________________________________
n0zca benedictd # hddtemp /dev/sda
WARNING: Drive /dev/sda doesn't appear in the database of supported drives
WARNING: But using a common value, it reports something.
WARNING: Note that the temperature shown could be wrong.
WARNING: See --help, --debug and --drivebase options.
WARNING: And don't forget you can add your drive to hddtemp.db
/dev/sda: WDC WD2001FASS-00W2B0: 35 C or F
n0zca benedictd # hddtemp /dev/sdb
WARNING: Drive /dev/sdb doesn't appear in the database of supported drives
WARNING: But using a common value, it reports something.
WARNING: Note that the temperature shown could be wrong.
WARNING: See --help, --debug and --drivebase options.
WARNING: And don't forget you can add your drive to hddtemp.db
/dev/sdb: WDC WD1001FALS-00E8B0: 31 C or F
n0zca benedictd # hddtemp /dev/sdc
WARNING: Drive /dev/sdc doesn't appear in the database of supported drives
WARNING: But using a common value, it reports something.
WARNING: Note that the temperature shown could be wrong.
WARNING: See --help, --debug and --drivebase options.
WARNING: And don't forget you can add your drive to hddtemp.db
/dev/sdc: WDC WD20EADS-00S2B0: 33 C or F

After database update:

n0zca benedictd # hddtemp /dev/sda
/dev/sda: WDC WD2001FASS-00W2B0: 34 C
n0zca benedictd # hddtemp /dev/sdb
/dev/sdb: WDC WD1001FALS-00E8B0: 30 C
n0zca benedictd # hddtemp /dev/sdc
/dev/sdc: WDC WD20EADS-00S2B0: 33 C

Yes, I have sent this info upstream to be put into the database.
____________________________________________________________________________

Now if I add all the drives to the hddtemp.db it makes no difference. I can still only see /dev/hda and /dev/hdb NOT /dev/sda and so on even if I change it in the config files.

Now I have lm_sensors installed and it does NOT show any HD info if you type sensors:
____________________________________________________________________________
n0zca benedictd # sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage: +1.21 V (min = +0.80 V, max = +1.60 V)
+3.3 Voltage: +3.28 V (min = +2.97 V, max = +3.63 V)
+5 Voltage: +5.02 V (min = +4.50 V, max = +5.50 V)
+12 Voltage: +11.91 V (min = +10.20 V, max = +13.80 V)
CPU FAN Speed: 1318 RPM (min = 600 RPM)
CHASSIS1 FAN Speed:1288 RPM (min = 600 RPM)
CHASSIS2 FAN Speed:1188 RPM (min = 600 RPM)
CHASSIS3 FAN Speed:1250 RPM (min = 600 RPM)
POWER FAN Speed: 1757 RPM (min = 0 RPM)
CPU Temperature: +41.0 C (high = +60.0 C, crit = +75.0 C)
MB Temperature: +37.0 C (high = +45.0 C, crit = +75.0 C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +40.0 C (high = +80.0 C, crit = +100.0 C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1: +37.0 C (high = +80.0 C, crit = +100.0 C)

coretemp-isa-0002
Adapter: ISA adapter
Core 2: +40.0 C (high = +80.0 C, crit = +100.0 C)

coretemp-isa-0003
_______________________________________________________

sensors-detect
_______________________________________________________
Adapter: ISA adapter
Core 3: +35.0 C (high = +80.0 C, crit = +100.0 C)
Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `w83627ehf':
* ISA bus, address 0x290
Chip `Winbond W83667HG Super IO Sensors' (confidence: 9)

Driver `coretemp':
* Chip `Intel Core family thermal sensor' (confidence: 9)

Warning: the required module w83627ehf is not currently installed
on your system. If it is built into the kernel then it's OK.
Otherwise, check http://www.lm-sensors.org/wiki/Devices for
driver availability.

Warning: the required module coretemp is not currently installed
on your system. If it is built into the kernel then it's OK.
Otherwise, check http://www.lm-sensors.org/wiki/Devices for
driver availability.

No modules to load, skipping modules configuration.
___________________________________________________________
and lm_sensors is configured in the kernel so it doesn't need sensors-detect.
Back to top
View user's profile Send private message
Ahnilated
n00b
n00b


Joined: 12 Sep 2010
Posts: 39

PostPosted: Fri Dec 03, 2010 7:27 pm    Post subject: Reply with quote

Ok, I figured out the problem. In /etc/conf.d/hddtemp I had to manually change the drive parameters to show the right drives and then enable the right drives in the config for Gkrellm. Why this doesn't see the right drives and input it into the file I haven't a clue.
Back to top
View user's profile Send private message
Ahnilated
n00b
n00b


Joined: 12 Sep 2010
Posts: 39

PostPosted: Fri Dec 03, 2010 9:23 pm    Post subject: Reply with quote

Actually the problem is not fixed. I rebooted to make sure everything is working fine and now I show no hdd's at all in Gkrellm. This is getting worse!
Back to top
View user's profile Send private message
Ahnilated
n00b
n00b


Joined: 12 Sep 2010
Posts: 39

PostPosted: Fri Dec 03, 2010 9:49 pm    Post subject: Reply with quote

MacGyver031 wrote:
Hi,
Could you tell us the make and model.
Further do you have the hddtemp plugin?
Did you configure (some new drives have to be defined and configured properly!) hddtemp and start the script?


The system is an Intel i7 920 at 3.8G with 12G ram on an Asus P6T Deluxe V2 motherboard. I have the hddtemp plugin but from what I read it is not needed being Gkrellm now has that natively. Yes, hddtemp is in the startup and the drives are seen fine when you type hddtemp /dev/sda or whatever drive it is. It just isn't showing up in Gkrellm as any drives now.
Back to top
View user's profile Send private message
Ahnilated
n00b
n00b


Joined: 12 Sep 2010
Posts: 39

PostPosted: Fri Dec 03, 2010 10:54 pm    Post subject: Reply with quote

I found the problem. Hddtemp and Gkrellmd are not starting up right and this is causing the issue upon boot after I made the config changes. The configs are correct but it just isn't starting up right. I am running this down.

Everything is working now. Thanks for the tips everyone.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum