[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#641396: Suspend-to-RAM freezes on MacBook 3.1



tags 641396 + upstream - fixed-upstream
quit

lebstrom@lavabit.com wrote:

> Good news everyone!
>
> I found it that the problem is that the SATA controller, which is not in
> AHCI mode. Adding setpci -d 8086:2828 90.b=40 in grub.cfg resolves the
> problem.
>
> for further information look at
> https://wiki.archlinux.org/index.php/Solid_State_Drives

Thanks for the update, and sorry for the slow reply.  That page says:

| By default, Apple's firmware switches SATA drives into IDE mode (not
| AHCI mode) when booting any OS besides Mac OS. It is easy to switch
| back to AHCI if using GRUB2 with an Intel SATA controller.
|
| First determine the PCI identifier of the SATA controller. Run the
| command
|	# lspci -nn
| and find the line that says "SATA AHCI Controller". The PCI identifier
| is in square brackets and should look like 8086:27c4 (but the last
| digits may be different).
|
| Now edit /boot/grub/grub.cfg and add the line:
|	# setpci -d 8086:27c4 90.b=40
| right above the "set root" line of each OS for which AHCI wil be
| enabled. Be sure to substitute the appropriate PCI identifier.
|
| (credit: http://darkfader.blogspot.com/2010/04/windows-on-intel-mac-and-ahci-mode.html)
|
| If you have a macbook unibody late 2008 (5.1) you doesn't have an
| intel controler. You have got an "nVidia Corporation MCP79 SATA
| Controller".  add this line to /boot/grub/grub.cfg
|	# setpci -d 10de:0ab5 9c.b=06

Kernel team and GRUB maintainers: Could be taken care of automatically
somewhere in Debian (grub, initramfs-tools, or kernel)?



Reply to: