[Kindle Fire Android Development] nkhambal:
tun.ko

Hi,

Is this ROM built with VPN support? I see tun.ko being loaded when I checked with "lsmod" from shell. BTW, not sure if this came with ROM or was added when I installed OpenVPNConnect from market. So pls correct me here. Just to be sure, I unloaded and reloaded the tun.ko module with insmod but still my Juniper Pulse VPN wouldn't connect. The log says something like can not create interface.

Does anyone have a compiled tun.ko module for this kernel? I am running the latest build from 20130115.

Thanks,

---------- Post added at 08:46 PM ---------- Previous post was at 08:13 PM ----------

See these errors with "strings tun.ko" command

u0_a40@android:/ $ su

u0_a40@android:/ # cd /system/lib/modules

u0_a40@android:/system/lib/modules #

u0_a40@android:/system/lib/modules #

u0_a40@android:/system/lib/modules # strings tun.ko alias=devname:net/tun

alias=char-major-10-200

license=GPL

author=(C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> description=Universal TUN/TAP device driver

srcversion=5540E1D9FE059764C0584D5

depends=

vermagic=3.0.58+ SMP preempt mod_unload modversions ARMv7 tun_get_socket 0x%x /u01/dev/android/sgt7/cm10.1-linaro/kernel/amazon/otter-common/include/linux/netdevice.h

<6>tun: netif_stop_queue() cannot be called before register_netdev()

<3>RTNL: assertion failed at %s (%d)

/u01/dev/android/sgt7/cm10.1-linaro/kernel/amazon/otter-common/drivers/net/tun.c

<3>tun: unexpected GSO type: 0x%x, gso_size %d, hdr_len %d

tun:

tun%d

tap%d

<3>tun: Failed to create tun sysfs files

<6>tun: %s, %s

Universal TUN/TAP device driver

<6>tun: %s

(C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

<3>tun: Can't register link_ops

<3>tun: Can't register misc device %d

net/tun

tun_flags

owner

group

module_layout

register_netdevice

LIkmalloc_caches

__kmalloc

sock_init_data

__copy_from_user

9sk_filter

1_raw_spin_unlock

g__copy_to_user

in_egroup_p

yget_random_bytes

qremove_wait_queue

rtnl_lock

no_llseek

Snetif_carrier_on

:*_test_and_clear_bit

netif_carrier_off

sock_update_classid

sock_alloc_send_pskb

memcpy_fromiovecend

jsk_detach_filter

|skb_partial_csum_set

Z,<sprintf

A__init_waitqueue_head

default_wake_function

__f_setown

misc_register

__memzero

skb_queue_purge

ZNu_memset

Enetif_rx_ni

cdev_set_mac_address

sk_alloc

'printk

ethtool_op_get_link

free_netdev

memcpy_toiovecend

fasync_helper

warn_slowpath_null

crc32_le

skb_copy_datagram_const_iovec

sk_free

sk_attach_filter

rtnl_link_unregister

device_create_file

/yY@print_hex_dump

skb_queue_tail

capable

?local_bh_disable

__wake_up_sync_key

kmem_cache_alloc

__put_user_4

schedule

*ckfree_skb

do_sync_read

-kdump_stack

local_bh_enable

alloc_netdev_mqs

eth_type_trans

ether_setup

__dev_get_by_name

omap_bus_post

_raw_spin_lock

__per_cpu_offset

bitrev32

7unregister_netdevice_queue

,Tr__wake_up

eth_validate_addr

?add_wait_queue

kfree

do_sync_write

rtnl_link_register

kill_fasync

skb_dequeue

kg_set_bit

__netif_schedule

_test_and_set_bit

skb_copy_datagram_from_iovec

'netdev_update_features

rtnl_is_locked

I_clear_bit

8+skb_put

,v[eth_mac_addr

outer_cache

%/}misc_deregister

rnrtnl_unlock

strcpy

GCC: (GNU) 4.7

GCC: (GNU) 4.7

aeabi

.symtab

.strtab

.shstrtab

.rel.text

.rel.init.text

.note.gnu.build-id

.rel__ksymtab_gpl

.rel__kcrctab_gpl

.rel.rodata

.modinfo

__ksymtab_strings

.rodata.str1.4

__versions

.rel.data

.rel.data..read_mostly

.rel.gnu.linkonce.this_module

.bss

.comment

.ARM.attributes

tun_net_mclist

tun_net_change_mtu

tun_net_fix_features

tun_setup

.LANCHOR0

tun_free_netdev

tun_validate

tun_get_settings

tun_get_msglevel

tun_set_msglevel

tun_net_open

tun_chr_close

tun_chr_open

tun_sock_destruct

tun_show_group

.LC0

tun_show_owner

tun_show_flags

.LC1

tun_net_close

tun_sendmsg

tun_chr_aio_write

tun_net_uninit

tun_net_xmit

tun_chr_poll

tun_recvmsg

tun_chr_aio_read

tun_sock_write_space

tun_get_drvinfo

tun_chr_ioctl

tun_chr_fasync

.LANCHOR2

strcpy

rtnl_unlock

misc_deregister

outer_cache

eth_mac_addr

skb_put

_clear_bit

rtnl_is_locked

netdev_update_features

skb_copy_datagram_from_iovec

__this_module

_test_and_set_bit

__netif_schedule

_set_bit

skb_dequeue

kill_fasync

rtnl_link_register

cleanup_module

do_sync_write

kfree

add_wait_queue

eth_validate_addr

__wake_up

unregister_netdevice_queue

bitrev32

__per_cpu_offset

_raw_spin_lock

omap_bus_post

__dev_get_by_name

ether_setup

init_module

eth_type_trans

local_bh_enable

alloc_netdev_mqs

dump_stack

do_sync_read

kfree_skb

schedule

tun_get_socket

__put_user_4

kmem_cache_alloc

__wake_up_sync_key

local_bh_disable

capable

skb_queue_tail

print_hex_dump

device_create_file

rtnl_link_unregister

__crc_tun_get_socket

sk_attach_filter

sk_free

skb_copy_datagram_const_iovec

crc32_le

warn_slowpath_null

fasync_helper

memcpy_toiovecend

free_netdev

printk

ethtool_op_get_link

sk_alloc

dev_set_mac_address

netif_rx_ni

memset

skb_queue_purge

__memzero

__f_setown

misc_register

default_wake_function

__init_waitqueue_head

sprintf

skb_partial_csum_set

sk_detach_filter

memcpy_fromiovecend

sock_alloc_send_pskb

sock_update_classid

netif_carrier_off

_test_and_clear_bit

netif_carrier_on

no_llseek

rtnl_lock

remove_wait_queue

get_random_bytes

in_egroup_p

__copy_to_user

_raw_spin_unlock

sk_filter

__copy_from_user

sock_init_data

__kmalloc

kmalloc_caches

register_netdevice

u0_a40@android:/system/lib/modules #