[Galaxy Tab 3 Q&A, Help & Troubleshooting] r2d23cpo:
I have a P5210 - TAB3 10 Wifi.

I been working this issue for a few days. But since yesterday [MENTION=5864662]moonbutt74[/MENTION] has been helping me. Let me rephrase, I been helping him as a tester. Hi compiled the needed lib's.ko and implemented on a boot.img. Tab do not show it working but I found that in fact the mount operation occurred. We can test this with adb shell. My best guess is that SElinux is preventing us to access the mounted directory. Just my thought. moonbutt74 has ask me to post in here my findings.

I has setup an Ubuntu Machine IP 192.168.3.11 with the Public folder as Share without passwords. So its address is //192.168.3.11/Public.

We are trying to mount the Public folder in the tablet as /mnt/cifs

we are trying to overcome SElinux by setting Selinux Permissive.

Here is the adb communication

root@santos10wifi:/ # setenforce Permissive
root@santos10wifi:/ # getenforce
Permissive
root@santos10wifi:/ # busybox mount [COLOR="Red"]//192.168.3.11/Public[/COLOR] [COLOR="Blue"]/mnt/cifs[/COLOR] -t cifs -o user=Guess
root@santos10wifi:/ # ls /mnt/cifs
[COLOR="Lime"]openwrt-wrt54gs_v4-squashfs.trx
test[/COLOR]
root@santos10wifi:/ #

openwrt-wrt54gs_v4-squashfs.trx and test are files inside Public Folder in Ubuntu. This prove that the mount has ocured. But Tablet does not show it.

lsmod show the associated libraries attached

root@santos10wifi:/ # lsmod
dhd 592899 0 - Live 0x00000000
atomisp 650467 0 - Live 0x00000000
db8131m 18243 1 - Live 0x00000000
s5k5ccgx 58659 1 - Live 0x00000000
videobuf_vmalloc 4381 1 atomisp, Live 0x00000000
videobuf_core 17050 2 atomisp,videobuf_vmalloc, Live 0x00000000
[COLOR="Purple"]ntfs 238266 0 - Live 0x00000000[/COLOR]
[COLOR="Purple"]md4 2896 0 - Live 0x00000000
cifs 265952 2 - Live 0x00000000[/COLOR]
hdmi_audio 18103 0 - Live 0x00000000 (C)
pvrsgx 319199 11 - Live 0x00000000 (C)
pnwdisp 494300 59 hdmi_audio,pvrsgx, Live 0x00000000 (C)

mount command shows it is mounted

root@santos10wifi:/ # mount
...
//192.168.3.11/Public /mnt/cifs cifs rw,relatime,sec=ntlm,unc=\\192.168.3.11\Public,username=Guess,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.3.11,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1 0 0

dmesg no debug

<6>[ 6440.177065] C0 [ watchdog] !@Sync 214
<7>[ 6443.645770] C3 [ busybox] SELinux: initialized (dev cifs, type cifs), not configured for labeling
<6>[ 6443.849287] C3 [ kworker/3:1] k2dh_work_func: x:-2, y:-218, z:964

here is a dmesg with debug enabled "echo 7 > /proc/fs/cifs/cifsFYI "

<6>[ 8095.970164] C2 [ healthd] healthd: battery l=70 v=4005 t=31.4 h=2 st=3 c=0 o=4 ca=357 ct=1 ps=0 chg=u
<7>[ 8103.250228] C2 [ busybox] fs/cifs/cifsfs.c: Devname: //192.168.3.11/Public flags: 32768
<7>[ 8103.250310] C2 [ busybox] fs/cifs/connect.c: Username: Guess
<7>[ 8103.250332] C2 [ busybox] fs/cifs/connect.c: file mode: 0x1ed dir mode: 0x1ed
<7>[ 8103.251610] C2 [ busybox] fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 48 with uid: 0
<7>[ 8103.251632] C2 [ busybox] fs/cifs/connect.c: UNC: \\192.168.3.11\Public ip: 192.168.3.11
<7>[ 8103.251653] C2 [ busybox] fs/cifs/netmisc.c: address conversion returned 1 for 192.168.3.11
<7>[ 8103.251719] C2 [ busybox] fs/cifs/connect.c: Socket created
<7>[ 8103.251736] C2 [ busybox] fs/cifs/connect.c: sndbuf 262144 rcvbuf 1048576 rcvtimeo 0x2bc
<7>[ 8103.263040] C3 [ busybox] fs/cifs/connect.c: CIFS VFS: in cifs_get_smb_ses as Xid: 49 with uid: 0
<7>[ 8103.263065] C3 [ busybox] fs/cifs/connect.c: Existing smb sess not found
<7>[ 8103.263113] C1 [ cifsd] fs/cifs/connect.c: Demultiplex PID: 5691
<7>[ 8103.263178] C3 [ busybox] fs/cifs/cifssmb.c: secFlags 0x7
<7>[ 8103.263200] C3 [ busybox] fs/cifs/transport.c: For smb_command 114
<7>[ 8103.263216] C3 [ busybox] fs/cifs/transport.c: Sending smb: total_len 82
<7>[ 8103.267662] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x61
<7>[ 8103.267795] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=114 mid=1 state=4
<7>[ 8103.267821] C2 [ busybox] fs/cifs/cifssmb.c: Dialect: 2
<7>[ 8103.267836] C2 [ busybox] fs/cifs/cifssmb.c: Max buf = 16644
<7>[ 8103.267851] C2 [ busybox] fs/cifs/cifssmb.c: negprot rc 0
<7>[ 8103.267868] C2 [ busybox] fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0x80f3fd TimeAdjust: 14400
<7>[ 8103.267884] C2 [ busybox] fs/cifs/sess.c: sess setup type 1
<7>[ 8103.267990] C2 [ busybox] fs/cifs/transport.c: For smb_command 115
<7>[ 8103.268006] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 222
<7>[ 8103.270610] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x60
<7>[ 8103.270692] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=115 mid=2 state=4
<7>[ 8103.270718] C2 [ busybox] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
<7>[ 8103.270736] C2 [ busybox] fs/cifs/sess.c: Guest login
<7>[ 8103.270749] C2 [ busybox] fs/cifs/sess.c: UID = 100
<7>[ 8103.270762] C2 [ busybox] fs/cifs/sess.c: bleft 54
<7>[ 8103.270781] C2 [ busybox] fs/cifs/sess.c: serverOS=Unix
<7>[ 8103.270798] C2 [ busybox] fs/cifs/sess.c: serverNOS=Samba 3.6.6
<7>[ 8103.270815] C2 [ busybox] fs/cifs/sess.c: serverDomain=WORKGROUP
<7>[ 8103.270830] C2 [ busybox] fs/cifs/sess.c: ssetup freeing small buf dbdf0540
<7>[ 8103.270848] C2 [ busybox] fs/cifs/connect.c: CIFS Session Established successfully
<7>[ 8103.270866] C2 [ busybox] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_smb_ses (xid = 49) rc = 0
<7>[ 8103.270887] C2 [ busybox] fs/cifs/connect.c: CIFS VFS: in cifs_get_tcon as Xid: 50 with uid: 0
<7>[ 8103.270911] C2 [ busybox] fs/cifs/transport.c: For smb_command 117
<7>[ 8103.270926] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 98
<7>[ 8103.532984] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x3e
<7>[ 8103.533088] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=117 mid=3 state=4
<7>[ 8103.533122] C2 [ busybox] fs/cifs/connect.c: disk share connection
<7>[ 8103.533146] C2 [ busybox] fs/cifs/connect.c: nativeFileSystem=NTFS
<7>[ 8103.533160] C2 [ busybox] fs/cifs/connect.c: Tcon flags: 0x1
<7>[ 8103.533177] C2 [ busybox] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_tcon (xid = 50) rc = 0
<7>[ 8103.533192] C2 [ busybox] fs/cifs/connect.c: CIFS Tcon rc = 0
<7>[ 8103.533207] C2 [ busybox] fs/cifs/cifssmb.c: In QFSUnixInfo
<7>[ 8103.533230] C2 [ busybox] fs/cifs/transport.c: For smb_command 50
<7>[ 8103.533246] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 72
<7>[ 8103.537893] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x44
<7>[ 8103.537985] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=4 state=4
<7>[ 8103.538022] C2 [ busybox] fs/cifs/connect.c: unix caps which server supports 379
<7>[ 8103.538038] C2 [ busybox] fs/cifs/connect.c: negotiated posix acl support
<7>[ 8103.538051] C2 [ busybox] fs/cifs/connect.c: negotiate posix pathnames
<7>[ 8103.538065] C2 [ busybox] fs/cifs/connect.c: Negotiate caps 0x15b
<7>[ 8103.538078] C2 [ busybox] fs/cifs/connect.c: FCNTL cap
<7>[ 8103.538090] C2 [ busybox] fs/cifs/connect.c: EXTATTR cap
<7>[ 8103.538102] C2 [ busybox] fs/cifs/connect.c: POSIX path cap
<7>[ 8103.538114] C2 [ busybox] fs/cifs/connect.c: POSIX ACL cap
<7>[ 8103.538127] C2 [ busybox] fs/cifs/connect.c: very large read cap
<7>[ 8103.538139] C2 [ busybox] fs/cifs/connect.c: transport encryption cap
<7>[ 8103.538153] C2 [ busybox] fs/cifs/cifssmb.c: In SETFSUnixInfo
<7>[ 8103.538175] C2 [ busybox] fs/cifs/transport.c: For smb_command 50
<7>[ 8103.538191] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 86
<7>[ 8103.540383] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x37
<7>[ 8103.540469] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=5 state=4
<7>[ 8103.540504] C2 [ busybox] fs/cifs/cifssmb.c: In QFSDeviceInfo
<7>[ 8103.540527] C2 [ busybox] fs/cifs/transport.c: For smb_command 50
<7>[ 8103.540543] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 72
<7>[ 8103.542631] C2 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x40
<7>[ 8103.542778] C3 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=6 state=4
<7>[ 8103.542807] C3 [ busybox] fs/cifs/cifssmb.c: In QFSAttributeInfo
<7>[ 8103.542830] C3 [ busybox] fs/cifs/transport.c: For smb_command 50
<7>[ 8103.542846] C3 [ busybox] fs/cifs/transport.c: Sending smb: total_len 72
<7>[ 8103.545164] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x4c
<7>[ 8103.545273] C3 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=7 state=4
<7>[ 8103.545313] C3 [ busybox] fs/cifs/connect.c: build_unc_path_to_root: full_path=//192.168.3.11/Public
<7>[ 8103.545343] C3 [ busybox] fs/cifs/transport.c: For smb_command 117
<7>[ 8103.545359] C3 [ busybox] fs/cifs/transport.c: Sending smb: total_len 94
<7>[ 8103.547703] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x38
<7>[ 8103.547791] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=117 mid=8 state=4
<7>[ 8103.547828] C2 [ busybox] fs/cifs/connect.c: CIFS Tcon rc = 0 ipc_tid = 2
<7>[ 8103.547846] C2 [ busybox] fs/cifs/cifssmb.c: In GetDFSRefer the path \192.168.3.11\Public
<7>[ 8103.547875] C2 [ busybox] fs/cifs/transport.c: For smb_command 50
<7>[ 8103.547890] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 116
<7>[ 8103.669635] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x23
<7>[ 8103.669690] C3 [ cifsd] fs/cifs/connect.c: invalid transact2 word count
<7>[ 8103.669744] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=9 state=4
<5>[ 8103.669778] C2 [ busybox] Status code returned 0xc0000225 NT_STATUS_NOT_FOUND
<7>[ 8103.669803] C2 [ busybox] fs/cifs/netmisc.c: Mapping smb error code 0xc0000225 to POSIX err -5
<7>[ 8103.669825] C2 [ busybox] fs/cifs/cifssmb.c: Send error in GetDFSRefer = -5
<7>[ 8103.669859] C2 [ busybox] fs/cifs/transport.c: For smb_command 50
<7>[ 8103.669874] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 78
<7>[ 8103.674116] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0x86
<7>[ 8103.674235] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=10 state=4
<7>[ 8103.674279] C2 [ busybox] fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 48) rc = 0
<7>[ 8103.674361] C2 [ busybox] fs/cifs/inode.c: CIFS VFS: in cifs_root_iget as Xid: 51 with uid: 0
<7>[ 8103.674376] C2 [ busybox] fs/cifs/inode.c: Getting info on
<7>[ 8103.674390] C2 [ busybox] fs/cifs/cifssmb.c: In QPathInfo (Unix) the path
<7>[ 8103.674417] C2 [ busybox] fs/cifs/transport.c: For smb_command 50
<7>[ 8103.674432] C2 [ busybox] fs/cifs/transport.c: Sending smb: total_len 78
<7>[ 8103.677197] C3 [ cifsd] fs/cifs/connect.c: RFC1002 header 0xa0
<7>[ 8103.677317] C2 [ busybox] fs/cifs/transport.c: cifs_sync_mid_result: cmd=50 mid=11 state=4
<7>[ 8103.677364] C2 [ busybox] fs/cifs/inode.c: looking for uniqueid=5537809
<7>[ 8103.677392] C2 [ busybox] fs/cifs/inode.c: cifs_revalidate_cache: revalidating inode 5537809
<7>[ 8103.677409] C2 [ busybox] fs/cifs/inode.c: cifs_revalidate_cache: inode 5537809 is new
<7>[ 8103.677427] C2 [ busybox] fs/cifs/inode.c: inode 0xc639a204 old_time=0 new_time=780393
<7>[ 8103.677460] C2 [ busybox] fs/cifs/cifsfs.c: Get root dentry for
<7>[ 8103.677476] C2 [ busybox] fs/cifs/cifsfs.c: dentry root is: c628ce80
<7>[ 8103.677508] C2 [ busybox] SELinux: initialized (dev cifs, type cifs), not configured for labeling

here is cifs debugdata file

Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.78
Features: dfs lanman posix spnego xattr acl
Active VFS Requests: 0
Servers:
1) Name: 192.168.3.11 Domain: WORKGROUP Uses: 1 OS: Unix
NOS: Samba 3.6.6	Capability: 0x80f3fd
SMB session status: 1	TCP status: 1
Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0 In Send: 0 In MaxReq Wait: 0
Shares:
1) \\192.168.3.11\Public Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x1002f
PathComponentMax: 255 Status: 0x1 type: DISK

MIDs:

Attached are the files