LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-25-2007, 05:17 PM   #1
alpha_hack
Member
 
Registered: Jul 2007
Location: Sofia, Bulgaria
Distribution: Slackware 13.1x86_64
Posts: 75

Rep: Reputation: 15
Question Hardware monitoring + Slackware 11 and Intel 845GL


Hi everybody,

First of all, I want to tell you:
Don't post spam and
Don't post if you don't know exactly what I'm asking because I don't have time and money to give away for a new laptop !

So, I want to get hardware monitoring on my Laptop Fujitsu Siemens Amilo 6825 with an Intel 845GL chipset. Can somebody give me some information about how could I do that and if it's possible on this laptop ? I want to be 100% sure before I do any changes in the kernel or download some software.

Could you be so kind helping me with this one ?



Hardware Info:
Code:
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 02)
01:03.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
01:0a.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
01:0c.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller



-----------------------

cpu


processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping        : 9
cpu MHz         : 2799.930
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 5598.04
clflush size    : 64



--------------------------------
if you need some other information about my hardware please ask and I'll provide you with any !




Thanks in advance!

Best wishes,
tftd

Last edited by alpha_hack; 09-25-2007 at 05:20 PM.
 
Old 09-25-2007, 07:55 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by alpha_hack View Post
Hi everybody,

First of all, I want to tell you:
Don't post spam and
Don't post if you don't know exactly what I'm asking because I don't have time and money to give away for a new laptop !

tftd
As for the spam part, people won't post spam in reply to a question. Spammers start their own threads on those rare occasion when one slips in, and that thread gets closed in short order.

Second, it is entirely YOUR prerogative, whether or not you accept, use or abuse any information provided to you by members. LQ members will only provide you with information that they believe will help you solve your issue, or they might ask for more info from you..
If you use a members suggestion, and your laptop catches on fire and burns your house down, it's YOUR fault and/or YOUR problem. Not theirs. The advice is free, and no liability is implied or assumed.



Now, to address your issue: You ought to look into the lm_sensors project. That is the backend to just about every method of hardware monitoring used on Linux. The address is lm_sensors.org *I think* but you will have no trouble finding it anyways, using Google if need be.
The included default configuration file has suggested setups for many different boards and chips, however it may not have your EXACT setup.
Download the package if you haven't got it already, adn read the docs.
Setting up lm_sensors WILL require you to do some minor tuning of your kernel, for your onboard hardware monitoring chips and/or sensors.

My last motherboard was a MSI 845PE, which had some of the same guts as your board does (like the 82801 and 845 chipset; my 845PE used the w83267* Super-I/O chip), so if you go this route and would like me to post for you my old lm_sensors configuration for that board, please just ask! You might have different hardware monitor chips, but it's a start.

Good luck!


* That number might be wrong, but it's close.
 
Old 09-26-2007, 03:29 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
You don't need to buy any hardware. Nearly every computer out there, both laptops and desktops have sensors built in that can monitor various values.

There are two ways to access the sensors:

1) lm_sensors: Run this to find out if lm_sensors is installed:
Code:
ls /var/log/packages | grep sensors
this should give you something like:
Code:
lm_sensors-2.10.3-i486-1
Here's the wiki for 2.6.x kernels:
http://www.lm-sensors.org/wiki/Kernel2.6

2) Now, lm_sensors doesn't always work (at least for me on my $ony laptop), in which case you can try this:
Code:
ls /lib/modules/$(uname -r)/kernel/drivers/acpi
you should see many kernel modules listed:
Code:
ac.ko         bay.ko        dock.ko      processor.ko     video.ko
asus_acpi.ko  button.ko     fan.ko       thermal.ko
battery.ko    container.ko  ibm_acpi.ko  toshiba_acpi.ko
So, on my laptop, I want to know the temperature and battery information, so I:
Code:
modprobe thermal
modprobe battery
Then look in '/proc/acpi' for the info. If you get a system monitoring program (I prefer gkrellm) it will automatically detect these values. So for temperature you can usually find it in '/proc/acpi/thermal_zone/ATF0/temperature'.

Last edited by H_TeXMeX_H; 09-26-2007 at 03:30 AM.
 
