Andi, That's a bug that's been around for a while, and regardless of the machine having no AGP, you still need agpgart for the 965 driver to function as internally it's really an AGP device.
Alan. On Sun, 2006-08-13 at 11:06 +0200, Andi Kleen wrote: > Hello, > > After the recent announcements I tried the current DRM git tree on a > Board with Intel 965 graphics. But this gives the appended oops > when loading the i915 module. > > The crash is in this line in drm_lastclose(), presumably > because the magic free list isn't initialized in this error path. > > list_for_each_entry_safe(pt, next, &dev->magicfree, head) { > > > Of course the system doesn't have any AGP bridge since it is > PCI-E only. agpgart was compiled in, but not active. > > The driver seems to have PCI IDs for my graphics device. > > -Andi > > [drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module. > Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP: > [<ffffffff88094bbc>] :drm:drm_lastclose+0xc9/0x332 > PGD 38381067 PUD 36ba7067 PMD 0 > Oops: 0000 [1] SMP > CPU 0 > Modules linked in: i915 drm snd_pcm_oss snd_mixer_oss snd_seq snd_hda_intel > snd_hda_codec snd_pcm snd_timer snd snd_page_alloc > Pid: 3875, comm: insmod Not tainted 2.6.18-rc4 #11 > RIP: 0010:[<ffffffff88094bbc>] [<ffffffff88094bbc>] > :drm:drm_lastclose+0xc9/0x332 > RSP: 0018:ffff8100378bdc28 EFLAGS: 00010297 > RAX: 0000000000000000 RBX: ffffffffffffffe8 RCX: 00000000c0000100 > RDX: ffff81003f4e5610 RSI: ffff8100378bc000 RDI: 0000000000000000 > RBP: ffff81003eb6e000 R08: ffff8100378bc000 R09: 0000000000000000 > R10: 0000000000000080 R11: 0000000100000000 R12: ffff81003f38b000 > R13: ffff81003eb6e028 R14: ffff81003f38b000 R15: 00000000ffffffea > FS: 00002b14a8e926d0(0000) GS:ffffffff807fb000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > CR2: 0000000000000000 CR3: 0000000036bab000 CR4: 00000000000006e0 > Process insmod (pid: 3875, threadinfo ffff8100378bc000, task ffff81003f4db5d0) > Stack: ffff81003eb6e000 ffff81003eb6e000 ffffffff880af900 ffff81003f38b000 > ffffffff880af638 ffffffff880979ff ffffffff880af638 ffffffff880af440 > 0000000000000296 ffffffff8022bc04 0000000000000000 0000000000000003 > Call Trace: > [<ffffffff880979ff>] :drm:drm_get_dev+0x2c2/0x4d9 > [<ffffffff80347543>] pci_device_probe+0xdd/0x142 > [<ffffffff8039fd75>] driver_probe_device+0x52/0xa8 > [<ffffffff8039fea0>] __driver_attach+0x6b/0xa9 > [<ffffffff8039f2b6>] bus_for_each_dev+0x43/0x6e > [<ffffffff8039f5f8>] bus_add_driver+0x73/0x10f > [<ffffffff880afb00>] :i915:__this_module+0x0/0xffffffffffffcec7 > DWARF2 unwinder stuck at __this_module+0x0/0xffffffffffffcec7 [i915] > Leftover inexact backtrace: > [<ffffffff803470ca>] __pci_register_driver+0x57/0x7d > [<ffffffff88094719>] :drm:drm_init+0xc5/0x141 > [<ffffffff8024b4f4>] sys_init_module+0x15ed/0x1727 > [<ffffffff80209612>] system_call+0x7e/0x83 > > > Code: 4c 8b 63 18 eb 3e 48 8b 53 18 48 8b 41 08 48 8d bd e8 00 00 > RIP [<ffffffff88094bbc>] :drm:drm_lastclose+0xc9/0x332 > RSP <ffff8100378bdc28> > CR2: 0000000000000000 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > -- > _______________________________________________ > Dri-devel mailing list > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel