1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem insmoding a module

Discussion in 'Tomato Firmware' started by tylamb19, Jul 28, 2014.

  1. tylamb19

    tylamb19 Network Newbie Member

    Sorry if this is the wrong place for this thread to go, I am new to these forums! If this place is wrong, then maybe someone can move it.

    I have an E3000 with a modded version of TomatoUSB that can be found here (www.yanivhamo.com/tomato/tomato-K26USB-1.28.7453-Toastman-RT-MIPSR2-GPT-Ext.bin) and I need HFS+ support on an external USB HDD. I followed teddy_bear's instructions at (www.linksysinfo.org/index.php?threads/hfs-in-tomatousb.32762/) but I am stuck at this: "insmod: can't insert 'hfsplus.ko': unknown symbol in module, or unknown parameter." If I run dmesg -c, I get "hfsplus: Unknown symbol kmalloc_caches." Is there anything I can do to get HFS+ working?

    Thanks in advance.
  2. koitsu

    koitsu Network Guru Member

    The hfsplus.ko kernel module in question was built against a different kernel source than what was used to build the firmware you run. The "hfsplus" module may reference kernel functions that are for newer Linux kernels (e.g. 3.x) or possibly older Linux kernels. These two things must always be perfectly in sync for things to work. TomatoUSB runs and cannot be changed (has to do with use of binary wireless drivers (we can't do anything about this)).

    What this is going to require is that you try to build the kernel module yourself from source, which also requires you check out the TomatoUSB source code and get familiar with building a firmware. This is a highly technical process (because you will probably need to be working with kernel configuration files as well as C source code in many cases), so you'd best be prepared to put in long hours of work + understanding how it all works.

    Otherwise no, HFS+ support is not available at this time. Is there a particular reason you have to use that filesystem rather than something both Linux and OS X can understand, such as FAT32 (read/write) or NTFS (read only on OS X)?
  3. Mercjoe

    Mercjoe Network Guru Member

    Is there any reason that you can not move to a newer Toastman build? I am running Tomato Firmware v1.28.7505 MIPSR2Toastman-RT K26 USB and it has HFS+ integrated into it already.
  4. lancethepants

    lancethepants Network Guru Member

    Toastman integrated GPT support too from Yaniv Hamo. I think @Mercjoe is right, just update to Toastman's latest and you should have what you need.
  5. koitsu

    koitsu Network Guru Member

    Wasn't aware the later builds had HFS+ already. Yup, tertiary agreement from me -- upgrade and save yourself all that pain. :)

Share This Page