----- Original Message ----- From: "Rene Ladan" <r.c.ladan_at_gmail.com> To: "Ken Menzel" <kenm_at_icarz.com> Cc: <freebsd-current_at_freebsd.org> Sent: Wednesday, December 12, 2007 12:18 PM Subject: Re: CURRENT Kernel makes the system run very very hot > 2007/12/12, Ken Menzel <kenfreebsd_at_icarz.com>: >> ----- Original Message ----- >> From: "Mark Linimon" <linimon_at_lonesome.com> >> To: "Sam Fourman Jr." <sfourman_at_gmail.com> >> Cc: <freebsd-current_at_freebsd.org> >> Sent: Wednesday, December 12, 2007 2:42 AM >> Subject: Re: CURRENT Kernel makes the system run very very hot >> >> >> > On Wed, Dec 12, 2007 at 01:38:49AM -0600, Sam Fourman Jr. wrote: >> >> I did not file a PR (I don't know how I have never done one.) >> > >> > Please see http://www.freebsd.org/support/bugreports.html. >> > >> > mcl >> Thanks Mark, It seems like it may be an ACPI problem based on: >> >> (kgdb) print cpu_idle_hook >> $1 = (void (*)(void)) 0xffffffff801d0bb0 <acpi_cpu_idle> >> (kgdb) q >> >> Thanks to Kostik Belousov for the advice on where to go next. And >> based on that I will move this to the ACPI mailing list and file a >> PR. >> > Hmm, on my too hot i386 laptop: > > # make installkernel.debug > #gdb /boot/kernel/kernel > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-marcel-freebsd"... > (gdb) print cpu_idle_hook > $1 = (void (*)(void)) 0xc063cc9b <cpu_idle_default> > (gdb) print cpu_idle_default > $2 = {void (void)} 0xc063cc9b <cpu_idle_default> > Rene, please try cd /usr/obj/usr/src/sys/GENERIC (or where-ever you built your kernel) kgdb kernel.debug /dev/mem print cpu_idle_hook This should show what is running in memory. > #grep -r cpu_idle_default * > amd64/amd64/machdep.c:cpu_idle_default(void) > amd64/amd64/machdep.c:void (*cpu_idle_hook)(void) = > cpu_idle_default; > dev/acpica/acpi_cpu.c: /* Take over idling from > cpu_idle_default(). */ > i386/i386/machdep.c:cpu_idle_default(void) > i386/i386/machdep.c:void (*cpu_idle_hook)(void) = cpu_idle_default; > ia64/ia64/machdep.c:cpu_idle_default(void) > ia64/ia64/machdep.c:void (*cpu_idle_hook)(void) = cpu_idle_default; > pc98/pc98/machdep.c:cpu_idle_default(void) > pc98/pc98/machdep.c:void (*cpu_idle_hook)(void) = cpu_idle_default; > > #dmesg |grep -i acpi > Features=0xbfebfbff<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,HTT,TM,PBE> > ACPI APIC Table: <AMI OEMAPIC > > acpi0: <_ASUS_ Notebook> on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of e0000, 20000 (3) failed > acpi0: reservation of 100000, 7ff00000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0 > acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff > on acpi0 > cpu0: <ACPI CPU> on acpi0 > cpu1: <ACPI CPU> on acpi0 > ACPI Warning (tbutils-0243): Incorrect checksum in table [SSDT] - > 99, > should be 2C [20070320] > acpi_asus0: Unsupported Asus laptop: A6Je > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > 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 > acpi_video0: <ACPI video extension> on vgapci0 > pcib2: <ACPI PCI-PCI bridge> irq 20 at device 28.0 on pci0 > pci2: <ACPI PCI bus> on pcib2 > pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0 > pci3: <ACPI PCI bus> on pcib3 > pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > pci4: <ACPI PCI bus> on pcib4 > acpi_lid0: <Control Method Lid Switch> on acpi0 > acpi_button0: <Power Button> on acpi0 > acpi_button1: <Sleep Button> on acpi0 > acpi_tz0: <Thermal Zone> on acpi0 > acpi_acad0: <AC Adapter> on acpi0 > battery0: <ACPI Control Method Battery> on acpi0 > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > speaker0: <PC speaker> port 0x61 on acpi0 > acpi_asus0: Unsupported Asus laptop: A6Je > > hw.acpi.cpu.cx_lowest: C1 > > So I have an ACPI capable CPU but it is not (properly) loaded? > > Regards, > Rene > -- > GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 > (subkeys.pgp.net) > > "It won't fit on the line." > -- me, 2001 See instruction in text above. KenReceived on Wed Dec 12 2007 - 16:46:49 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC