Re: Monitoring temperature with acpi (sysctls)

2006-08-01 Thread John Baldwin
On Monday 31 July 2006 09:35, Oliver Fromme wrote:
> John Baldwin wrote:
>  > Mike Jakubik wrote:
>  > > I tried that, unfortunately it does not work. All i want to know is if 
>  > > this a shortcoming of freebsd or the motherboard, if its the later, i 
>  > > will contact the manufacturer.
>  > 
>  > If ACPI doesn't include the sysctl's that's due to your BIOS, not 
FreeBSD.
>  > You can verify by doing an acpidump and seeing if you have any thermal
>  > zones listed in your ASL.
> 
> I have a similar problem.  This is what sysctl says:
> 
> hw.acpi.thermal.tz0.temperature: 8.3C
> hw.acpi.thermal.tz0.active: -1
> hw.acpi.thermal.tz0.passive_cooling: 1
> hw.acpi.thermal.tz0.thermal_flags: 0
> hw.acpi.thermal.tz0._PSV: 9.8C
> hw.acpi.thermal.tz0._HOT: -1
> hw.acpi.thermal.tz0._CRT: 31.3C
> hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
> dev.acpi_tz.0.%desc: Thermal Zone
> dev.acpi_tz.0.%driver: acpi_tz
> dev.acpi_tz.0.%location: handle=\_TZ_.THM0
> dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0
> 
> The value of tz0.temperature is always 8.3C and never seems
> to change.  In reality it should be rathe 20C and change
> slightly during day and night.
> 
> This is an excerpt from "acpidump -d" on that machine, which
> seems to imply that it _should_ support thermal readings
> (but I'm not a low-level ACPI expert):
> 
> Scope (_TZ)
> {
> Name (\TEMP, 0x0AFF)
> ThermalZone (THM0)
> {
> Name (_TSP, 0x3C)
> Name (_TC1, 0x04)
> Name (_TC2, 0x04)
> Name (_PSL, Package (0x01)
> {
> \_PR.CPU0
> })
> Method (_PSV, 0, NotSerialized)
> {
> Store ("_PSV Method", Debug)
> Return (0x0B0E)
> }
> Method (_SCP, 1, NotSerialized)
> {
> Notify (THM0, 0x81)
> }
> Method (_TMP, 0, NotSerialized)
> {
> Store ("_TMP Method", Debug)
> Return (TEMP)
> }
> Method (_CRT, 0, NotSerialized)
> {
> Store ("_CRT Method", Debug)
> Return (0x0BE5)
> }
> }
> }
> 
> Is it a bug in the ACPI BIOS or a bug in FreeBSD code?

Well, your _TMP method just returns the TEMP constant.  It may be that your 
BIOS is supposed to be overwriting the TEMP constant periodically.  It's not 
a bug in FreeBSD though.

-- 
John Baldwin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-31 Thread Oliver Fromme
John Baldwin wrote:
 > Mike Jakubik wrote:
 > > I tried that, unfortunately it does not work. All i want to know is if 
 > > this a shortcoming of freebsd or the motherboard, if its the later, i 
 > > will contact the manufacturer.
 > 
 > If ACPI doesn't include the sysctl's that's due to your BIOS, not FreeBSD.
 > You can verify by doing an acpidump and seeing if you have any thermal
 > zones listed in your ASL.

I have a similar problem.  This is what sysctl says:

hw.acpi.thermal.tz0.temperature: 8.3C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 9.8C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 31.3C
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
dev.acpi_tz.0.%desc: Thermal Zone
dev.acpi_tz.0.%driver: acpi_tz
dev.acpi_tz.0.%location: handle=\_TZ_.THM0
dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0

The value of tz0.temperature is always 8.3C and never seems
to change.  In reality it should be rathe 20C and change
slightly during day and night.

This is an excerpt from "acpidump -d" on that machine, which
seems to imply that it _should_ support thermal readings
(but I'm not a low-level ACPI expert):

Scope (_TZ)
{
Name (\TEMP, 0x0AFF)
ThermalZone (THM0)
{
Name (_TSP, 0x3C)
Name (_TC1, 0x04)
Name (_TC2, 0x04)
Name (_PSL, Package (0x01)
{
\_PR.CPU0
})
Method (_PSV, 0, NotSerialized)
{
Store ("_PSV Method", Debug)
Return (0x0B0E)
}
Method (_SCP, 1, NotSerialized)
{
Notify (THM0, 0x81)
}
Method (_TMP, 0, NotSerialized)
{
Store ("_TMP Method", Debug)
Return (TEMP)
}
Method (_CRT, 0, NotSerialized)
{
Store ("_CRT Method", Debug)
Return (0x0BE5)
}
}
}

Is it a bug in the ACPI BIOS or a bug in FreeBSD code?

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"Documentation is like sex; when it's good, it's very, very good,
and when it's bad, it's better than nothing."
-- Dick Brandon
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-30 Thread David Duchscher

On Jul 28, 2006, at 8:38 PM, Nikolas Britton wrote:


On 7/26/06, David Duchscher <[EMAIL PROTECTED]> wrote:


Yes, the Supermicro PDSMi supports the IPMI 2.0 module and I can
confirm that it works with the IPMI ported driver from current on
6.1.  The module is optional so you will have to purchase one for
the system, around 0. You will also need the latest BIOS loaded on
the motherboard for it to work.

http://www.supermicro.com/products/accessories/addon/AOC-IPMI20-E.cfm



What about their other IPMI 2.0 cards:
http://www.supermicro.com/products/accessories/addon/SIM.cfm

Specifically the AOC-SIMLP? and what ported IPMI driver are we talking
about? Also does anyone have an IPMI primer, I've never used it
before?


I haven't used the cards listed there so I can really comment on
how well they work or if they work.  I would assume the cards with
their own ethernet jack will work no matter what OS is on the system.
The problems that have cropped up with the integrated or add-in
modules is that the OS network driver can cut off access to the
IPMI module.  For example, the IPMI module with the bge driver use
to do that, not sure if that has been fixed.  I have also noticed
today that communication to the IPMI module is lost when the em
driver initializes the network device and doesn't come back until
the interface is brought up by the OS.  If you have no networking
configured, no network access to the IPMI module. :)

As for the IPMI driver, it is not necessary for the OS to have an
IPMI driver unless you wish to communicate with the card outside
of using the network.  The IPMI driver I am using is in ports/ipmi-kmod
and is a port of the driver in current.  I have no idea if it supports
those cards.

--
DaveD



Re: Monitoring temperature with acpi (sysctls)

2006-07-28 Thread Nikolas Britton

On 7/26/06, David Duchscher <[EMAIL PROTECTED]> wrote:


On Jul 26, 2006, at 11:09 AM, Bruno Ducrot wrote:

> On Tue, Jul 25, 2006 at 11:51:25AM -0400, Mike Jakubik wrote:
>> I need to be able to get the cpu and fan information from my
>> motherboard, however none of the monitoring utilities in the ports
>> seems
>> to support my motherboard (Supermicro PDSMi, Intel E7230 (Mukilteo)
>> Chipset). On my older VIA based motherboards and some Nvidia, i
>> can get
>> this information using ACPI and the hw.acpi.thermal sysctl. This
>> however
>> is not available on this motherboard. Would this be a shortcoming
>> of the
>> motherboards ACPI implementation, or a lack of support by freebsd?
>
> Does this one support IPMI?

Yes, the Supermicro PDSMi supports the IPMI 2.0 module and I can
confirm that it works with the IPMI ported driver from current on
6.1.  The module is optional so you will have to purchase one for
the system, around 0. You will also need the latest BIOS loaded on
the motherboard for it to work.

http://www.supermicro.com/products/accessories/addon/AOC-IPMI20-E.cfm



What about their other IPMI 2.0 cards:
http://www.supermicro.com/products/accessories/addon/SIM.cfm

Specifically the AOC-SIMLP? and what ported IPMI driver are we talking
about? Also does anyone have an IPMI primer, I've never used it
before?


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-28 Thread Alexey Karagodov

yeeeh, me too need this cooling stuff! :)
please, tell me, where to find info about ACPI in FreeBSD on E7520 chip-set
my MB is SuperMicro X6-DH8XG2
thanx ...


