Results 1 to 12 of 12

Thread: Building kernel modules

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi again!
    I've managed to build kernel modules (reiserfs ). Drop me a note here if you're interested.

  2. #2
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336
    Sounds pretty good, it would allow me to use all my hdds from my outdated freenas server!
    How can I get the module and a short how to?

    Newbiefan

  3. #3
    Well, if you manage to build the NTFS-3G modules, then would be a damn big THANK YOU!

    Also, would be nice if you can write a guide for newbies about compiling modules.

  4. #4
    Quote Originally Posted by Arise View Post
    Well, if you manage to build the NTFS-3G modules, then would be a damn big THANK YOU!
    NTFS-3G needs FUSE and FUSE needs atleast a 2.4.21 kernel (instead of 2.4.20). Oleg already tried to port it, but didn't succeed...

  5. #5
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    At now OpentWRT kamikaze 7.09 based on 2.4.34 linux kernel only. In future, Oleg also has plan to migrate to 2.4.36 kernel, but this task is really hard.

  6. #6
    I need to compile a kernel module for a 3G-modem called Option Icon 225. I've found the instructions for Ubuntu, http://www.pharscape.org/content/view/66/53/, but how would you do it on an Asus running Oleg or the Koppel image (native build)?

    I've installed the optware devel package and the build root, but all the guides I've found presumes that there is a configure script. This is however not the case here and another difference may be that I actually want to build a kernel module. Can anyone give me a clue on how to proceed?

  7. #7
    Nothing new on this ?

  8. #8
    Quote Originally Posted by Iceman71 View Post
    I need to compile a kernel module for a 3G-modem called Option Icon 225.
    Most kernel modules need to build inside the kernel tree (i.e. the sources need to be somewhere in the kernel-source directory, and you need to select the desired modules with menu-config)
    I don't know if that's possible natively... Only way I know is cross-compile...
    You can use this Tutorial (Haven't tried that particular tutorial myself, but i guess it should work.

    However, if I look at the makefile of the driver, it can also be build outside the kernel tree. (i.e unzip the sources somewhere, cd to that location, make && make install)
    This method can only be used natively, cause it's using uname to get the kernel-version.

    The only catch I can see so far, is that the makefile expects to find the kernel-sources in /lib/modules/{kernelversion}/build and ofcourse that doesn't exist. Also that location is read-only so you can't copy the sources there.
    So you need to edit the makefile, so it seeks the kernelsources in another location and place the sources there. (f.e. change /lib/modules/.... in /opt/lib/modules/.....)

    In this case I'd first try the second option, cause I have no experience in adding thirdparty drivers to a kernel-source..

Similar Threads

  1. Oleg firmware and PPTP not working
    By madsun in forum WL-500gP Q&A
    Replies: 3
    Last Post: 27-03-2007, 08:29
  2. usb stick not present
    By fennec in forum WL-HDD Q&A
    Replies: 1
    Last Post: 10-03-2007, 21:57
  3. USBCMD_HCRESET timed out!
    By BluTuTh in forum WL-500gP Q&A
    Replies: 0
    Last Post: 17-12-2006, 09:22
  4. wl500g constantly resets connections
    By uri3l in forum WL-500g Q&A
    Replies: 0
    Last Post: 22-06-2006, 09:56

Posting Permissions

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