Subject: Re: CVS commit: src/sys/dev/acpi
To: None <christos@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: source-changes
Date: 07/12/2006 19:35:14
At Sat,  8 Jul 2006 20:23:53 +0000 (UTC),
Christos Zoulas wrote:
> Added Files:
> 	src/sys/dev/acpi: acpi_apm.c

After disconnecting AC adapter from my laptop, the discharge rate is
0 for a while.  If acpiapm_get_powstat() is called at that time, the
kernel is panicked at line 239 of this file.

[disconnect AC adapter]
% envstat -r -s 'acpibat0 discharge rate'
acpibat0 discharge rate:      0.000 W

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp