Jump to content

Tun / CIFS modules


Guest PaulOBrien

Recommended Posts

Guest theguv

Is CIFS some kind of samba mount thing? I'm willing to try it if you tell me what to do.

Edit: Ok, I think I managed to do something, doesn't seem to work though.

I placed both tun.ko and cifs.ko in /system/lib/modules then I tried doing insmod /system/lib/modules/tun.ko and cifs.ko.

Both resulted in file not found errors being shown in the console, but they produced some output in dmesg as well:

<4>[ 1770.471622] tun: disagrees about version of symbol rtnl_link_unregister
<4>[ 1770.471659] tun: Unknown symbol rtnl_link_unregister
<4>[ 1770.472491] tun: disagrees about version of symbol __netif_schedule
<4>[ 1770.472516] tun: Unknown symbol __netif_schedule
<4>[ 1770.473069] tun: disagrees about version of symbol skb_queue_purge
<4>[ 1770.473093] tun: Unknown symbol skb_queue_purge
<4>[ 1770.475464] tun: disagrees about version of symbol unregister_netdevice
<4>[ 1770.475490] tun: Unknown symbol unregister_netdevice
<4>[ 1770.475959] tun: disagrees about version of symbol sk_free
<4>[ 1770.475982] tun: Unknown symbol sk_free
<4>[ 1770.477026] tun: disagrees about version of symbol free_netdev
<4>[ 1770.477049] tun: Unknown symbol free_netdev
<4>[ 1770.477859] tun: disagrees about version of symbol kfree_skb
<4>[ 1770.477883] tun: Unknown symbol kfree_skb
<4>[ 1770.479792] tun: disagrees about version of symbol skb_queue_tail
<4>[ 1770.479823] tun: Unknown symbol skb_queue_tail
<4>[ 1770.481746] tun: disagrees about version of symbol __dev_get_by_name
<4>[ 1770.481772] tun: Unknown symbol __dev_get_by_name
<4>[ 1770.482640] tun: disagrees about version of symbol netdev_features_change
<4>[ 1770.482666] tun: Unknown symbol netdev_features_change
<4>[ 1770.483264] tun: disagrees about version of symbol dev_set_mac_address
<4>[ 1770.483290] tun: Unknown symbol dev_set_mac_address
<4>[ 1770.483922] tun: disagrees about version of symbol alloc_netdev_mq
<4>[ 1770.483946] tun: Unknown symbol alloc_netdev_mq
<4>[ 1770.484408] tun: disagrees about version of symbol sk_alloc
<4>[ 1770.484431] tun: Unknown symbol sk_alloc
<4>[ 1770.484973] tun: disagrees about version of symbol sock_init_data
<4>[ 1770.484998] tun: Unknown symbol sock_init_data
<4>[ 1770.485499] tun: disagrees about version of symbol dev_alloc_name
<4>[ 1770.485523] tun: Unknown symbol dev_alloc_name
<4>[ 1770.486000] tun: disagrees about version of symbol register_netdevice
<4>[ 1770.486025] tun: Unknown symbol register_netdevice
<4>[ 1770.487285] tun: disagrees about version of symbol ether_setup
<4>[ 1770.487308] tun: Unknown symbol ether_setup
<4>[ 1770.488581] tun: Unknown symbol outer_cache
<4>[ 1770.489090] tun: disagrees about version of symbol sock_alloc_send_pskb
<4>[ 1770.489116] tun: Unknown symbol sock_alloc_send_pskb
<4>[ 1770.489591] tun: disagrees about version of symbol skb_put
<4>[ 1770.489614] tun: Unknown symbol skb_put
<4>[ 1770.490145] tun: disagrees about version of symbol skb_copy_datagram_from_iovec
<4>[ 1770.490175] tun: Unknown symbol skb_copy_datagram_from_iovec
<4>[ 1770.490678] tun: disagrees about version of symbol eth_type_trans
<4>[ 1770.490702] tun: Unknown symbol eth_type_trans
<4>[ 1770.491620] tun: disagrees about version of symbol netif_rx_ni
<4>[ 1770.491644] tun: Unknown symbol netif_rx_ni
<4>[ 1770.492472] tun: disagrees about version of symbol skb_partial_csum_set
<4>[ 1770.492497] tun: Unknown symbol skb_partial_csum_set
<4>[ 1770.493072] tun: disagrees about version of symbol skb_dequeue
<4>[ 1770.493096] tun: Unknown symbol skb_dequeue
<4>[ 1770.494139] tun: disagrees about version of symbol skb_copy_datagram_const_iovec
<4>[ 1770.494165] tun: Unknown symbol skb_copy_datagram_const_iovec
<4>[ 1770.495035] tun: disagrees about version of symbol rtnl_link_register
<4>[ 1770.495060] tun: Unknown symbol rtnl_link_register
<4>[ 1770.495906] tun: disagrees about version of symbol eth_mac_addr
<4>[ 1770.495929] tun: Unknown symbol eth_mac_addr
<4>[ 1770.496426] tun: disagrees about version of symbol eth_validate_addr
<4>[ 1770.496450] tun: Unknown symbol eth_validate_addr
<4>[ 1801.205493] cifs: Unknown symbol slow_work_register_user
<4>[ 1801.212027] cifs: disagrees about version of symbol sock_release
<4>[ 1801.212050] cifs: Unknown symbol sock_release
<4>[ 1801.212919] cifs: disagrees about version of symbol sock_create_kern
<4>[ 1801.212946] cifs: Unknown symbol sock_create_kern
<4>[ 1801.213786] cifs: disagrees about version of symbol kernel_sock_shutdown
<4>[ 1801.213804] cifs: Unknown symbol kernel_sock_shutdown
<4>[ 1801.214234] cifs: disagrees about version of symbol kernel_recvmsg
<4>[ 1801.214248] cifs: Unknown symbol kernel_recvmsg
<4>[ 1801.219604] cifs: Unknown symbol slow_work_enqueue
<4>[ 1801.220548] cifs: disagrees about version of symbol kernel_sendmsg
<4>[ 1801.220563] cifs: Unknown symbol kernel_sendmsg[/codebox]

Edited by Paul
Link to comment
Share on other sites

  • 2 months later...
Guest Tommy Tamsen
I've just compiled these up and haven't had a chance to test them on a stock ROM yet (they work with my custom kernel obviously).

DOWNLOAD

Let me know! ;)

P

I've just tried cifs.ko like this:

/system/xbin/insmod /system/lib/modules/cifs.ko
insmod: can't insert '/system/lib/modules/cifs.ko': unknown symbol in module or invalid parameter

dmesg:
cifs: Unknown symbol slow_work_register_user
cifs: Unknown symbol slow_work_enqueue[/codebox]

I think you also need to compile slow-work.c as a module!

Hope you can help :P Keep up the good work!

Link to comment
Share on other sites

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.