LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* suspend not working on macbook pro
@ 2008-03-08 11:06 Pozsar Balazs
2008-03-08 19:13 ` Rafael J. Wysocki
` (3 more replies)
0 siblings, 4 replies; 12+ messages in thread
From: Pozsar Balazs @ 2008-03-08 11:06 UTC (permalink / raw)
To: linux-kernel
Hi all,
I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
suspend. The console is still on, the disk is powered off, but no
response or poweroff...
Did anyone else met the same thing? How could I help debug it?
What other info would you need?
Thanks,
--
pozsy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-08 11:06 suspend not working on macbook pro Pozsar Balazs
@ 2008-03-08 19:13 ` Rafael J. Wysocki
2008-03-08 19:28 ` Justin Banks
` (2 subsequent siblings)
3 siblings, 0 replies; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-03-08 19:13 UTC (permalink / raw)
To: Pozsar Balazs; +Cc: linux-kernel
On Saturday, 8 of March 2008, Pozsar Balazs wrote:
>
> Hi all,
Hi,
> I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> suspend. The console is still on, the disk is powered off, but no
> response or poweroff...
>
> Did anyone else met the same thing? How could I help debug it?
> What other info would you need?
Can you please verify if the problem also happens with 2.6.24.x?
Thanks,
Rafael
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-08 11:06 suspend not working on macbook pro Pozsar Balazs
2008-03-08 19:13 ` Rafael J. Wysocki
@ 2008-03-08 19:28 ` Justin Banks
2008-03-09 9:01 ` Pavel Machek
2008-03-18 5:15 ` Kristian Mueller
3 siblings, 0 replies; 12+ messages in thread
From: Justin Banks @ 2008-03-08 19:28 UTC (permalink / raw)
To: Pozsar Balazs; +Cc: linux-kernel
Pozsar Balazs wrote
>
> Hi all,
>
> I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> suspend. The console is still on, the disk is powered off, but no
> response or poweroff...
>
> Did anyone else met the same thing? How could I help debug it?
> What other info would you need?
I've *never* been able to get it working on mine. Of course, I'm running
2.6.22 on FC7. What did you have to do in order to get it to work?
-justinb
--
Justin Banks
BakBone Software
justinb@bakbone.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-08 11:06 suspend not working on macbook pro Pozsar Balazs
2008-03-08 19:13 ` Rafael J. Wysocki
2008-03-08 19:28 ` Justin Banks
@ 2008-03-09 9:01 ` Pavel Machek
2008-03-21 8:56 ` Pozsar Balazs
2008-03-18 5:15 ` Kristian Mueller
3 siblings, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2008-03-09 9:01 UTC (permalink / raw)
To: Pozsar Balazs, Rafael J. Wysocki; +Cc: linux-kernel
Hi!
> I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> suspend. The console is still on, the disk is powered off, but no
> response or poweroff...
>
> Did anyone else met the same thing? How could I help debug it?
> What other info would you need?
Find more exact version when it broke? git bisect?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-08 11:06 suspend not working on macbook pro Pozsar Balazs
` (2 preceding siblings ...)
2008-03-09 9:01 ` Pavel Machek
@ 2008-03-18 5:15 ` Kristian Mueller
2008-03-20 20:14 ` Pavel Machek
3 siblings, 1 reply; 12+ messages in thread
From: Kristian Mueller @ 2008-03-18 5:15 UTC (permalink / raw)
To: Pozsar Balazs; +Cc: linux-kernel
Hi pozsy
On Mar 8, 12:20 pm, Pozsar Balazs <po...@uhulinux.hu> wrote:
> I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> suspend. The console is still on, the disk is powered off, but no
> response or poweroff...
I've had the same problem (tried with 2.6.25-rc3, -rc5 and -rc6).
Got a MacBook Pro 2,2 (first Core 2 Duo series) here.
> Did anyone else met the same thing? How could I help debug it?
> What other info would you need?
I've solved some issues, using "init=/bin/sh" in the kernel commandline.
You can then call "/usr/sbin/pm-suspend" and system will actually output
messages while suspending - does not happen with normal Ubuntu init.
The first issue I got was the "hangs after Suspending console(s)"
Solution: kernel command line += "no_console_suspend"
The 2nd one is a problem with /dev/hda (CDROM) error "drive not ready".
I could kind of solve this by not using the piix driver from the
"ATA/ATAPI/MFM/RLL" section anymore. I only use ata_piix driver from the
Serial ATA section now, which seems to support the CD drive to.
Well, after that my system goes into suspend. yay!, but when it wakes
up. I get the following sequenze:
- Fan starts running
- Sound klicks softly
- CD drive makes a short noise
- CD drive makes the same noise again (moving the laser i guess)
- EFI Bootloader appears
(the second CD drive noise is already part of boot sequence -
I am not sure about the first one though)
Anyway, I am not sure if it's nessesary, but I also disabled:
- dynamic tics
- smp
- forced preemption
- modular USB and SATA drivers
I still suspect the CD drive to be a problem. - searching for a way to
disable it for now.
Greetings from Berlin
Kristian
--
/* Web: http://www.mput.de | Jabber: kristian@mput.de *
* Blog: http://mput.de/blog | MSN: mueller.kristian@vdi.de *
* Wiki: http://mput.de/wiki | ICQ: 93248497 *
* Tel: 0170/6692447 | GPG-ID: 4BBB6525 (2008 - 2009) */
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-18 5:15 ` Kristian Mueller
@ 2008-03-20 20:14 ` Pavel Machek
0 siblings, 0 replies; 12+ messages in thread
From: Pavel Machek @ 2008-03-20 20:14 UTC (permalink / raw)
To: Kristian Mueller; +Cc: Pozsar Balazs, linux-kernel
On Tue 2008-03-18 06:15:18, Kristian Mueller wrote:
> Hi pozsy
>
> On Mar 8, 12:20 pm, Pozsar Balazs <po...@uhulinux.hu> wrote:
> > I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> > kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> > suspend. The console is still on, the disk is powered off, but no
> > response or poweroff...
>
> I've had the same problem (tried with 2.6.25-rc3, -rc5 and -rc6).
> Got a MacBook Pro 2,2 (first Core 2 Duo series) here.
>
> ???
> > Did anyone else met the same thing? How could I help debug it?
> > What other info would you need?
>
> I've solved some issues, using "init=/bin/sh" in the kernel commandline.
> You can then call "/usr/sbin/pm-suspend" and system will actually output
> messages while suspending - does not happen with normal Ubuntu init.
>
> The first issue I got was the "hangs after Suspending console(s)"
> Solution: kernel command line += "no_console_suspend"
>
> The 2nd one is a problem with /dev/hda (CDROM) error "drive not ready".
> I could kind of solve this by not using the piix driver from the
> "ATA/ATAPI/MFM/RLL" section anymore. I only use ata_piix driver from the
> Serial ATA section now, which seems to support the CD drive to.
>
> Well, after that my system goes into suspend. yay!, but when it wakes
> up. I get the following sequenze:
>
> - Fan starts running
> - Sound klicks softly
> - CD drive makes a short noise
> - CD drive makes the same noise again (moving the laser i guess)
> - EFI Bootloader appears
>
> (the second CD drive noise is already part of boot sequence -
> I am not sure about the first one though)
>
> Anyway, I am not sure if it's nessesary, but I also disabled:
> - dynamic tics
> - smp
> - forced preemption
> - modular USB and SATA drivers
>
> I still suspect the CD drive to be a problem. - searching for a way to
> disable it for now.
Try inserting infinite loop into wakeup.S. If it hangs instead of efi
appearing, you have a data point.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-09 9:01 ` Pavel Machek
@ 2008-03-21 8:56 ` Pozsar Balazs
2008-03-21 16:56 ` Rafael J. Wysocki
0 siblings, 1 reply; 12+ messages in thread
From: Pozsar Balazs @ 2008-03-21 8:56 UTC (permalink / raw)
To: Pavel Machek; +Cc: Rafael J. Wysocki, linux-kernel
On Sun, Mar 09, 2008 at 10:01:55AM +0100, Pavel Machek wrote:
> Hi!
>
> > I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> > kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> > suspend. The console is still on, the disk is powered off, but no
> > response or poweroff...
> >
> > Did anyone else met the same thing? How could I help debug it?
> > What other info would you need?
>
> Find more exact version when it broke? git bisect?
I did not have time for bisect, but I have found that if I boot an
initrd and do not load the ata_piix module, suspend works, if I load it,
it hangs during suspend.
--
pozsy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-21 8:56 ` Pozsar Balazs
@ 2008-03-21 16:56 ` Rafael J. Wysocki
2008-04-03 12:10 ` Pozsar Balazs
0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-03-21 16:56 UTC (permalink / raw)
To: Pozsar Balazs; +Cc: Pavel Machek, linux-kernel, Alan, Jeff Garzik, Tejun Heo
On Friday, 21 of March 2008, Pozsar Balazs wrote:
> On Sun, Mar 09, 2008 at 10:01:55AM +0100, Pavel Machek wrote:
> > Hi!
> >
> > > I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> > > kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> > > suspend. The console is still on, the disk is powered off, but no
> > > response or poweroff...
> > >
> > > Did anyone else met the same thing? How could I help debug it?
> > > What other info would you need?
> >
> > Find more exact version when it broke? git bisect?
>
> I did not have time for bisect, but I have found that if I boot an
> initrd and do not load the ata_piix module, suspend works, if I load it,
> it hangs during suspend.
Hm, we have an ata_piix vs suspend problem on this box, then.
Any chance to verify if 2.6.24.x works?
Thanks,
Rafael
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-03-21 16:56 ` Rafael J. Wysocki
@ 2008-04-03 12:10 ` Pozsar Balazs
2008-04-03 15:11 ` Rafael J. Wysocki
0 siblings, 1 reply; 12+ messages in thread
From: Pozsar Balazs @ 2008-04-03 12:10 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Pavel Machek, linux-kernel, Alan, Jeff Garzik, Tejun Heo
On Fri, Mar 21, 2008 at 05:56:10PM +0100, Rafael J. Wysocki wrote:
> On Friday, 21 of March 2008, Pozsar Balazs wrote:
> > On Sun, Mar 09, 2008 at 10:01:55AM +0100, Pavel Machek wrote:
> > > Hi!
> > >
> > > > I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> > > > kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> > > > suspend. The console is still on, the disk is powered off, but no
> > > > response or poweroff...
> > > >
> > > > Did anyone else met the same thing? How could I help debug it?
> > > > What other info would you need?
> > >
> > > Find more exact version when it broke? git bisect?
> >
> > I did not have time for bisect, but I have found that if I boot an
> > initrd and do not load the ata_piix module, suspend works, if I load it,
> > it hangs during suspend.
>
> Hm, we have an ata_piix vs suspend problem on this box, then.
>
> Any chance to verify if 2.6.24.x works?
I tried with ata_piix.c copied from 2.6.24, and it fails the same way.
I'll try to bisect it if I have time.
--
pozsy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-04-03 12:10 ` Pozsar Balazs
@ 2008-04-03 15:11 ` Rafael J. Wysocki
2008-04-03 20:05 ` Wilfried Klaebe
0 siblings, 1 reply; 12+ messages in thread
From: Rafael J. Wysocki @ 2008-04-03 15:11 UTC (permalink / raw)
To: Pozsar Balazs; +Cc: Pavel Machek, linux-kernel, Alan, Jeff Garzik, Tejun Heo
On Thursday, 3 of April 2008, Pozsar Balazs wrote:
> On Fri, Mar 21, 2008 at 05:56:10PM +0100, Rafael J. Wysocki wrote:
> > On Friday, 21 of March 2008, Pozsar Balazs wrote:
> > > On Sun, Mar 09, 2008 at 10:01:55AM +0100, Pavel Machek wrote:
> > > > Hi!
> > > >
> > > > > I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> > > > > kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> > > > > suspend. The console is still on, the disk is powered off, but no
> > > > > response or poweroff...
> > > > >
> > > > > Did anyone else met the same thing? How could I help debug it?
> > > > > What other info would you need?
> > > >
> > > > Find more exact version when it broke? git bisect?
> > >
> > > I did not have time for bisect, but I have found that if I boot an
> > > initrd and do not load the ata_piix module, suspend works, if I load it,
> > > it hangs during suspend.
> >
> > Hm, we have an ata_piix vs suspend problem on this box, then.
> >
> > Any chance to verify if 2.6.24.x works?
>
> I tried with ata_piix.c copied from 2.6.24, and it fails the same way.
It generally is not sufficient to replace just one file. Please try the entire
2.6.24.
Also, please check 2.6.25-rc8-git2, it might have fixed your issue.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-04-03 15:11 ` Rafael J. Wysocki
@ 2008-04-03 20:05 ` Wilfried Klaebe
2008-04-07 21:29 ` Pozsar Balazs
0 siblings, 1 reply; 12+ messages in thread
From: Wilfried Klaebe @ 2008-04-03 20:05 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Pozsar Balazs, Pavel Machek, linux-kernel, Alan, Jeff Garzik, Tejun Heo
Am Thu, Apr 03, 2008 at 05:11:55PM +0200 schrieb Rafael J. Wysocki:
> On Thursday, 3 of April 2008, Pozsar Balazs wrote:
> > On Fri, Mar 21, 2008 at 05:56:10PM +0100, Rafael J. Wysocki wrote:
> > > On Friday, 21 of March 2008, Pozsar Balazs wrote:
> > > > On Sun, Mar 09, 2008 at 10:01:55AM +0100, Pavel Machek wrote:
> > > > > Hi!
> > > > >
> > > > > > I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> > > > > > kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> > > > > > suspend. The console is still on, the disk is powered off, but no
> > > > > > response or poweroff...
> > > > > >
> > > > > > Did anyone else met the same thing? How could I help debug it?
> > > > > > What other info would you need?
> > > > >
> > > > > Find more exact version when it broke? git bisect?
> > > >
> > > > I did not have time for bisect, but I have found that if I boot an
> > > > initrd and do not load the ata_piix module, suspend works, if I load it,
> > > > it hangs during suspend.
> > >
> > > Hm, we have an ata_piix vs suspend problem on this box, then.
> > >
> > > Any chance to verify if 2.6.24.x works?
> >
> > I tried with ata_piix.c copied from 2.6.24, and it fails the same way.
>
> It generally is not sufficient to replace just one file. Please try the entire
> 2.6.24.
>
> Also, please check 2.6.25-rc8-git2, it might have fixed your issue.
I had the very same problems on a MacBook Pro 3.1 - 2.6.24 suspended and resumed,
2.6.25-rc[1-7] did not. I never had the time to bisect it, only to test newer RCs,
and 2.6.25-rc8 just works.
Thanks!
Wilfried
--
Irgendwas ist ja immer...
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: suspend not working on macbook pro
2008-04-03 20:05 ` Wilfried Klaebe
@ 2008-04-07 21:29 ` Pozsar Balazs
0 siblings, 0 replies; 12+ messages in thread
From: Pozsar Balazs @ 2008-04-07 21:29 UTC (permalink / raw)
To: Rafael J. Wysocki, Pavel Machek, linux-kernel, Alan, Jeff Garzik,
Tejun Heo
On Thu, Apr 03, 2008 at 10:05:29PM +0200, Wilfried Klaebe wrote:
> Am Thu, Apr 03, 2008 at 05:11:55PM +0200 schrieb Rafael J. Wysocki:
> > On Thursday, 3 of April 2008, Pozsar Balazs wrote:
> > > On Fri, Mar 21, 2008 at 05:56:10PM +0100, Rafael J. Wysocki wrote:
> > > > On Friday, 21 of March 2008, Pozsar Balazs wrote:
> > > > > On Sun, Mar 09, 2008 at 10:01:55AM +0100, Pavel Machek wrote:
> > > > > > Hi!
> > > > > >
> > > > > > > I'm using a macbook pro 3,1 (mid-2007), and suspend worked ok with
> > > > > > > kernel 2.6.23.x, but with 2.6.25-rc{1,2,3,4} it just freezes during
> > > > > > > suspend. The console is still on, the disk is powered off, but no
> > > > > > > response or poweroff...
> > > > > > >
> > > > > > > Did anyone else met the same thing? How could I help debug it?
> > > > > > > What other info would you need?
> > > > > >
> > > > > > Find more exact version when it broke? git bisect?
> > > > >
> > > > > I did not have time for bisect, but I have found that if I boot an
> > > > > initrd and do not load the ata_piix module, suspend works, if I load it,
> > > > > it hangs during suspend.
> > > >
> > > > Hm, we have an ata_piix vs suspend problem on this box, then.
> > > >
> > > > Any chance to verify if 2.6.24.x works?
> > >
> > > I tried with ata_piix.c copied from 2.6.24, and it fails the same way.
> >
> > It generally is not sufficient to replace just one file. Please try the entire
> > 2.6.24.
> >
> > Also, please check 2.6.25-rc8-git2, it might have fixed your issue.
>
> I had the very same problems on a MacBook Pro 3.1 - 2.6.24 suspended and resumed,
> 2.6.25-rc[1-7] did not. I never had the time to bisect it, only to test newer RCs,
> and 2.6.25-rc8 just works.
2.6.25-rc8-git2 works for me too, problem solved!
Thanks.
--
pozsy
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2008-04-07 21:29 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-08 11:06 suspend not working on macbook pro Pozsar Balazs
2008-03-08 19:13 ` Rafael J. Wysocki
2008-03-08 19:28 ` Justin Banks
2008-03-09 9:01 ` Pavel Machek
2008-03-21 8:56 ` Pozsar Balazs
2008-03-21 16:56 ` Rafael J. Wysocki
2008-04-03 12:10 ` Pozsar Balazs
2008-04-03 15:11 ` Rafael J. Wysocki
2008-04-03 20:05 ` Wilfried Klaebe
2008-04-07 21:29 ` Pozsar Balazs
2008-03-18 5:15 ` Kristian Mueller
2008-03-20 20:14 ` Pavel Machek
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).