public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: "John J. Stimson-III" <john@idsfa.net>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: QM57/i7: i915 DRI kernel driver causes crash
Date: Wed, 19 Jan 2011 23:17:48 +0000	[thread overview]
Message-ID: <b7da2f$q6bc4d@fmsmga001.fm.intel.com> (raw)
In-Reply-To: <20110119225107.GA3371@harlie.idsfa.net>

On Wed, 19 Jan 2011 14:51:07 -0800, "John J. Stimson-III" <john@idsfa.net> wrote:
> The kernel messages from running "modprobe i915" did get logged:
> 
> Jan 19 12:05:08 harlie kernel: mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combining
> Jan 19 12:05:08 harlie kernel: BUG: unable to handle kernel NULL pointer dereference at   (null)
> Jan 19 12:05:08 harlie kernel: IP: [<  (null)>]   (null)
> Jan 19 12:05:08 harlie kernel: *pdpt = 000000002f183001 *pde = 0000000000000000
> Jan 19 12:05:08 harlie kernel: Oops: 0010 [#1] SMP
> Jan 19 12:05:08 harlie kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/boot_vga
> Jan 19 12:05:08 harlie kernel: Modules linked in: i915(+) drm_kms_helper cfbcopyarea video backlight cfbimgblt cfbfillrect
> Jan 19 12:05:08 harlie kernel:
> Jan 19 12:05:08 harlie kernel: Pid: 4166, comm: modprobe Not tainted 2.6.37Harlie #8 To be filled by O.E.M./To be filled by O.E.M.
> Jan 19 12:05:08 harlie kernel: EIP: 0060:[<00000000>] EFLAGS: 00010246 CPU: 3
> Jan 19 12:05:08 harlie kernel: EIP is at 0x0
> Jan 19 12:05:08 harlie kernel: EAX: 00000000 EBX: f77ed000 ECX: f3383100 EDX: f77ed000
> Jan 19 12:05:08 harlie kernel: ESI: f2c8a118 EDI: 00000000 EBP: f2c93c98 ESP: f2c93c7c
> Jan 19 12:05:08 harlie kernel:  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> Jan 19 12:05:08 harlie kernel: Process modprobe (pid: 4166, ti=f2c92000 task=f2eb72a0 task.ti=f2c92000)
> Jan 19 12:05:08 harlie kernel: Stack:
> Jan 19 12:05:08 harlie kernel:  c1071821 000000d0 ecf67110 00000000 000a13d2 f26cb600 00000001 f2c93cac
> Jan 19 12:05:08 harlie kernel:  c107192f 00000000 000a13d2 00000000 f2c93cd4 f86f40ed f2d3ddc0 00001000
> Jan 19 12:05:08 harlie kernel:  00000000 000a13d2 f2c8a118 f26cb600 ed700000 00001000 f2c93d04 f86f57ab
> Jan 19 12:05:08 harlie kernel: Call Trace:
> Jan 19 12:05:08 harlie kernel:  [<c1071821>] ? do_read_cache_page+0x71/0x160
> Jan 19 12:05:08 harlie kernel:  [<c107192f>] ? read_cache_page_gfp+0x1f/0x30
> Jan 19 12:05:08 harlie kernel:  [<f86f40ed>] ? i915_gem_object_get_pages+0xad/0x1d0 [i915]
> Jan 19 12:05:08 harlie kernel:  [<f86f57ab>] ? i915_gem_object_bind_to_gtt+0xeb/0x2d0 [i915]
> Jan 19 12:05:08 harlie kernel:  [<f86f7961>] ? i915_gem_object_pin+0x151/0x190 [i915]
> Jan 19 12:05:08 harlie kernel:  [<c11dedcd>] ? drm_gem_object_init+0x3d/0x60
> Jan 19 12:05:08 harlie kernel:  [<f86f7aa5>] ? i915_gem_init_ringbuffer+0x105/0x1e0 [i915]

I've never seen that one before. Looks suspiciously like that the backing
shmem file was not initialised. It would be useful to find out just which
line do_read_cache_page+0x71 corresponds to, i.e.:

  gdb vmlinux
  list *do_read_cache_page+0x71

and double check that CONFIG_SHMEM is indeed builtin.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

      reply	other threads:[~2011-01-19 23:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-19 21:32 QM57/i7: i915 DRI kernel driver causes crash John J. Stimson-III
2011-01-19 21:58 ` Chris Wilson
2011-01-19 22:51   ` John J. Stimson-III
2011-01-19 23:17     ` Chris Wilson [this message]

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='b7da2f$q6bc4d@fmsmga001.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=john@idsfa.net \
    /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