[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2011-10-29 Thread Olcay Korkmaz
lastest bios updates fix fan issue on models such as  Aspire 5315,
Aspire 5320, Aspire 5715Z, Aspire 5720, Aspire 7320, Aspire 7720

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/160763

Title:
  Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends
  only once [BIOS PROBLEM]

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/160763/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2011-02-04 Thread Bug Watch Updater
** Changed in: linux
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/160763

Title:
  Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends
  only once [BIOS PROBLEM]

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2011-01-23 Thread Bug Watch Updater
** Changed in: linux
   Status: Unknown = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/160763

Title:
  Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends
  only once [BIOS PROBLEM]

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-11-06 Thread Frodon
My bad, please ignore previous post (i forgot to give +x rights to some
of the scripts)

The scripts work like a charm and i can get suspend working more than
once for the first time on lucid lynx, i am so grateful for the time you
spent fixing this issue.

Maxim  Enrico, you both rock !

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-11-02 Thread Frodon
Same issue here with Lucid Lynx and a acer 5720G, i tried the script
proposed by Maxim and Enrico but still no luck for the moment. Like
others i have this issue since the beginning (before 8.04) with this
laptop.

Can we expect a backport of the fix for Lucid Lynx for those who use LTS
releases only ?

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-08-12 Thread Leann Ogasawara
** Changed in: linux (Ubuntu Maverick)
   Status: Triaged = Fix Released

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-07-30 Thread Tim Gardner
The fix was contained in 2.6.35-rc4 which is linux-2.6.35-7.10

** Also affects: Ubuntu Maverick
   Importance: Undecided
   Status: Invalid

** Also affects: linux (Ubuntu Maverick)
   Importance: Medium
   Status: Triaged

** Also affects: linux-source-2.6.22 (Ubuntu Maverick)
   Importance: Undecided
   Status: Won't Fix

** Changed in: linux-source-2.6.22 (Ubuntu Maverick)
   Status: Won't Fix = Fix Released

** Changed in: linux-source-2.6.22 (Ubuntu Maverick)
 Assignee: (unassigned) = Tim Gardner (timg-tpi)

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-07-28 Thread Joshua Kugler
Just to note: while this *may* not be the same bug, the
scripts/workarounds posted do not fix the problem on a Dell Insprion
E1705/9400.

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-07-28 Thread Brian Murray
** Tags added: patch

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-07-05 Thread David Lucas
Maxim and Enrico,

Many thanks for pursuing this bug.  The workaround scripts works very
well on the Acer 7720G as well.

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-06-30 Thread Tim Gardner
The patches required for a backport to Lucid 2.6.32 are a bit more then
are appropriate for stable updates. Therefore, I'm declining to fix this
in Lucid.

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-06-27 Thread Maxim Levitsky
And now that Linus is back from vacation, the fix is finally in he's
tree.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2a6b69765ad794389f2fc3e14a0afa1a995221c2

Now, its just a matter of time before Maveric picks the fix.

I mark this as fix released therefore

** Changed in: linux (Ubuntu)
   Status: Triaged = Fix Released

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-06-27 Thread Milan Bouchet-Valat
Cool, much thanks Maxim!

The bug should not be closed though, since it's not fixed in Maverick
yet. I've also opened a task for Lucid since the patch could be
backported to benefit Acer users.

For kernel developers, here's the commit message:

ACPI: Store NVS state even when entering suspend to RAM

https://bugzilla.kernel.org/show_bug.cgi?id=13931 describes a bug where
a system fails to successfully resume after the second suspend. Maxim
Levitsky discovered that this could be rectified by forcibly saving
and restoring the ACPI non-volatile state. The spec indicates that this
is only required for S4, but testing the behaviour of Windows by adding
an ACPI NVS region to qemu's e820 map and registering a custom memory
read/write handler reveals that it's saved and restored even over suspend
to RAM. We should mimic that behaviour to avoid other broken platforms.

** Changed in: linux (Ubuntu)
   Status: Fix Released = Triaged

** Changed in: linux (Ubuntu)
 Assignee: Maxim Levitsky (maximlevitsky) = (unassigned)

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-06-12 Thread Milan Bouchet-Valat
Any pointers to the discussion? I can't see anything new on the upstream
report.

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-06-12 Thread Maxim Levitsky
The fix will be present upstream very soon, the pull request is already sent to 
Linus
http://lkml.org/lkml/2010/6/12/7

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-06-11 Thread Maxim Levitsky
The fix for this problem is conceptually accepted upstream, and I hope
soon will appear in 2.6.35 kernel and therefore in 10.10

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky
** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Maxim Levitsky (maximlevitsky)

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky
For these of you who are too lazy/busy/... compiling the kernel, here is 
userspace workaround.
Compile attached program writereg.c (gcc -owritereg writereg.c), put it in 
/usr/local/bin, and then use attached script,
make_s2ram_work after first resume.

If the output is something like (you see FF):
writing 0 to address (current value = FF)

Then its likely that my fix works.
Try to suspend again. If works then you can use this script after each suspend 
to clear the state that causes the hang on following resume

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky

** Attachment added: writereg
   http://launchpadlibrarian.net/49453243/writereg

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky

** Attachment added: make_s2ram_work
   http://launchpadlibrarian.net/49453292/make_s2ram_work

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky
oops, this is source

** Attachment added: writereg.c
   http://launchpadlibrarian.net/49453279/writereg.c

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky
** Description changed:

  This problem has been posted in Ubuntuforums
  (http://ubuntuforums.org/showthread.php?t=600450), but got no answer.
  
  My Acer Aspire 5720 running Ubuntu Gutsy 7.10 is unable to resume from a
  standby when another standby/resume has occurred. The power LED turns
  from blinking orange to stable green, but screen backlight remains off
  and - I suppose - the processor fan stays off too. I can hear the hard
  drive and CD-ROM spinning up, but the system is completely unresponsive.
  I have to turn it off pressing the power key long enough.
  
  On Windows XP and Vista, standby works OK.
  
  *UPDATE*
  
  this is BIOS problem. system hangs early and doesn't pass control to Linux.
  Linux has no chance to bring system back.
  
- It not possible to understand what triggers that BIOS hang.
- It probably is some bug that by chance doesn't trigger on windows.
+ The BIOS hangs due to a bug that windows doesn't trip over due to its ACPI 
noncompliance.
+ There is a reserved memory region called ACPI NVS, which belongs to BIOS and 
supposed 
+ to be saved/restored during suspend to disk.
+ However, Windows *against* the ACPI spec, saves/restores this region on 
suspend to ram too.
+ 
+ BIOS changes this region slightly on resume, and this change,
+  (more precisely a single byte change at region start + 0x29010 00-0xFF) 
+ makes it hang on  second resume. Since windows restores this region, this 
change is also restored and thus masks this bug.
+ 
+ Its likely that next version of linux kernel  will adopt same behavior.
+ 
+ Latest BIOS to have this bug is 1.42 (and updating to semi-
+ official(doesn't show up on all acer sites) 1.45 BIOS, was reported to
+ keep this bug)
+ 
  
  These are the attempts made so far. Where not specified, nothing changed in 
the behaviour.
  - adding ec_intr=0 to the boot cmdline;
  - adding acpi_osi=!Linux;
  - executing Ubuntu in single-user mode, using /etc/acpi/sleep.sh to sleep;
  toggling the following flags in /etc/default/acpi-support, one by one:
  - ACPI_SLEEP_MODE=standby - the script stops and says echo: write: No such 
device writing 'standby' to /sys/power/state
  - SAVE_VBE_STATE=false
  - POST_VIDEO=false
  - USE_DPMS=false
  - DISABLE_DMA=true
  - RESET_DRIVE=true
  - ENABLE_LAPTOP_MODE=true
  - DOUBLE_CONSOLE_SW=true
  - toggling more than one flag like described here: 
http://de.wikibooks.org/wiki/Asus_W3N-Kompendium:_Ubuntu_Suspend_to_Ram - 
hangs on first resume
  - disabling all services in /etc/rcS.d, then killing most of the processes, 
then removing most of the modules;
  - adding noapic nolapic to the boot cmdline - hangs on first resume;
  - adding pci=routeirq to the boot cmdline;
  - toggling BIOS SATA emulation from AHCI to PATA;
  - disabling all scripts in /etc/acpi/{suspend,resume}.d - apart from the 
screen unable to work at first resume, nothing changed;
  - upgrading BIOS from 1.14 to 1.19;
  
- I followed the instructions at 
https://wiki.ubuntu.com/DebuggingKernelSuspend. If I execute that command even 
for first standby, at next reboot I have these data:
- Magic number: 0:35:185
- hash matches drivers/base/power/resume.c:57
- hash matches device device:44
- 
  Any help is VERY appreciated! This is definitely the bug that keeps me
  to using Linux for everyday work...

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Enrico Gueli
Maxim, the userspace program works for me!
I successfully suspended the laptop three times in a row.

Now I'm trying to put the command on a resume script, so I won't need to
think about it anymore :)

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky
just put in to /etc/pm/sleep.d/

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Enrico Gueli
Just my little contribution:
1- copy writereg and make_s2ram_work to /usr/sbin
2- copy the attached script to /usr/lib/pm-utils/sleep.d

This will make make_s2ram_work everytime the system is resumed.

** Attachment added: 10AcerNVS
   http://launchpadlibrarian.net/49464695/10AcerNVS

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-31 Thread Maxim Levitsky
** Description changed:

  This problem has been posted in Ubuntuforums
  (http://ubuntuforums.org/showthread.php?t=600450), but got no answer.
  
  My Acer Aspire 5720 running Ubuntu Gutsy 7.10 is unable to resume from a
  standby when another standby/resume has occurred. The power LED turns
  from blinking orange to stable green, but screen backlight remains off
  and - I suppose - the processor fan stays off too. I can hear the hard
  drive and CD-ROM spinning up, but the system is completely unresponsive.
  I have to turn it off pressing the power key long enough.
  
  On Windows XP and Vista, standby works OK.
  
  *UPDATE*
  
  this is BIOS problem. system hangs early and doesn't pass control to Linux.
  Linux has no chance to bring system back.
  
  The BIOS hangs due to a bug that windows doesn't trip over due to its ACPI 
noncompliance.
- There is a reserved memory region called ACPI NVS, which belongs to BIOS and 
supposed 
+ There is a reserved memory region called ACPI NVS, which belongs to BIOS and 
supposed
  to be saved/restored during suspend to disk.
  However, Windows *against* the ACPI spec, saves/restores this region on 
suspend to ram too.
  
  BIOS changes this region slightly on resume, and this change,
-  (more precisely a single byte change at region start + 0x29010 00-0xFF) 
+  (more precisely a single byte change at region start + 0x29010 00-0xFF)
  makes it hang on  second resume. Since windows restores this region, this 
change is also restored and thus masks this bug.
  
  Its likely that next version of linux kernel  will adopt same behavior.
  
  Latest BIOS to have this bug is 1.42 (and updating to semi-
  official(doesn't show up on all acer sites) 1.45 BIOS, was reported to
  keep this bug)
- 
  
  These are the attempts made so far. Where not specified, nothing changed in 
the behaviour.
  - adding ec_intr=0 to the boot cmdline;
  - adding acpi_osi=!Linux;
  - executing Ubuntu in single-user mode, using /etc/acpi/sleep.sh to sleep;
  toggling the following flags in /etc/default/acpi-support, one by one:
  - ACPI_SLEEP_MODE=standby - the script stops and says echo: write: No such 
device writing 'standby' to /sys/power/state
  - SAVE_VBE_STATE=false
  - POST_VIDEO=false
  - USE_DPMS=false
  - DISABLE_DMA=true
  - RESET_DRIVE=true
  - ENABLE_LAPTOP_MODE=true
  - DOUBLE_CONSOLE_SW=true
  - toggling more than one flag like described here: 
http://de.wikibooks.org/wiki/Asus_W3N-Kompendium:_Ubuntu_Suspend_to_Ram - 
hangs on first resume
  - disabling all services in /etc/rcS.d, then killing most of the processes, 
then removing most of the modules;
  - adding noapic nolapic to the boot cmdline - hangs on first resume;
  - adding pci=routeirq to the boot cmdline;
  - toggling BIOS SATA emulation from AHCI to PATA;
  - disabling all scripts in /etc/acpi/{suspend,resume}.d - apart from the 
screen unable to work at first resume, nothing changed;
  - upgrading BIOS from 1.14 to 1.19;
  
  Any help is VERY appreciated! This is definitely the bug that keeps me
  to using Linux for everyday work...

** Description changed:

  This problem has been posted in Ubuntuforums
  (http://ubuntuforums.org/showthread.php?t=600450), but got no answer.
  
  My Acer Aspire 5720 running Ubuntu Gutsy 7.10 is unable to resume from a
  standby when another standby/resume has occurred. The power LED turns
  from blinking orange to stable green, but screen backlight remains off
  and - I suppose - the processor fan stays off too. I can hear the hard
  drive and CD-ROM spinning up, but the system is completely unresponsive.
  I have to turn it off pressing the power key long enough.
  
  On Windows XP and Vista, standby works OK.
  
  *UPDATE*
  
  this is BIOS problem. system hangs early and doesn't pass control to Linux.
  Linux has no chance to bring system back.
  
  The BIOS hangs due to a bug that windows doesn't trip over due to its ACPI 
noncompliance.
- There is a reserved memory region called ACPI NVS, which belongs to BIOS and 
supposed
- to be saved/restored during suspend to disk.
+ There is a reserved memory region called ACPI NVS, which belongs to BIOS 
+ and supposed to be saved/restored during suspend to disk.
  However, Windows *against* the ACPI spec, saves/restores this region on 
suspend to ram too.
  
  BIOS changes this region slightly on resume, and this change,
   (more precisely a single byte change at region start + 0x29010 00-0xFF)
  makes it hang on  second resume. Since windows restores this region, this 
change is also restored and thus masks this bug.
  
  Its likely that next version of linux kernel  will adopt same behavior.
  
  Latest BIOS to have this bug is 1.42 (and updating to semi-
  official(doesn't show up on all acer sites) 1.45 BIOS, was reported to
  keep this bug)
  
  These are the attempts made so far. Where not specified, nothing changed in 
the behaviour.
  - adding ec_intr=0 to the boot cmdline;
  - adding acpi_osi=!Linux;
  - executing Ubuntu in 

[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-22 Thread Enrico Gueli
No good news for now :( With 2.6.34 kernel (with no patches applied),
suspend doesn't even work once. Even with a raw echo mem 
/sys/power/state, the kernel freezes somewhere just before entering
suspend state. But this problem is outside this bug, I hope to solve it
soon.

Best regards, Enrico

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-22 Thread Maxim Levitsky
@Enrico Gueli, this is strange because I never had that problem.
What graphical card you have?

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-22 Thread Enrico Gueli
It's an Intel GMA X3100, included in the GM965 chipset. Any clue?

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-22 Thread Maxim Levitsky
On Sat, 2010-05-22 at 21:56 +, Enrico Gueli wrote:
 It's an Intel GMA X3100, included in the GM965 chipset. Any clue?
 
Don't know really,

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-21 Thread Enrico Gueli
Maxim... you're AWESOME!! Thanks for the effort!!

I've tried to apply the patch against the 2.6.34 kernel from git, but
patch prints a strange output:

Hunk #1 succeeded at 213 (offset -3 lines).
Hunk #2 succeeded at 590 with fuzz 2 (offset 292 lines).

Indeed, it applies the hunk #2 to a completely different function
(acpi_hibernation_finish()) rather than acpi_suspend_finish(), that
simply doesn't exist in my sleep.c. Obviolusly, that doesn't work

Are you currently using some unofficial kernel branch?

Thanks!

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-21 Thread Maxim Levitsky
On Fri, 2010-05-21 at 18:21 +, Enrico Gueli wrote: 
 Maxim... you're AWESOME!! Thanks for the effort!!
 
 I've tried to apply the patch against the 2.6.34 kernel from git, but
 patch prints a strange output:
 
 Hunk #1 succeeded at 213 (offset -3 lines).
 Hunk #2 succeeded at 590 with fuzz 2 (offset 292 lines).

2.6.34 from git it no longer 2.6.34...
now merge window is open, and lot of stuff was merged it.
Still its strange, because I just switched to that kernel now, and my
patch applies.

To be honest I used wireless-testing + nouveau master + few my own
patches.
But I really don't think this matters.

This is the patch I use now:


Best regards,
Maxim Levitsky


commit 5084e5abd66fa7d2cd77390d4708bb2c8a543f40
Author: Maxim Levitsky maximlevit...@gmail.com
Date:   Thu May 20 00:18:28 2010 +0300

power: store/restore NVS area on suspend to ram too

This fixes suspend on my notebook.

This is probably workaround around bug in bios,
but maybe The Other OS also does that?

Signed-off-by: Maxim Levitsky maximlevit...@gmail.com

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 24741ac..f1920ed 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -216,6 +216,9 @@ static int acpi_suspend_begin(suspend_state_t pm_state)
pm_state);
error = -ENOSYS;
}
+
+hibernate_nvs_alloc();
+hibernate_nvs_save();
return error;
 }
 
@@ -295,6 +298,8 @@ static void acpi_suspend_finish(void)
 {
acpi_ec_resume_transactions();
acpi_pm_finish();
+   hibernate_nvs_restore();
+   hibernate_nvs_free();
 }
 
 static int acpi_suspend_state_valid(suspend_state_t pm_state)

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-21 Thread Maxim Levitsky
On Fri, 2010-05-21 at 18:21 +, Enrico Gueli wrote: 
 Maxim... you're AWESOME!! Thanks for the effort!!
 
 I've tried to apply the patch against the 2.6.34 kernel from git, but
 patch prints a strange output:
 
 Hunk #1 succeeded at 213 (offset -3 lines).
 Hunk #2 succeeded at 590 with fuzz 2 (offset 292 lines).
 
 Indeed, it applies the hunk #2 to a completely different function
 (acpi_hibernation_finish()) rather than acpi_suspend_finish(), that
 simply doesn't exist in my sleep.c. Obviolusly, that doesn't work
 
 Are you currently using some unofficial kernel branch?
 
 Thanks!
 
Aha, sorry for confusion.
I missed a local patch that is supposed to be upstream,
I attach it here.

In general this patch solves rare hand on resume from disk.

Best regards,
Maxim Levitsky


** Patch added: acpi-ec-pm-fix-race-between-ec.patch
   http://launchpadlibrarian.net/48892411/acpi-ec-pm-fix-race-between-ec.patch

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-21 Thread Enrico Gueli
OK, applying acpi-ec-pm-fix-race-between-ec.patch first and the suspend patch 
to the Ubuntu Maverick kernel makes an happy patching.
Now, time for compiling... I hope I can give good news soon :)

Best regards, Enrico

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-20 Thread kronoszx
in what folder you have to execute that patch or... how i can apply it
manually?


El jue, 20-05-2010 a las 03:08 +, Maxim Levitsky escribió:
 On Thu, 2010-05-20 at 01:36 +, kronoszx wrote: 
  Im new using ubuntu (and linux) I have the kernel source but when I tryed to
  apply the patch:
  
  patch -p1 fix.diff orsudo patch -p1  fix.diff
  
  Hunk #1 FAILED at 216.
  Hunk #2 FAILED at 295.
  2 out of 2 hunks FAILED -- saving rejects to file drivers/acpi/sleep.c.rej
  
  This is the output...
  
  What I doing wrong?
 You seems to do everything right.
 You are likely to have older kernel.
 
 This patch is against 2.6.34
 
 Best regards,
 Maxim Levitsky


-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-20 Thread Maxim Levitsky
On Thu, 2010-05-20 at 18:07 +, kronoszx wrote: 
 in what folder you have to execute that patch or... how i can apply it
 manually?

in root of kernel tree.

Since you have to compile the kernel anyway, just grab 2.6.34,
and patch it.

Best regards,
Maxim Levitsky


 
 
 El jue, 20-05-2010 a las 03:08 +, Maxim Levitsky escribió:
  On Thu, 2010-05-20 at 01:36 +, kronoszx wrote: 
   Im new using ubuntu (and linux) I have the kernel source but when I tryed 
   to
   apply the patch:
   
   patch -p1 fix.diff orsudo patch -p1  fix.diff
   
   Hunk #1 FAILED at 216.
   Hunk #2 FAILED at 295.
   2 out of 2 hunks FAILED -- saving rejects to file drivers/acpi/sleep.c.rej
   
   This is the output...
   
   What I doing wrong?
  You seems to do everything right.
  You are likely to have older kernel.
  
  This patch is against 2.6.34
  
  Best regards,
  Maxim Levitsky
 


-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-19 Thread Maxim Levitsky
Like I said in kernel bug report I always fix a problem, it just
sometimes takes awfull amount of time.

Enjoy!

(This is not exactly a fix, more a workaround, but it makes suspend to
ram work always on my acer aspire 5720G)

** Patch added: fix.diff
   http://launchpadlibrarian.net/48777450/fix.diff

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-19 Thread kronoszx
How i can apply this fix.diff?

Un saludo

Luis e. Castro

El 19/05/2010, a las 23:27, Maxim Levitsky maximlevit...@gmail.com  
escribió:

 Like I said in kernel bug report I always fix a problem, it just
 sometimes takes awfull amount of time.

 Enjoy!

 (This is not exactly a fix, more a workaround, but it makes suspend to
 ram work always on my acer aspire 5720G)

 ** Patch added: fix.diff
   http://launchpadlibrarian.net/48777450/fix.diff

 -- 
 Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends  
 only once [BIOS PROBLEM]
 https://bugs.launchpad.net/bugs/160763
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.

 Status in The Linux Kernel: Unknown
 Status in Ubuntu: Invalid
 Status in “linux” package in Ubuntu: Triaged
 Status in “linux-source-2.6.22” package in Ubuntu: Won't Fix

 Bug description:
 This problem has been posted in Ubuntuforums 
 (http://ubuntuforums.org/showthread.php?t=600450 
 ), but got no answer.

 My Acer Aspire 5720 running Ubuntu Gutsy 7.10 is unable to resume  
 from a standby when another standby/resume has occurred. The power  
 LED turns from blinking orange to stable green, but screen backlight  
 remains off and - I suppose - the processor fan stays off too. I can  
 hear the hard drive and CD-ROM spinning up, but the system is  
 completely unresponsive. I have to turn it off pressing the power  
 key long enough.

 On Windows XP and Vista, standby works OK.

 *UPDATE*

 this is BIOS problem. system hangs early and doesn't pass control to  
 Linux.
 Linux has no chance to bring system back.

 It not possible to understand what triggers that BIOS hang.
 It probably is some bug that by chance doesn't trigger on windows.

 These are the attempts made so far. Where not specified, nothing  
 changed in the behaviour.
 - adding ec_intr=0 to the boot cmdline;
 - adding acpi_osi=!Linux;
 - executing Ubuntu in single-user mode, using /etc/acpi/sleep.sh to  
 sleep;
 toggling the following flags in /etc/default/acpi-support, one by one:
 - ACPI_SLEEP_MODE=standby - the script stops and says echo: write:  
 No such device writing 'standby' to /sys/power/state
 - SAVE_VBE_STATE=false
 - POST_VIDEO=false
 - USE_DPMS=false
 - DISABLE_DMA=true
 - RESET_DRIVE=true
 - ENABLE_LAPTOP_MODE=true
 - DOUBLE_CONSOLE_SW=true
 - toggling more than one flag like described here: 
 http://de.wikibooks.org/wiki/Asus_W3N-Kompendium:_Ubuntu_Suspend_to_Ram 
  - hangs on first resume
 - disabling all services in /etc/rcS.d, then killing most of the  
 processes, then removing most of the modules;
 - adding noapic nolapic to the boot cmdline - hangs on first  
 resume;
 - adding pci=routeirq to the boot cmdline;
 - toggling BIOS SATA emulation from AHCI to PATA;
 - disabling all scripts in /etc/acpi/{suspend,resume}.d - apart  
 from the screen unable to work at first resume, nothing changed;
 - upgrading BIOS from 1.14 to 1.19;

 I followed the instructions at https://wiki.ubuntu.com/DebuggingKernelSuspend 
 . If I execute that command even for first standby, at next reboot I  
 have these data:
 Magic number: 0:35:185
 hash matches drivers/base/power/resume.c:57
 hash matches device device:44

 Any help is VERY appreciated! This is definitely the bug that keeps  
 me to using Linux for everyday work...



 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/linux/+bug/160763/+subscribe

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-19 Thread Maxim Levitsky
@krnoszx. You will need kernel source

then you apply it with 'patch -p1  fix.diff'

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-19 Thread kronoszx
Im new using ubuntu (and linux) I have the kernel source but when I tryed to
apply the patch:

patch -p1 fix.diff orsudo patch -p1  fix.diff

Hunk #1 FAILED at 216.
Hunk #2 FAILED at 295.
2 out of 2 hunks FAILED -- saving rejects to file drivers/acpi/sleep.c.rej

This is the output...

What I doing wrong?

(sorry, Im spanish and I dont use english for years)


Un Saludo

  Eduardo Castro


web: www.ecdesign.es
mail: i...@ecdesign.es



2010/5/19 Maxim Levitsky maximlevit...@gmail.com

 @krnoszx. You will need kernel source

 then you apply it with 'patch -p1  fix.diff'

 --
 Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only
 once [BIOS PROBLEM]
 https://bugs.launchpad.net/bugs/160763
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.

 Status in The Linux Kernel: Unknown
 Status in Ubuntu: Invalid
 Status in “linux” package in Ubuntu: Triaged
 Status in “linux-source-2.6.22” package in Ubuntu: Won't Fix

 Bug description:
 This problem has been posted in Ubuntuforums (
 http://ubuntuforums.org/showthread.php?t=600450), but got no answer.

 My Acer Aspire 5720 running Ubuntu Gutsy 7.10 is unable to resume from a
 standby when another standby/resume has occurred. The power LED turns from
 blinking orange to stable green, but screen backlight remains off and - I
 suppose - the processor fan stays off too. I can hear the hard drive and
 CD-ROM spinning up, but the system is completely unresponsive. I have to
 turn it off pressing the power key long enough.

 On Windows XP and Vista, standby works OK.

 *UPDATE*

 this is BIOS problem. system hangs early and doesn't pass control to Linux.
 Linux has no chance to bring system back.

 It not possible to understand what triggers that BIOS hang.
 It probably is some bug that by chance doesn't trigger on windows.

 These are the attempts made so far. Where not specified, nothing changed in
 the behaviour.
 - adding ec_intr=0 to the boot cmdline;
 - adding acpi_osi=!Linux;
 - executing Ubuntu in single-user mode, using /etc/acpi/sleep.sh to sleep;
 toggling the following flags in /etc/default/acpi-support, one by one:
 - ACPI_SLEEP_MODE=standby - the script stops and says echo: write: No
 such device writing 'standby' to /sys/power/state
 - SAVE_VBE_STATE=false
 - POST_VIDEO=false
 - USE_DPMS=false
 - DISABLE_DMA=true
 - RESET_DRIVE=true
 - ENABLE_LAPTOP_MODE=true
 - DOUBLE_CONSOLE_SW=true
 - toggling more than one flag like described here:
 http://de.wikibooks.org/wiki/Asus_W3N-Kompendium:_Ubuntu_Suspend_to_Ram -
 hangs on first resume
 - disabling all services in /etc/rcS.d, then killing most of the processes,
 then removing most of the modules;
 - adding noapic nolapic to the boot cmdline - hangs on first resume;
 - adding pci=routeirq to the boot cmdline;
 - toggling BIOS SATA emulation from AHCI to PATA;
 - disabling all scripts in /etc/acpi/{suspend,resume}.d - apart from the
 screen unable to work at first resume, nothing changed;
 - upgrading BIOS from 1.14 to 1.19;

 I followed the instructions at
 https://wiki.ubuntu.com/DebuggingKernelSuspend. If I execute that command
 even for first standby, at next reboot I have these data:
 Magic number: 0:35:185
 hash matches drivers/base/power/resume.c:57
 hash matches device device:44

 Any help is VERY appreciated! This is definitely the bug that keeps me to
 using Linux for everyday work...



 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/linux/+bug/160763/+subscribe


-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-19 Thread Maxim Levitsky
On Thu, 2010-05-20 at 01:36 +, kronoszx wrote: 
 Im new using ubuntu (and linux) I have the kernel source but when I tryed to
 apply the patch:
 
 patch -p1 fix.diff orsudo patch -p1  fix.diff
 
 Hunk #1 FAILED at 216.
 Hunk #2 FAILED at 295.
 2 out of 2 hunks FAILED -- saving rejects to file drivers/acpi/sleep.c.rej
 
 This is the output...
 
 What I doing wrong?
You seems to do everything right.
You are likely to have older kernel.

This patch is against 2.6.34

Best regards,
Maxim Levitsky

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-18 Thread Maxim Levitsky
Any progress on writing a mail to acer on that?

** Summary changed:

- Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once
+ Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-18 Thread Enrico Gueli
Maxim,
some months ago I've tried to both write a mail in Italian to the official 
Acer's euro support address, but they just replied (in Italian) with something 
like we can't offer support for linux-related problems (although I said in my 
mail that some BIOS updates solved issues related to Linux too :-/).

-- 
Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once 
[BIOS PROBLEM]
https://bugs.launchpad.net/bugs/160763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 160763] Re: Acer Aspire 5720 hangs on second resume from suspend, i.e. suspends only once [BIOS PROBLEM]

2010-05-18 Thread Maxim Levitsky
Well that is obvious, thats why I never bothered to contact their support in 
first place.
However if we were to act together, it might work.

I remember a story about one motherboard vendor that placed anti-linux checks 
(due to stupidity though) in the ACPI tables.
This prevented suspend, became public, and they eventually fixed it.

Remember, the only way to fix that bug is to make acer fix the BIOS,
because it hands on resume, not linux!.

** Description changed:

  This problem has been posted in Ubuntuforums
  (http://ubuntuforums.org/showthread.php?t=600450), but got no answer.
  
  My Acer Aspire 5720 running Ubuntu Gutsy 7.10 is unable to resume from a
  standby when another standby/resume has occurred. The power LED turns
  from blinking orange to stable green, but screen backlight remains off
  and - I suppose - the processor fan stays off too. I can hear the hard
  drive and CD-ROM spinning up, but the system is completely unresponsive.
  I have to turn it off pressing the power key long enough.
  
  On Windows XP and Vista, standby works OK.
+ 
+ UPDATE: this is BIOS problem. It hangs early and doesn't pass control to 
linux.
+ Linux has no chance to bring system back from standby not understand why that 
happens.
+ 
  
  These are the attempts made so far. Where not specified, nothing changed in 
the behaviour.
  - adding ec_intr=0 to the boot cmdline;
  - adding acpi_osi=!Linux;
  - executing Ubuntu in single-user mode, using /etc/acpi/sleep.sh to sleep;
  toggling the following flags in /etc/default/acpi-support, one by one:
  - ACPI_SLEEP_MODE=standby - the script stops and says echo: write: No such 
device writing 'standby' to /sys/power/state
  - SAVE_VBE_STATE=false
  - POST_VIDEO=false
  - USE_DPMS=false
  - DISABLE_DMA=true
  - RESET_DRIVE=true
  - ENABLE_LAPTOP_MODE=true
  - DOUBLE_CONSOLE_SW=true
  - toggling more than one flag like described here: 
http://de.wikibooks.org/wiki/Asus_W3N-Kompendium:_Ubuntu_Suspend_to_Ram - 
hangs on first resume
  - disabling all services in /etc/rcS.d, then killing most of the processes, 
then removing most of the modules;
  - adding noapic nolapic to the boot cmdline - hangs on first resume;
  - adding pci=routeirq to the boot cmdline;
  - toggling BIOS SATA emulation from AHCI to PATA;
  - disabling all scripts in /etc/acpi/{suspend,resume}.d - apart from the 
screen unable to work at first resume, nothing changed;
  - upgrading BIOS from 1.14 to 1.19;
  
  I followed the instructions at 
https://wiki.ubuntu.com/DebuggingKernelSuspend. If I execute that command even 
for first standby, at next reboot I have these data:
  Magic number: 0:35:185
  hash matches drivers/base/power/resume.c:57
  hash matches device device:44
  
  Any help is VERY appreciated! This is definitely the bug that keeps me
  to using Linux for everyday work...

** Description changed:

  This problem has been posted in Ubuntuforums
  (http://ubuntuforums.org/showthread.php?t=600450), but got no answer.
  
  My Acer Aspire 5720 running Ubuntu Gutsy 7.10 is unable to resume from a
  standby when another standby/resume has occurred. The power LED turns
  from blinking orange to stable green, but screen backlight remains off
  and - I suppose - the processor fan stays off too. I can hear the hard
  drive and CD-ROM spinning up, but the system is completely unresponsive.
  I have to turn it off pressing the power key long enough.
  
  On Windows XP and Vista, standby works OK.
  
- UPDATE: this is BIOS problem. It hangs early and doesn't pass control to 
linux.
- Linux has no chance to bring system back from standby not understand why that 
happens.
+ *UPDATE*
  
+ this is BIOS problem. system hangs early and doesn't pass control to Linux.
+ Linux has no chance to bring system back.
+ 
+ It not possible to understand what triggers that BIOS hang.
+ It probably is some bug that by chance doesn't trigger on windows.
  
  These are the attempts made so far. Where not specified, nothing changed in 
the behaviour.
  - adding ec_intr=0 to the boot cmdline;
  - adding acpi_osi=!Linux;
  - executing Ubuntu in single-user mode, using /etc/acpi/sleep.sh to sleep;
  toggling the following flags in /etc/default/acpi-support, one by one:
  - ACPI_SLEEP_MODE=standby - the script stops and says echo: write: No such 
device writing 'standby' to /sys/power/state
  - SAVE_VBE_STATE=false
  - POST_VIDEO=false
  - USE_DPMS=false
  - DISABLE_DMA=true
  - RESET_DRIVE=true
  - ENABLE_LAPTOP_MODE=true
  - DOUBLE_CONSOLE_SW=true
  - toggling more than one flag like described here: 
http://de.wikibooks.org/wiki/Asus_W3N-Kompendium:_Ubuntu_Suspend_to_Ram - 
hangs on first resume
  - disabling all services in /etc/rcS.d, then killing most of the processes, 
then removing most of the modules;
  - adding noapic nolapic to the boot cmdline - hangs on first resume;
  - adding pci=routeirq to the boot cmdline;
  - toggling BIOS SATA emulation from AHCI to PATA;
  - disabling all scripts in