All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org, stable@vger.kernel.org
Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/gem: Replace reloc chain with terminator on error unwind
Date: Wed, 19 Aug 2020 21:47:23 +0200	[thread overview]
Message-ID: <20200819194723.GA7451@amd.ucw.cz> (raw)
In-Reply-To: <159786604254.667.11923001796829417234@build.alporthouse.com>


[-- Attachment #1.1: Type: text/plain, Size: 1423 bytes --]

Hi!

> > Yep, my machines are low on memory.
> > 
> > But ... test did not work that well. I have dead X and blinking
> > screen. Machine still works reasonably well over ssh, so I guess
> > that's an improvement.
> 
> > [ 7744.718473] BUG: unable to handle page fault for address: f8c00000
> > [ 7744.718484] #PF: supervisor write access in kernel mode
> > [ 7744.718487] #PF: error_code(0x0002) - not-present page
> > [ 7744.718491] *pdpt = 0000000031b0b001 *pde = 0000000000000000 
> > [ 7744.718500] Oops: 0002 [#1] PREEMPT SMP PTI
> > [ 7744.718506] CPU: 0 PID: 3004 Comm: Xorg Not tainted 5.9.0-rc1-next-20200819+ #134
> > [ 7744.718509] Hardware name: LENOVO 17097HU/17097HU, BIOS 7BETD8WW (2.19 ) 03/31/2011
> > [ 7744.718518] EIP: eb_relocate_vma+0xdbf/0xf20
> 
> To save me guessing, paste the above location into
> 	./scripts/decode_stacktrace.sh ./vmlinux . ./drivers/gpu/drm/i915
> 
> The f8c00000 is something running off the end of a kmap, but I didn't
> spot a path were we would ignore an error and keep on writing.
> Nevertheless it must exist.

Like this?

$ ./scripts/decode_stacktrace.sh ./vmlinux . ./drivers/gpu/drm/i915
f8c00000
f8c00000
eb_relocate_vma+0xdbf/0xf20
eb_relocate_vma (i915_gem_execbuffer.c:?) 

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org,
	Joonas Lahtinen <joonas.lahtinen@linux.intel.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH 1/2] drm/i915/gem: Replace reloc chain with terminator on error unwind
Date: Wed, 19 Aug 2020 21:47:23 +0200	[thread overview]
Message-ID: <20200819194723.GA7451@amd.ucw.cz> (raw)
In-Reply-To: <159786604254.667.11923001796829417234@build.alporthouse.com>

[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]

Hi!

> > Yep, my machines are low on memory.
> > 
> > But ... test did not work that well. I have dead X and blinking
> > screen. Machine still works reasonably well over ssh, so I guess
> > that's an improvement.
> 
> > [ 7744.718473] BUG: unable to handle page fault for address: f8c00000
> > [ 7744.718484] #PF: supervisor write access in kernel mode
> > [ 7744.718487] #PF: error_code(0x0002) - not-present page
> > [ 7744.718491] *pdpt = 0000000031b0b001 *pde = 0000000000000000 
> > [ 7744.718500] Oops: 0002 [#1] PREEMPT SMP PTI
> > [ 7744.718506] CPU: 0 PID: 3004 Comm: Xorg Not tainted 5.9.0-rc1-next-20200819+ #134
> > [ 7744.718509] Hardware name: LENOVO 17097HU/17097HU, BIOS 7BETD8WW (2.19 ) 03/31/2011
> > [ 7744.718518] EIP: eb_relocate_vma+0xdbf/0xf20
> 
> To save me guessing, paste the above location into
> 	./scripts/decode_stacktrace.sh ./vmlinux . ./drivers/gpu/drm/i915
> 
> The f8c00000 is something running off the end of a kmap, but I didn't
> spot a path were we would ignore an error and keep on writing.
> Nevertheless it must exist.

Like this?

$ ./scripts/decode_stacktrace.sh ./vmlinux . ./drivers/gpu/drm/i915
f8c00000
f8c00000
eb_relocate_vma+0xdbf/0xf20
eb_relocate_vma (i915_gem_execbuffer.c:?) 

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2020-08-19 19:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 10:39 [Intel-gfx] [PATCH 1/2] drm/i915/gem: Replace reloc chain with terminator on error unwind Chris Wilson
2020-08-19 10:39 ` Chris Wilson
2020-08-19 10:39 ` [Intel-gfx] [PATCH 2/2] drm/i915/gem: Fallback to using a plain kmap if reloc address space is limited Chris Wilson
2020-08-19 10:39   ` Chris Wilson
2020-08-19 11:48 ` [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/gem: Replace reloc chain with terminator on error unwind Patchwork
2020-08-19 17:23 ` [Intel-gfx] [PATCH 1/2] " Pavel Machek
2020-08-19 17:23   ` Pavel Machek
2020-08-19 17:36   ` [Intel-gfx] " Chris Wilson
2020-08-19 17:36     ` Chris Wilson
2020-08-19 19:33     ` [Intel-gfx] " Pavel Machek
2020-08-19 19:33       ` Pavel Machek
2020-08-19 19:40       ` [Intel-gfx] " Chris Wilson
2020-08-19 19:40         ` Chris Wilson
2020-08-19 19:47         ` Pavel Machek [this message]
2020-08-19 19:47           ` Pavel Machek
2020-08-19 19:52           ` [Intel-gfx] " Chris Wilson
2020-08-19 19:52             ` Chris Wilson
2020-08-20  7:36       ` Chris Wilson
2020-08-20  7:36         ` Chris Wilson
2020-09-08 22:23         ` [Intel-gfx] " Pavel Machek
2020-09-08 22:23           ` Pavel Machek
2020-08-19 21:38 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork
2020-08-20  7:37 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [1/2] drm/i915/gem: Replace reloc chain with terminator on error unwind (rev2) Patchwork

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=20200819194723.GA7451@amd.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=stable@vger.kernel.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 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.