Old 09-27-2007, 10:08 AM   #4
alpha_hack
Member
 
Registered: Jul 2007
Location: Sofia, Bulgaria
Distribution: Slackware 13.1x86_64
Posts: 75

Original Poster
Rep: Reputation: 15
Hi there,

I've tried lm_sensors and read a lot of faq and documentation about it.
I found that a driver in the kernel (2.6.21) -> Hardware Monitoring named vt12 something ... supports my chipset.
So I've managed to see my temperature, but still I have at the moment a problem with the video card ( my laptop is a bit old...) and I can't try the last post but everything was and still is working fine.

I know gkrellm but when I start the program it shows me that the temperature is 75C and never changes. Also I've set gkrellm to show me ram usage but still it shows me some values that aren't right. When I check how much of my ram is free and used in my terminal ( cat /proc/meminfo | grep -i mem ) it shows me that I have 10mb free, and when compare it whit gkrellm it shows me I have 300mb free... So I prefer using terminal


Thanks for all advices !

Last edited by alpha_hack; 09-27-2007 at 10:12 AM.
 
Old 09-27-2007, 10:20 AM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
have you run the sensors-detect script included with lm_sensors? That should identify any/all sensors in your machine, and give instructions on how to read them and what modules are needed to do so.

As for gkrellm, I believe it too uses lm_sensors as a backend, and if I'm correct with thism then step one is still to get lm_sensors properly set up first.

I can't comment on the memory numbers. I really have no idea. There are several other scripts such as DMI-decode which give info about memory, but I'm not sure if free-memory is one of the data it provides.
 
Old 09-27-2007, 01:46 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by alpha_hack View Post
Hi there,

I've tried lm_sensors and read a lot of faq and documentation about it.
I found that a driver in the kernel (2.6.21) -> Hardware Monitoring named vt12 something ... supports my chipset.
So I've managed to see my temperature, but still I have at the moment a problem with the video card ( my laptop is a bit old...) and I can't try the last post but everything was and still is working fine.

I know gkrellm but when I start the program it shows me that the temperature is 75C and never changes. Also I've set gkrellm to show me ram usage but still it shows me some values that aren't right. When I check how much of my ram is free and used in my terminal ( cat /proc/meminfo | grep -i mem ) it shows me that I have 10mb free, and when compare it whit gkrellm it shows me I have 300mb free... So I prefer using terminal


Thanks for all advices !
For the temperature, run:

Code:
cat /proc/acpi/thermal_zone/ATF0/temperature
assuming it exists. If not, run 'sensors'.

For the memory, read this from 'man gkrellm':

Quote:
Mem and Swap Monitor
Here you are reading a ratio of total used to total available. The
amount of memory used indicated by the memory monitor is actually a
calculated "used" memory. If you enter the "free" command, you will
see that most of your memory is almost always used because the kernel
uses large amounts for buffers and cache. Since the kernel can free a
lot of this memory as user process demand for memory goes up, a more
realistic reading of memory in use is obtained by subtracting the
buffers and cached memory from the kernel reported used. This is shown
in the free command output in the "-/+ buffers/cache" line where a cal-
culated used amount has buffers and cached memory subtracted from the
kernel reported used memory, and a calculated free amount has the
buffers and cached memory added in.

While the memory meter always shows the calculated "used" memory, the
raw memory values total, shared, buffered, and cached may be optionally
displayed in the memory panel by entering an appropriate format display
string in the config.
 
  


Reply

Tags
cpu, hardware, kernel, linux, monitoring


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware RAID monitoring on Intel Server Platform SR1425BK1-E istvank Linux - Hardware 0 02-25-2006 06:52 AM
Slackware 9.1 under Inspiron 1100 using Intel 845GL Graphics Card, Site Drivers! Intrus01 Linux - Laptop and Netbook 0 04-29-2004 04:48 PM
Resolution not right with Intel 845GL graphics alan4482 Fedora 5 12-29-2003 07:17 PM
Intel 845GL Problem... vijayvenkatesh Linux - Newbie 6 06-17-2003 12:10 PM
Intel 845GL not work with XFree86 4.2 chaujy Linux - Hardware 1 03-18-2003 11:59 PM


All times are GMT -5. The time now is 03:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration