Page 3 of 5

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 10:30 am
by levi
Hi juuso,
As i've wrote above and also in ixbt forum i get nothing than kernel fault, both after exporting authnull_ops and after completely removing that part from sources.
My TV offers an update to version 1111, i am tempted to perform that update and see if it will change anything. Unfortunately i am under heavy load at work now and not able to do much on TV recently.
I will update here and in ixbt if i'll get any progress.

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 10:53 am
by bugficks
did you try loading auth_rpcgss.ko too?
im pretty sure fw update wont fix this

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 12:39 pm
by levi
bugficks wrote:did you try loading auth_rpcgss.ko too?
Sure i did! Actually i've inserted a bunch of other modules too!

Code: Select all

insmod /dtv/usb/sda1/sunrpc.ko >/dtv/usb/sda1/sunrpc.ko.txt 2>/dtv/usb/sda1/sunrpc.ko_err.txt
insmod /dtv/usb/sda1/auth_rpcgss.ko >/dtv/usb/sda1/auth_rpcgss.ko.txt 2>/dtv/usb/sda1/auth_rpcgss.ko_err.txt
insmod /dtv/usb/sda1/lockd.ko >/dtv/usb/sda1/lockd.ko.txt 2>/dtv/usb/sda1/lockd.ko_err.txt
insmod /dtv/usb/sda1/nfs.ko >/dtv/usb/sda1/nfs.ko.txt 2>/dtv/usb/sda1/nfs.ko_err.txt
Without all of above (and in exact sequence) insmod will complain about missing symbols.
bugficks wrote: im pretty sure fw update wont fix this
I was hoping for some kernel upgrade in new version. Anyway i was not going to upgrade without examining the contents of upgrade.

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 12:53 pm
by juusso

Code: Select all

uth_rpcgss mod ld
<...>
nfs: Unknown symbol authnull_ops (err 0)
still same.

but we got virtual usb gadget + samba shares mounted on it. :)

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 1:23 pm
by bugficks
checking my chat logs w/ denny...

Code: Select all

insmod exportfs.ko
insmod sunrpc.ko
insmod auth_rpcgss.ko
insmod lockd.ko
insmod nfs.ko
insmod nfsd.ko

VDLinux#> lsmod
Module                  Size  Used by    Tainted: P
ansi_cprng              2860  0
nfsd                   76256  0
nfs                   230940  1
lockd                  54336  2 nfsd,nfs
auth_rpcgss            28552  1 nfs
sunrpc                147188 10 nfsd,nfs,lockd,auth_rpcgss
exportfs                2828  1 nfsd
mount -o port=2049,nolock,proto=tcp -t nfs 192.168.1.198:/home mnt/

i had to specify port (say my logs :) ) due to missing /etc/services on F i guess
logs also say i've added EXPORT_SYMBOL_GPL(authnull_ops); at end of net/sunrpc/auth_null.c
only use V3, not V4 nfs stuff

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 5:20 pm
by juusso
bugficks wrote: i've added EXPORT_SYMBOL_GPL(authnull_ops); at end of net/sunrpc/auth_null.c
only use V3, not V4 nfs stuff
clean compilation went fine w/o any error. Now have to find where to check new built module :)

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 5:38 pm
by bugficks
so far so good:)
maybe some sync;sleep between insmod and mount may help too. iirc i even had probs w/ cifs w/o some delay before mount succeeded.

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 6:02 pm
by juusso
Have you seen this on nfsd compilation?

Code: Select all

ERROR: "fat_set_nfs_clnt_open_count" [fs/nfsd/nfsd.ko] undefined!
ERROR: "fat_get_nfs_clnt_open_count" [fs/nfsd/nfsd.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 7:21 pm
by bugficks
yes, says log :)
try w/o CONFIG_FAT_FS enabled in kernel config and make clean

Re: Compiling kernel modules for F series

Posted: Thu Nov 14, 2013 7:51 pm
by arris69
someone has include/linux/vdlp_version_Fox.P.h and include/linux/vdlp_version_X12.h for actual (hm, whats the actual version?) firmware?