[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-31 Thread Tim Hull
I believe I have traced the bug.  Anyway, in my suspend/resume testing,
through trial and error I found that the issue does NOT occur if I
unload the ohci1394 module prior to suspend.  Even if I'm having it
occur almost every suspend on a particular boot, unloading ohci1394
makes it go away.  As this was unnecessary for the -12 kernel, I am
suspicious that a commit relating to ohci1394 between the -12 and -13
kernel is our problem.

As of now, the only one I see is:

  * ieee1394: ohci1394: fix initialization if built non-modular

Can the devs look into this?  As of now, I would venture to guess that this 
issue happens on Intel-chipset laptops with Firewire chipsets making use of the 
"ohci1394" module.
 

** Summary changed:

- New in 2.6.22-13: System doesn't always wake from suspend
+ New in 2.6.22-13: ohci1394 causes system to take a LONG time to resume from 
suspend

** Description changed:

  Binary package hint: linux-image-2.6.22-13-generic
  
  On my MacBook Core Duo (first generation, 32-bit), in the newest Ubuntu
  kernel I have no video after resuming from suspend-to-RAM on my MacBook
- about 1 out of every 4 or 5 suspend/resume cycles.  This only started
- after the recent update to the kernel - things worked fine in Gutsy up
- until that time.  This occurs whether I use X.org's "intel" or "i810"
- video drivers and seemed to begin happening around the time of the
- kernel update - hence my belief that it is somehow kernel-related.
+ for a *long* time (like 5-10 minutes) about 1 out of every 4 or 5
+ suspend/resume cycles.  This only started after the recent update to the
+ kernel - things worked fine in Gutsy up until that time.  This occurs
+ whether I use X.org's "intel" or "i810" video drivers and seemed to
+ begin happening around the time of the kernel update - hence my belief
+ that it is somehow kernel-related.
+ 
+ NOTE: I have since traced this issue to the "ohci1394" module -
+ evidently an update between -12 and -13 makes it not play nice with
+ suspend.
  
  I have attached the following logs from /var/log - 
  dmesg
  acpid
  kern.log
  user.log
  
  Please note that the "suspend failed" in the user.log is erroneous - in
  that case, suspend actually succeeded but gnome-power-manager is known
  to be erroneously reporting failure (bug 137738 - there is a patch in
  that bug but it hasn't been applied).

-- 
New in 2.6.22-13: ohci1394 causes system to take a LONG time to resume from 
suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-31 Thread Tim Hull
Also, here is my /var/log/dmesg from after the suspend.  It is different
from the dmesg command output...


** Attachment added: "dmesgvarlog"
   http://launchpadlibrarian.net/10228820/dmesgvarlog

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-31 Thread Tim Hull

** Attachment added: "dmesg2"
   http://launchpadlibrarian.net/10228603/dmesg2

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-31 Thread Tim Hull
According to Volanin's analysis, this seems to be something introduced upstream 
- likely in 2.6.22.8 or 2.6.22.9.
I will also concur with the fact that after waiting 5-10 minutes one can always 
wake up the system - and sometimes pressing the power button wakes it before 
that.

Anyway, I have attached my dmesg files from the system.  The first is
the dmesg from before I went into suspend, and the second is from after
I resumed from one of these "hung" suspends.  Note that it took around
10 minutes to get the system to wake up.

** Attachment added: "dmesg"
   http://launchpadlibrarian.net/10228595/dmesg

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-25 Thread Volanin
Confirmed here too: MacBook Core2Duo 2.16Ghz.
Tried with 2.6.22-12, 2.6.22-14 and even 2.6.23.1 custom vanilla kernel.
Only 2.6.22-12 got suspend/resume completely reliable.

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-24 Thread Harry Staub
Probably same bug here, but: resume works always reliably just by
waiting 5 minutes :-/

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-24 Thread Emanuele Olivetti
I can confirm the same bug on my macbook with 2.6.22-14 (CPU: Intel
Core 2 Duo T7400 2.16GHz).

Just a (most probably unrelated) note: I started having this issue after playing
a bit with powertop (USB autosuspend etc.). Never experienced in 2.6.22-13.

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


Re: [Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-22 Thread Tim Hull
The chipset and graphics are the same as mine - everything else is different
(I have a Core Duo and Atheros wireless).

On 10/22/07, Jens Bergqvist <[EMAIL PROTECTED]> wrote:
>
> Some general specs:
> CPU: Intel Core 2 Duo T5600 1.83GHz
> Chipset: Mobile Intel 945GM Express
> Graphics: Intel Graphic Media Accelerator 950
> WLAN: Intel PRO/Wireless 3945BG
>
> Attached the output from "lspci -vnn".
>
> If you want more info just ask. I really want this thing squashed.
>
> ** Attachment added: "Output from lspci -vnn"
>http://launchpadlibrarian.net/10123306/lspci-vnn
>
> --
> New in 2.6.22-13: System doesn't always wake from suspend
> https://bugs.launchpad.net/bugs/151016
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-22 Thread Jens Bergqvist
Some general specs:
CPU: Intel Core 2 Duo T5600 1.83GHz
Chipset: Mobile Intel 945GM Express
Graphics: Intel Graphic Media Accelerator 950
WLAN: Intel PRO/Wireless 3945BG

Attached the output from "lspci -vnn".

If you want more info just ask. I really want this thing squashed.

** Attachment added: "Output from lspci -vnn"
   http://launchpadlibrarian.net/10123306/lspci-vnn

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


Re: [Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-22 Thread Tim Hull
What chipset/graphics card/etc does your laptop have?  Wifi?  I'm curious,
as I'd like to narrow down what component this bug caused a regression with.

On 10/22/07, Jens Bergqvist <[EMAIL PROTECTED]> wrote:
>
> I tracked down 2.6.22-12 just after I posted my comment and as far as I
> can tell it works like a charm. Should have posted my results sooner but
> work got in the way. Anyway, it's probably safe to assume we're dealing
> with the same bug.
>
> --
> New in 2.6.22-13: System doesn't always wake from suspend
> https://bugs.launchpad.net/bugs/151016
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-22 Thread Jens Bergqvist
I tracked down 2.6.22-12 just after I posted my comment and as far as I
can tell it works like a charm. Should have posted my results sooner but
work got in the way. Anyway, it's probably safe to assume we're dealing
with the same bug.

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


Re: [Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-22 Thread Tim Hull
P.S. You can get the -12 kernel from the links on the MacBook wiki at:

https://help.ubuntu.com/community/MacBook

On 10/22/07, Tim Hull <[EMAIL PROTECTED]> wrote:
>
> Does it work fine with -12?  If not, your problem is different.  If so,
> your problem is the same.
>
> On 10/22/07, Jens Bergqvist < [EMAIL PROTECTED]> wrote:
> >
> > The bug is not limited to MacBooks. I can confirm this exact behaviour
> > on an HP NX7300 laptop (Intel Core 2 T5600 / 945GM) running the latest
> > kernel ( 2.6.22-14-generic).
> > Thanks for the connect/disconnect power workaround!
> >
> > --
> > New in 2.6.22-13: System doesn't always wake from suspend
> > https://bugs.launchpad.net/bugs/151016
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
>
>

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


Re: [Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-22 Thread Tim Hull
Does it work fine with -12?  If not, your problem is different.  If so, your
problem is the same.

On 10/22/07, Jens Bergqvist <[EMAIL PROTECTED]> wrote:
>
> The bug is not limited to MacBooks. I can confirm this exact behaviour on
> an HP NX7300 laptop (Intel Core 2 T5600 / 945GM) running the latest kernel (
> 2.6.22-14-generic).
> Thanks for the connect/disconnect power workaround!
>
> --
> New in 2.6.22-13: System doesn't always wake from suspend
> https://bugs.launchpad.net/bugs/151016
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-22 Thread Jens Bergqvist
The bug is not limited to MacBooks. I can confirm this exact behaviour on an HP 
NX7300 laptop (Intel Core 2 T5600 / 945GM) running the latest kernel 
(2.6.22-14-generic).
Thanks for the connect/disconnect power workaround!

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


Re: [Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-21 Thread Tim Hull
I just noticed that someone else mentioned this on the Ubuntu MacBook wiki
and directed MacBook users to the 2.6.22-12 kernel as the last working
kernel.  Indeed, I am actually running that kernel right now so that I can
have suspend.

Anyway, It would be nice to get this fixed so that MacBook users don't have
to pick between reliable suspend and supported kernel updates...  I started
working on it by trying to revert a few ACPI patches, notably this:

  * clockevents: remove the suspend/resume workaround^Wthinko


However, the issue persisted.  I am confident that it was introduced between
-12 and -13, though - as I recall this happening starting with -13 and -12
(from the Beta release) definitely does NOT have the issue.
On 10/22/07, Stefano Rivera <[EMAIL PROTECTED]> wrote:
>
> I can confirm this.
>
> ** Changed in: linux-source-2.6.22 (Ubuntu)
>Status: New => Confirmed
>
> ** Changed in: linux-source-2.6.22 (Ubuntu)
>  Assignee: (unassigned) => Ubuntu Kernel Team (ubuntu-kernel-team)
>
> --
> New in 2.6.22-13: System doesn't always wake from suspend
> https://bugs.launchpad.net/bugs/151016
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-21 Thread Stefano Rivera
I can confirm this.

** Changed in: linux-source-2.6.22 (Ubuntu)
   Status: New => Confirmed

** Changed in: linux-source-2.6.22 (Ubuntu)
 Assignee: (unassigned) => Ubuntu Kernel Team (ubuntu-kernel-team)

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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


[Bug 151016] Re: New in 2.6.22-13: System doesn't always wake from suspend

2007-10-20 Thread Tim Hull
Also of not - sometimes I can wake my system when frozen in this state
by closing the lid, waiting a few seconds, connecting/disconnecting the
power cord, and then pressing the power dutton.  However, this only
revives the system about half of the time.

-- 
New in 2.6.22-13: System doesn't always wake from suspend
https://bugs.launchpad.net/bugs/151016
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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