Subject: Re: i915drm: uvm_fault() in i915_initialize()
To: Jonathan A. Kollasch <jakllsch@kollasch.net>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: tech-x11
Date: 05/13/2007 22:09:08
On 13/05/07, Jonathan A. Kollasch <jakllsch@kollasch.net> wrote:
> Hi,
>
> Ok, long story short:


Same here. I didn't shout earlier as I thought I was doing something
wrong in the whole
procedure; I got:

(gdb) target kvm netbsd.3.core
#0  0xc04faf7c in cpu_reboot ()
(gdb) bt
#0  0xc04faf7c in cpu_reboot ()
#1  0xc01c1788 in db_reboot_cmd ()
#2  0xc01c12f6 in db_command ()
#3  0xc01c16e5 in db_command_loop ()
#4  0xc01c4505 in db_trap ()
#5  0xc04f6d52 in kdb_trap ()
#6  0xc0505455 in trap ()
#7  0xc010c427 in calltrap ()
#8  0xc0628ab0 in i915_dma_init ()
#9  0xc0313795 in drm_ioctl ()
#10 0xc04a76b8 in spec_ioctl ()
#11 0xc04a115d in VOP_IOCTL ()
#12 0xc049e341 in vn_ioctl ()
#13 0xc046ca1b in sys_ioctl ()
#14 0xc0504cbb in syscall_plain ()
#15 0xc0100664 in syscall1 ()
(gdb)

With Xorg 7.3 from pkgsrc/wip/modular-xorg-server-mesa653 I get a hard
halt - no life
unless turned off; same with the latest xf86-video-intel driver. Now I
just comment out the
'Load "glx"' line in xorg.conf to carry on working until better times...

>
> [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.

Mine is from 10th; the kernel I compiled a couple of hours ago died
(microsleep or something; didn't keep the trace).

>
> Unfortunately, this box has no RS232 port I can talk to ddb(4) with.

Same here, very annoying.

> This was obtained by a ddb.commandonenter script and a core dump.
>
> (Is gdb supposed to be able to read kernel cores still?)

See above.

>
> 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

GENERIC.MP + drm ; I haven't got the fixups though; I will try them later.

>
>         Jonathan Kollasch
>
>
Chavdar Ivanov