Subject: i915drm: uvm_fault() in i915_initialize()
To: None <tech-x11@NetBSD.org>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: tech-x11
Date: 05/13/2007 15:13:20
--i9LlY+UWpKt15+FH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

Ok, long story short:

[drm:pid226:i915_initialize] hw status page @ 0xcc7e2000
uvm_fault(0xcb7c9380, 0x2000, 2) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 226.1 (Xorg) at  netbsd:i915_dma_init+0x580:     movl    %eax,0x2080(%edx)
i915_dma_init(b400,80446440,cc778b98,3,cc78a7e0) at netbsd:i915_dma_init+0x580

recent-ish 4.99.19.

Unfortunately, this box has no RS232 port I can talk to ddb(4) with.
This was obtained by a ddb.commandonenter script and a core dump.

(Is gdb supposed to be able to read kernel cores still?)

It looks like the mapping that this 0x2080 register is in is
not right. Any idea what's going on, or what could be tried
to get it working?

Kernel is GENERIC with:

i915drm* at vga?
options PCI_ADDR_FIXUP
options PCI_BUS_FIXUP

	Jonathan Kollasch

--i9LlY+UWpKt15+FH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFGR3FgOjx1ye3hmokRAjGBAJ9DWltH9Qgjxh/1qH/Bymd07nSWbgCeKkSd
9M1G3LiKK9uBCEvGaMIFPd0=
=e4ij
-----END PGP SIGNATURE-----

--i9LlY+UWpKt15+FH--