Page 21 of 29 FirstFirst ... 111920212223 ... LastLast
Results 201 to 210 of 286

Thread: HOWTO: Kernel Compilation for Newbies

  1. #201
    Join Date
    Apr 2006
    Beans
    6

    Re: HOWTO: Kernel Compilation for Newbies

    Good idea!Kisses Ida
    Last edited by idea; April 27th, 2006 at 07:48 PM.

  2. #202
    Join Date
    Apr 2006
    Beans
    6

    Re: HOWTO: Kernel Compilation for Newbies

    Great guide!Bravo Alberto!Ida

  3. #203
    Join Date
    Apr 2006
    Location
    Mexico, Cuautitlan Izcall
    Beans
    25
    Distro
    Ubuntu 7.04 Feisty Fawn

    Question Re: HOWTO: Kernel Compilation for Newbies

    Well, I look at the dri.log file to see what's going on and I found this.


    make DRM_MODULES=i915.o modules
    make[1]: Entering directory `/home/krotaz/software/video card/i915-20060403-linux.i386/drm/linux-core'
    + ln -s ../shared-core/drm.h drm.h
    + ln -s ../shared-core/drm_sarea.h drm_sarea.h
    + ln -s ../shared-core/mga_dma.c mga_dma.c
    + ln -s ../shared-core/mga_drm.h mga_drm.h
    + ln -s ../shared-core/mga_drv.h mga_drv.h
    + ln -s ../shared-core/mga_irq.c mga_irq.c
    + ln -s ../shared-core/mga_state.c mga_state.c
    + ln -s ../shared-core/mga_ucode.h mga_ucode.h
    + ln -s ../shared-core/mga_warp.c mga_warp.c
    + ln -s ../shared-core/r128_drv.h r128_drv.h
    + ln -s ../shared-core/r128_drm.h r128_drm.h
    + ln -s ../shared-core/r128_cce.c r128_cce.c
    + ln -s ../shared-core/r128_state.c r128_state.c
    + ln -s ../shared-core/r128_irq.c r128_irq.c
    + ln -s ../shared-core/radeon_drv.h radeon_drv.h
    + ln -s ../shared-core/radeon_drm.h radeon_drm.h
    + ln -s ../shared-core/radeon_cp.c radeon_cp.c
    + ln -s ../shared-core/radeon_irq.c radeon_irq.c
    + ln -s ../shared-core/radeon_mem.c radeon_mem.c
    + ln -s ../shared-core/radeon_state.c radeon_state.c
    + ln -s ../shared-core/r300_cmdbuf.c r300_cmdbuf.c
    + ln -s ../shared-core/r300_reg.h r300_reg.h
    + ln -s ../shared-core/sis_drv.h sis_drv.h
    + ln -s ../shared-core/sis_drm.h sis_drm.h
    + ln -s ../shared-core/sis_ds.c sis_ds.c
    + ln -s ../shared-core/sis_ds.h sis_ds.h
    + ln -s ../shared-core/sis_mm.c sis_mm.c
    + ln -s ../shared-core/tdfx_drv.h tdfx_drv.h
    + ln -s ../shared-core/via_drm.h via_drm.h
    + ln -s ../shared-core/via_drv.h via_drv.h
    + ln -s ../shared-core/via_mm.h via_mm.h
    + ln -s ../shared-core/via_ds.h via_ds.h
    + ln -s ../shared-core/via_3d_reg.h via_3d_reg.h
    + ln -s ../shared-core/via_drv.c via_drv.c
    + ln -s ../shared-core/via_ds.c via_ds.c
    + ln -s ../shared-core/via_irq.c via_irq.c
    + ln -s ../shared-core/via_map.c via_map.c
    + ln -s ../shared-core/via_mm.c via_mm.c
    + ln -s ../shared-core/via_dma.c via_dma.c
    + ln -s ../shared-core/via_verifier.c via_verifier.c
    + ln -s ../shared-core/via_verifier.h via_verifier.h
    + ln -s ../shared-core/via_video.c via_video.c
    + ln -s ../shared-core/mach64_drv.h mach64_drv.h
    + ln -s ../shared-core/mach64_drm.h mach64_drm.h
    + ln -s ../shared-core/mach64_dma.c mach64_dma.c
    + ln -s ../shared-core/mach64_irq.c mach64_irq.c
    + ln -s ../shared-core/mach64_state.c mach64_state.c
    + ln -s ../shared-core/i915_drv.h i915_drv.h
    + ln -s ../shared-core/i915_drm.h i915_drm.h
    + ln -s ../shared-core/i915_irq.c i915_irq.c
    + ln -s ../shared-core/i915_mem.c i915_mem.c
    + ln -s ../shared-core/i915_dma.c i915_dma.c
    + ln -s ../shared-core/savage_drv.h savage_drv.h
    + ln -s ../shared-core/savage_drm.h savage_drm.h
    + ln -s ../shared-core/savage_bci.c savage_bci.c
    + ln -s ../shared-core/savage_state.c savage_state.c
    + ln -s ../shared-core/nv_drv.h nv_drv.h
    rm -f linux
    ln -s . linux
    make -C /lib/modules/2.6.12-krotaz/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
    make[2]: Entering directory `/usr/src/linux-source-2.6.12'
    make[2]: *** No hay ninguna regla para construir el objetivo `card/i915-20060403-linux.i386/drm/linux-core'. Alto.
    make[2]: Leaving directory `/usr/src/linux-source-2.6.12'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/home/krotaz/software/video card/i915-20060403-linux.i386/drm/linux-core'
    make: *** [i915.o] Error 2


    Dont understand whats going on.

    Plz help me.

  4. #204
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by idea
    Great guide!Bravo Alberto!Ida
    Grazie

  5. #205
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by krotaz
    tseliot: great how to man. It really helped me a lot.

    But I've a little problem. I want to install the DRI drivers for my intel 830 chipset, and when it tries to compile it sends an error

    "ERROR: kernel modules did not compile

    The DRI drivers can not be installed without the latest kernel modules.
    Installation will be aborted. See the dri.log file for information on what went
    wrotng"

    The question here is. How do I install those kernel modules???

    Hope you can help me-
    Thanks!!
    Ok, since I am an Nvidia user and I've never had an Intel card, could you explain me what you did (step by step)?

  6. #206
    Join Date
    Apr 2006
    Location
    Mexico, Cuautitlan Izcall
    Beans
    25
    Distro
    Ubuntu 7.04 Feisty Fawn

    Question Re: HOWTO: Kernel Compilation for Newbies

    well I used this guide

    http://www.frikis.org/staticpages/in...celeracion-dri

    It's in spanish, don't know if you understand it but in few words says that I've to download the driver for my intel 830M chipset wichis supported by the driver provided by DRI in the i915 snapshot.

    Then I put

    sudo ./install.sh

    1.-

    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    Welcome to the DRI Driver Installation Script

    The package you downloaded is for the following driver:

    Driver Name : i915
    Description : Intel i915 Driver
    Architecture :
    Build Date : 20060403
    Kernel Module : i915

    Optional Information

    Driver Version :
    Special Description :

    Press ENTER to continue or CTRL-C to exit.

    2.-
    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    The script will need to copy the DRI Xorg driver modules to
    your Xorg directories.

    The script will use the following Xorg directories:

    Xorg Dir : /usr/X11R6
    Xorg Modules Dir : /usr/X11R6/lib/modules
    Xorg Library Dir : /usr/X11R6/lib

    If this is correct press ENTER, press C to change or CTRL-C to exit.

    3.-
    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    The script also needs to copy the DRM kernel modules to your
    kernel module directory.

    This version of the script supports 2.4.x and 2.6.x kernels.

    Kernel Version : 2.6.12-krotaz
    Module Directory : /lib/modules/2.6.12-krotaz

    If this is correct press ENTER, press C to change or CTRL-C to exit.

    4.-
    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    The script will now compile the DRM kernel modules for your machine.

    Press ENTER to continue or CTRL-C to exit.

    5.-

    Compiling...
    ERROR: Kernel modules did not compile

    The DRI drivers can not be installed without the latest kernel modules.
    Installation will be aborted. See the dri.log file for information on
    what went wrong.

    krotaz@calzonzin:~/software/video card/i915-20060403-linux.i386$


    those are the 5 screens that the driver install show.

    The DRI.log file is the one I posted before

    Thanks

  7. #207
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by krotaz
    well I used this guide

    http://www.frikis.org/staticpages/in...celeracion-dri

    It's in spanish, don't know if you understand it but in few words says that I've to download the driver for my intel 830M chipset wichis supported by the driver provided by DRI in the i915 snapshot.

    Then I put

    sudo ./install.sh

    1.-

    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    Welcome to the DRI Driver Installation Script

    The package you downloaded is for the following driver:

    Driver Name : i915
    Description : Intel i915 Driver
    Architecture :
    Build Date : 20060403
    Kernel Module : i915

    Optional Information

    Driver Version :
    Special Description :

    Press ENTER to continue or CTRL-C to exit.

    2.-
    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    The script will need to copy the DRI Xorg driver modules to
    your Xorg directories.

    The script will use the following Xorg directories:

    Xorg Dir : /usr/X11R6
    Xorg Modules Dir : /usr/X11R6/lib/modules
    Xorg Library Dir : /usr/X11R6/lib

    If this is correct press ENTER, press C to change or CTRL-C to exit.

    3.-
    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    The script also needs to copy the DRM kernel modules to your
    kernel module directory.

    This version of the script supports 2.4.x and 2.6.x kernels.

    Kernel Version : 2.6.12-krotaz
    Module Directory : /lib/modules/2.6.12-krotaz

    If this is correct press ENTER, press C to change or CTRL-C to exit.

    4.-
    DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT

    [ http://dri.freedesktop.org ]

    ================================================== ========================

    The script will now compile the DRM kernel modules for your machine.

    Press ENTER to continue or CTRL-C to exit.

    5.-

    Compiling...
    ERROR: Kernel modules did not compile

    The DRI drivers can not be installed without the latest kernel modules.
    Installation will be aborted. See the dri.log file for information on
    what went wrong.

    krotaz@calzonzin:~/software/video card/i915-20060403-linux.i386$


    those are the 5 screens that the driver install show.

    The DRI.log file is the one I posted before

    Thanks
    Yo también hablo español como soy estudiante de lenguas extranjeras

    Try to boot in the default Ubuntu kernel (select it in the grub menu) and run the script.

    And tell me how it goes.

  8. #208
    Join Date
    Apr 2006
    Location
    Mexico, Cuautitlan Izcall
    Beans
    25
    Distro
    Ubuntu 7.04 Feisty Fawn

    Question Re: HOWTO: Kernel Compilation for Newbies

    q bueno q tambien hables español, pero dime en q idioma te acomodas mas para en ese escribir, de momento voy a asumir q prefieres en ingles

    Ok. I changed the kernel and try the script

    after all the questions the same error. and also to check dri.log

    the dri.log changed this time for this

    Makefile: 173: *** Cannot find a kernel config file

    Now I'm back to the other kernel because my wireless card is compiled for my new kernel

    any other idea???

  9. #209
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by krotaz
    q bueno q tambien hables español, pero dime en q idioma te acomodas mas para en ese escribir, de momento voy a asumir q prefieres en ingles

    Ok. I changed the kernel and try the script

    after all the questions the same error. and also to check dri.log

    the dri.log changed this time for this

    Makefile: 173: *** Cannot find a kernel config file

    Now I'm back to the other kernel because my wireless card is compiled for my new kernel

    any other idea???
    Sí, mejor que hablemos en inglés, así que los demás nos entiendan.

    Ok, you're back to your new kernel.
    Try this:
    Code:
    cd /usr/src/linux-source*
    Make a backup of the config file
    Code:
    sudo cp .config .tentativo
    Code:
    sudo make oldconfig
    And try the script again

  10. #210
    Join Date
    Apr 2006
    Location
    Mexico, Cuautitlan Izcall
    Beans
    25
    Distro
    Ubuntu 7.04 Feisty Fawn

    Unhappy Re: HOWTO: Kernel Compilation for Newbies

    I've done what you asked me to and the same error and suggestion to check the dri.log

    the dri.log has the same message that in the first time

    -------------------------------------

    make DRM_MODULES=i915.o modules
    make[1]: Entering directory `/home/krotaz/software/video card/i915-20060403-linux.i386/drm/linux-core'
    make -C /lib/modules/2.6.12-krotaz/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
    make[2]: Entering directory `/usr/src/linux-source-2.6.12'
    make[2]: *** No hay ninguna regla para construir el objetivo `card/i915-20060403-linux.i386/drm/linux-core'. Alto.
    make[2]: Leaving directory `/usr/src/linux-source-2.6.12'
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/home/krotaz/software/video card/i915-20060403-linux.i386/drm/linux-core'
    make: *** [i915.o] Error 2
    -------

Page 21 of 29 FirstFirst ... 111920212223 ... LastLast

Bookmarks

Posting Permissions

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