asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread chiehhan
To whom may concern,

I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my 
laptop HP NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored 
(256.0C)"occurs.

I learned some reference about sysctl and revised the configure file 
sysctl.conf,adding two lines below into sysctl.conf:
hw.acpi.thermal.user_override=1 
hw.acpi.thermal.tz0._CRT=110.0C 
but the control spam remains.

I read the source code about acpi_thermal.c,but still have no idea about how to 
solve this problem.I am a little desperated and turn 
freebsd-questions@freebsd.org for help.Would you please send me a solution? 

My dmesg is belows,
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Family = 6  Model = f  Stepping = 6
  
Features=0xbfebfbff
  Features2=0xe3bd
  AMD Features=0x2010
  AMD Features2=0x1
  TSC: P-state invariant, performance statistics
real memory  = 1610612736 (1536 MB)
avail memory = 1558929408 (1486 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 5ff0 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
acpi_ec0:  port 0x62,0x66 on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 11ff000 vs 11fefff
pci0:  on pcib0
pcib1:  irq 16 at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  port 0x4000-0x40ff mem 
0xd800-0xdfff,0xe440-0xe440 irq 16 at device 0.0 on pci1
hdac0:  mem 
0xe450-0xe4503fff irq 16 at device 27.0 on pci0
pcib2:  irq 16 at device 28.0 on pci0
pci8:  on pcib2
pcib3:  irq 17 at device 28.1 on pci0
pci16:  on pcib3
wpi0:  mem 0xe400-0xe4000fff irq 17 at 
device 0.0 on pci16
pcib4:  irq 19 at device 28.3 on pci0
pci32:  on pcib4
uhci0:  port 0x5000-0x501f irq 20 at 
device 29.0 on pci0
uhci0: LegSup = 0x2f00
usbus0:  on uhci0
uhci1:  port 0x5020-0x503f irq 21 at 
device 29.1 on pci0
uhci1: LegSup = 0x2f00
usbus1:  on uhci1
uhci2:  port 0x5040-0x505f irq 18 at 
device 29.2 on pci0
uhci2: LegSup = 0x2f00
usbus2:  on uhci2
uhci3:  port 0x5060-0x507f irq 19 at 
device 29.3 on pci0
uhci3: LegSup = 0x2f00
usbus3:  on uhci3
ehci0:  mem 0xe4504000-0xe45043ff 
irq 20 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus4:  on ehci0
pcib5:  at device 30.0 on pci0
pci2:  on pcib5
cbb0:  mem 0xe410-0xe4100fff irq 18 at device 6.0 on 
pci2
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci2:  at device 6.2 (no driver attached)
pci2:  at device 6.3 (no driver attached)
pci2:  at device 6.4 (no driver attached)
bge0:  mem 
0xe411-0xe411 irq 16 at device 14.0 on pci2
bge0: CHIP ID 0x3003; ASIC REV 0x03; CHIP REV 0x30; PCI
miibus0:  on bge0
brgphy0:  PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Ethernet address: 00:17:08:49:6c:e8
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5080-0x508f irq 17 at device 31.2 on pci0
ata0:  on atapci0
ata1:  on atapci0
battery0:  on acpi0
battery1:  on acpi0
acpi_acad0:  on acpi0
acpi_button0:  on acpi0
acpi_lid0:  on acpi0
acpi_tz0:  on acpi0
acpi_tz0: _CRT value is absurd, ignored (256.0C)
acpi_tz1:  on acpi0
acpi_tz2:  on acpi0
acpi_tz3:  on acpi0
acpi_tz4:  on acpi0
attimer0:  port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0:  port 0x70-0x71,0x72-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0:  iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
ppc0:  port 0x378-0x37f,0x778-0x77a irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPAT

Re: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread Lowell Gilbert
"chiehhan"  writes:

> To whom may concern,
>
> I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my 
> laptop HP NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored 
> (256.0C)"occurs.
>
> I learned some reference about sysctl and revised the configure file 
> sysctl.conf,adding two lines below into sysctl.conf:
> hw.acpi.thermal.user_override=1 
> hw.acpi.thermal.tz0._CRT=110.0C 
> but the control spam remains.
>
> I read the source code about acpi_thermal.c,but still have no idea about how 
> to solve this problem.I am a little desperated and turn 
> freebsd-questions@freebsd.org for help.Would you please send me a solution? 

A solution to what problem? The "ignored" message isn't a problem on its
own; do you think it causing some other trouble that you didn't describe?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread Warren Block

On Tue, 4 Sep 2012, Lowell Gilbert wrote:


"chiehhan"  writes:


To whom may concern,

I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my laptop HP 
NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored (256.0C)"occurs.

I learned some reference about sysctl and revised the configure file 
sysctl.conf,adding two lines below into sysctl.conf:
hw.acpi.thermal.user_override=1
hw.acpi.thermal.tz0._CRT=110.0C
but the control spam remains.

I read the source code about acpi_thermal.c,but still have no idea about how to 
solve this problem.I am a little desperated and turn 
freebsd-questions@freebsd.org for help.Would you please send me a solution?


A solution to what problem? The "ignored" message isn't a problem on its
own; do you think it causing some other trouble that you didn't describe?


I have a similar HP system.  That message is logged a couple of times a 
minute, hiding other messages in the logs and making them roll over 
quickly.  That particular system is a Pentium D which wasn't really 
worth much effort, but it would still be nice to see this annoyance 
fixed.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-05 Thread Lowell Gilbert
Warren Block  writes:

> On Tue, 4 Sep 2012, Lowell Gilbert wrote:
>
>> "chiehhan"  writes:
>>
>>> To whom may concern,
>>>
>>> I am a greenhorn in the field of freebsd.And when I install
>>> Freebsd9.0 on my laptop HP NX6330,a control spam "acpi_tz0: _CRT
>>> value is absurd, ignored (256.0C)"occurs.
>>>
>>> I learned some reference about sysctl and revised the configure file 
>>> sysctl.conf,adding two lines below into sysctl.conf:
>>> hw.acpi.thermal.user_override=1
>>> hw.acpi.thermal.tz0._CRT=110.0C
>>> but the control spam remains.
>>>
>>> I read the source code about acpi_thermal.c,but still have no idea
>>> about how to solve this problem.I am a little desperated and turn
>>> freebsd-questions@freebsd.org for help.Would you please send me a
>>> solution?
>>
>> A solution to what problem? The "ignored" message isn't a problem on its
>> own; do you think it causing some other trouble that you didn't describe?
>
> I have a similar HP system.  That message is logged a couple of times
> a minute, hiding other messages in the logs and making them roll over
> quickly.  That particular system is a Pentium D which wasn't really
> worth much effort, but it would still be nice to see this annoyance
> fixed.

Yes, I would agree that a repeated message is much more of an annoyance
than having it just happen once at boot time. With a Pentium D, there
probably isn't a core temperature monitor at all (I *think* that's true
for all of them, but it's definitely true for some), so you just want to
turn the messages off.

Unfortunately, I can't browse sources now, but I think that what happens
might be controlled by events going through devd. If that's correct, you
should be able to add an event rule to drop events related to your
non-existant thermistor (or delete one that already exists). You also
might be able to change the polling period for the thermal device.

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-05 Thread Chris Whitehouse

On 04/09/2012 08:58, chiehhan wrote:

To whom may concern,

I am a greenhorn in the field of freebsd.And when I install
Freebsd9.0 on my laptop HP NX6330,a control spam "acpi_tz0: _CRT
value is absurd, ignored (256.0C)"occurs.



I created a custom ASL as a workaround.
http://lists.freebsd.org/pipermail/freebsd-acpi/2009-March/005558.html

You can see that I changed the line that says
Return (C316 (0x04, 0x00))
to say
Return (C316 (0x00, 0x02))
which on my laptop gives a temperature of 95C




I learned some reference about sysctl and revised the configure file
sysctl.conf,adding two lines below into sysctl.conf:
hw.acpi.thermal.user_override=1
hw.acpi.thermal.tz0._CRT=110.0C but
the control spam remains.


Good try but hw.acpi.thermal.tz0._CRT gets set back to -1
http://lists.freebsd.org/pipermail/freebsd-acpi/2009-March/005549.html



I read the source code about acpi_thermal.c,but still have no idea
about how to solve this problem.I am a little desperated and turn
freebsd-questions@freebsd.org for help.Would you please send me a
solution?


I think the steps are
1) dump your ASL as per
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
starting at section 12.17.4 ASL, acpidump, and IASL

2) open your dumped ASL in a plain text editor (vi, joe, ...) and modify 
the value of "Method (_CRT, 0, Serialized)".


http://lists.freebsd.org/pipermail/freebsd-acpi/2009-March/005562.html
shows you some values you can use. Others may work as your ASL is almost 
certainly different from mine.


3) recompile your modified ASL and load it, following section 12.17.4 
ASL, acpidump, and IASL in the handbook.


4) restart your computer and check the value of hw.acpi.thermal.tz0._CRT

If it doesn't work go back to step 2.

YMMV (that means my laptop is running fine several years later but don't 
blame me if yours blows up :) )


Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


回复: Re: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread chiehhan
hi,Gilbert
Thanks for your reply.The message "acpi_tz0: _CRT value is absurd, ignored 
(256.0C)" was printed on my screen when I install FREEBSD9.0.And the message 
appears from time to time when I used my laptop.Annoying

Until now,I do not notice any problem casused by the message obviously. I read 
the source code of the acpi_thermal.c,but have no idea about what temperature 
the acpi_tz0 detected.The message tell me _CRT value is absurd,how to make it 
reasonable and not appears from time to time on my screen?Thanks for your 
kindness.

ps:I install freebsd9.0 to other machine,this message does not appears.


2012-09-05



chiehhan



发件人:Lowell Gilbert
发送时间:2012-09-05 09:07
主题:Re: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "
收件人:"chiehhan"
抄送:"freebsd-questions"

"chiehhan"  writes: 

> To whom may concern, 
> 
> I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my 
> laptop HP NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored 
> (256.0C)"occurs. 
> 
> I learned some reference about sysctl and revised the configure file 
> sysctl.conf,adding two lines below into sysctl.conf: 
> hw.acpi.thermal.user_override=1  
> hw.acpi.thermal.tz0._CRT=110.0C  
> but the control spam remains. 
> 
> I read the source code about acpi_thermal.c,but still have no idea about how 
> to solve this problem.I am a little desperated and turn 
> freebsd-questions@freebsd.org for help.Would you please send me a solution?  

A solution to what problem? The "ignored" message isn't a problem on its 
own; do you think it causing some other trouble that you didn't describe? ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"