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:33:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0835998224==" 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 --===============0835998224== Content-Type: multipart/alternative; boundary="14764124112.Ba73a4E.29007"; charset="UTF-8" --14764124112.Ba73a4E.29007 Date: Fri, 14 Oct 2016 02:33:31 +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 #10 from Ilia Mirkin --- (In reply to Ilia Mirkin from comment #6) > I'm looking over the fast logic and it seems like it should have worked. > This debug patch should provide more info on what's going wrong. Mind > reinstating the line in shadowacpi.c and applying the below? >=20 >=20 > 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) >=20=20 > 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, > offset, len); > + printk(KERN_INFO "retrieving _ROM off: 0x%x, len: 0x%x, ret: 0x%x= ", > offset, len, ret); Er, that should probably have a \n at the end of the string. My bad. > + return ret; > } >=20=20 > void * --=20 You are receiving this mail because: You are the assignee for the bug.= --14764124112.Ba73a4E.29007 Date: Fri, 14 Oct 2016 02:33:31 +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 # 10 on bug 98240<= /a> from Ilia Mirkin
(In reply to Ilia Mirkin from comment #6)
> I'm looking over the fast logic and it seems lik=
e it should have worked.
> This debug patch should provide more info on what's going wrong. Mind
> reinstating the line in shadowacpi.c and applying the below?
>=20
>=20
> 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(st=
ruct device *dev)
>=20=20
>  int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len)
>  {
> -       return nouveau_rom_call(nouveau_dsm_priv.rom_handle, bios, off=
set,
> len);
> +       int ret =3D nouveau_rom_call(nouveau_dsm_priv.rom_handle, bios,
> offset, len);
> +       printk(KERN_INFO "retrieving _ROM off: 0x%x, len: 0x%x, r=
et: 0x%x",
> offset, len, ret);

Er, that should probably have a \n at the end of the string. My bad.

> +       return ret;
>  }
>=20=20
>  void *


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