Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2008, 08:23 PM
spaunskiva spaunskiva is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default finding the processor temperature on intel 845g on dell gx26
Some days ago I got an old dell gx260 with pentium 4 2GHz and Intel 845G chipset. I would like to find out the temperature in the processor if it is possible. However all the methods I try have failed so far.

sysctl hw.acpi displays no thermal data so I guess hw.acpi.thermal is not supported.

if I try to install mbmon and load the smb modules
kldload smbbus, ichsmb, smb so that /dev/smb0 shows up and
I try mbmon I get that /dev/smb0 is not configured

if I try ipmitool sensor i get that there is no /dev/ipmi0 etc. even though the ipmi.ko is loades without errors.

since I only want to find the temperature anything that works would be good.

Is it possible to install lmsensors for linux and use the linux compatibility. since I'm just 2 days into Freebsd I really have no clue if this is possible since it seems like something that is not suited for emulation.

I'm new to FreeBSD and the whole unix/linux business and not a computer stud, so I might have no clue if what I want to do is possible.
Reply With Quote
  #2  
Old 06-12-2008, 08:46 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: finding the processor temperature on intel 845g on dell gx26
Not my field so I can't be of much help.

As far as lmsensors goes, it depends on how it works.

If it depends on the Linux kernel it won't work.

If it only depends on /proc/* crap, then it might work as long as you have procfs mounted. It is not the same arrangement as Linuxes /proc afaik but you never know.
Reply With Quote
  #3  
Old 06-17-2008, 12:26 PM
spaunskiva spaunskiva is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: finding the processor temperature on intel 845g on dell gx26
Thank you for your response, I have not had the time to see how lm-sensors would work in the linux emulation. Right now I'm considering it, but I have no idea if it is even feasible, like you said if it depends on the linux kernel.

There is a version for the 2.4 kernel but also for the 2.6 kernel. For the 2.4 version you need libraries but they are included in the 2.6 kernel it says. Does this mean that the 2.6 version is a no go, even if I upgrade the linux emulation to fc6 or f7 or f8?

By the way what is the deal with fc-4 being the standard for PC-bsd/freebsd when you select linux compatibility? Does the f-8 port not work properly for i386?

p.s. Being a newbie to linux/unix I again apologize for any silly things written above, FACT IS- I don't really know what I'm talking about
Reply With Quote
  #4  
Old 06-17-2008, 05:32 PM
richardpl richardpl is offline
Senior Member
 
Join Date: Dec 2007
Location: Croatia
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: finding the processor temperature on intel 845g on dell gx26
Do not waste time on linux emulation, special linux kernel drivers can not be emulated in any usefull way.

Instead you may try coretemp module from >= FreeBSD 7.0
Reply With Quote
  #5  
Old 06-17-2008, 09:51 PM
spaunskiva spaunskiva is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: finding the processor temperature on intel 845g on dell gx26
Originally Posted by richardpl
Do not waste time on linux emulation, special linux kernel drivers can not be emulated in any usefull way.

Instead you may try coretemp module from >= FreeBSD 7.0
Is the coretemp module not only for Intel core? I have a Pentium 4 with 845G chipset. Anyhow this is what I get when I have loaded the coretemp.ko:
Quote:
Dell# sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 1982
dev.cpu.0.freq_levels: 1982/-1 1734/-1 1486/-1 1238/-1 991/-1 743/-1
dev.cpu.0.cx_supported: C1/0
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00%
dev.cpu.0.temperature: -1
Is it impossible to check the temperature for this chipset in freebsd?
Reply With Quote
  #6  
Old 06-18-2008, 02:29 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: finding the processor temperature on intel 845g on dell gx26
Code:
	
9 	OVERVIEW OF THE LM_SENSORS PACKAGE AND SUMMARY OF SUPPORTED DEVICES
10 	
11 	!!! This package is ONLY for 2.6 and 2.4 kernels (2.4.10 or later).   !!!
12 	!!! For 2.4 kernels, this package requires i2c-2.9.0 or later.        !!!
13 	
14 	FOR 2.6 KERNELS, use only the userspace tools in this package!
15 	Build and install them with 'make user' and 'make user_install'.
16 	The kernel modules in this package will NOT compile for 2.6;
17 	use the drivers already in the 2.6 kernel. Check the QUICKSTART
18 	file for brief installation instructions please.
19 	
20 	=============================================================================
21 	
22 	This is the completely rewritten version 2 of lm_sensors, a collection of
23 	modules for general SMBus[1] access and hardware monitoring.
24 	Version 1 is now officially unsupported.
25 	
26 	WARNING! The drivers in this package will work on reasonably recent 2.4
27 	kernels only (2.4.10 and later).
28 	Use lm_sensors-2.4.5 for 2.0 kernels.
29 	Use lm_sensors-2.7.0 for 2.2, and early 2.4 (up to 2.4.9) kernels.
30 	Use the drivers already in the kernel for 2.6 kernels; if you need
31 	additional drivers in 2.6 please port and submit them to us.
32 	
33 	HOWEVER, the userspace tools in this package will work for
34 	both 2.4 and 2.6 kernels.
35 	
36 	The I2C[2] package in existing 2.4 kernels is NOT sufficient
37 	for compilation of this package. You need i2c-2.9.0 or later.
38 	
39 	See the lm_sensors download page for further guidance:
40 	  http://www.lm-sensors.org/wiki/Download
41
Not to mention the #include <linux/foo.h> stuff
Reply With Quote
  #7  
Old 06-18-2008, 11:16 AM
spaunskiva spaunskiva is offline
Junior Member
 
Join Date: Jun 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: finding the processor temperature on intel 845g on dell gx26
1) Is the fc-4 the only linux-emulator that works on freebsd? (In the freebsd handbook they only mention fc-4)

I see that there are also fc-6,f7,f8 and other linux distributions. When I try to install f7 it complains that
Quote:
linux_base-f7-7 compat.linux.osrelease: 2.4.2 is not supported.
*** Error code 1
Stop in /usr/ports/emulators/linux_base-f7.
but I guess you can bypass this by using sysctl to set compat.linux.osrelease=2.6.16. However where I read this there were still problems and they were trying out "patches", but this was very long ago back in Mar 2007.
2) Has all this been resolved now? since I not confident enough to mix with all this "patch" business. Some simple linux programs does seem to work for me though in fc-6.
Reply With Quote
  #8  
Old 06-18-2008, 01:02 PM
richardpl richardpl is offline
Senior Member
 
Join Date: Dec 2007
Location: Croatia
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: finding the processor temperature on intel 845g on dell gx26
Again. Hardware stuff can not be emulated, even if it is emulated results would not be correct.

For more help regarding temperaure of your processors contact freebsd mailing lists.
Reply With Quote
  #9  
Old 06-18-2008, 01:03 PM
richardpl richardpl is offline
Senior Member
 
Join Date: Dec 2007
Location: Croatia
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: finding the processor temperature on intel 845g on dell gx26
I forget to mention that coretemp actually works only with new processors.
Reply With Quote
  #10  
Old 06-18-2008, 08:10 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: finding the processor temperature on intel 845g on dell gx26
the newer fc* require a newer version of FreeBSD.

The other versions, I dunno about (never tried them).
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing 64-bit AMD version on Intel 64-bit processor? ken707 Installing PC-BSD 1 01-06-2010 08:24 AM
Help with Intel(R) Wireless WiFi Link 4965AGN (on Dell) bforest Laptops 2 09-05-2009 10:38 PM
Dell inspiron 6000 with Intel(R) PRO/Wireless 2915ABG pulgoki Networking 1 11-28-2008 05:30 AM
Intel 855GM - Dell 510m andy Graphics Cards 1 12-04-2006 08:06 AM
Intel 845G Startup problem with PC-BSD Startup Bug Reports (read-only) 1 10-08-2005 03:03 PM


All times are GMT. The time now is 12:28 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.