linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bug 10797] Battery is drained after poweroff
       [not found] <6868482180440484264@unknownmsgid>
@ 2008-10-25 23:42 ` Justin Mattock
  0 siblings, 0 replies; 10+ messages in thread
From: Justin Mattock @ 2008-10-25 23:42 UTC (permalink / raw)
  To: Renato S. Yamane
  Cc: Rafael J. Wysocki, fabio.comolli, astarikovskiy, len.brown,
	Pavel Machek, linux-kernel

On Sat, Oct 25, 2008 at 6:23 AM, Renato S. Yamane
<yamane@diamondcut.com.br> wrote:
> Renato S. Yamane wrote:
>> One more information:
>> This bug don't happening in Kernel 2.6.26-8 from Debian Lenny.
>> But still happening in 2.6.27.3 pristine kernel.
>
> Maybe this is the root problem (from Debian changelog):
> *Fix ACPI EC GPE storm detection. (closes:
> <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494546>
>
> <http://lkml.org/lkml/2008/7/19/19>
>
> Best regards,
> Renato
>
>

Could be, can't remember what happened that day
(maybe too much beer), anyways I have noticed
battery power being lost after power off, but not yet for
2.6.28, I think around 2.6.25-or-26, but when it happened
it was seldom, or in any case once or twice, not enough times
for me to say anything, just figured it was leaving the system
unplugged while in suspend.

-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
       [not found] <4199.200.180.173.111.1224358421.mandic:mail - neo@webmail.mandic.com.br>
@ 2008-10-18 20:12 ` Rafael J. Wysocki
  0 siblings, 0 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2008-10-18 20:12 UTC (permalink / raw)
  To: Renato S. Yamane; +Cc: Pavel Machek, linux-kernel, power-management_other

On Saturday, 18 of October 2008, Renato S. Yamane wrote:
> Rafael J. Wysocki wrote:
> > It follows from your reports that the problem is present in 2.6.22, although
> > it wasn't present in 2.6.21.  If that's correct, you can do the following:
> > 1) Clone the Linus' -git repository (if you have a copy already, you can use
> > it)
> > 2) Go to the directory containing your copy of the Linus' repo and do
> > 	# git bisect start
> > 	# git bisect good v2.6.21
> > 	# git bisect bad v2.6.22
> > 3) Wait for git to select a commit to test, build the kernel and test it.
> 
> $ git bisect good v2.6.22
> $ git bisect bad v2.6.23
> Bisecting: *3554* revisions left to test after this
> 
> This means that I need compile kernel *3554* times?

No, you'll need to compile it approximately log_2(3554) times which is not
that bad. :-)

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
       [not found] <20494.201.3.158.14.1223417777.mandic:mail - neo@webmail.mandic.com.br>
  2008-10-07 22:28 ` Pavel Machek
@ 2008-10-07 22:35 ` Rafael J. Wysocki
  1 sibling, 0 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2008-10-07 22:35 UTC (permalink / raw)
  To: Renato S. Yamane; +Cc: Pavel Machek, linux-kernel, rjw, power-management_other

On Wednesday, 8 of October 2008, Renato S. Yamane wrote:
> Kok, Auke wrote:
> > Pavel Machek wrote:
> >> Renato S. Yamane wrote:
> >>> Pavel Machek wrote:
> >>> Renato S. Yamane wrote:
> >>>>> Can someone help us with this bug?
> >>>>> <http://bugzilla.kernel.org/show_bug.cgi?id=10797>
> >>>>>
> >>>>> Same problem is reported in Ubuntu:
> >>>>> <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/110784>
> >>>>>
> >>>>> This is not a hardware problem, because if the same laptop is poweroff
> >>>>> by Windows, battery charge don't change.
> >>>>
> >>>> ...and it is not linux problem because it works okay on my thinkpad. See?
> >>>
> >>> Yes, this is a Linux problem (at least in release >= 2.6.22)
> >>> This happening *only* in Linux (Kernel >=2.6.22).
> >>
> >> Wow, now that's useful info.
> 
> I don´t comment this before because we already said this in bug reports
> (links above).
> 
> >> I guess you _could_ do git bisect? ;-).
> 
> So sorry, but I really don´t now how can I do this.
> I´m an user, not developer. Can you send me a "how-to" about git bisect?

