SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Thanks. I'm running in daemon mode and the default port is 7634 --- so there wasn't much to check.
Edit: Well, I'm assuming hddtemp is running on port 7634 only because that is the default and I specified nothing different. Is there a way to verify the actual port?
Edit 2: I ran gkrellm and the hddtemp displayed fine there too. When I ran gkrellm in 12.1, nothing displayed. I booted 12.1 with the huge kernel in case I incorrectly recompiled my kernel, but nothing there either. Perhaps I need to recompile hddtemp?
Update: I tested gkrellm in Xfce and had the same results. Regardless of whether I use the hddtemp plugin or hda built-in monitor, no temperature appears in gkrellm. I also recompiled hddtemp within 12.1 to no avail. So the problem is not kima or hddtemp but something more fundamental.
I'm using lmsensors 2.10.3. Should be no problem there. As I shared earlier, both kima and gkrellm have no problem finding hwmon sensor data. The only data neither can find is hda temps, although hddtemp works fine from the command line.
Running lsmod shows that the i2c modules are running, which makes sense because gkrellm and kima show that data.
However, in my kernel config I found most of the I2C Hardware Sensors Chip support not selected. I don't know whether that makes a difference on these old boxes and I think I had a minimal selection under 126.96.36.199 too. There is a note on the lmsensors page that sysfs support changed in 2.6.22, but my config file seems okay.
Regarding Pat's kernel config files, I don't think he compiles any specific i2c or lmsensors support. Possibly in huge he does, I don't know at the moment. I recall the first time I tried to install lmsensors I had to recompile the kernel to support that.
Device permissions are the same between both versions.
The hddtemp.db is current.
I'll have to wait until next weekend to recompile the kernel with all hardware sensor chips configured. On the other hand, does lmsensors play a role in requesting hda temperature? I thought that was all done through SMART. If that is the case, then recompiling likely will produce no different result.
bsdunix provided me the hint I needed. In my Current partitions I had no network services enabled. The problem was caused by not executing rc.inet1. To be precise, the problem was caused because lo was not configured, which normally is performed in rc.inet1. I tested keeping all of my rc.d network scripts disabled and manually ran ifconfig lo 127.0.0.1 and then kima and gkrellm correctly displayed the hard drive temperature.
So in my rc.local I added the following just after running hddtemp in daemon mode:
# ensure kima (kde) and gkrellm can find hddtemp
if [ ! -x /etc/rc.d/rc.inet1]; then
ifconfig lo 127.0.0.1