Problem building the whole X stack, results in no i915.ko
Lucas Charles
lucas.charles at unine.ch
Fri Jan 2 12:50:07 PST 2009
Thanks for your answer it helped me to eliminate some doubts I had.
I just re started the whole build today and I saved part of the result
in a file.
I've tested the same procedure on another laptop today with some ATI
hardware, and it worked perfectly.
End of results, I am still stucked with my questions :
Is my kernel too old ?
Why in the Makefiles in drm/linux-core (Makefile Makefile.kernel) there
is no instructions to build any i915 related .o .ko ?
It seems that the configuring process was OK as far as I can see through
the awful lot of output I got.
Here is the output that proves it were successful at building others
modules.
Sorry for the text it french, it basically says just quitting folder
blah/entering folder bleh
As you can see, the radeon, the i810 modules for drm are built.
make[1]: quittant le répertoire « /root/drm »
make: entrant dans le répertoire « /root/drm/linux-core »
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
make -C /lib/modules/2.6.27-9-generic/build SUBDIRS=`/bin/pwd`
DRMSRCDIR=`/bin/pwd` modules
make[1]: entrant dans le répertoire «
/usr/src/linux-headers-2.6.27-9-generic »
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
m
Joel Feiner a écrit :
> Post the output from the "Building DRM" section. If you forgot to do
> that, you won't have a i915.ko. Also, make sure it can find your
> kernel. You might have to pass LINUXDIR=/usr/src/linux-blah-blah-blah
> when you invoke make.
>
> Lucas Charles wrote:
>
>> Hello everyone,
>> As I own a new laptop powered by a intel chipset (GM45 or something like
>> that :p, comes with a centrino 2), I decided to build the whole X stack
>> when I found this tutorial.
>> http://www.x.org/wiki/Development/git
>> But when I wanted to do the different insmod as described in the
>> 'Running your new stack' section, I found out that the i915.ko was not
>> build (no i915.ko in drm/linux-core), so my questions are.
>> Is it the right module for my hardware ?
>> If it is, then what am I missing here ?
>> Is it when I decided to build xserver like that: (don't know exactly
>> what I am doing here)
>> ./autogen.sh --prefix=/opt/gfx-test --enable-builtin-fonts
>> --with-mesa-source --with-xkb-path=/usr/share/X11/xkb
>> I need the xkb flag as I use a swiss keyboard, builtin-fonts because it
>> seems to be recommended, and with-mesa-source because it was mentionned
>> that it can be of some use (hmm honestly there I'm lost ).
>> I actually run a 2.6.27 kernel, which doesn't support kms, is it an
>> issue,with the standard makefile in the git repos ?
>>
>> I'm pretty new when it comes to building linux stuff from source
>> (espacially such big projects like that), so if you want to flame me for
>> bugging you, feel free to tell me that I'am just too curious ;-) .
>>
>> Thanks for reading
>> Lucas Charles
>>
>> _______________________________________________
>> xorg mailing list
>> xorg at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/xorg
>>
>>
Best regards
Lucas Charles
More information about the xorg
mailing list