From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 91779] Pure EFI: MacBookPro3, 1 (NV84) fails to load nouveau on linux 4.1 -- Invalid ROM contents Date: Sun, 14 Aug 2016 02:00:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0086429054==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0086429054== Content-Type: multipart/alternative; boundary="14711400551.96Ba7FEcE.14762"; charset="UTF-8" --14711400551.96Ba7FEcE.14762 Date: Sun, 14 Aug 2016 02:00:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D91779 --- Comment #14 from Ilia Mirkin --- (In reply to Jeremy Huddleston Sequoia from comment #13) > As you can see, the loading of /lib/firmware/vbios.rom fails with ENOENT, > but it's certainly there. I verified that /lib/firmware/vbios.rom is > exactly the same as /sys/kernel/debug/dri/0/vbios.rom in BIOS-emulation m= ode. >=20 > Odd... gonna have to dig into it a bit more later, but if you have any > ideas, I'd appreciate them. The usual situation is that it's not there, and so ENOENT is returned. Note that it has to be there when nouveau loads, not at some later point in time, when, say, the real root partition is mounted. To maximize confusion, distro kernel builds like to load modules from initrd, and if nouveau is loaded th= ere, you'll want to ensure that your vbios.rom is available from there as well. If you build your own kernel and don't plan on soldering in random hardware (esp not new disk controllers) into your laptop without first doing a rebui= ld, you can stick the vbios.rom directly into the kernel and avoid this frustra= tion via CONFIG_EXTRA_FIRMWARE or something similar. --=20 You are receiving this mail because: You are the assignee for the bug.= --14711400551.96Ba7FEcE.14762 Date: Sun, 14 Aug 2016 02:00:55 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 14 on bug 91779<= /a> from Ilia Mirkin
(In reply to Jeremy Huddleston Sequoia from comment #13)
> As you can see, the loading of /lib/firmware/vbi=
os.rom fails with ENOENT,
> but it's certainly there.  I verified that /lib/firmware/vbios.rom is
> exactly the same as /sys/kernel/debug/dri/0/vbios.rom in BIOS-emulatio=
n mode.
>=20
> Odd... gonna have to dig into it a bit more later, but if you have any
> ideas, I'd appreciate them.

The usual situation is that it's not there, and so ENOENT is returned. Note
that it has to be there when nouveau loads, not at some later point in time,
when, say, the real root partition is mounted. To maximize confusion, distro
kernel builds like to load modules from initrd, and if nouveau is loaded th=
ere,
you'll want to ensure that your vbios.rom is available from there as well.

If you build your own kernel and don't plan on soldering in random hardware
(esp not new disk controllers) into your laptop without first doing a rebui=
ld,
you can stick the vbios.rom directly into the kernel and avoid this frustra=
tion
via CONFIG_EXTRA_FIRMWARE or something similar.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14711400551.96Ba7FEcE.14762-- --===============0086429054== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0086429054==--