2006/7/28, Oliver Fromme <[EMAIL PROTECTED]>:


Spartak Radchenko <[EMAIL PROTECTED]> wrote:
> router# sysctl hw.acpi.thermal
> [...]
> hw.acpi.thermal.tz0.temperature: -257.-1C
>
> If I understand it correctly, the current temperature is -257C, or 16
> degrees from absolute zero.
> Motherboard is Via MS8000.

Now that's _really_ cool.  What kind of cooling equipment
do you have, and how much did it cost?  I need that stuff,
too ...  probably enables you to overclock to 10 GHz or
something ...

SCRN  :-)

Best regards
  Oliver

--
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"... there are two ways of constructing a software design:  One way
is to make it so simple that there are _obviously_ no deficiencies and
the other way is to make it so complicated that there are no _obvious_
deficiencies."-- C.A.R. Hoare, ACM Turing Award Lecture, 1980
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-28 Thread Oliver Fromme
Spartak Radchenko <[EMAIL PROTECTED]> wrote:
 > router# sysctl hw.acpi.thermal
 > [...]
 > hw.acpi.thermal.tz0.temperature: -257.-1C
 > 
 > If I understand it correctly, the current temperature is -257C, or 16 
 > degrees from absolute zero.
 > Motherboard is Via MS8000.

Now that's _really_ cool.  What kind of cooling equipment
do you have, and how much did it cost?  I need that stuff,
too ...  probably enables you to overclock to 10 GHz or
something ...

SCRN  :-)

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"... there are two ways of constructing a software design:  One way
is to make it so simple that there are _obviously_ no deficiencies and
the other way is to make it so complicated that there are no _obvious_
deficiencies."-- C.A.R. Hoare, ACM Turing Award Lecture, 1980
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-28 Thread John Baldwin
On Friday 28 July 2006 10:51, Spartak Radchenko wrote:
> John Baldwin ?:
> > If ACPI doesn't include the sysctl's that's due to your BIOS, not FreeBSD.
> > You can verify by doing an acpidump and seeing if you have any thermal
> > zones listed in your ASL.
> What if there is a thermal zone, but sysctl returns meaningless numbers?
> 
> router# sysctl hw.acpi.thermal
> hw.acpi.thermal.min_runtime: 0
> hw.acpi.thermal.polling_rate: 10
> hw.acpi.thermal.tz0.temperature: -257.-1C
> hw.acpi.thermal.tz0.active: -1
> hw.acpi.thermal.tz0.passive_cooling: 1
> hw.acpi.thermal.tz0.thermal_flags: 0
> hw.acpi.thermal.tz0._PSV: 50.0C
> hw.acpi.thermal.tz0._HOT: -1
> hw.acpi.thermal.tz0._CRT: 60.0C
> hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
> 
> If I understand it correctly, the current temperature is -257C, or 16 
> degrees from absolute zero.
> Motherboard is Via MS8000.

Well, that means your BIOS has a different sort of issue.  It probably has a 
bogus _TMP method.  That's still going to be your BIOS' fault.  The 
temperature value is defined in the standard to be in units of .1 K.  So a 
raw value of 160 would give 16.0 K, or the value you are seeing.

-- 
John Baldwin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-28 Thread Spartak Radchenko

John Baldwin ?:

If ACPI doesn't include the sysctl's that's due to your BIOS, not FreeBSD.
You can verify by doing an acpidump and seeing if you have any thermal
zones listed in your ASL.

What if there is a thermal zone, but sysctl returns meaningless numbers?

router# sysctl hw.acpi.thermal
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.tz0.temperature: -257.-1C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 50.0C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 60.0C
hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1

If I understand it correctly, the current temperature is -257C, or 16 
degrees from absolute zero.

Motherboard is Via MS8000.

--
Spartak Radchenko SVR1-RIPE
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-28 Thread John Baldwin
On Thursday 27 July 2006 02:25, Mike Jakubik wrote:
> Jiawei Ye wrote:
> > On 7/27/06, Mike Jakubik <[EMAIL PROTECTED]> wrote:
> >> I don't want to spend $50 extra per system, just so i can read the
> >> temperature, and not even use any of the IPMI functions. I need a simple
> >> and scriptable way to get the values, acpi sysctls are ideal for this.
> > What about using SMBus? Is it available on your system? xmbmon reads
> > temperatures off the SMBus IIRC.
> 
> I tried that, unfortunately it does not work. All i want to know is if 
> this a shortcoming of freebsd or the motherboard, if its the later, i 
> will contact the manufacturer.

If ACPI doesn't include the sysctl's that's due to your BIOS, not FreeBSD.
You can verify by doing an acpidump and seeing if you have any thermal
zones listed in your ASL.

-- 
John Baldwin
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Julian Elischer

Someone mentionned that you can't reach the smbus on ASUS boards.
That's because they turn it off in the BIOS. They turn it on and off as 
they

need to read stuff for their SMI (well on some of their boards at least).

you can turn it on again using pciconf. but I forget the exact incantation.

(I've asked someone to send me the script so I'll have it later if 
anyone wants it)


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Alexey Karagodov

[EMAIL PROTECTED]:31:3:  class=0x0c0500 card=0x618015d9 chip=0x24d38086
rev=0x02 hdr=0x00
   vendor   = 'Intel Corporation'
   device   = '82801EB/ER (ICH5/ICH5R) SMBus Controller'
   class= serial bus
   subclass = SMBus


2006/7/27, Oliver Fromme <[EMAIL PROTECTED]>:


Mike Jakubik <[EMAIL PROTECTED]> wrote:
> Bruno Ducrot wrote:
> > Could you please try (if you have a working smb device)
> > # smbmsg -p
>
> Well, i don't think its being detected/supported. I tried loading all
> the smbus related kernel modules, but no device.
>
> Id Refs AddressSize Name
>  19 0xc040 2d1624   kernel
>  21 0xc06d2000 606acacpi.ko
>  33 0xc4dca000 2000 smbus.ko
>  41 0xc4dcc000 3000 iicsmb.ko
>  53 0xc4dcf000 3000 iicbus.ko
>  61 0xc4de4000 3000 smb.ko
>  71 0xc4df3000 3000 iic.ko
>  81 0xc4df6000 3000 if_ic.ko

You should also try to load these kernel modules:
alpm.ko, amdpm.ko, intpm.ko, viapm.ko

> However, dmesg seems to show that there is a SMBus device on the MB.
> pci0:  at device 31.3 (no driver attached)

If none of the mentioned modules attach, please look
at the output from "pciconf -lv".  What's the entry
for your SMBus device (pci0:31:3)?

Best regards
  Oliver

--
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

(On the statement print "42 monkeys" + "1 snake":)  By the way,
both perl and Python get this wrong.  Perl gives 43 and Python
gives "42 monkeys1 snake", when the answer is clearly "41 monkeys
and 1 fat snake".-- Jim Fulton
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Mike Jakubik

Well, here are the patch results.

The controller is detected:

ichsmb0:  port 0x1100-0x111f irq 
19 at device 31.3 on pci0

ichsmb0: [GIANT-LOCKED]
smbus0:  on ichsmb0
smb0:  on smbus0

However communication does not seem to work:

# smbmsg -p
Probing for devices on /dev/smb0:
Device @0x30: rw
Device @0x32: rw
^C

ichsmb0: device timeout, status=0x41
ichsmb0: device timeout, status=0x41
ichsmb0: device timeout, status=0x41

I also tried running mbmon using SMB, however this is the result:

# mbmon -S
No SMBus HWM available!!
InitMBInfo: Unknown error: 0

Without any options, i get bogus temp values:

# mbmon

Temp.= 208.0,  0.0,  0.0; Rot.=0,0,0
Vcore = 3.62, 3.62; Volt. = 3.62, 5.21, 11.80,   1.13,  2.09


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Mike Jakubik

Jung-uk Kim wrote:

FYI, see kern/85106:

http://www.freebsd.org/cgi/query-pr.cgi?pr=85106
  


Great, i will try the patch shortly.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Mike Jakubik

Bruno Ducrot wrote:

It should be ichsmb with a ich7 southbridge IIRC, but there is a
missing pci id onto sys/ichsmb/ichsmb_pci.c, (it should be
0x27da8086).

Maybe the ich7 isn't supported yet.  I don't have time to check
more ATM.  I'll look intel specs tomorrow.
  


It indeed is a ich7.

[EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x798015d9 chip=0x27da8086 
rev=0x01 hdr=0x00

   vendor   = 'Intel Corporation'
   device   = '82801G (ICH7 Family) SMBus Controller'
   class= serial bus
   subclass = SMBus

Thanks for taking an interest guys, let me know how i can help.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Jung-uk Kim
On Thursday 27 July 2006 12:13 pm, Bruno Ducrot wrote:
> It should be ichsmb with a ich7 southbridge IIRC, but there is a
> missing pci id onto sys/ichsmb/ichsmb_pci.c, (it should be
> 0x27da8086).
>
> Maybe the ich7 isn't supported yet.  I don't have time to check
> more ATM.  I'll look intel specs tomorrow.

FYI, see kern/85106:

http://www.freebsd.org/cgi/query-pr.cgi?pr=85106

Jung-uk Kim
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Bruno Ducrot
On Thu, Jul 27, 2006 at 11:09:51AM -0400, Mike Jakubik wrote:
> Bruno Ducrot wrote:
> >Could you please try (if you have a working smb device)
> >
> ># smbmsg -p
> >  
> 
> Well, i don't think its being detected/supported. I tried loading all 
> the smbus related kernel modules, but no device.
> 
> Id Refs AddressSize Name
> 19 0xc040 2d1624   kernel
> 21 0xc06d2000 606acacpi.ko
> 33 0xc4dca000 2000 smbus.ko
> 41 0xc4dcc000 3000 iicsmb.ko
> 53 0xc4dcf000 3000 iicbus.ko
> 61 0xc4de4000 3000 smb.ko
> 71 0xc4df3000 3000 iic.ko
> 81 0xc4df6000 3000 if_ic.ko
>
> However, dmesg seems to show that there is a SMBus device on the MB.
> 
> pci0:  at device 31.3 (no driver attached)
> 

It should be ichsmb with a ich7 southbridge IIRC, but there is a
missing pci id onto sys/ichsmb/ichsmb_pci.c, (it should be
0x27da8086).

Maybe the ich7 isn't supported yet.  I don't have time to check
more ATM.  I'll look intel specs tomorrow.

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Oliver Fromme
Mike Jakubik <[EMAIL PROTECTED]> wrote:
 > Bruno Ducrot wrote:
 > > Could you please try (if you have a working smb device)
 > > # smbmsg -p
 > 
 > Well, i don't think its being detected/supported. I tried loading all 
 > the smbus related kernel modules, but no device.
 > 
 > Id Refs AddressSize Name
 >  19 0xc040 2d1624   kernel
 >  21 0xc06d2000 606acacpi.ko
 >  33 0xc4dca000 2000 smbus.ko
 >  41 0xc4dcc000 3000 iicsmb.ko
 >  53 0xc4dcf000 3000 iicbus.ko
 >  61 0xc4de4000 3000 smb.ko
 >  71 0xc4df3000 3000 iic.ko
 >  81 0xc4df6000 3000 if_ic.ko

You should also try to load these kernel modules:
alpm.ko, amdpm.ko, intpm.ko, viapm.ko

 > However, dmesg seems to show that there is a SMBus device on the MB.
 > pci0:  at device 31.3 (no driver attached)

If none of the mentioned modules attach, please look
at the output from "pciconf -lv".  What's the entry
for your SMBus device (pci0:31:3)?

Best regards
   Oliver

-- 
Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

(On the statement print "42 monkeys" + "1 snake":)  By the way,
both perl and Python get this wrong.  Perl gives 43 and Python
gives "42 monkeys1 snake", when the answer is clearly "41 monkeys
and 1 fat snake".-- Jim Fulton
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Mike Jakubik

Bruno Ducrot wrote:

Could you please try (if you have a working smb device)

# smbmsg -p
  


Well, i don't think its being detected/supported. I tried loading all 
the smbus related kernel modules, but no device.


Id Refs AddressSize Name
19 0xc040 2d1624   kernel
21 0xc06d2000 606acacpi.ko
33 0xc4dca000 2000 smbus.ko
41 0xc4dcc000 3000 iicsmb.ko
53 0xc4dcf000 3000 iicbus.ko
61 0xc4de4000 3000 smb.ko
71 0xc4df3000 3000 iic.ko
81 0xc4df6000 3000 if_ic.ko

However, dmesg seems to show that there is a SMBus device on the MB.

pci0:  at device 31.3 (no driver attached)


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Roland Smith
On Thu, Jul 27, 2006 at 03:31:56PM +0200, O. Hartmann wrote:
> Roland Smith wrote:
> >On Wed, Jul 26, 2006 at 02:52:53PM -0400, Mike Jakubik wrote:
> >>David Duchscher wrote:
> >>>On Jul 26, 2006, at 11:09 AM, Bruno Ducrot wrote:
> Does this one support IPMI?
> >>>Yes, the Supermicro PDSMi supports the IPMI 2.0 module and I can
> >>>confirm that it works with the IPMI ported driver from current on
> >>>6.1.  The module is optional so you will have to purchase one for
> >>>the system, around 0. You will also need the latest BIOS loaded on
> >>>the motherboard for it to work.
> >>>
> >>>http://www.supermicro.com/products/accessories/addon/AOC-IPMI20-E.cfm
> >>I don't want to spend $50 extra per system, just so i can read the 
> >>temperature, and not even use any of the IPMI functions. I need a simple 
> >>and scriptable way to get the values, acpi sysctls are ideal for this.
> >
> >Have you tried ports/sysutils/mbmon?
> >
> >It can try to get the values in different ways, e.g. accessing the chip
> >directly, smbus or isa. It is easily scriptable. I use it in combination
> >with gnuplot in a shell-script to make a graph of the CPU and
> >motherboard temperatures;
> >http://www.xs4all.nl/~rsmith/freebsd/index.html#monitor 
> >
> >Roland
> 
> I did and it only worked for my on an ASUS A8N-SLI Deluxe. ASUS 
> A8N32-SLI Deluxe evidently uses another IO chip (or e newer revision) 
> and on my lab's i386 ASUS P800 system I have the same problem, neither 
> ACPI, smbus nor anything else seems to work or obtain temperature/fan speed.
> 
> It's funny, on those boxes xmbmon/mbmon worked fine I also saw ACPI 
> thermal zones and fan speed (expecially my older ASUS A8N-SLI Deluxe).

My ASUS K8V DeLuxe doesn't work with ACPI; there is no hw.acpi.thermal
sysctl. 

The only thing that seems to work is mbmon via the ISA interface. Trying
SMBus gives nonsense values.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpxSTzA0fFyl.pgp
Description: PGP signature


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread O. Hartmann

Roland Smith wrote:

On Wed, Jul 26, 2006 at 02:52:53PM -0400, Mike Jakubik wrote:

David Duchscher wrote:

On Jul 26, 2006, at 11:09 AM, Bruno Ducrot wrote:

Does this one support IPMI?

Yes, the Supermicro PDSMi supports the IPMI 2.0 module and I can
confirm that it works with the IPMI ported driver from current on
6.1.  The module is optional so you will have to purchase one for
the system, around 0. You will also need the latest BIOS loaded on
the motherboard for it to work.

http://www.supermicro.com/products/accessories/addon/AOC-IPMI20-E.cfm
I don't want to spend $50 extra per system, just so i can read the 
temperature, and not even use any of the IPMI functions. I need a simple 
and scriptable way to get the values, acpi sysctls are ideal for this.


Have you tried ports/sysutils/mbmon?

It can try to get the values in different ways, e.g. accessing the chip
directly, smbus or isa. It is easily scriptable. I use it in combination
with gnuplot in a shell-script to make a graph of the CPU and
motherboard temperatures;
http://www.xs4all.nl/~rsmith/freebsd/index.html#monitor 


Roland


I did and it only worked for my on an ASUS A8N-SLI Deluxe. ASUS 
A8N32-SLI Deluxe evidently uses another IO chip (or e newer revision) 
and on my lab's i386 ASUS P800 system I have the same problem, neither 
ACPI, smbus nor anything else seems to work or obtain temperature/fan speed.


It's funny, on those boxes xmbmon/mbmon worked fine I also saw ACPI 
thermal zones and fan speed (expecially my older ASUS A8N-SLI Deluxe).

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread O. Hartmann

Jiawei Ye wrote:

On 7/27/06, Mike Jakubik <[EMAIL PROTECTED]> wrote:

I don't want to spend $50 extra per system, just so i can read the
temperature, and not even use any of the IPMI functions. I need a simple
and scriptable way to get the values, acpi sysctls are ideal for this.

What about using SMBus? Is it available on your system? xmbmon reads
temperatures off the SMBus IIRC.

Jiawei Ye




But also not working on ASUS A8N32-SLI Deluxe or at my lab's ASUS P800! 
On ASUS A8N-SLI Deluxe xmbmon worked fine! SMBus never worked on any 
ASUS, don't know why.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Roland Smith
On Wed, Jul 26, 2006 at 02:52:53PM -0400, Mike Jakubik wrote:
> David Duchscher wrote:
> >
> >On Jul 26, 2006, at 11:09 AM, Bruno Ducrot wrote:
> >>Does this one support IPMI?
> >
> >Yes, the Supermicro PDSMi supports the IPMI 2.0 module and I can
> >confirm that it works with the IPMI ported driver from current on
> >6.1.  The module is optional so you will have to purchase one for
> >the system, around 0. You will also need the latest BIOS loaded on
> >the motherboard for it to work.
> >
> >http://www.supermicro.com/products/accessories/addon/AOC-IPMI20-E.cfm
> 
> I don't want to spend $50 extra per system, just so i can read the 
> temperature, and not even use any of the IPMI functions. I need a simple 
> and scriptable way to get the values, acpi sysctls are ideal for this.

Have you tried ports/sysutils/mbmon?

It can try to get the values in different ways, e.g. accessing the chip
directly, smbus or isa. It is easily scriptable. I use it in combination
with gnuplot in a shell-script to make a graph of the CPU and
motherboard temperatures;
http://www.xs4all.nl/~rsmith/freebsd/index.html#monitor 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpZq4RCMHy7l.pgp
Description: PGP signature


Re: Monitoring temperature with acpi (sysctls)

2006-07-27 Thread Bruno Ducrot
On Thu, Jul 27, 2006 at 02:25:19AM -0400, Mike Jakubik wrote:
> Jiawei Ye wrote:
> >On 7/27/06, Mike Jakubik <[EMAIL PROTECTED]> wrote:
> >>I don't want to spend $50 extra per system, just so i can read the
> >>temperature, and not even use any of the IPMI functions. I need a simple
> >>and scriptable way to get the values, acpi sysctls are ideal for this.
> >What about using SMBus? Is it available on your system? xmbmon reads
> >temperatures off the SMBus IIRC.
> 
> I tried that, unfortunately it does not work. All i want to know is if 
> this a shortcoming of freebsd or the motherboard, if its the later, i 
> will contact the manufacturer.

Could you please try (if you have a working smb device)

# smbmsg -p

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread Mike Jakubik

Jiawei Ye wrote:

On 7/27/06, Mike Jakubik <[EMAIL PROTECTED]> wrote:

I don't want to spend $50 extra per system, just so i can read the
temperature, and not even use any of the IPMI functions. I need a simple
and scriptable way to get the values, acpi sysctls are ideal for this.

What about using SMBus? Is it available on your system? xmbmon reads
temperatures off the SMBus IIRC.


I tried that, unfortunately it does not work. All i want to know is if 
this a shortcoming of freebsd or the motherboard, if its the later, i 
will contact the manufacturer.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread Jiawei Ye

On 7/27/06, Mike Jakubik <[EMAIL PROTECTED]> wrote:

I don't want to spend $50 extra per system, just so i can read the
temperature, and not even use any of the IPMI functions. I need a simple
and scriptable way to get the values, acpi sysctls are ideal for this.

What about using SMBus? Is it available on your system? xmbmon reads
temperatures off the SMBus IIRC.

Jiawei Ye

--
"Without the userland, the kernel is useless."
  --inspired by The Tao of Programming
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread Mike Jakubik

David Duchscher wrote:


On Jul 26, 2006, at 11:09 AM, Bruno Ducrot wrote:

Does this one support IPMI?


Yes, the Supermicro PDSMi supports the IPMI 2.0 module and I can
confirm that it works with the IPMI ported driver from current on
6.1.  The module is optional so you will have to purchase one for
the system, around 0. You will also need the latest BIOS loaded on
the motherboard for it to work.

http://www.supermicro.com/products/accessories/addon/AOC-IPMI20-E.cfm


I don't want to spend $50 extra per system, just so i can read the 
temperature, and not even use any of the IPMI functions. I need a simple 
and scriptable way to get the values, acpi sysctls are ideal for this.



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread Mike Jakubik

Bruno Ducrot wrote:

On Tue, Jul 25, 2006 at 11:51:25AM -0400, Mike Jakubik wrote:
  
I need to be able to get the cpu and fan information from my 
motherboard, however none of the monitoring utilities in the ports seems 
to support my motherboard (Supermicro PDSMi, Intel E7230 (Mukilteo) 
Chipset). On my older VIA based motherboards and some Nvidia, i can get 
this information using ACPI and the hw.acpi.thermal sysctl. This however 
is not available on this motherboard. Would this be a shortcoming of the 
motherboards ACPI implementation, or a lack of support by freebsd?



Does this one support IPMI?

  


Yes, but with an optional $54 add-on card.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread Lists For Simon Phoenix ([EMAIL PROTECTED])
O. Hartmann wrote:
> > I need to be able to get the cpu and fan information from my
> > motherboard, however none of the monitoring utilities in the ports
> > seems to support my motherboard (Supermicro PDSMi, Intel E7230
> > (Mukilteo) Chipset). On my older VIA based motherboards and some
> > Nvidia, i can get this information using ACPI and the hw.acpi.thermal
> > sysctl. This however is not available on this motherboard. Would this
> > be a shortcoming of the motherboards ACPI implementation, or a lack of
> > support by freebsd?
> >
> > ___
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
> Similar problem to me here with a ASUS A8N32-SLI Deluxe. The older
> versions of this motherboard type like A8N-SLI Deluxe and maybe A8N-SLI
> Premium had thermal zones in ACPI output, but not the A8N32-SLI. No
> temperature, no fanspeed, no thermal zones.

ASUS P800 SE i865e chipset - problems too.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread David Duchscher


On Jul 26, 2006, at 11:09 AM, Bruno Ducrot wrote:


On Tue, Jul 25, 2006 at 11:51:25AM -0400, Mike Jakubik wrote:

I need to be able to get the cpu and fan information from my
motherboard, however none of the monitoring utilities in the ports  
seems

to support my motherboard (Supermicro PDSMi, Intel E7230 (Mukilteo)
Chipset). On my older VIA based motherboards and some Nvidia, i  
can get
this information using ACPI and the hw.acpi.thermal sysctl. This  
however
is not available on this motherboard. Would this be a shortcoming  
of the

motherboards ACPI implementation, or a lack of support by freebsd?


Does this one support IPMI?


Yes, the Supermicro PDSMi supports the IPMI 2.0 module and I can
confirm that it works with the IPMI ported driver from current on
6.1.  The module is optional so you will have to purchase one for
the system, around 0. You will also need the latest BIOS loaded on
the motherboard for it to work.

http://www.supermicro.com/products/accessories/addon/AOC-IPMI20-E.cfm

--
DaveD



Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread O. Hartmann

Bruno Ducrot wrote:

On Tue, Jul 25, 2006 at 11:51:25AM -0400, Mike Jakubik wrote:
  
I need to be able to get the cpu and fan information from my 
motherboard, however none of the monitoring utilities in the ports seems 
to support my motherboard (Supermicro PDSMi, Intel E7230 (Mukilteo) 
Chipset). On my older VIA based motherboards and some Nvidia, i can get 
this information using ACPI and the hw.acpi.thermal sysctl. This however 
is not available on this motherboard. Would this be a shortcoming of the 
motherboards ACPI implementation, or a lack of support by freebsd?



Does this one support IPMI?

  
ASUS A8N32-SLI Deluxe not ... ipmi driver in kernel installed, but finds 
no device.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-26 Thread Bruno Ducrot
On Tue, Jul 25, 2006 at 11:51:25AM -0400, Mike Jakubik wrote:
> I need to be able to get the cpu and fan information from my 
> motherboard, however none of the monitoring utilities in the ports seems 
> to support my motherboard (Supermicro PDSMi, Intel E7230 (Mukilteo) 
> Chipset). On my older VIA based motherboards and some Nvidia, i can get 
> this information using ACPI and the hw.acpi.thermal sysctl. This however 
> is not available on this motherboard. Would this be a shortcoming of the 
> motherboards ACPI implementation, or a lack of support by freebsd?

Does this one support IPMI?

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-25 Thread Alexey Karagodov

"me too". chipset - e7520
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Monitoring temperature with acpi (sysctls)

2006-07-25 Thread O. Hartmann

Mike Jakubik wrote:
I need to be able to get the cpu and fan information from my 
motherboard, however none of the monitoring utilities in the ports 
seems to support my motherboard (Supermicro PDSMi, Intel E7230 
(Mukilteo) Chipset). On my older VIA based motherboards and some 
Nvidia, i can get this information using ACPI and the hw.acpi.thermal 
sysctl. This however is not available on this motherboard. Would this 
be a shortcoming of the motherboards ACPI implementation, or a lack of 
support by freebsd?


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Similar problem to me here with a ASUS A8N32-SLI Deluxe. The older 
versions of this motherboard type like A8N-SLI Deluxe and maybe A8N-SLI 
Premium had thermal zones in ACPI output, but not the A8N32-SLI. No 
temperature, no fanspeed, no thermal zones.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"