Find the answer to your Linux question:
Results 1 to 5 of 5
alright heres the downlow: i am really interested in the linux kernel, and modules involved my questions: what are the default extensions for module drivers? is it .ko? where are ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Location
    la porte
    Posts
    5

    Modules, Modules, Modules...


    alright heres the downlow:

    i am really interested in the linux kernel, and modules involved

    my questions:
    what are the default extensions for module drivers? is it .ko? where are the drivers located?

    when you compile a module, how do you tell the kernel to use it for a device?

  2. #2
    Linux User
    Join Date
    Oct 2004
    Location
    Serbia&Montenegro
    Posts
    281
    Yes the extension is .ko. They are located in /lib/modules/2.4.29/kernel/drivers/. Change 2.4.29 to kernel that you are using.
    Linux registered user #358842
    Human knowledge belongs to the world.

  3. #3
    Linux Newbie
    Join Date
    Jan 2005
    Posts
    146
    So I have a question too about these modules. What compiles them? and why modsprobe won't work with my *.ko modules but work with *.ko.gz modules?

    Most of my modules are named *.ko.gz. REcently when I had to replace my computer and swapped hardries, ppp* and slhc modules were renamed *.ko and don't work disabling my internet connection on dial-up.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    A compiler compiles them (usually gcc) when you build (actually. compile) the kernel and modules.
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  6. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    15
    Quote Originally Posted by Dalani
    So I have a question too about these modules. What compiles them? and why modsprobe won't work with my *.ko modules but work with *.ko.gz modules?

    Most of my modules are named *.ko.gz. REcently when I had to replace my computer and swapped hardries, ppp* and slhc modules were renamed *.ko and don't work disabling my internet connection on dial-up.
    When you modprobe a module you don't right the .ko or the .o
    And it's no use to modprobe everything in each everyday session

Posting Permissions

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