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

2012-09-05 Thread Lowell Gilbert
Warren Block wbl...@wonkity.com writes:

 On Tue, 4 Sep 2012, Lowell Gilbert wrote:

 chiehhan chieh...@gmail.com 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


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=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 1610612736 (1536 MB)
avail memory = 1558929408 (1486 MB)
Event timer LAPIC quality 400
ACPI APIC Table: HP 3021
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 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: HPQOEM SLIC-MPC 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: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_ec0: Embedded Controller: GPE 0x16 port 0x62,0x66 on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 11ff000 vs 11fefff
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0x4000-0x40ff mem 
0xd800-0xdfff,0xe440-0xe440 irq 16 at device 0.0 on pci1
hdac0: Intel 82801G High Definition Audio Controller mem 
0xe450-0xe4503fff irq 16 at device 27.0 on pci0
pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci8: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
pci16: ACPI PCI bus on pcib3
wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xe400-0xe4000fff irq 17 at 
device 0.0 on pci16
pcib4: ACPI PCI-PCI bridge irq 19 at device 28.3 on pci0
pci32: ACPI PCI bus on pcib4
uhci0: Intel 82801G (ICH7) USB controller USB-A port 0x5000-0x501f irq 20 at 
device 29.0 on pci0
uhci0: LegSup = 0x2f00
usbus0: Intel 82801G (ICH7) USB controller USB-A on uhci0
uhci1: Intel 82801G (ICH7) USB controller USB-B port 0x5020-0x503f irq 21 at 
device 29.1 on pci0
uhci1: LegSup = 0x2f00
usbus1: Intel 82801G (ICH7) USB controller USB-B on uhci1
uhci2: Intel 82801G (ICH7) USB controller USB-C port 0x5040-0x505f irq 18 at 
device 29.2 on pci0
uhci2: LegSup = 0x2f00
usbus2: Intel 82801G (ICH7) USB controller USB-C on uhci2
uhci3: Intel 82801G (ICH7) USB controller USB-D port 0x5060-0x507f irq 19 at 
device 29.3 on pci0
uhci3: LegSup = 0x2f00
usbus3: Intel 82801G (ICH7) USB controller USB-D on uhci3
ehci0: Intel 82801GB/R (ICH7) USB 2.0 controller mem 0xe4504000-0xe45043ff 
irq 20 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus4: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0
pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib5
cbb0: PCI-CardBus Bridge mem 0xe410-0xe4100fff irq 18 at device 6.0 on 
pci2
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
pci2: mass storage at device 6.2 (no driver attached)
pci2: base peripheral, SD host controller at device 6.3 (no driver attached)
pci2: simple comms at device 6.4 (no driver attached)
bge0: Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x003003 mem 
0xe411-0xe411 irq 16 at device 14.0 on pci2
bge0: CHIP ID 0x3003; ASIC REV 0x03; CHIP REV 0x30; PCI
miibus0: MII bus on bge0
brgphy0: BCM5705 1000BASE-T media interface 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: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH7M SATA150 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5080-0x508f 

回复: 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) 
收件人:chiehhanchieh...@gmail.com
抄送:freebsd-questionsfreebsd-questions@freebsd.org

chiehhan chieh...@gmail.com 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