Compiling kernel modules for F series

Here for general support for F series TVs, request and problem solve area.

User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Compiling kernel modules for F series

Post by juusso »

bugficks wrote:yes, says log :)
try w/o CONFIG_FAT_FS enabled in kernel config and make clean
You`re again right... :) Modules built.

@arris69
for T-MST12DEUC i saw 0111 modules as latest.
for T-FXPDEUC no idea, need some reports. Will try to decrypt latest available firmware and check rootfs now.

Anyway, denny made module, which insmoded skips check of module version, so we just need at least one set of modules for each firmware class.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Compiling kernel modules for F series

Post by juusso »

solevi, can you check? Haven`t known what modules version on your TV...so attaching 111. I usually use hex editor and change vermagic= string to wanted modules version :)
You do not have the required permissions to view the files attached to this post.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
levi
Posts: 24
Joined: Tue Oct 01, 2013 11:27 pm

Re: Compiling kernel modules for F series

Post by levi »

Thanks for efforts juuso!
My TV's modules version is 0115. I've hexedited the string as you suggested and seems that TV is accepting the modified version. However there are some more dependencies to be met:

Code: Select all

shell>dmesg | tail
mmcblk0p24: Meta: 6156KB     Data: 980KB
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
sunrpc mod ld
auth_rpcgss mod ld
exportfs mod ld
nfs_acl: Unknown symbol posix_acl_alloc (err 0)
nfs_acl: Unknown symbol posix_acl_init (err 0)
nfs: Unknown symbol nlmclnt_proc (err 0)
nfs: Unknown symbol nfsacl_decode (err 0)
nfs: Unknown symbol posix_acl_from_mode (err 0)
nfs: Unknown symbol posix_acl_from_xattr (err 0)
nfs: Unknown symbol nfsacl_encode (err 0)
nfs: Unknown symbol posix_acl_equiv_mode (err 0)
nfs: Unknown symbol posix_acl_to_xattr (err 0)
nfs: Unknown symbol nlmclnt_init (err 0)
nfs: Unknown symbol posix_acl_create_masq (err 0)
nfs: Unknown symbol posix_acl_clone (err 0)
nfs: Unknown symbol nlmclnt_done (err 0)
nfs_layout_nfsv41_files: Unknown symbol pnfs_register_layoutdriver (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_commit_clear_lock (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_init_deviceid_node (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_init_commit (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_commitdata_release (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_reset_read (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_reset_write (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_initiate_read (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_init_ds_session (err 0)
nfs_layout_nfsv41_files: Unknown symbol pnfs_set_layoutcommit (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_insert_deviceid_node (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_put_client (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_print_deviceid (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_commit_free (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_put_deviceid_node (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_initiate_write (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_retry_commit (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_generic_pg_test (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_find_get_deviceid (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_commit_release_pages (err 0)
nfs_layout_nfsv41_files: Unknown symbol pnfs_generic_pg_test (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs41_setup_sequence (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_proc_getdeviceinfo (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_commitdata_alloc (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs_initiate_commit (err 0)
nfs_layout_nfsv41_files: Unknown symbol put_lseg (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_set_ds_client (err 0)
nfs_layout_nfsv41_files: Unknown symbol nfs4_schedule_session_recovery (err 0)
nfs_layout_nfsv41_files: Unknown symbol pnfs_unregister_layoutdriver (err 0)
I've faced this dependency last time i've tried to compile by myself, and was not able to figure out what's missing for nfs_acl. I believe after loading nfs_acl the amount of Unknowns will reduce drastically.
Also i believe exportfs is required too (for nfsd, which in turn is not required for nfs client :-) ), but was missing in the archive You provided.
Thanks!
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Compiling kernel modules for F series

Post by juusso »

maybe leaving option v4.1 marked was a mistake... don't use nfsd &co modules (what is nfsd server on tv used for?)

exportfs.ko is needed for nfsd but not for nfs.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: Compiling kernel modules for F series

Post by bugficks »

except for nfsd modules dmesg seems fine to me. did you try mounting at all ? :)

about ACL symbols, try w/o CONFIG_FS_POSIX_ACL set

Code: Select all

cat .config | grep ACL
# CONFIG_PNACL is not set
# CONFIG_EXT4_FS_POSIX_ACL is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_NFS_V3_ACL is not set
like juuso i think nfsd isn't that important anyways
levi
Posts: 24
Joined: Tue Oct 01, 2013 11:27 pm

Re: Compiling kernel modules for F series

Post by levi »

bugficks wrote:except for nfsd modules dmesg seems fine to me. did you try mounting at all ? :)
like juuso i think nfsd isn't that important anyways
Hi bugficks,
The module was not loaded, I just did not pasted lsmod output.
bugficks wrote: about ACL symbols, try w/o CONFIG_FS_POSIX_ACL set
I've tried that when was compiling for myself. The module got imported OK, but TV goes in kernel panic as soon as i try to mount share (see my post, under the spoiler).
User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: Compiling kernel modules for F series

Post by bugficks »

uhm ? :)

Code: Select all

cat /.version
"X12 0134" KERNEL MODULE VERSION : "0110.1123, DTV, X12, release, DVB_ISDB_BRANCH"

Code: Select all

insmod net/sunrpc/sunrpc.ko
insmod net/sunrpc/auth_gss/auth_rpcgss.ko
insmod fs/lockd/lockd.ko
insmod fs/nfs/nfs.ko

lsmod
Module                  Size  Used by    Tainted: P
nfs                   242524  1
lockd                  54788  1 nfs
auth_rpcgss            29672  1 nfs
sunrpc                152444  7 nfs,lockd,auth_rpcgss

dmesg
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
sunrpc mod ld
auth_rpcgss mod ld
lockd mod ld
nfs mod ld

Code: Select all

mount -o port=2049,nolock,proto=tcp -t nfs 192.168.137.100:/home /mnt

mount | grep mnt
192.168.137.100:/home/ on /mnt type nfs (rw,noexec,relatime,vers=3,rsize=131072,wsize=131072,namlen=1020,hard,nolock,proto=tcp,port=65535,timeo=70,retrans=3,sec=sys,local_lock=all,addr=192.168.137.100)

cd /mnt
ls -la
drwxr-xr-x    5 root     0             4096 Feb  1  2010 .
drwxrwxrwx   26 root     0              707 Nov  8  2012 ..
drwxr-xr-x    8 1000     1000          4096 Nov 16  2013 freetz
drwxr-xr-x    2 107      65534         4096 Aug 14  2009 ftp
drwx------    2 root     0            16384 Aug 14  2009 lost+found
You do not have the required permissions to view the files attached to this post.
levi
Posts: 24
Joined: Tue Oct 01, 2013 11:27 pm

Re: Compiling kernel modules for F series

Post by levi »

Well i am really confused now.... Your version works just fine.... GREAT!!!! Thank YOU!
User avatar
bugficks
Official SamyGO Developer
Posts: 1062
Joined: Tue Jun 25, 2013 3:56 pm

Re: Compiling kernel modules for F series

Post by bugficks »

:)
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Compiling kernel modules for F series

Post by juusso »

what changes did you make on kernel sources?
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[F] Support”