kernel-testers.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxim Levitsky <maximlevitsky@gmail.com>
To: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Cc: linux-kernel@vger.kernel.org,
	linux-pm@lists.linux-foundation.org,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	linux acpi <linux-acpi@vger.kernel.org>
Subject: Re: Bugs on aspire one A150
Date: Wed, 12 Nov 2008 19:48:41 +0200	[thread overview]
Message-ID: <491B16F9.8030608@gmail.com> (raw)
In-Reply-To: <4916BED0.4090700@tuffmail.co.uk>

Alan Jenkins wrote:
> Maxim Levitsky wrote:
>> Alan Jenkins wrote:
>>> Maxim Levitsky wrote:
>>>> I have just bought an Aspire one A150, XP version,
>>>> as it was the only available here, and installed ubuntu on it.
>>>>
>>>> Bugs I discovered so far:
>>>>
>>>>
>>>> ** 1 - embedded controler works in polling mode, due to this:
>>>>
>>>> [    0.708571] ACPI: EC: non-query interrupt received, switching to
>>>> interrupt mode
>>>> [    1.224043] ACPI: EC: missing confirmations, switch off interrupt
>>>> mode.
>>>>
>>>>
>>>> Maybe this is the reason for the fact that gnome power manager
>>>> freezes when I unplug
>>>> the AC, and freezes often when I try to see battery status.
>>>>
>>>>
>>>> (Note: same is seen on my acer aspire 5720)
>>> That sounds like a known issue.  It has been resolved by "ACPI: EC:
>>> revert msleep patch".  Happily Len submitted it for mainline this
>>> week.  You will also find it if you try the acpi-test git tree. 
>>> We're all hoping 2.6.28 will be much improved in terms of reliable
>>> operation of different ECs :).
>>>
>> Yes, this almost fixes all issues with that.
>> Almost because, it looks like the EC changes screen brightness on his
>> own when battery is plugged/unplugged,
>> but so does the gnome-power-manager, and thus it still hangs as before
>> on battery removal (but doesn't hang otherwise)
>> I disabled that behaver in gnome-power-manager and now no more hangs.
>>
> 
> Please do report it as an ACPI EC bug.  It's popular hardware, and if
> nothing else it is important that upstream be aware of the workarounds
> people are having to use.
> 
>> I see that this fix fixes the polled mode. Any chance to make irq mode
>> work?
>>
> 
> Probably not.  It doesn't seem important, it may not be possible, and
> even if you could fix the EC driver for your hardware, there's the risk
> of breaking other peoples hardware.
> 
> The presumption is that you have weird hardware and it genuinely needs a
> polling workaround.  It's not too bad, now it uses udelay() it should
> not impose any wakeups or significant latency, just some extra cpu time
> in a busy loop.  EC events such as acpi hotkeys are still received as
> interrupts (although we then have to query the type of event using a
> polled transaction).
> 
> 
> I assume you get something like (text not exact):
> 
> "EC: started in polling mode"
> ...
> "EC: non-query interrupt received, switching to interrupt mode"
> ...
> "EC: missing confirmations, switching to polling mode"
> 
> all during boot.
Yes, this is what I see.

> 
> 
> There's one outstanding issue on a different machine, where the
> occasional EC read fails and triggers polling mode sometime _after_
> boot.  It can be fixed by retrying the transaction
> 
>     http://bugzilla.kernel.org/show_bug.cgi?id=11896
> 
> but I don't really expect your machine has the same problem.
> 
> <snip non-acpi problems>
> 
>> Also noticed another bug:
>>
>>
>> If I suspend/resume with compiz running, on resume I see wallpaper and
>> mouse cursor, everything hangs for minute or two, and sometimes forever.
>>
>> 2.6.27 worked fine.
> 
> Weird.
> 
> Did you try sysrq-W during the hang?  That's supposed to dump a list of
> blocked tasks to dmesg.
Well, I see the wallpaper and can move the mouse, I will try to suspend from console
I think this is graphics bug.
nether ctrl+alt+bks nor SAK kill X.

After 2 minute wait, kernel log doesn't show anything unusual.
printk times, jump that 2 minutes around wireless association, but I tested it without ath5k loaded
and still the same happens.

Also if I disable compiz, everything resumes correctly, and instantly.

> 
>> Also hibernate doesn't work on my main notebook, but it is probably
>> fixed, I update kernel to really latest -git
>> and tell you.
>>
> 
> But suspend to ram works?  Usually it is the other way round :).  If you
> haven't already, you might read
> 
>     Documentation/power/basic-pm-debugging.txt
> 
Well, this is long story
details at http://lkml.org/lkml/2008/9/20/75
speaking shortly, bios doesn't pass control to kernel on second resume.
Thus I don't test it, but I see how it works now.

Suspend to disk still doesn't work.
First of all system hangs in the end of image writeout.
If I power it down manually, and boot, system resumes from disk, and then hangs.
2.6.27 works fine.

(This is about my main notebook)


> it suggests some tests to narrow down the problem.
> 
>> Big thanks for bugfixes, you saved me a lot of work and bisecting.
>>
> 
> I can't take credit for actual fixes.  But I'm very happy to help people
> avoid bisecting for known problems.  I hope you have time to crack the
> unknown ones :).
> 
> Alan


Best regards,
	Maxim Levitsky


