Results 1 to 3 of 3

Thread: Building X stack from sources results in no intel i915 drm module

  1. #1
    Join Date
    Dec 2007
    Posts
    91

    Default Building X stack from sources results in no intel i915 drm module

    Just the few topics about the promising 2.6 intel driver and as a use of a x4500 I decided to try the new drivers from the git repos.

    I successfully build the whole stack but one file, the i915.ko which is the drm module for my type of hardware, even if the radeon module was built.
    Naturally (hm computerly should be preferred), the module from the installed kernel couldn't be loaded.

    When I read through the log, I can see that when it enters in drm/linux-core that it had built a lot of modules but the one I need which is i915.ko.
    I then looked through the different Makefiles, but hadn't any success at forcing it to be built...
    I asked on the xorg mailing list but the answer I got wasn't clear enough for me, and since I don't want to bug peoples nor waste developers time, I ask on a forum where only interested people will read.
    You can read the list of modules that were successfully built below.
    I am pretty sure I do a very little mistake, since I tested the same procedure and it worked on some ATI hardware with the radeon module.
    (I could reactivate 3D on my t43p where jaunty just offered no direct rendering)

    Thanks for reading
    Lucas
    Code:
      
      CC [M]  /root/drm/linux-core/drm_auth.o
      CC [M]  /root/drm/linux-core/drm_bufs.o
      CC [M]  /root/drm/linux-core/drm_context.o
      CC [M]  /root/drm/linux-core/drm_dma.o
      CC [M]  /root/drm/linux-core/drm_drawable.o
      CC [M]  /root/drm/linux-core/drm_drv.o
      CC [M]  /root/drm/linux-core/drm_fops.o
      CC [M]  /root/drm/linux-core/drm_ioctl.o
      CC [M]  /root/drm/linux-core/drm_irq.o
      CC [M]  /root/drm/linux-core/drm_lock.o
      CC [M]  /root/drm/linux-core/drm_memory.o
      CC [M]  /root/drm/linux-core/drm_proc.o
      CC [M]  /root/drm/linux-core/drm_stub.o
      CC [M]  /root/drm/linux-core/drm_vm.o
      CC [M]  /root/drm/linux-core/drm_sysfs.o
      CC [M]  /root/drm/linux-core/drm_pci.o
      CC [M]  /root/drm/linux-core/drm_agpsupport.o
      CC [M]  /root/drm/linux-core/drm_scatter.o
      CC [M]  /root/drm/linux-core/drm_memory_debug.o
      CC [M]  /root/drm/linux-core/ati_pcigart.o
      CC [M]  /root/drm/linux-core/drm_sman.o
      CC [M]  /root/drm/linux-core/drm_hashtab.o
      CC [M]  /root/drm/linux-core/drm_mm.o
      CC [M]  /root/drm/linux-core/drm_object.o
      CC [M]  /root/drm/linux-core/drm_compat.o
      CC [M]  /root/drm/linux-core/drm_fence.o
      CC [M]  /root/drm/linux-core/drm_ttm.o
      CC [M]  /root/drm/linux-core/drm_bo.o
      CC [M]  /root/drm/linux-core/drm_bo_move.o
      CC [M]  /root/drm/linux-core/drm_bo_lock.o
      CC [M]  /root/drm/linux-core/drm_regman.o
      CC [M]  /root/drm/linux-core/drm_vm_nopage_compat.o
      CC [M]  /root/drm/linux-core/drm_gem.o
      CC [M]  /root/drm/linux-core/i810_drv.o
      CC [M]  /root/drm/linux-core/i810_dma.o
      CC [M]  /root/drm/linux-core/mach64_drv.o
      CC [M]  /root/drm/linux-core/mach64_dma.o
      CC [M]  /root/drm/linux-core/mach64_irq.o
      CC [M]  /root/drm/linux-core/mach64_state.o
      CC [M]  /root/drm/linux-core/mga_drv.o
      CC [M]  /root/drm/linux-core/mga_dma.o
      CC [M]  /root/drm/linux-core/mga_state.o
      CC [M]  /root/drm/linux-core/mga_warp.o
      CC [M]  /root/drm/linux-core/mga_irq.o
      CC [M]  /root/drm/linux-core/nouveau_drv.o
      CC [M]  /root/drm/linux-core/nouveau_state.o
      CC [M]  /root/drm/linux-core/nouveau_fifo.o
      CC [M]  /root/drm/linux-core/nouveau_mem.o
      CC [M]  /root/drm/linux-core/nouveau_object.o
      CC [M]  /root/drm/linux-core/nouveau_irq.o
      CC [M]  /root/drm/linux-core/nouveau_notifier.o
      CC [M]  /root/drm/linux-core/nouveau_swmthd.o
      CC [M]  /root/drm/linux-core/nouveau_sgdma.o
      CC [M]  /root/drm/linux-core/nouveau_dma.o
      CC [M]  /root/drm/linux-core/nouveau_bo.o
      CC [M]  /root/drm/linux-core/nouveau_fence.o
      CC [M]  /root/drm/linux-core/nv04_timer.o
      CC [M]  /root/drm/linux-core/nv04_mc.o
      CC [M]  /root/drm/linux-core/nv40_mc.o
      CC [M]  /root/drm/linux-core/nv50_mc.o
      CC [M]  /root/drm/linux-core/nv04_fb.o
      CC [M]  /root/drm/linux-core/nv10_fb.o
      CC [M]  /root/drm/linux-core/nv40_fb.o
      CC [M]  /root/drm/linux-core/nv04_fifo.o
      CC [M]  /root/drm/linux-core/nv10_fifo.o
      CC [M]  /root/drm/linux-core/nv40_fifo.o
      CC [M]  /root/drm/linux-core/nv50_fifo.o
      CC [M]  /root/drm/linux-core/nv04_graph.o
      CC [M]  /root/drm/linux-core/nv10_graph.o
      CC [M]  /root/drm/linux-core/nv20_graph.o
      CC [M]  /root/drm/linux-core/nv40_graph.o
      CC [M]  /root/drm/linux-core/nv50_graph.o
      CC [M]  /root/drm/linux-core/nv04_instmem.o
      CC [M]  /root/drm/linux-core/nv50_instmem.o
      CC [M]  /root/drm/linux-core/nv_drv.o
      CC [M]  /root/drm/linux-core/r128_drv.o
      CC [M]  /root/drm/linux-core/r128_cce.o
      CC [M]  /root/drm/linux-core/r128_state.o
      CC [M]  /root/drm/linux-core/r128_irq.o
      CC [M]  /root/drm/linux-core/radeon_drv.o
      CC [M]  /root/drm/linux-core/radeon_cp.o
      CC [M]  /root/drm/linux-core/radeon_state.o
      CC [M]  /root/drm/linux-core/radeon_mem.o
      CC [M]  /root/drm/linux-core/radeon_irq.o
      CC [M]  /root/drm/linux-core/r300_cmdbuf.o
      CC [M]  /root/drm/linux-core/savage_drv.o
      CC [M]  /root/drm/linux-core/savage_bci.o
      CC [M]  /root/drm/linux-core/savage_state.o
      CC [M]  /root/drm/linux-core/sis_drv.o
      CC [M]  /root/drm/linux-core/sis_mm.o
      CC [M]  /root/drm/linux-core/tdfx_drv.o
      CC [M]  /root/drm/linux-core/via_irq.o
      CC [M]  /root/drm/linux-core/via_drv.o
      CC [M]  /root/drm/linux-core/via_map.o
      CC [M]  /root/drm/linux-core/via_mm.o
      CC [M]  /root/drm/linux-core/via_dma.o
      CC [M]  /root/drm/linux-core/via_verifier.o
      CC [M]  /root/drm/linux-core/via_video.o
      CC [M]  /root/drm/linux-core/via_dmablit.o
      CC [M]  /root/drm/linux-core/via_fence.o
      CC [M]  /root/drm/linux-core/via_buffer.o
      CC [M]  /root/drm/linux-core/xgi_cmdlist.o
      CC [M]  /root/drm/linux-core/xgi_drv.o
      CC [M]  /root/drm/linux-core/xgi_fb.o
      CC [M]  /root/drm/linux-core/xgi_misc.o
      CC [M]  /root/drm/linux-core/xgi_pcie.o
      CC [M]  /root/drm/linux-core/xgi_fence.o
      LD [M]  /root/drm/linux-core/drm.o
      LD [M]  /root/drm/linux-core/tdfx.o
      LD [M]  /root/drm/linux-core/r128.o
      LD [M]  /root/drm/linux-core/radeon.o
      LD [M]  /root/drm/linux-core/mga.o
      LD [M]  /root/drm/linux-core/i810.o
      LD [M]  /root/drm/linux-core/sis.o
      LD [M]  /root/drm/linux-core/savage.o
      LD [M]  /root/drm/linux-core/via.o
      LD [M]  /root/drm/linux-core/mach64.o
      LD [M]  /root/drm/linux-core/nv.o
      LD [M]  /root/drm/linux-core/nouveau.o
      LD [M]  /root/drm/linux-core/xgi.o
      Building modules, stage 2.
      MODPOST 13 modules
      CC      /root/drm/linux-core/drm.mod.o
      LD [M]  /root/drm/linux-core/drm.ko
      CC      /root/drm/linux-core/i810.mod.o
      LD [M]  /root/drm/linux-core/i810.ko
      CC      /root/drm/linux-core/mach64.mod.o
      LD [M]  /root/drm/linux-core/mach64.ko
      CC      /root/drm/linux-core/mga.mod.o
      LD [M]  /root/drm/linux-core/mga.ko
      CC      /root/drm/linux-core/nouveau.mod.o
      LD [M]  /root/drm/linux-core/nouveau.ko
      CC      /root/drm/linux-core/nv.mod.o
      LD [M]  /root/drm/linux-core/nv.ko
      CC      /root/drm/linux-core/r128.mod.o
      LD [M]  /root/drm/linux-core/r128.ko
      CC      /root/drm/linux-core/radeon.mod.o
      LD [M]  /root/drm/linux-core/radeon.ko
      CC      /root/drm/linux-core/savage.mod.o
      LD [M]  /root/drm/linux-core/savage.ko
      CC      /root/drm/linux-core/sis.mod.o
      LD [M]  /root/drm/linux-core/sis.ko
      CC      /root/drm/linux-core/tdfx.mod.o
      LD [M]  /root/drm/linux-core/tdfx.ko
      CC      /root/drm/linux-core/via.mod.o
      LD [M]  /root/drm/linux-core/via.ko
      CC      /root/drm/linux-core/xgi.mod.o
      LD [M]  /root/drm/linux-core/xgi.ko
    Last edited by lucky_; 01-02-2009 at 03:34 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    983

    Default

    For intel hardware, the guide on the X.org wiki is wrong, and needs to be updated.

    The i915 module is maintained in the kernel now, and the code for the kernel module was recently removed from the drm repository:

    Code:
    commit 28771e06dfe45027be6618f87335c19e8e88e3f6
    Author: Eric Anholt <eric@anholt.net>
    Date:   Wed Dec 17 13:47:59 2008 -0800
    
        intel: Remove linux build of i915 DRM, as it's unmaintained and a user trap.
        
        The code's in the linux kernel.
    If you want the most up to date code for i915 you should probably build the drm-intel-next branch of linux:
    http://anholt.livejournal.com/39544.html

  3. #3
    Join Date
    Dec 2007
    Posts
    91

    Default

    yep I will, thanks for your answer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •