← Back to team overview

kernel-packages team mailing list archive

[Bug 1299790] Re: [Apple Inc. MacBookAir4, 1] suspend/resume failure [non-free: wl]

 

I realise this is probably unrelated to the bug then, I think my
problem lies within the Intel graphics driver somewhere in the kernel.
But for the benefit of anyone searching, I have found a workaround for
my version of the problem...

For me it only freezes on suspend if X is showing at the time.  If it's on any of the virtual terminals, it's fine.  So I created /etc/pm/sleep.d/5_crashfix containing:
#! /bin/sh
case $1 in
  suspend|suspend_hybrid|hibernate)
    /bin/chvt 1
    ;;
  resume|thaw)
    /bin/chvt 7
    ;;
esac

Then chmod +x to the 5_crashfix file.

This changes to VT1 on suspend, and changes back to X on resume, which
bypasses the bug.

Unfortunately I don't know "what I'm doing" well enough to try and
report anything upstream, I think it's too vague for them to do anything
useful with.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1299790

Title:
  [Apple Inc. MacBookAir4,1] suspend/resume failure [non-free: wl]

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I had shut the lid to suspend the system last night. *After that* I
  plugged in the mains lead.

  Today I unplugged the mains lead and *then* opened the lid, and tried
  to wake it, only to find it wouldn't do so. Had to force-reboot it. On
  logging into desktop, this bug report got triggered.

  It had been through some suspend/resume cycles already (not many; i
  only installed it on Friday), so the mains-plug behaviour is where I
  suspect the problem is.

  (Until now Trusty has been behaving impeccably on this laptop. :-)

  ProblemType: KernelOops
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-20-generic 3.13.0-20.42
  ProcVersionSignature: Ubuntu 3.13.0-20.42-generic 3.13.7
  Uname: Linux 3.13.0-20-generic x86_64
  NonfreeKernelModules: wl
  Annotation: This occured during a previous suspend and prevented it from resuming properly.
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  lightdm    1226 F.... pulseaudio
                        rachel     1832 F.... pulseaudio
  CRDA:
   country EU:
   	(2402 - 2482 @ 40), (N/A, 20)
   	(5170 - 5250 @ 40), (N/A, 20)
   	(5250 - 5330 @ 40), (N/A, 20), DFS
   	(5490 - 5710 @ 40), (N/A, 27), DFS
  Date: Sun Mar 30 15:54:36 2014
  ExecutablePath: /usr/share/apport/apportcheckresume
  Failure: suspend/resume
  InstallationDate: Installed on 2014-03-28 (1 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64+mac (20140326)
  InterpreterPath: /usr/bin/python3.4
  MachineType: Apple Inc. MacBookAir4,1
  ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: \boot\vmlinuz-3.13.0-20-generic root=UUID=c2167b45-d81a-4d7f-9017-36858344eef8 ro quiet splash vt.handoff=7 initrd=boot\initrd.img-3.13.0-20-generic
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-20-generic N/A
   linux-backports-modules-3.13.0-20-generic  N/A
   linux-firmware                             1.126
  SourcePackage: linux
  Title: [Apple Inc. MacBookAir4,1] suspend/resume failure [non-free: wl]
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  dmi.bios.date: 01/24/2012
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBA41.88Z.0077.B0F.1201241549
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-C08A6BB70A942AC2
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookAir4,1
  dmi.chassis.type: 10
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-C08A6BB70A942AC2
  dmi.modalias: dmi:bvnAppleInc.:bvrMBA41.88Z.0077.B0F.1201241549:bd01/24/2012:svnAppleInc.:pnMacBookAir4,1:pvr1.0:rvnAppleInc.:rnMac-C08A6BB70A942AC2:rvrMacBookAir4,1:cvnAppleInc.:ct10:cvrMac-C08A6BB70A942AC2:
  dmi.product.name: MacBookAir4,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1299790/+subscriptions


References