SS 5.4 external modules not working

Discussion in 'ChevyNo1' started by chris79, Jun 1, 2011.

  1. chris79
    Online

    chris79 Member

    Joined:
    Jun 25, 2010
    Messages:
    98
    Likes Received:
    5
    Trophy Points:
    8
    I still get FC of VPN app even after new download of program. Links2SD says ext2 module can't be loaded. What am I missing?

    Sent from my Droid using DroidForums
  2. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    What do you get when you load it manually? From terminal:

    load_module ext2

    then:

    lsmod
  3. rck76
    Offline

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    48
    export PATH=/data/local/bin:$PATH
    $ export PATH=/data/local/bin:$PATH
    $su
    #lsmod
    tiwlan_drv 660189 0 - Live 0xbf2af000
    ntfs 202769 0 - Live 0xbf27b000
    nfs 270383 0 - Live 0xbf223000
    lockd 61867 1 nfs, Live 0xbf209000
    nfs_acl 2201 1 nfs, Live 0xbf203000
    auth_rpcgss 33135 1 nfs, Live 0xbf1f3000
    sunrpc 173364 5 nfs,lockd,nfs_acl,auth_rpcgss, Live 0xbf1b5000
    cifs 220875 0 - Live 0xbf11c000
    ext4 203221 0 - Live 0xbf0dc000
    jbd2 48896 1 ext4, Live 0xbf0c8000
    ext3 100453 1 - Live 0xbf065000
    jbd 42230 1 ext3, Live 0xbf052000
    ext2 49111 0 - Live 0xbf01b000
    mbcache 5557 3 ext4,ext3,ext2, Live 0xbf014000
    #

    Not sure if you got to read my post last night, with all the posting going on but I was having problems with app2sd myself, almost every app would fail to move on the first try.

    Sent from my Droid using DroidForums
  4. chris79
    Online

    chris79 Member

    Joined:
    Jun 25, 2010
    Messages:
    98
    Likes Received:
    5
    Trophy Points:
    8
    It loads and unloads fine. lsmod shows its working, not sure why link2sd says Mount script cannot be created. The VPN Connections app instantly crashes when trying to connect. I have both options checked in thescript. I am currently using 900mhz kernel low voltage. Kernel change made no difference. I may have to try going back to the Kernels from the original 5.3 rom, the last two sets dont work with VPN.
  5. rafiki1
    Offline

    rafiki1 New Member

    Joined:
    Apr 15, 2011
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    0
    I'm having the same issue. I have 2 partitions and links2sd wont recognize either.
  6. rck76
    Offline

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    48
    Bump

    Sent from my Droid using DroidForums
  7. MANATARMS
    Offline

    MANATARMS New Member

    Joined:
    May 22, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    Even though the modules are loading fine, the devices don't seem to be getting created in /dev the way they are supposed to.

    Here's an experiment i tried using Root Explorer:

    Try creating a folder in /dev in 5.3 or 5.4. The folder is created and immediately disappears. This doesn't happen in 5.2. I think this may also be happening when the kernel is creating a device in /dev. Hence, the "device" doesn't work.

    In the case of VPN, /dev/net/tun is not there and the app crashes.
  8. rck76
    Offline

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    48
    So is this a rom or kernel issue?

    Sent from my Droid using DroidForums
  9. msg04
    Offline

    msg04 New Member

    Joined:
    Mar 16, 2010
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    I've been trying to run this on LGB 1.92 using chevys latest kernel in link2sd and no luck. I even tried doing in terminal emulator

    insmod /system/lib/modules/ext2.ko

    I get this in return

    insmod: init_module '/system/lib/modules/ext2.ko' failed (No such file or directory)

    i even checked in the modules folder and i can clearly see ext2.ko. Not sure what gives
  10. rck76
    Offline

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    48
    Yeah,it must be a kernel issue then, try one of his older versions

    Sent from my Droid using DroidForums
  11. MANATARMS
    Offline

    MANATARMS New Member

    Joined:
    May 22, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    Try:

    su

    modprobe ext2

    lsmod
  12. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    I have a feeling I know what the issue is - and why it's not an issue (or SHOULD not be) in my ROM. ext2 needs mbcache - which means you must insmod mbcache first! I take care of these dependencies in my ROM, so:

    insmod /system/lib/modules/mbcache.ko
    insmod /system/lib/modules/ext2.ko
  13. msg04
    Offline

    msg04 New Member

    Joined:
    Mar 16, 2010
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    So i made the switch last night to SSv5.4 and tried running link2sd with ext2, but still no dice.
  14. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    OK - for anyone having this problem, try this and get back to me (enter in terminal or adb shell):

    sysrw
    rm /system/bin/mkdir

    Now - run your stuff again
  15. rck76
    Offline

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    48
    Well, I found 3 apps I didn't need from the market and moved them to the SD card without any issues. Now I just need to uninstall them, lol. Thanks Chevy.

    Sent from my Droid using DroidForums
  16. msg04
    Offline

    msg04 New Member

    Joined:
    Mar 16, 2010
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    0
    works! link2sd now lets me link apps to ext2...thanks Chevy! appreciate you finding a fix for this!
  17. meishkov
    Offline

    meishkov New Member

    Joined:
    Feb 12, 2010
    Messages:
    957
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Sterling Heights, MI
    I'm on 5.4 and can't get it to work. I have a 1024mb ext3 partition on the SD that I made in minitool partition wizard. I'm on prime's deprimed kernel at the moment. Is there a script or something that I need?
  18. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    Manual steps are in post #14 ...

    I JUST rolled out a patch for this though, which should get picked up next time you open Tools
  19. rck76
    Offline

    rck76 DF Super Moderator Premium Member

    Joined:
    May 7, 2011
    Messages:
    6,841
    Likes Received:
    38
    Trophy Points:
    48
    Will this stick if I change to another kernel or would I have to reflash the patch?

    Sent from my Droid using DroidForums
  20. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    It will stick, as the fix is not in the kernel but in the ROM ...
Search tags for this page
android insmod ext2.ko failed
,
download ext2.ko for android
,
ext2.ko not found
,

init module failed (no such file or directory)

,
insert module failed (no such file or directory)
,
insmod /system/lib/modules/ext2.ko not found
,

insmod init module failed (no such file or directory)

,
insmod init module failed no such file
,

insmod init module failed no such file or directory

,
ismod not found on terminal emulator
,
no such or file directory ext2.ko
,
what is lsmod tiwlan drv