I think I managed to got it working:

dmesg|grep -i ahci
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38.8-dg 
root=UUID=a62afe8f-9e3c-445c-bfdb-4e1c1bc82232 ro 
crashkernel=384M-2G:64M,2G-:128M i5s_3400s_force_ahci=1 quiet splash 
vt.handoff=7
[    0.671966] [i5s_3400s ** FIXUP] SATA controller mode: NON AHCI (0x3c00)
[    0.671967] [i5s_3400s ** FIXUP] Putting SATA controller into AHCI (0x3c60)
[    1.294111] ahci 0000:00:1f.2: version 3.0
[    1.294138] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    1.294198] ahci 0000:00:1f.2: irq 41 for MSI/MSI-X
[    1.294271] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 3 Gbps 0x3 
impl SATA mode
[    1.294275] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum 
part ems apst 
[    1.294280] ahci 0000:00:1f.2: setting latency timer to 64
[    1.300513] scsi0 : ahci
[    1.300650] scsi1 : ahci
[    1.300730] scsi2 : ahci
[    1.300801] scsi3 : ahci

Can you confirm is using AHCI? Suspend works.

-- 
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.
https://bugs.launchpad.net/bugs/817017

Title:
  AHCI mode not restored during sleep-wakeup cycle

Status in Mactel Support:
  In Progress

Bug description:
  The SATA controller operates by default in IDE mode and there is no known EFI 
setting to override this behavior. Fortunately, it can be put into AHCI mode 
before the Linux kernel is booted (e.g. by Grub2 *) ).
  SSD disks perform much better in AHCI mode. On my laptop, both Intel SSD 320 
and a Cruzial RealSSD C300 performed great in the beginning, but system 
responsiveness degraded soon to a point where system load was around 6 to 7 
during updates (apt-get dist-upgrade) and second long freezes during normal 
work (e.g. browsing, responding to emails, heck - even when using vim in a 
terminal! ...).

  Unfortunately there is a drawback when putting the SATA controller into AHCI 
mode: AHCI is not restored during sleep-wakeup cycles and thus the system 
crashes badly after wakeup, because it suddently finds only an IDE controller.
  We need to patch (e.g. the SATA driver?) and check which mode the controller 
had been in, before the laptop was sent to sleep and restore the previous mode.

  *) How to put the SATA controller into AHCI mode [1]:
  MBP 6,2 (or any other 5 series/3400 series chipset based MBP)
  put this line before 'set root=...':
  setpci -d 8086:3b28 90.b=60
  (that command sets bit 5 and 6 on register 0x90 -- lookup Intel document 
number 322169 for details)

  [1] http://en.gentoo-wiki.com/wiki/Apple_Macbook_Pro

To manage notifications about this bug go to:
https://bugs.launchpad.net/mactel-support/+bug/817017/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mactel-support
Post to     : mactel-support@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mactel-support
More help   : https://help.launchpad.net/ListHelp

Reply via email to