another possible candidate re "boot hang": commit 0e126cfab3928e8b01e17e1e707eec2bfdb4f1c2 Author: Len Brown <len.br...@intel.com> Date: Wed Jan 15 00:37:34 2014 -0500
sched/idle/x86: Restore mwait_idle() to fix boot hangs, to improve power savings and to improve performance commit b253149b843f89cd300cbdbea27ce1f847506f99 upstream. In Linux-3.9 we removed the mwait_idle() loop: 69fb3676df33 ("x86 idle: remove mwait_idle() and "idle=mwait" cmdline param") The reasoning was that modern machines should be sufficiently happy during the boot process using the default_idle() HALT loop, until cpuidle loads and either acpi_idle or intel_idle invoke the newer MWAIT-with-hints idle loop. But two machines reported problems: 1. Certain Core2-era machines support MWAIT-C1 and HALT only. MWAIT-C1 is preferred for optimal power and performance. But if they support just C1, cpuidle never loads and so they use the boot-time default idle loop forever. 2. Some laptops will boot-hang if HALT is used, but will boot successfully if MWAIT is used. This appears to be a hidden assumption in BIOS SMI, that is presumably valid on the proprietary OS where the BIOS was validated. https://bugzilla.kernel.org/show_bug.cgi?id=60770 So here we effectively revert the patch above, restoring the mwait_idle() loop. However, we don't bother restoring the idle=mwait cmdline parameter, since it appears to add no value. Maintainer notes: For 3.9, simply revert 69fb3676df for 3.10, patch -F3 applies, fuzz needed due to __cpuinit use in context For 3.11, 3.12, 3.13, this patch applies cleanly Tested-by: Mike Galbraith <bitbuc...@online.de> Signed-off-by: Len Brown <len.br...@intel.com> Acked-by: Mike Galbraith <bitbuc...@online.de> Cc: Borislav Petkov <b...@alien8.de> Cc: H. Peter Anvin <h...@zytor.com> Cc: Ian Malone <ibmal...@gmail.com> Cc: Josh Boyer <jwbo...@redhat.com> Cc: Linus Torvalds <torva...@linux-foundation.org> Cc: Mike Galbraith <efa...@gmx.de> Cc: Peter Zijlstra <pet...@infradead.org> Cc: Thomas Gleixner <t...@linutronix.de> Link: http://lkml.kernel.org/r/345254a551eb5a6a866e048d7ab570fd2193aca4.1389763084.git.len.br...@intel.com [ Ported to recent kernels. ] Signed-off-by: Ingo Molnar <mi...@kernel.org> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> On 20 May 2015 at 16:50, Nils Fenner <nilsfen...@web.de> wrote: > Agree'd. With this patch, screen turns off (not only black). > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1455852 > > Title: > 15.04 will not boot on MacBook 2,1 > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1455852/+subscriptions > -- 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/1455852 Title: 15.04 will not boot on MacBook 2,1 Status in linux package in Ubuntu: Incomplete Bug description: see: http://ubuntuforums.org/showthread.php?t=2274999&p=13286624#post13286624 Lubuntu 15.04 on refit grub dual boot macbook 2,1 linux-image-3.16 will boot, though sometimes hangs but, reboot will work eventually. With linux-image-3.19 never, ? is the GPU hang reported in kern.log relevant here? i915 problem? see kern.log snippet attached see error attached from GPU crash dump saved to /sys/class/drm/card0/error This seems to be a BUG as suggested by the log: "... Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel from: /sys/class/drm/card0/error: GPU HANG: ecode -1:0x00000000, reason: Command parser error, iir 0x00008000, action: continue Time: 1431810790 s 799079 us Kernel: 3.16.0-25-generic Reset count: 0 Suspend count: 0 PCI ID: 0x27a2 EIR: 0x00000010 IER: 0x00028053 PGTBL_ER: 0x00000102 FORCEWAKE: 0x00000000 DERRMR: 0x00000000 CCID: 0x00000000 Missed interrupts: 0x00000000 fence[0] = 00000000 fence[1] = 00000000 fence[2] = 00000000 fence[3] = 00000000 fence[4] = 00000000 fence[5] = 00000000 fence[6] = 00000000 fence[7] = 00000000 fence[8] = 00000000 fence[9] = 00000000 fence[10] = 00000000 fence[11] = 00000000 fence[12] = 00000000 fence[13] = 00000000 fence[14] = 00000000 fence[15] = 00000000 INSTDONE_0: 0x7fffffc0 INSTDONE_1: 0x00000000 INSTDONE_2: 0x00000000 INSTDONE_3: 0x00000000 render command stream: bsd command stream: blt command stream: vebox command stream: bsd2 command stream: Active [0]: Pinned [0]: Num Pipes: 2 Pipe [0]: Power: on SRC: 027f01df STAT: 90000a03 Plane [0]: CNTR: 00000000 STRIDE: 00000000 SIZE: 00000000 POS: 00000000 ADDR: 00000000 Cursor [0]: CNTR: 00000000 POS: 00000000 BASE: 00000000 Pipe [1]: Power: on SRC: 03ff02ff STAT: 10000202 Plane [1]: CNTR: 99000000 STRIDE: 00001000 SIZE: 02ff03ff POS: 00000000 ADDR: 00000000 Cursor [1]: CNTR: 00000000 POS: 00000000 BASE: 00000000 CPU transcoder: A Power: on CONF: 00000000 HTOTAL: 031f027f HBLANK: 03170287 HSYNC: 02ef028f VTOTAL: 020c01df VBLANK: 020401e7 VSYNC: 01eb01e9 CPU transcoder: B Power: on CONF: 80000000 HTOTAL: 059f04ff HBLANK: 059f04ff HSYNC: 054f052f VTOTAL: 0336031f VBLANK: 0336031f VSYNC: 03280322 --- ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: bryan 1188 F.... pulseaudio CurrentDesktop: LXDE DistroRelease: Ubuntu 15.04 HibernationDevice: RESUME=UUID=921b491d-af65-4a9e-a51d-47d3c6dcbac2 InstallationDate: Installed on 2012-10-27 (932 days ago) InstallationMedia: Lubuntu 12.10 "Quantal Quetzal" - Release amd64+mac (20121017.1) MachineType: Apple Inc. MacBook2,1 Package: linux (not installed) ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-25-generic root=UUID=37fab4ad-d609-4d2a-ab4b-5c1a41d2f9fc ro init=/bin/systemd ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7 RelatedPackageVersions: linux-restricted-modules-3.16.0-25-generic N/A linux-backports-modules-3.16.0-25-generic N/A linux-firmware 1.143 Tags: vivid UdevLog: Uname: Linux 3.16.0-25-generic x86_64 UpgradeStatus: Upgraded to vivid on 2015-04-26 (20 days ago) UserGroups: adm cdrom dip lpadmin netdev plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 06/27/07 dmi.bios.vendor: Apple Inc. dmi.bios.version: MB21.88Z.00A5.B07.0706270922 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: Mac-F4208CAA dmi.board.vendor: Apple Inc. dmi.board.version: PVT dmi.chassis.asset.tag: Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: Apple Inc. dmi.chassis.version: Mac-F4208CAA dmi.modalias: dmi:bvnAppleInc.:bvrMB21.88Z.00A5.B07.0706270922:bd06/27/07:svnAppleInc.:pnMacBook2,1:pvr1.0:rvnAppleInc.:rnMac-F4208CAA:rvrPVT:cvnAppleInc.:ct10:cvrMac-F4208CAA: dmi.product.name: MacBook2,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/1455852/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp