Professional Web Applications Themes

compiling kernel with new device driver - Linux Setup, Configuration & Administration

Hi I really appriciate any help. I wrote a new ATM device driver as a loadable module, and I want to compile my KERNEL (2.4.1) with the driver. I want the module to be part of the LINUX KERNEL and not to insert it after the LINUX is running (with the insmod() command). My question is: What should I do in order to enable compilation of my ATM device driver as one of the ATM device drivers of Linux. As I understood, I need to change the drivers/atm/config.in and the makefile in the same directory (I have my own makefile, ...

  1. #1

    Default compiling kernel with new device driver

    Hi
    I really appriciate any help.
    I wrote a new ATM device driver as a loadable module, and I want to
    compile my KERNEL (2.4.1) with the driver.
    I want the module to be part of the LINUX KERNEL and not to insert it
    after the LINUX is running (with the insmod() command).
    My question is:
    What should I do in order to enable compilation of my ATM device
    driver as one of the ATM device drivers of Linux.

    As I understood, I need to change the drivers/atm/config.in and the
    makefile in the same directory (I have my own makefile, so maybe I can
    just call it?)
    Thank you very much
    Hagit Guy
    Hagit Guest

  2. #2

    Default Re: compiling kernel with new device driver


    "Hagit" <com> wrote in message
    news:google.com... 

    First, get a more modern kernel. 2.4.1 is way the heck out of date now, you
    should be playing with 2.4.22 or so.

    Second, if the ATM drivers are available as a kernel patch, you'll need to
    incorporate it into the kernel source, re-configure and recompile, and
    install the new kernel.

    Last, why isn't it loading at boot time from an entry in /etc/modules.conf
    associated with the specific network device? Or haven't you been introduced
    to that set of tools?


    Nico Guest

  3. #3

    Default Re: compiling kernel with new device driver

    "Nico Kadel-Garcia" <net> wrote in message news:<com>... 
    >
    > First, get a more modern kernel. 2.4.1 is way the heck out of date now, you
    > should be playing with 2.4.22 or so.
    >
    > Second, if the ATM drivers are available as a kernel patch, you'll need to
    > incorporate it into the kernel source, re-configure and recompile, and
    > install the new kernel.
    >
    > Last, why isn't it loading at boot time from an entry in /etc/modules.conf
    > associated with the specific network device? Or haven't you been introduced
    > to that set of tools?[/ref]

    I dont mind to load it at boot time from enrty /etc/modules.conf, but
    I dont have that entry on the kernel. Do you know why? should I
    recompile the kernel with any specific option? furthermore, I am not
    sure that I know exactly what should I do in order to make it work
    Thanks
    Hagit
    Hagit Guest

Similar Threads

  1. Help compiling Device::SerialPort
    By Stan Brown in forum PERL Modules
    Replies: 0
    Last Post: May 9th, 01:50 PM
  2. Compiling my first kernel...
    By Jay in forum Linux Setup, Configuration & Administration
    Replies: 6
    Last Post: October 23rd, 04:29 AM
  3. kernel doesn't know about the loop device
    By John Smith in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: August 17th, 06:16 AM
  4. root device name w/kernel-image
    By Drew Scott Daniels in forum Debian
    Replies: 3
    Last Post: July 24th, 09:10 PM
  5. compiling the kernel with GCC 3.3
    By Raffaele Sandrini in forum Debian
    Replies: 4
    Last Post: July 7th, 05:10 AM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139