Page 47 of 48 FirstFirst ... 3745464748 LastLast
Results 461 to 470 of 478

Thread: HOWTO: Kernel Compilation for Newbies

  1. #461
    Join Date
    Nov 2005
    Beans
    50
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by mlind View Post
    Are you still using the guide which uses module assistant btw?
    I think it's similar to nvidia driver install, create fglrx kernel module using module-assistant, then install drivers (userspace stuff) using .deb's (xorg-driver-fglrx_xx.xx and fglrx-control_xx.xx.deb).

    Is that error happening when you're using module-assistant?
    Yes, that is happenning while I am using module assistant to install and configure the fglrx kernel source.

  2. #462
    Join Date
    Nov 2005
    Beans
    2,322
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by Darth Tux View Post
    Yes, that is happenning while I am using module assistant to install and configure the fglrx kernel source.
    Okay, here's the thing. I took a look at fglrx-kernel-source package contents and I doubt that this package could be ever built with module-assistant

    Its contents are derieved from nvidia-kernel-source package, topmost changelog entry
    Code:
     fglrx-kernel (3.14.6-0ubuntu1) hoary; urgency=low
    
      * First release; packaging derived from nvidia-kernel-source.
    
     -- Daniel Stone <daniel.stone@canonical.com>  Sat, 27 Nov 2004 12:52:32 +0000
    Doesn't look too convincing. Then I found this
    Code:
    $ grep -R nvidia * | grep -v changelog:
    copyright:Sat, 27 Nov 12:56:49 +0000.  It is heavily based on the nvidia-kernel packaging
    dirs.template:lib/modules/#KVERS#/nvidia
    make.sh:if [ -e nvidia-agp.o ]
    make.sh:  rm -f nvidia-agp.o 2>&1 | tee -a $logfile
    make.sh:SRC=${SOURCE_PREFIX}/nvidia-agp.c
    make.sh:DST=nvidia-agp.o
    make.sh:#ld="ld -r ${FGL_PUBLIC}_public.o agpgart_fe.o agpgart_be.o agp3.o i7505-agp.o nvidia-agp.o $core_lib -o ${MODULE}.o"
    make.sh:ld="ld -r ${FGL_PUBLIC}_public.o agpgart_be.o agp3.o i7505-agp.o nvidia-agp.o $core_lib -o ${MODULE}${module_version}.o"
    override.template:nvidia-kernel-#KVERS#: mknod-in-maintainer-script postinst:32
    override.template:nvidia-kernel-#KVERS#: mknod-in-maintainer-script postinst:41
    override.template:nvidia-kernel-#KVERS#: unstripped-binary-or-object ./lib/modules/#KVERS#/kernel/drivers/video/nvidia.o
    postinst:# postinst script for nvidia-kernel
    postinst:                       devfile="/dev/nvidia$i"
    postinst:               devfile=/dev/nvidiactl
    These look nvidia specific, not ati! What the f***? Looks like a major bug to me..

    You should find another way to install ati drivers. I don't have ati gfx card myself, but I was able to build kernel module using debian's fglrx-kernel-src package - that's another story though (module built succesfully). If you want to continue about this subject, send me a private message, so this thread won't go more offtopic.
    Building on Ubuntu using [pbuilder]
    Other resources [Upgrading from CVS, Gaim2, Anjuta, Rhythmbox]

  3. #463
    Join Date
    Aug 2005
    Beans
    41

    Re: HOWTO: Kernel Compilation for Newbies

    I'm trying to install a driver for my pcmcia card.

    in the readme it says to add a line in linux/drivers/media/video/Config.in

    The Problem is I can't seem to find Config.in

    I'm using Kubuntu. Is Config.in the same as KConfig?

    Also, the readme says to add

    dep_tristate ' ImperX Video Capture Essentials PCMCIA support'
    CONFIG_PCMCIA_IMPERX_VCE $CONFIG_VIDEO_DEV $CONFIG_PCMCIA

    when I add these lines to KConfig and try to make it. I get errors saying it doesn't know what dep_tristate is.
    Last edited by rold50; August 9th, 2006 at 10:52 PM.

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

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by rold50 View Post
    I'm trying to install a driver for my pcmcia card.

    in the readme it says to add a line in linux/drivers/media/video/Config.in

    The Problem is I can't seem to find Config.in

    I'm using Kubuntu. Is Config.in the same as KConfig?

    Also, the readme says to add

    dep_tristate ' ImperX Video Capture Essentials PCMCIA support'
    CONFIG_PCMCIA_IMPERX_VCE $CONFIG_VIDEO_DEV $CONFIG_PCMCIA

    when I add these lines to KConfig and try to make it. I get errors saying it doesn't know what dep_tristate is.
    Which kernel version does the readme refer to?

  5. #465
    Join Date
    Aug 2005
    Beans
    41

    Re: HOWTO: Kernel Compilation for Newbies

    It's refering to kernel version 2.4 something but I don't want to downgrade to 2.4..

    actually I've realized that it's even impossible to downgrade the kernel to 2.4 with ubuntu (?) from reading the forums.

    I have already fixed the Config.in to Kconfig conversion.

    The Problem I have now is:

    I have PCMCIA video grabber card.

    The drivers written for it works for the 2.4 kernels.

    I tried installing the drivers for the current kernel version but I get errors.

    The problem lies in some of the function/member operator in the header files in 2.4 kernels is not in the latest kernel anymore.

    For example in the pcmcia/ds.h There is a struct called dev_link_t, which had a member called release. In the current kernel, the release member has been omitted.

    Do you think it will work fine if I just grab the old ds.h from kernel 2.4 and then building the kernel from that?
    Last edited by rold50; August 11th, 2006 at 01:29 AM.

  6. #466
    Join Date
    May 2006
    Location
    bloomington, in
    Beans
    35
    Distro
    Kubuntu 6.06

    Re: HOWTO: Kernel Compilation for Newbies

    I am using dapper and was thinking to try 2.6.17 for my laptops overheating, I get dismall C3/C4 state and mostly stay in C2.

    two questions here:

    https://launchpad.net/distros/ubuntu....15/+bug/30557
    some reccomend here changing
    CONFIG_HZ_1000 TO 25O
    where and how can this be done?

    when I dpkg compiled binaries, will this update grub menue too? or menu.lst needs manual editing?
    will adept keep notifing and managing new updates as they are released? when booted from new kernel? when booted from old kernel?

  7. #467
    Join Date
    Dec 2005
    Beans
    764
    Distro
    Ubuntu 6.06

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by gesho View Post
    CONFIG_HZ_1000 TO 25O
    where and how can this be done?
    Unfortunetly am not in my LINUX box right now, but the setting is somewhere at the begining when U lunch 'make xconfig' or 'make menuconfig'
    Will give U a more detailed advice once I get to my linux box.

    when I dpkg compiled binaries, will this update grub menue too? or menu.lst needs manual editing?
    It will auto update grub.
    will adept keep notifing and managing new updates as they are released? when booted from new kernel? when booted from old kernel?
    I see your a KDE junkie
    Yes, adept will still be notifiying U about new updates.
    Kubuntu 15.10
    Intel Core i5, 8GB RAM, Amd Radeon 7870XT@fglrx
    http://folding.extremeoverclocking.c...shrack&t=37766

  8. #468
    Join Date
    May 2006
    Location
    bloomington, in
    Beans
    35
    Distro
    Kubuntu 6.06

    Re: HOWTO: Kernel Compilation for Newbies

    ashrack
    Unfortunetly am not in my LINUX box right now, but the setting is somewhere at the begining when U lunch 'make xconfig' or 'make menuconfig'
    Will give U a more detailed advice once I get to my linux box.
    thank you, that would be helpful.

    It will auto update grub.
    I see your a KDE junkie
    Yes, adept will still be notifiying U about new updates.
    right, all clear.

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

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by rold50 View Post
    It's refering to kernel version 2.4 something but I don't want to downgrade to 2.4..

    actually I've realized that it's even impossible to downgrade the kernel to 2.4 with ubuntu (?) from reading the forums.

    I have already fixed the Config.in to Kconfig conversion.

    The Problem I have now is:

    I have PCMCIA video grabber card.

    The drivers written for it works for the 2.4 kernels.

    I tried installing the drivers for the current kernel version but I get errors.

    The problem lies in some of the function/member operator in the header files in 2.4 kernels is not in the latest kernel anymore.

    For example in the pcmcia/ds.h There is a struct called dev_link_t, which had a member called release. In the current kernel, the release member has been omitted.

    Do you think it will work fine if I just grab the old ds.h from kernel 2.4 and then building the kernel from that?
    AFAIK porting the drivers from a kernel version to another should be a big amount of work (which btw only kernel hackers could do).

    I have no idea of how to help you. Maybe you could contact via email the author of the driver and ask him whether a he released a version of the driver which compiles on modern kernels.

  10. #470
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    Re: HOWTO: Kernel Compilation for Newbies

    Quote Originally Posted by gesho View Post
    some reccomend here changing
    CONFIG_HZ_1000 TO 25O
    where and how can this be done?
    cd /usr/src/linux (or the path to your kernel source)

    sudo make menuconfig

    get to "Processor type and features"

    and look for "Timer frequency"

    There you can set it to 250

Page 47 of 48 FirstFirst ... 3745464748 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
  •