From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 98240] Kernel module fails to load on HP Pavilion
V3A33AV laptop.
Date: Fri, 14 Oct 2016 02:27:55 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1928903005=="
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
--===============1928903005==
Content-Type: multipart/alternative; boundary="14764120751.F43eA.28254";
charset="UTF-8"
--14764120751.F43eA.28254
Date: Fri, 14 Oct 2016 02:27: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=3D98240
--- Comment #6 from Ilia Mirkin ---
I'm looking over the fast logic and it seems like it should have worked. Th=
is
debug patch should provide more info on what's going wrong. Mind reinstating
the line in shadowacpi.c and applying the below?
diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c
b/drivers/gpu/drm/nouveau/nouveau_acpi.c
--- a/drivers/gpu/drm/nouveau/nouveau_acpi.c
+++ b/drivers/gpu/drm/nouveau/nouveau_acpi.c
@@ -423,7 +423,9 @@ bool nouveau_acpi_rom_supported(struct device *dev)
int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len)
{
- return nouveau_rom_call(nouveau_dsm_priv.rom_handle, bios, offset,
len);
+ int ret =3D nouveau_rom_call(nouveau_dsm_priv.rom_handle, bios, off=
set,
len);
+ printk(KERN_INFO "retrieving _ROM off: 0x%x, len: 0x%x, ret: 0x%x",
offset, len, ret);
+ return ret;
}
void *
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14764120751.F43eA.28254
Date: Fri, 14 Oct 2016 02:27: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
Comment=
# 6
on bug 98240<=
/a>
from Ilia Mirkin
I'm looking over the fast logic and it seems like it should ha=
ve worked. This
debug patch should provide more info on what's going wrong. Mind reinstating
the line in shadowacpi.c and applying the below?
diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c
b/drivers/gpu/drm/nouveau/nouveau_acpi.c
--- a/drivers/gpu/drm/nouveau/nouveau_acpi.c
+++ b/drivers/gpu/drm/nouveau/nouveau_acpi.c
@@ -423,7 +423,9 @@ bool nouveau_acpi_rom_supported(struct =
device *dev)
int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len)
{
- return nouveau_rom_call(nouveau_dsm_priv.rom_handle, bios, offset,
len);
+ int ret =3D nouveau_rom_call(nouveau_dsm_priv.rom_handle, bios, off=
set,
len);
+ printk(KERN_INFO "retrieving _ROM off: 0x%x, len: 0x%x, ret: 0=
x%x",
offset, len, ret);
+ return ret;
}
void *
You are receiving this mail because:
- You are the assignee for the bug.
=
--14764120751.F43eA.28254--
--===============1928903005==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============1928903005==--