From: Martin Peres <martin.peres@labri.fr>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Paweł Sikora" <pawel.sikora@agmk.net>,
"Daniel Vetter" <daniel.vetter@ffwll.ch>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
"Ben Skeggs" <bskeggs@redhat.com>,
marcheu@chromium.org
Subject: Re: Linux 3.7-rc1 (nouveau_bios_score oops).
Date: Sat, 20 Oct 2012 00:41:48 +0200 [thread overview]
Message-ID: <5081D72C.2080309@labri.fr> (raw)
In-Reply-To: <CA+55aFy8Te9VFaZRZSDYMehbfg-qLDBYv6=EKncQ2=J2XaF+Vg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 662 bytes --]
On 10/19/12 23:25, Linus Torvalds wrote:
> Added more appropriate people to this. Added both i915 and nouveau
> people, since apparently that fine piece of hardware has both.
>
> Guys, any ideas?
>
> Paweł, could you perhaps get a photo of the oops and post it
> somewhere? I'm assuming the oops happens early during boot and you
> never get a usable machine with dmesg - but if you do, then please do
> post the whole dmesg too.
>
> Linus
Hi Linus,
You must have missed the oops that was attached to the mail:
http://www.spinics.net/lists/kernel/msg1420355.html
Paweł, could you try the attached patch please ?
Martin
[-- Attachment #1.2: Type: text/html, Size: 1229 bytes --]
[-- Attachment #2: 0001-drm-nouveau-bios-improve-error-handling-when-reading.patch --]
[-- Type: text/x-patch, Size: 1018 bytes --]
>From ea15dc1cf87236da78e8e88ecc3864ffab006ae0 Mon Sep 17 00:00:00 2001
From: Martin Peres <martin.peres@labri.fr>
Date: Sat, 20 Oct 2012 00:08:15 +0200
Subject: [PATCH] drm/nouveau/bios: improve error handling when reading the
vbios from ACPI
Reported-by: Pawel Sikora <pawel.sikora@agmk.net>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
---
drivers/gpu/drm/nouveau/core/subdev/bios/base.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/base.c b/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
index 2fbb6df..e31d8fc 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
@@ -188,8 +188,10 @@ nouveau_bios_shadow_acpi(struct nouveau_bios *bios)
int cnt = 65536 / 4096;
int ret;
- if (!nouveau_acpi_rom_supported(pdev))
+ if (!nouveau_acpi_rom_supported(pdev)) {
+ bios->data = NULL;
return;
+ }
bios->data = kmalloc(65536, GFP_KERNEL);
bios->size = 0;
--
1.7.12.3
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2012-10-19 22:58 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1724445.dN2yMEzN6d@localhost>
2012-10-19 21:25 ` Linux 3.7-rc1 (nouveau_bios_score oops) Linus Torvalds
2012-10-19 22:41 ` Martin Peres [this message]
2012-10-19 22:52 ` Linus Torvalds
2012-10-20 9:26 ` Heinz Diehl
2012-10-20 9:40 ` Martin Peres
2012-10-20 10:42 ` Heinz Diehl
2012-10-20 20:28 ` Marcin Slusarz
2012-10-20 20:35 ` Marcin Slusarz
2012-10-20 21:20 ` Heinz Diehl
2012-10-20 21:42 ` Marcin Slusarz
2012-10-20 21:45 ` Marcin Slusarz
2012-10-21 8:54 ` Heinz Diehl
2012-10-20 22:19 ` Marcin Slusarz
2012-10-21 6:58 ` Paweł Sikora
2012-10-21 9:26 ` Heinz Diehl
2012-10-21 12:09 ` Marcin Slusarz
2012-10-21 13:31 ` Heinz Diehl
2012-10-21 14:38 ` Linus Torvalds
2012-10-21 14:49 ` Marcin Slusarz
2012-10-21 17:13 ` Linus Torvalds
2012-10-21 20:07 ` Lekensteyn
2012-10-22 0:07 ` Ben Skeggs
2012-10-25 17:53 ` Paweł Sikora
2012-10-25 18:06 ` Heinz Diehl
2012-10-26 19:51 ` Paweł Sikora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5081D72C.2080309@labri.fr \
--to=martin.peres@labri.fr \
--cc=bskeggs@redhat.com \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcheu@chromium.org \
--cc=pawel.sikora@agmk.net \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).