Thanks, Allen and Chris and Michael!
Allen Weiner wrote: > Many motherboards have Usenet newgroups. You might find help there. (If > you're not familiar with Usenet, you can use Google Groups to search > Usenet archives.) > > I noticed that lm-sensors has a mailing list. That might be another > information source. > Thanks for the suggestions, Allen! I'll Google, and if necessary post to, the HP/Compaq newsgroups. > There is a Windows counterpart of lm-sensors: Motherboard Monitor. It > hasn't been supported for several years, but last time I checked, it > still had an online forum. That also might be an information source. > There are several Windows counterparts. I found two that display the actual CPU core temperature, as opposed to or in addition to the sensors, so I know it's possible. Of course, being Windows programs, I didn't see source code available. <sigh> Chris Knadle wrote: >> Because of several problems, I ended up doing an OS reinstall, and I'm >> back to: >> > I don't think I know anybody (including myself) that hasn't reinstalled > Linux after some experimentation that hosed it. So you're in good company. > Thanks, Chris! As long as I can still get online with at least one OS, I figure I can find out what happened. >> [EMAIL PROTECTED] ~]$ sudo modprobe coretemp >> FATAL: Error inserting coretemp >> (/lib/modules/2.6.22.15-desktop-1.uc1mdv/kernel/drivers/hwmon/coretemp.ko.g >> z): No such device >> > It's hard to know what's missing. Maybe the logs will give the humans a > hint. Have a look at the end of /var/log/dmesg, /var/log/messages, > and /var/log/syslog right after trying to load the module. ['tail -n > 25 /var/log/messages' will give you the last 25 lines of /var/log/messages, > for instance.] Perhaps even try seeing what other log might have a message > in it with 'zfgrep coretemp /var/log/*' > Aha! /var/log/messages and /var/log/syslog both include: Jan 11 17:18:00 eris sudo: adam : TTY=pts/1 ; PWD=/home/adam ; USER=root ; COMMAND=/sbin/modprobe -v coretemp Jan 11 17:18:00 eris kernel: coretemp: Unknown CPU model 16 I think this tells me something useful, but I'm not yet sure what. AFAIK my CPU's an ordinary Intel Celeron 420; I don't see why I should get "unknown CPU model." > Sometimes ACPI itself has some temperature measurements available. For > instance, I measure my P4's CPU temperature via: > > cat /proc/acpi/thermal_zone/THRM/temperature > I looked through all of /proc and /sys and didn't find anything that seemed relevant. OTOH the script I wrote to search recursively only looked at 'visible' directories and files. Is there any way to have something like "for FOO in *" in a bash script also return files and directories that start with a period? > Compiling a kernel for yourself to start with is frankly a daunting task. > [snip] > > The best recommendation on learning how to do it is the Linux Kernel in a > Nutshell by Greg Kroah-Hartman, which is free for download here -- see the > bottom of the page: > > http://www.kroah.com/lkn/ > Thanks for the link! It's been downloaded and added to my "to read" list. Right now I'm going through "Upgrading and Repairing PCs, 18th edition" to learn about the hardware in my new system -- things like SATA and DDR2 RAM are new to me. Michael Muller wrote: > Jim Doherty gave a good talk on this subject way back in 2003, you can view > the presentation info at http://mhvlug.org/MonthlyMeetings/2003/05. I think > it would be worthwhile for the LUG to have another talk on kernel building. > That was nearly five years ago. I think updated presentations on some of the older topics could be useful. (My first MHVLUG meeting was Oct. '04, on X11. I don't think I understood any of it at that time. I'm doing better at that now.) IIRC, you (Michael) were looking for tools for hardware monitoring. I found msr (and other tools) on http://www.etallen.com/index.html which displays x86 model-specific registers. Somehow it doesn't display the core temp on my CPU, though. I'd probe through the source code, but as it is it won't compile with gcc. Adam _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Feb 6 - DBUS Mar 5 - Setting up a platform-independent home/small office network using Linux