Seriously, this may be the fastest way to find out where the problem is.

It follows from your reports that the problem is present in 2.6.22, although
it wasn't present in 2.6.21.  If that's correct, you can do the following:
1) Clone the Linus' -git repository (if you have a copy already, you can use it)
2) Go to the directory containing your copy of the Linus' repo and do
	# git bisect start
	# git bisect good v2.6.21
	# git bisect bad v2.6.22
3) Wait for git to select a commit to test, build the kernel and test it.
   If it works correctly, do
	# git bisect good
   Otherwise, do
	# git bisect bad
4) Repeat 3) until you end up with single commit.

[Unfortunately this procedure may not converge for you (eg. you may encounter
a kernel version that won't compile etc.), but hopefully it will.  Then, you
will know which particular commit caused the problem to appear.]

5) When you're done, do
	# git bisect reset

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
       [not found] <20494.201.3.158.14.1223417777.mandic:mail - neo@webmail.mandic.com.br>
@ 2008-10-07 22:28 ` Pavel Machek
  2008-10-07 22:35 ` Rafael J. Wysocki
  1 sibling, 0 replies; 10+ messages in thread
From: Pavel Machek @ 2008-10-07 22:28 UTC (permalink / raw)
  To: Renato S. Yamane
  Cc: Auke,  <auke-jan.h.kok@intel.com>,
	linux-kernel, rjwysocki, power-management_other


> >>>> ...and it is not linux problem because it works okay on my thinkpad. See?
> >>>
> >>> Yes, this is a Linux problem (at least in release >= 2.6.22)
> >>> This happening *only* in Linux (Kernel >=2.6.22).
> >>
> >> Wow, now that's useful info.
> 
> I don´t comment this before because we already said this in bug reports
> (links above).

Sorry about that. lkml has rather big traffic.

> >> I guess you _could_ do git bisect? ;-).
> 
> So sorry, but I really don´t now how can I do this.
> I´m an user, not developer. Can you send me a "how-to" about git
> bisect?

http://kerneltrap.org/node/11753

There may be better HOWTOs around.

> >>> And is impossible find wich device eats power (eaten current is too low,
> >>> and is not enought to make hot).
> >>
> >> So how fast is it eating power... can you estimate Watts eaten?
> 
> Eaten ~5% of battery each 10h.

Lets assume 40Wh battery... 0.5% per hour... that means 200 hours to
empty. 0.5% per hour is 40 * 0.005 Wh/h = 0.2 W AFAICT... hmm, that's
quite low. Debugging this will not be easy :-(.
									Pavel 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
  2008-10-06 11:16 Renato S. Yamane
  2008-10-07 13:42 ` Pavel Machek
@ 2008-10-07 19:30 ` Rafael J. Wysocki
  1 sibling, 0 replies; 10+ messages in thread
From: Rafael J. Wysocki @ 2008-10-07 19:30 UTC (permalink / raw)
  To: Renato S. Yamane; +Cc: linux-kernel, rjwysocki, power-management_other

On Monday, 6 of October 2008, Renato S. Yamane wrote:
> Hi,
> 
> Can someone help us with this bug?
> <http://bugzilla.kernel.org/show_bug.cgi?id=10797>
> 
> Same problem is reported in Ubuntu:
> <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/110784>
> 
> This is not a hardware problem, because if the same laptop is poweroff
> by Windows, battery charge don't change.
> 
> And, if I suspend to ram/disk BEFORE poweroff, battery charge don't
> change (suspend to ram/disk --> WakeUp --> Poweroff).

Have you tried 2.6.27-rc9?

Rafael

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
  2008-10-07 19:00     ` Pavel Machek
@ 2008-10-07 19:12       ` Kok, Auke
  0 siblings, 0 replies; 10+ messages in thread
From: Kok, Auke @ 2008-10-07 19:12 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Renato S. Yamane, linux-kernel, rjwysocki, power-management_other

Pavel Machek wrote:
> On Tue 2008-10-07 13:06:10, Renato S. Yamane wrote:
>> Pavel Machek wrote:
>> Renato S. Yamane wrote:
>>>> Can someone help us with this bug?
>>>> <http://bugzilla.kernel.org/show_bug.cgi?id=10797>
>>>>
>>>> Same problem is reported in Ubuntu:
>>>> <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/110784>
>>>>
>>>> This is not a hardware problem, because if the same laptop is poweroff
>>>> by Windows, battery charge don't change.
>>> ...and it is not linux problem because it works okay on my thinkpad. See? 
>> Yes, this is a Linux problem (at least in release >= 2.6.22)
>> This happening *only* in Linux (Kernel >=2.6.22).
> 
> Wow, now that's useful info.
> 
> I guess you _could_ do git bisect? ;-).
> 
>>>> And, if I suspend to ram/disk BEFORE poweroff, battery charge don't
>>>> change (suspend to ram/disk --> WakeUp --> Poweroff).
>>> Which machine is that? Can you find out which device eats power? (It
>>> should be warm).
>> This problem is happening in Toshiba Satellite M45-S355, Toshiba Equium
>> A100-306, HP DV8000, HP DV9500, Dell Latitude D630, Toshiba M110, Sony
>> Vaio VGN-S2XP, Toshiba Satellite A105-S4384, Toshiba Satellite M55-S3314
>> and Toshiba Satellite A105-S2201 as you can see in bug report listed above.
>>
>> And is impossible find wich device eats power (eaten current is too low,
>> and is not enought to make hot).
> 
> So how fast is it eating power... can you estimate Watts eaten?
> 									Pavel

perhaps wake-on-lan and friends are enabled? check the bios etc...

Auke

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
  2008-10-07 16:06   ` Renato S. Yamane
@ 2008-10-07 19:00     ` Pavel Machek
  2008-10-07 19:12       ` Kok, Auke
  0 siblings, 1 reply; 10+ messages in thread
From: Pavel Machek @ 2008-10-07 19:00 UTC (permalink / raw)
  To: Renato S. Yamane; +Cc: linux-kernel, rjwysocki, power-management_other

On Tue 2008-10-07 13:06:10, Renato S. Yamane wrote:
> Pavel Machek wrote:
> Renato S. Yamane wrote:
> >> Can someone help us with this bug?
> >> <http://bugzilla.kernel.org/show_bug.cgi?id=10797>
> >>
> >> Same problem is reported in Ubuntu:
> >> <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/110784>
> >>
> >> This is not a hardware problem, because if the same laptop is poweroff
> >> by Windows, battery charge don't change.
> > 
> > ...and it is not linux problem because it works okay on my thinkpad. See? 
> 
> Yes, this is a Linux problem (at least in release >= 2.6.22)
> This happening *only* in Linux (Kernel >=2.6.22).

Wow, now that's useful info.

I guess you _could_ do git bisect? ;-).

> >> And, if I suspend to ram/disk BEFORE poweroff, battery charge don't
> >> change (suspend to ram/disk --> WakeUp --> Poweroff).
> > 
> > Which machine is that? Can you find out which device eats power? (It
> > should be warm).
> 
> This problem is happening in Toshiba Satellite M45-S355, Toshiba Equium
> A100-306, HP DV8000, HP DV9500, Dell Latitude D630, Toshiba M110, Sony
> Vaio VGN-S2XP, Toshiba Satellite A105-S4384, Toshiba Satellite M55-S3314
> and Toshiba Satellite A105-S2201 as you can see in bug report listed above.
> 
> And is impossible find wich device eats power (eaten current is too low,
> and is not enought to make hot).

So how fast is it eating power... can you estimate Watts eaten?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
  2008-10-07 13:42 ` Pavel Machek
@ 2008-10-07 16:06   ` Renato S. Yamane
  2008-10-07 19:00     ` Pavel Machek
  0 siblings, 1 reply; 10+ messages in thread
From: Renato S. Yamane @ 2008-10-07 16:06 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel, rjwysocki, power-management_other