PS: sorry for late reply

  reply	other threads:[~2008-11-12 17:48 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <491506DB.1070000@gmail.com>
     [not found] ` <491506DB.1070000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-08 11:57   ` Bugs on aspire one A150 Alan Jenkins
2008-11-09  0:52     ` Maxim Levitsky
     [not found]       ` <49163435.20301-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-09  8:54         ` [alsa-devel] " Takashi Iwai
2008-11-09 13:31           ` Andreas Mohr
2008-11-09 15:13           ` Andreas Mohr
     [not found]             ` <20081109151323.GA18705-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2008-11-09 18:58               ` [alsa-devel] " Takashi Iwai
2008-11-09 20:09                 ` Andreas Mohr
     [not found]                   ` <20081109200929.GA29333-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2008-11-12 11:08                     ` [alsa-devel] " Takashi Iwai
2008-11-12 17:07                       ` Maxim Levitsky
     [not found]                         ` <491B0D38.1050207-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-12 18:05                           ` [alsa-devel] " Andreas Mohr
     [not found]                             ` <20081112180519.GA21919-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2008-11-14 18:05                               ` Maxim Levitsky
     [not found]                                 ` <491DBDEA.9010104-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-22 19:00                                   ` Maxim Levitsky
2008-11-22 19:43                                     ` Andreas Mohr
     [not found]                                     ` <492856C2.8000707-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-24 14:35                                       ` [alsa-devel] " Takashi Iwai
2009-03-15  9:21                                         ` Andreas Mohr
2009-03-16 12:03                                           ` Andreas Mohr
     [not found]                                             ` <20090316120312.GA19299-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-16 12:09                                               ` [alsa-devel] " Takashi Iwai
2009-03-16 13:30                                                 ` Andreas Mohr
     [not found]                                                   ` <20090316133001.GA8437-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-16 14:18                                                     ` [alsa-devel] " Takashi Iwai
2009-03-16 14:31                                                       ` Andreas Mohr
2009-03-16 14:42                                                         ` Takashi Iwai
2009-03-16 14:50                                                           ` Andreas Mohr
     [not found]                                                             ` <20090316145036.GA26358-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-16 15:34                                                               ` [alsa-devel] " Takashi Iwai
2009-03-16 16:02                                                                 ` Andreas Mohr
2009-03-16 16:06                                                                   ` Takashi Iwai
     [not found]                                                                     ` <s5hwsappi44.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-16 16:19                                                                       ` [alsa-devel] " Takashi Iwai
2009-03-16 17:00                                                                         ` Andreas Mohr
2009-03-16 17:15                                                                           ` Takashi Iwai
     [not found]                                                                             ` <s5hljr5pex0.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-16 17:30                                                                               ` [alsa-devel] " Andreas Mohr
     [not found]                                                                                 ` <20090316173000.GA25647-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-16 17:34                                                                                   ` Takashi Iwai
2009-03-16 18:06                                                                                     ` Andreas Mohr
2009-03-16 20:28                                                                                       ` Takashi Iwai
2009-03-16 21:22                                                                                         ` Andreas Mohr
     [not found]                                                                                           ` <20090316212227.GA29471-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-17  0:52                                                                                             ` [alsa-devel] " Maxim Levitsky
2009-03-17  7:57                                                                                               ` Takashi Iwai
     [not found]                                                                                                 ` <s5heiwwzim7.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-17 11:30                                                                                                   ` [alsa-devel] " Maxim Levitsky
2009-03-17 12:52                                                                                                     ` Takashi Iwai
2009-03-17  7:57                                                                                           ` Takashi Iwai
     [not found]                                                                                             ` <s5hfxhczinh.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-17 10:05                                                                                               ` [alsa-devel] " Andreas Mohr
2009-03-17 10:38                                                                                                 ` Andreas Mohr
     [not found]                                                                                                   ` <20090317103845.GA26007-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-17 10:47                                                                                                     ` [alsa-devel] " Andreas Mohr
2009-03-17 11:25                                                                                                       ` Takashi Iwai
     [not found]                                                                                                         ` <s5h3adcpf1i.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-17 16:18                                                                                                           ` [alsa-devel] " Andreas Mohr
2009-03-17 20:32                                                                                                             ` Takashi Iwai
2009-03-18  9:05                                                                                                               ` Andreas Mohr
2009-03-18  9:19                                                                                                                 ` Takashi Iwai
2009-03-20 18:56                                                                                                                   ` Andreas Mohr
2009-03-20 20:33                                                                                                                     ` Takashi Iwai
     [not found]                                                                                                                       ` <s5hmybgnddc.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2009-03-22 12:55                                                                                                                         ` [alsa-devel] " Andreas Mohr
     [not found]                                                                                                                           ` <20090322125517.GA26498-p/qQFhXj4MHA4IYVXhSI5GHfThorsUsI@public.gmane.org>
2009-03-23  6:51                                                                                                                             ` Takashi Iwai
2008-11-12 17:20                       ` Maxim Levitsky
     [not found]                       ` <s5hiqqtkxqr.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2008-11-12 18:53                         ` HDA-emu 0.0.1 (Re: [alsa-devel] Bugs on aspire one A150) Takashi Iwai
2008-11-09 10:43         ` Bugs on aspire one A150 Alan Jenkins
2008-11-12 17:48           ` Maxim Levitsky [this message]
     [not found]     ` <49157E97.60503-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
2008-11-14 19:06       ` Maxim Levitsky
     [not found]         ` <491DCC21.6060705-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-14 19:59           ` Alan Jenkins
     [not found]             ` <61b223ba0811141159k179558d0i60cebf373baa9fb8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-11-15 12:52               ` Maxim Levitsky
2008-11-15 12:55                 ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=491B16F9.8030608@gmail.com \
    --to=maximlevitsky@gmail.com \
    --cc=alan-jenkins@tuffmail.co.uk \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).