All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
@ 2015-02-15  2:09 bugzilla-daemon
  2015-02-15  2:10 ` [Bug 93281] " bugzilla-daemon
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:09 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

            Bug ID: 93281
           Summary: Kernel modesetting causes the kernel to lock up during
                    boot on a late 2011 MacBook Pro
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.18
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: alex@strugee.net
        Regression: No

Created attachment 166851
  --> https://bugzilla.kernel.org/attachment.cgi?id=166851&action=edit
Upper half of the screen during hang

I'm the owner of a 15-inch late 2011 MacBook Pro. If I boot the system in the
default setup, it completely hangs shortly after starting the X server (at
least, AFAICT). If I boot with "nomodeset" appended to the kernel parameters,
then the system boots fine. This has happened for a long time now, so it's not
a recent regression or anything. I'm on Debian Unstable, with an untainted
kernel installed from experimental.

I will attach all relevant logs. All logs are from a boot with "nomodeset"
appended. I'll also attach photos of the logs that appear on the screen at the
time of the hang. These photos are from a slightly different kernel, but the
symptoms are the same.

I'm comfortable applying patches and building the kernel from source.

$ uname -a
Linux caught-sigsegv 3.18.0-trunk-amd64 #1 SMP Debian 3.18.6-1~exp1
(2015-02-07) x86_64 GNU/Linux
$ cat /proc/sys/kernel/tainted
0

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
@ 2015-02-15  2:10 ` bugzilla-daemon
  2015-02-15  2:19 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:10 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #1 from Alex Jordan <alex@strugee.net> ---
Created attachment 166861
  --> https://bugzilla.kernel.org/attachment.cgi?id=166861&action=edit
Lower half of the screen during hang

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
  2015-02-15  2:10 ` [Bug 93281] " bugzilla-daemon
@ 2015-02-15  2:19 ` bugzilla-daemon
  2015-02-15  2:20 ` bugzilla-daemon
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:19 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #2 from Alex Jordan <alex@strugee.net> ---
Created attachment 166871
  --> https://bugzilla.kernel.org/attachment.cgi?id=166871&action=edit
sudo lspci -vvv

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
  2015-02-15  2:10 ` [Bug 93281] " bugzilla-daemon
  2015-02-15  2:19 ` bugzilla-daemon
@ 2015-02-15  2:20 ` bugzilla-daemon
  2015-02-15  2:20 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:20 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #3 from Alex Jordan <alex@strugee.net> ---
Created attachment 166881
  --> https://bugzilla.kernel.org/attachment.cgi?id=166881&action=edit
cat /proc/cpuinfo

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-02-15  2:20 ` bugzilla-daemon
@ 2015-02-15  2:20 ` bugzilla-daemon
  2015-02-15  2:22 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:20 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #4 from Alex Jordan <alex@strugee.net> ---
Created attachment 166891
  --> https://bugzilla.kernel.org/attachment.cgi?id=166891&action=edit
cat /proc/iomem

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-02-15  2:20 ` bugzilla-daemon
@ 2015-02-15  2:22 ` bugzilla-daemon
  2015-02-15  2:24 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:22 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #5 from Alex Jordan <alex@strugee.net> ---
Created attachment 166901
  --> https://bugzilla.kernel.org/attachment.cgi?id=166901&action=edit
cat /proc/ioports

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-02-15  2:22 ` bugzilla-daemon
@ 2015-02-15  2:24 ` bugzilla-daemon
  2015-02-15  2:25 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:24 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #6 from Alex Jordan <alex@strugee.net> ---
Created attachment 166911
  --> https://bugzilla.kernel.org/attachment.cgi?id=166911&action=edit
cat /proc/modules

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-02-15  2:24 ` bugzilla-daemon
@ 2015-02-15  2:25 ` bugzilla-daemon
  2015-02-15  2:29 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:25 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #7 from Alex Jordan <alex@strugee.net> ---
Created attachment 166921
  --> https://bugzilla.kernel.org/attachment.cgi?id=166921&action=edit
cat /var/log/Xorg.0.log

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (6 preceding siblings ...)
  2015-02-15  2:25 ` bugzilla-daemon
@ 2015-02-15  2:29 ` bugzilla-daemon
  2015-02-15  2:30 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

Alex Jordan <alex@strugee.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166911|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (7 preceding siblings ...)
  2015-02-15  2:29 ` bugzilla-daemon
@ 2015-02-15  2:30 ` bugzilla-daemon
  2015-02-15  2:30 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:30 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

Alex Jordan <alex@strugee.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166871|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (8 preceding siblings ...)
  2015-02-15  2:30 ` bugzilla-daemon
@ 2015-02-15  2:30 ` bugzilla-daemon
  2015-02-15  2:30 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:30 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

Alex Jordan <alex@strugee.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166881|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (9 preceding siblings ...)
  2015-02-15  2:30 ` bugzilla-daemon
@ 2015-02-15  2:30 ` bugzilla-daemon
  2015-02-15  2:31 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:30 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

Alex Jordan <alex@strugee.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166891|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (10 preceding siblings ...)
  2015-02-15  2:30 ` bugzilla-daemon
@ 2015-02-15  2:31 ` bugzilla-daemon
  2015-02-15  2:33 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:31 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

Alex Jordan <alex@strugee.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #166901|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (11 preceding siblings ...)
  2015-02-15  2:31 ` bugzilla-daemon
@ 2015-02-15  2:33 ` bugzilla-daemon
  2015-02-16  1:49 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-15  2:33 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #8 from Alex Jordan <alex@strugee.net> ---
I neglected to mention that I've also filed this bug downstream as Debian bug
#778441[1].

 [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778441

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (12 preceding siblings ...)
  2015-02-15  2:33 ` bugzilla-daemon
@ 2015-02-16  1:49 ` bugzilla-daemon
  2015-02-16 17:04 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-16  1:49 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #9 from Michel Dänzer <michel@daenzer.net> ---
Looks like this should be reassigned to the Intel component.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (13 preceding siblings ...)
  2015-02-16  1:49 ` bugzilla-daemon
@ 2015-02-16 17:04 ` bugzilla-daemon
  2015-02-16 20:29 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-16 17:04 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com

--- Comment #10 from Alex Deucher <alexdeucher@gmail.com> ---
You have a muxed hybrid laptop with multiple GPUs.  IIRC, Macs require a
special driver and probably special handling to switch the mux between the AMD
and the Intel GPUs.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (14 preceding siblings ...)
  2015-02-16 17:04 ` bugzilla-daemon
@ 2015-02-16 20:29 ` bugzilla-daemon
  2015-02-17  1:55 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-16 20:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

Roland Scheidegger <rscheidegger@gmx.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rscheidegger@gmx.ch

--- Comment #11 from Roland Scheidegger <rscheidegger@gmx.ch> ---
FWIW I've got the same notebook and I can confirm the gmux is problematic (the
apple-gmux driver should support it in theory). Though I don't think it ever
hanged for me, but you can easily lose the display on bootup depending on how
you boot - there's essentially 3 different methods:
1) via CSM bios emulation. In this case you will get working AMD graphics, with
no ability to switch to the intel one (it does not even appear in the pci
device list).
2) via direct efi boot (refind or similar). This will get you working AMD
graphics like the above, with the theoretical ability to switch to the intel
one with vgaswitcheroo as it is now properly enumerated and the apple-gmux
driver used, however switching does not actually work (it seems the intel
graphics only works if it was active on boot in my experiments). (*)
3) via grub-efi (looks like this is what you do?). Unfortunately this will not
work without extra grub parameters, because the radeon graphics bios cannot be
retrieved (though last I looked there was some discussion about fixing this in
grub, so it may work with a newer grub version). The grub parameters are to
force the mux to switch to intel graphics, in which case you get working intel
(but not amd) graphics, though you won't see initial bootup messages before kms
is loaded. (Note that after suspend/resume, the AMD chip will be powered on but
unused again for some needlessly higher (IIRC over 5W) power consumption,
though you can write a hack app to force it off again.)
This page has some information on this - in particular the 4 outb commands for
the grub config:
http://blog.tkassembled.com/364/intel-graphics-on-a-2011-macbook-pro-in-linux/

(*) I actually got switching graphics to work as a proof-of-concept by using
direct efi boot and forcing the gmux to intel by using the efi console, though
halfway through you will lose the screen in there and have to remember what
keystrokes are needed to select the right boot entry in the refind menu...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (15 preceding siblings ...)
  2015-02-16 20:29 ` bugzilla-daemon
@ 2015-02-17  1:55 ` bugzilla-daemon
  2015-02-17  3:33 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-17  1:55 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #12 from Alex Jordan <alex@strugee.net> ---
(In reply to Roland Scheidegger from comment #11)
> 3) via grub-efi (looks like this is what you do?).

Yeah, this is what I do. Apple EFI loads, loads GRUB by default (can't remember
the exact magic incantation of Apple `bless` I used to make this work), and
then GRUB loads the Linux kernel.

$ apt show grub2 | grep Version
Version: 2.02~beta2-21

That *should* correspond to the version of GRUB installed in the drive?

> http://blog.tkassembled.com/364/intel-graphics-on-a-2011-macbook-pro-in-
> linux/

Thanks, I'll take a look.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (16 preceding siblings ...)
  2015-02-17  1:55 ` bugzilla-daemon
@ 2015-02-17  3:33 ` bugzilla-daemon
  2015-02-17 15:01 ` bugzilla-daemon
  2015-07-03 22:13 ` bugzilla-daemon
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-17  3:33 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #13 from Roland Scheidegger <rscheidegger@gmx.ch> ---
(In reply to Alex Jordan from comment #12)
> (In reply to Roland Scheidegger from comment #11)
> > 3) via grub-efi (looks like this is what you do?).
> 
> Yeah, this is what I do. Apple EFI loads, loads GRUB by default (can't
> remember the exact magic incantation of Apple `bless` I used to make this
> work), and then GRUB loads the Linux kernel.
> 
> $ apt show grub2 | grep Version
> Version: 2.02~beta2-21
> 

It is quite possible this was never actually fixed (you should get some "radeon
0000:01:00.0: Invalid ROM contents" and "[drm:radeon_get_bios] *ERROR* Unable
to locate a BIOS ROM" if it doesn't work due to this).
There's plenty of bugs filed all around (here's another one:
https://bugzilla.redhat.com/show_bug.cgi?id=765954) with various obscure
workarounds all boiling down to pretty much the same (I never tried those
suggesting disabling kms, as I wouldn't describe a ums setup as "working" in
any case even if you can get some display output) and I haven't seen anyone
claiming it is really working now. Might be worth asking the grub guys again.
Though presumably this would not fix the problem that switching soesn't work if
not booted with the intel gpu active, which I presume is a problem with the
i915 drm driver (but of course can be more easily "fixed" by those outb
commands in the grub config).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (17 preceding siblings ...)
  2015-02-17  3:33 ` bugzilla-daemon
@ 2015-02-17 15:01 ` bugzilla-daemon
  2015-07-03 22:13 ` bugzilla-daemon
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-02-17 15:01 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #14 from Alex Deucher <alexdeucher@gmail.com> ---
Macs apparently only make the vbios image available during the pre-OS EFI
environment.  Once the OS loads, the image is no longer available so the boot
loader needs to grab it and stash it somewhere so that the OS can access it
once it as taken over.

https://bugs.freedesktop.org/show_bug.cgi?id=26891

"As stated above, you cannot use grub to load the firmware as the information
is only accessible before you exit the boot services in EFI.  The kernel must
be booted using EFI stub booting (that's where the code for getting the bios
image is).  I use rEFInd as this now automaigcally passes the initramfs
location to the kernel."

Someone would probably need to port the relevant code from rEFInd for grub.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

* [Bug 93281] Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro
  2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
                   ` (18 preceding siblings ...)
  2015-02-17 15:01 ` bugzilla-daemon
@ 2015-07-03 22:13 ` bugzilla-daemon
  19 siblings, 0 replies; 21+ messages in thread
From: bugzilla-daemon @ 2015-07-03 22:13 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=93281

--- Comment #15 from Alex Jordan <alex@strugee.net> ---
So sorry, I don't know why I never followed up on this.

If I understand correctly, I need to file a bug against GRUB, right?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-07-03 22:13 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-15  2:09 [Bug 93281] New: Kernel modesetting causes the kernel to lock up during boot on a late 2011 MacBook Pro bugzilla-daemon
2015-02-15  2:10 ` [Bug 93281] " bugzilla-daemon
2015-02-15  2:19 ` bugzilla-daemon
2015-02-15  2:20 ` bugzilla-daemon
2015-02-15  2:20 ` bugzilla-daemon
2015-02-15  2:22 ` bugzilla-daemon
2015-02-15  2:24 ` bugzilla-daemon
2015-02-15  2:25 ` bugzilla-daemon
2015-02-15  2:29 ` bugzilla-daemon
2015-02-15  2:30 ` bugzilla-daemon
2015-02-15  2:30 ` bugzilla-daemon
2015-02-15  2:30 ` bugzilla-daemon
2015-02-15  2:31 ` bugzilla-daemon
2015-02-15  2:33 ` bugzilla-daemon
2015-02-16  1:49 ` bugzilla-daemon
2015-02-16 17:04 ` bugzilla-daemon
2015-02-16 20:29 ` bugzilla-daemon
2015-02-17  1:55 ` bugzilla-daemon
2015-02-17  3:33 ` bugzilla-daemon
2015-02-17 15:01 ` bugzilla-daemon
2015-07-03 22:13 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.