From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 8 08:21:15 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86CFF16A41F for ; Tue, 8 Nov 2005 08:21:15 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6191143D49 for ; Tue, 8 Nov 2005 08:21:01 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 1D6E513F1A3 for ; Tue, 8 Nov 2005 09:21:01 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id DC7F09F1DF for ; Tue, 8 Nov 2005 09:21:00 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id B1D8E9F1CA for ; Tue, 8 Nov 2005 09:21:00 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 73E7513F213 for ; Tue, 8 Nov 2005 09:21:00 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id jA88L0LZ022874 for ; Tue, 8 Nov 2005 09:21:00 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id jA88L09X085363 for ; Tue, 8 Nov 2005 09:21:00 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id jA88L0vx011813 for ; Tue, 8 Nov 2005 09:21:00 +0100 (CET) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id jA88KvMr011812 for acpi@freebsd.org; Tue, 8 Nov 2005 09:20:57 +0100 (CET) (envelope-from q@galgenberg.net) Date: Tue, 8 Nov 2005 09:20:57 +0100 From: Ulrich Spoerlein To: acpi@freebsd.org Message-ID: <20051108082057.GB1067@galgenberg.net> Mail-Followup-To: acpi@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: Subject: Battery woes since going 6.0-BETA3 -> 6.0-STABLE X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 08:21:15 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Good morning everyone, I updated my system yesterday from BETA3 to the current RELENG_6. Booting my system this morning, I found it in a rather unusable state. First of all, there were problems with BETA3 before. When charging the battery (only when charging!) wmbsdbatt would periodically freeze the system which made MP3 playback impossible. Ok, I first thought wmbsdbatt is calling sysctl to get the values and sysctl is under Giant. So no problem. Funny thing is, it only occurred when charging, not when running on batteries or without them. Now updating to the current RELENG_6 I get the system freezes whenever running wmbsdbatt. This goes as far as the USB devices losing contact (!!). I thought my kbd/mouse went wacko, and found the following in messages Nov 8 08:57:22 roadrunner kernel: ukbd0: at uhub4 port 1 (addr 3) disconne= cted Nov 8 08:57:22 roadrunner kernel: ukbd0: detached Nov 8 08:57:22 roadrunner kernel: ums0: at uhub4 port 1 (addr 3) disconnec= ted Nov 8 08:57:22 roadrunner kernel: ums0: detached Nov 8 08:57:22 roadrunner moused: unable to open /dev/ums0: No such file o= r directory Nov 8 08:57:22 roadrunner kernel: ukbd0: CHESEN PS2 to USB Converter, rev = 1.10/0.10, addr 3, iclass 3/1 Nov 8 08:57:22 roadrunner kernel: kbd1 at ukbd0 Nov 8 08:57:22 roadrunner kernel: ums0: CHESEN PS2 to USB Converter, rev 1= =2E10/0.10, addr 3, iclass 3/1 Nov 8 08:57:22 roadrunner kernel: ums0: 5 buttons and Z dir. Nov 8 08:58:39 roadrunner kernel: ukbd0: at uhub4 port 1 (addr 3) disconne= cted Nov 8 08:58:39 roadrunner kernel: ukbd0: detached Nov 8 08:58:39 roadrunner kernel: ums0: at uhub4 port 1 (addr 3) disconnec= ted Nov 8 08:58:39 roadrunner kernel: ums0: detached Nov 8 08:58:39 roadrunner moused: unable to open /dev/ums0: No such file o= r directory Nov 8 08:58:40 roadrunner kernel: ukbd0: CHESEN PS2 to USB Converter, rev = 1.10/0.10, addr 3, iclass 3/1 Nov 8 08:58:40 roadrunner kernel: kbd1 at ukbd0 Nov 8 08:58:40 roadrunner kernel: ums0: CHESEN PS2 to USB Converter, rev 1= =2E10/0.10, addr 3, iclass 3/1 Nov 8 08:58:40 roadrunner kernel: ums0: 5 buttons and Z dir. Nov 8 08:58:50 roadrunner kernel: ukbd0: at uhub4 port 1 (addr 3) disconne= cted Nov 8 08:58:50 roadrunner kernel: ukbd0: detached Nov 8 08:58:50 roadrunner kernel: ums0: at uhub4 port 1 (addr 3) disconnec= ted Nov 8 08:58:50 roadrunner kernel: ums0: detached Nov 8 08:58:50 roadrunner moused: unable to open /dev/ums0: No such file o= r directory Nov 8 08:58:51 roadrunner kernel: ukbd0: CHESEN PS2 to USB Converter, rev = 1.10/0.10, addr 3, iclass 3/1 Nov 8 08:58:51 roadrunner kernel: kbd1 at ukbd0 Nov 8 08:58:51 roadrunner kernel: ums0: CHESEN PS2 to USB Converter, rev 1= =2E10/0.10, addr 3, iclass 3/1 Nov 8 08:58:51 roadrunner kernel: ums0: 5 buttons and Z dir. Nov 8 08:59:23 roadrunner kernel: ukbd0: at uhub4 port 1 (addr 3) disconne= cted Nov 8 08:59:23 roadrunner kernel: ukbd0: detached Nov 8 08:59:23 roadrunner kernel: ums0: at uhub4 port 1 (addr 3) disconnec= ted Nov 8 08:59:23 roadrunner kernel: ums0: detached Nov 8 08:59:23 roadrunner moused: unable to open /dev/ums0: No such file o= r directory Nov 8 08:59:24 roadrunner kernel: ukbd0: CHESEN PS2 to USB Converter, rev = 1.10/0.10, addr 3, iclass 3/1 Nov 8 08:59:24 roadrunner kernel: kbd1 at ukbd0 Nov 8 08:59:24 roadrunner kernel: ums0: CHESEN PS2 to USB Converter, rev 1= =2E10/0.10, addr 3, iclass 3/1 Nov 8 08:59:24 roadrunner kernel: ums0: 5 buttons and Z dir. This is because wmbsdbatt is polling the battery (which right now, is not even present, as I'm running on AC). I'm running a Dell Inspiron 8600, these are the relevant acpi lines from dmesg acpi0: on motherboard pci_link0: irq 11 on acpi0 pci_link1: irq 11 on acpi0 pci_link2: irq 11 on acpi0 pci_link3: irq 11 on acpi0 pci_link4: on acpi0 pci_link5: irq 11 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 acpi_acad0: on acpi0 battery0: on acpi0 battery1: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 I will revert 6.0-RELEASE for now, I guess the smart battery support is causing problems for me. Running acpiconf -i 0 in a loop makes the hiccups clearly visible, it Will running for several seconds with no pause, then it pauses shortly % while true; do \time acpiconf -i 0 >/dev/null;done 2>&1 | uniq 0.92 real 0.00 user 0.91 sys 0.00 real 0.00 user 0.00 sys 0.13 real 0.00 user 0.00 sys 0.00 real 0.00 user 0.00 sys 0.76 real 0.00 user 0.76 sys 0.00 real 0.00 user 0.00 sys 0.13 real 0.00 user 0.00 sys 0.00 real 0.00 user 0.00 sys 0.38 real 0.00 user 0.37 sys 0.00 real 0.00 user 0.00 sys 0.38 real 0.05 user 0.33 sys 0.00 real 0.00 user 0.00 sys 0.13 real 0.00 user 0.00 sys 0.00 real 0.00 user 0.00 sys 0.13 real 0.00 user 0.00 sys 0.00 real 0.00 user 0.00 sys 0.13 real 0.00 user 0.00 sys 0.00 real 0.00 user 0.00 sys 0.13 real 0.00 user 0.00 sys 0.00 real 0.00 user 0.00 sys Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDcF/pmArGtfDbn0QRAhFfAJ9NenSpm2Dkta7XW4hYu8gx1jUTCwCg5kHz +BsSqWJcZe8UEMww0WQgnLM= =qdgd -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--