LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Kristian Mueller <kernel@mput.de>
Cc: Pozsar Balazs <pozsy@uhulinux.hu>, linux-kernel@vger.kernel.org
Subject: Re: suspend not working on macbook pro
Date: Thu, 20 Mar 2008 21:14:24 +0100	[thread overview]
Message-ID: <20080320201424.GB4397@ucw.cz> (raw)
In-Reply-To: <1205817318.7840.21.camel@mac>

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

      reply	other threads:[~2008-03-20 20:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08 11:06 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 message]

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=20080320201424.GB4397@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=kernel@mput.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pozsy@uhulinux.hu \
    --subject='Re: suspend not working on macbook pro' \
    /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

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).