Pavel Machek wrote:
Renato S. Yamane wrote:
>> Can someone help us with this bug?
>> <http://bugzilla.kernel.org/show_bug.cgi?id=10797>
>>
>> Same problem is reported in Ubuntu:
>> <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/110784>
>>
>> This is not a hardware problem, because if the same laptop is poweroff
>> by Windows, battery charge don't change.
> 
> ...and it is not linux problem because it works okay on my thinkpad. See? 

Yes, this is a Linux problem (at least in release >= 2.6.22)
This happening *only* in Linux (Kernel >=2.6.22).

>> And, if I suspend to ram/disk BEFORE poweroff, battery charge don't
>> change (suspend to ram/disk --> WakeUp --> Poweroff).
> 
> Which machine is that? Can you find out which device eats power? (It
> should be warm).

This problem is happening in Toshiba Satellite M45-S355, Toshiba Equium
A100-306, HP DV8000, HP DV9500, Dell Latitude D630, Toshiba M110, Sony
Vaio VGN-S2XP, Toshiba Satellite A105-S4384, Toshiba Satellite M55-S3314
and Toshiba Satellite A105-S2201 as you can see in bug report listed above.

And is impossible find wich device eats power (eaten current is too low,
and is not enought to make hot).

Best regards,
Renato

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 10797] Battery is drained after poweroff
  2008-10-06 11:16 Renato S. Yamane
@ 2008-10-07 13:42 ` Pavel Machek
  2008-10-07 16:06   ` Renato S. Yamane
  2008-10-07 19:30 ` Rafael J. Wysocki
  1 sibling, 1 reply; 10+ messages in thread
From: Pavel Machek @ 2008-10-07 13:42 UTC (permalink / raw)
  To: Renato S. Yamane; +Cc: linux-kernel, rjwysocki, power-management_other

On Mon 2008-10-06 08:16:24, Renato S. Yamane wrote:
> Hi,
> 
> Can someone help us with this bug?
> <http://bugzilla.kernel.org/show_bug.cgi?id=10797>
> 
> Same problem is reported in Ubuntu:
> <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/110784>
> 
> This is not a hardware problem, because if the same laptop is poweroff
> by Windows, battery charge don't change.

...and it is not linux problem because it works okay on my thinkpad. See? 

> And, if I suspend to ram/disk BEFORE poweroff, battery charge don't
> change (suspend to ram/disk --> WakeUp --> Poweroff).

Which machine is that? Can you find out which device eats power? (It
should be warm).

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 10797] Battery is drained after poweroff
@ 2008-10-06 11:16 Renato S. Yamane
  2008-10-07 13:42 ` Pavel Machek
  2008-10-07 19:30 ` Rafael J. Wysocki
  0 siblings, 2 replies; 10+ messages in thread
From: Renato S. Yamane @ 2008-10-06 11:16 UTC (permalink / raw)
  To: linux-kernel, rjwysocki, power-management_other

Hi,

Can someone help us with this bug?
<http://bugzilla.kernel.org/show_bug.cgi?id=10797>

Same problem is reported in Ubuntu:
<https://bugs.launchpad.net/ubuntu/+source/linux/+bug/110784>

This is not a hardware problem, because if the same laptop is poweroff
by Windows, battery charge don't change.

And, if I suspend to ram/disk BEFORE poweroff, battery charge don't
change (suspend to ram/disk --> WakeUp --> Poweroff).

Best regards,
Renato

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-10-25 23:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <6868482180440484264@unknownmsgid>
2008-10-25 23:42 ` [Bug 10797] Battery is drained after poweroff Justin Mattock
     [not found] <4199.200.180.173.111.1224358421.mandic:mail - neo@webmail.mandic.com.br>
2008-10-18 20:12 ` Rafael J. Wysocki
     [not found] <20494.201.3.158.14.1223417777.mandic:mail - neo@webmail.mandic.com.br>
2008-10-07 22:28 ` Pavel Machek
2008-10-07 22:35 ` Rafael J. Wysocki
2008-10-06 11:16 Renato S. Yamane
2008-10-07 13:42 ` Pavel Machek
2008-10-07 16:06   ` Renato S. Yamane
2008-10-07 19:00     ` Pavel Machek
2008-10-07 19:12       ` Kok, Auke
2008-10-07 19:30 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).