From owner-freebsd-current Wed Nov 27 1:56:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BDB437B401 for ; Wed, 27 Nov 2002 01:56:33 -0800 (PST) Received: from h162n2fls35o1000.telia.com (h162n2fls35o1000.telia.com [217.210.235.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4A4643EBE for ; Wed, 27 Nov 2002 01:56:31 -0800 (PST) (envelope-from john@veidit.net) Received: from veidit.net (20.130.88.213.host.tele1europe.se [213.88.130.20] (may be forged)) (authenticated bits=0) by h162n2fls35o1000.telia.com (8.12.6/8.12.6) with ESMTP id gAR9uEGg014451 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 27 Nov 2002 10:56:22 +0100 (CET) Message-ID: <3DE496C3.8010407@veidit.net> Date: Wed, 27 Nov 2002 10:56:19 +0100 From: John Angelmo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021125 X-Accept-Language: sv, en, en-us MIME-Version: 1.0 To: Mitsuru IWASAKI Cc: current@FreeBSD.ORG Subject: Re: ACPI problem with laptop? References: <3DE345C3.702@veidit.net> <20021126.195011.02307171.iwasaki@jp.FreeBSD.org> In-Reply-To: <3DE345C3.702@veidit.net> Content-Type: multipart/mixed; boundary="------------060601080705090803040504" X-Scanned-By: MIMEDefang 2.26 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------060601080705090803040504 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mitsuru IWASAKI wrote: > Hi, > > Hmm, we need further info. on this. > Please add the following lines into your /boor/loader.conf: > ---- > hw.acpi.verbose=1 > debug.acpi.layer="ACPI_ALL_COMPONENTS ACPI_BUS" > debug.acpi.level="ACPI_LV_WARN ACPI_LV_ERROR ACPI_LV_OBJECTS" > ---- > > Then you'll get thermal operation messages, something like: > Nov 26 19:34:13 mybox kernel: acpi_tz0: _AC0: temperature 60.0 >= > setpoint 60.0 > Nov 26 19:34:13 mybox kernel: acpi_tz0: switched from NONE to _AC0: 60.0C > > We need the messages like this, acpidump output, and sysctl hw.acpi output > to track this down. > > BTW, does new acpica patches give any effects for your? > http://people.freebsd.org/~iwasaki/acpi/acpica-20021002-20021118-test20021121.diff > > Thanks Patch added. acpidump adds this (except for the log): acpidump: DSDT is corrupt -su-2.05b# sysctl hw.acpi hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 0 hw.acpi.s4bios: 1 hw.acpi.verbose: 1 hw.acpi.cpu.max_speed: 16 hw.acpi.cpu.current_speed: 16 hw.acpi.cpu.performance_speed: 16 hw.acpi.cpu.economy_speed: 8 hw.acpi.acline: 1 hw.acpi.battery.life: 99 hw.acpi.battery.time: -1 hw.acpi.battery.state: 2 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 There were no thermal info in /var/log/messages or anywhere else for that matter /John --------------060601080705090803040504 Content-Type: text/plain; name="acpidump.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="acpidump.log" /* RSD PTR: Checksum=142, OEMID=PTLTD, RsdtAddress=0x0eefb5f9 */ /* RSDT: Length=44, Revision=1, Checksum=229, OEMID=PTLTD, OEM Table ID= RSDT, OEM Revision=0x6040000, Creator ID= LTP, Creator Revision=0x0 */ /* Entries={ 0x0eefee74, 0x0eefeee8 } */ /* DSDT=0xeefb625 INT_MODEL=PIC SCI_INT=10 SMI_CMD=0x802f, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0xf2 PM1a_EVT_BLK=0x8000-0x8003 PM1a_CNT_BLK=0x8004-0x8005 PM2_TMR_BLK=0x8008-0x800b PM2_GPE0_BLK=0x8020-0x8023 P_LVL2_LAT=90ms, P_LVL3_LAT=900ms FLUSH_SIZE=0, FLUSH_STRIDE=0 DUTY_OFFSET=0, DUTY_WIDTH=4 DAY_ALRM=125, MON_ALRM=126, CENTURY=127 Flags={WBINVD,PROC_C1,SLP_BUTTON} */ --------------060601080705090803040504 Content-Type: text/plain; name="dmesg.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.log" Copyright (c) 1992-2002 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 5.0-CURRENT #0: Tue Nov 26 16:13:19 CET 2002 root@Sleeper:/usr/obj/usr/src/sys/Sleeper Preloaded elf kernel "/boot/kernel/kernel" at 0xc05bb000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05bb0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1295518645 Hz CPU: mobile AMD Athlon(tm) 4 1500+ (1295.52-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xffffffffc0400000 real memory = 251658240 (240 MB) avail memory = 238227456 (227 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 7 entries at 0xc00fdf50 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 acpi_cmbat0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ---- initial configuration ------------------------ \\_SB_.PCI0.PIB_.LNKC irq 5: [ 5] low,level,sharable 0.1.0 \\_SB_.PCI0.PIB_.LNKA irq 4: [ 4] low,level,sharable 0.7.0 \\_SB_.PCI0.PIB_.LNKB irq 11: [ 11] low,level,sharable 0.7.1 \\_SB_.PCI0.PIB_.LNKC irq 5: [ 5] low,level,sharable 0.7.2 \\_SB_.PCI0.PIB_.LNKD irq 9: [ 9] low,level,sharable 0.7.3 \\_SB_.PCI0.PIB_.LNKA irq 4: [ 4] low,level,sharable 0.9.0 \\_SB_.PCI0.PIB_.LNKD irq 9: [ 9] low,level,sharable 0.9.1 \\_SB_.PCI0.PIB_.LNKB irq 11: [ 11] low,level,sharable 0.10.0 \\_SB_.PCI0.PIB_.LNKB irq 11: [ 11] low,level,sharable 0.11.0 \\_SB_.PCI0.PIB_.LNKA irq 4: [ 4] low,level,sharable 0.19.0 ---- before setting priority for links ------------ ---- before fixup boot-disabled links ------------- ---- after fixup boot-disabled links -------------- ---- arbitrated configuration --------------------- \\_SB_.PCI0.PIB_.LNKC irq 5: [ 5] low,level,sharable 0.1.0 \\_SB_.PCI0.PIB_.LNKA irq 4: [ 4] low,level,sharable 0.7.0 \\_SB_.PCI0.PIB_.LNKB irq 11: [ 11] low,level,sharable 0.7.1 \\_SB_.PCI0.PIB_.LNKC irq 5: [ 5] low,level,sharable 0.7.2 \\_SB_.PCI0.PIB_.LNKD irq 9: [ 9] low,level,sharable 0.7.3 \\_SB_.PCI0.PIB_.LNKA irq 4: [ 4] low,level,sharable 0.9.0 \\_SB_.PCI0.PIB_.LNKD irq 9: [ 9] low,level,sharable 0.9.1 \\_SB_.PCI0.PIB_.LNKB irq 11: [ 11] low,level,sharable 0.10.0 \\_SB_.PCI0.PIB_.LNKB irq 11: [ 11] low,level,sharable 0.11.0 \\_SB_.PCI0.PIB_.LNKA irq 4: [ 4] low,level,sharable 0.19.0 pci0: on pcib0 agp0: mem 0xec000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ - AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1840-0x184f at device 7.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1800-0x181f irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.4 (no driver attached) pcm0: port 0x1850-0x1853,0x1854-0x1857,0x1000-0x10ff irq 5 at device 7.5 on pci0 pci0: at device 9.0 (no driver attached) cbb0: mem 0xffbfe000-0xffbfefff at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 10 INTA is routed to irq 11 rl0: port 0x1400-0x14ff mem 0xe8010000-0xe80100ff irq 11 at device 11.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:08:02:4b:52:13 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 acpi_ec0: port 0x66,0x62 on acpi0 orm0: