[SOLVED] FTP and Files Overwrite

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

miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: FTP and Files Overwrite

Post by miazza »

juuso wrote:This can`t be truth... cifs.ko is compiled for v0081 module for T-ECPDEUC board it was tested w/o problems. You`re facing some issue i can`t explane now.
The same happened alsto to steno : viewtopic.php?f=53&t=5817#p41677


There will be an explanation and I'm sure you will find it out ;)

miazza
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: FTP and Files Overwrite

Post by juusso »

You could check this:

Code: Select all

insmod /mnt/lib/modules/80/2.6.35.13/kernel/fs/cifs/cifs.ko
And one more command to execute and show me the output:

Code: Select all

uname -a
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
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: FTP and Files Overwrite

Post by miazza »

root@(none) phpsysinfo $ . /dtv/SGO.env

root@(none) phpsysinfo $ insmod /mnt/lib/modules/80/2.6.35.13/kernel/fs/cifs/cifs.ko
insmod: can't insert '/mnt/lib/modules/80/2.6.35.13/kernel/fs/cifs/cifs.ko': invalid module format
root@(none) phpsysinfo $ uname -a
Linux (none) 2.6.35.13 #1 SMP PREEMPT Fri May 4 10:40:18 KST 2012 armv7l GNU/Linux

root@(none) phpsysinfo $ cat /proc/cpuinfo

Code: Select all

Processor	: ARMv7 Processor rev 8 (v7l)
processor	: 0
BogoMIPS	: 1990.65

processor	: 1
BogoMIPS	: 1990.65

Features	: swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc09
CPU revision	: 8

Hardware	: Samsung SDP1106 evaluation board
Revision	: 0000
Serial		: 0000000000000000
root@(none) phpsysinfo $ /bin/mount

Code: Select all

rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/sam type tmpfs (rw,relatime,size=4k)
none on /dtv type tmpfs (rw,relatime,size=30720k)
none on /dsm type tmpfs (rw,relatime,size=10240k)
none on /core type tmpfs (rw,relatime)
none on /tmp type tmpfs (rw,relatime,size=20480k)
tmpfs on /dev/shm type tmpfs (rw,relatime)
/dev/mmcblk0p13 on /mtd_exe type squashfs (ro,relatime)
none on /sys/fs/cgroup type cgroup (rw,relatime,cpu)
/dev/mmcblk0p12 on /mtd_rwarea type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/mmcblk0p10 on /mtd_drmregion_a type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/mmcblk0p11 on /mtd_drmregion_b type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/mmcblk0p15 on /mtd_rocommon type squashfs (ro,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/mmcblk0p17 on /mtd_contents type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/mmcblk0p19 on /mtd_rwcommon type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/mmcblk0p16 on /mtd_emanual type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/mmcblk0p18 on /mtd_swu type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/tmp/loopnone on /mnt type xfs (rw,sync,relatime,wsync,attr2,noquota)
/dev/mmcblk0p12 on /etc/passwd type rfs (rw,relatime,vfat,llw,iocharset=utf8)
/dev/mmcblk0p12 on /etc/profile type rfs (rw,relatime,vfat,llw,iocharset=utf8)
none on /tmp type tmpfs (rw,relatime)
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: FTP and Files Overwrite

Post by juusso »

compiled module, could you please check it?
cifs.zip
use ftp, copy to /mtd_rwcommon

After this make

Code: Select all

insmod /mtd_rwcommon/cifs.ko
Also you can check second attached module and report about result here. Thanks
cifs2.zip
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
ed2
Posts: 20
Joined: Wed Mar 27, 2013 2:35 pm

Re: FTP and Files Overwrite

Post by ed2 »

Hi,

I tested both files and this is the result:

root@(none) phpsysinfo $ insmod /mtd_rwcommon/cifs.ko
insmod: can't insert '/mtd_rwcommon/cifs.ko': invalid module format
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: FTP and Files Overwrite

Post by miazza »

Now, since I cannot sleep I switched on the laptop that has IP 192.168.1.4.
I opened shell without changing anything and :
root@(none) phpsysinfo $ . /dtv/SGO.env

root@(none) phpsysinfo $ /mnt/etc/init.d/04_04_samba.init start
insmod: can't insert '/mnt/lib/modules/2.6.35.13/kernel/fs/cifs/cifs.ko': invalid module format
Search Shares
on: 192.168.1.1
creating lame upcase table
creating lame lowcase table
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.28]
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.28]
on: 192.168.1.4
creating lame upcase table
creating lame lowcase table
Domain=[miazza] OS=[Windows 7 Professional 7601 Service Pack 1] Server=[Windows 7 Professional 6.1]
mount: mounting //192.168.1.4/Users on /dtv/usb/sdj/smb/192.168.1.4/Users failed: No such device


Entering in virtual USB, now I can see smb--> 192.168.1.4 --> Users ... this folder is empty.
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: FTP and Files Overwrite

Post by miazza »

ed2 wrote:Hi,

I tested both files and this is the result:

root@(none) phpsysinfo $ insmod /mtd_rwcommon/cifs.ko
insmod: can't insert '/mtd_rwcommon/cifs.ko': invalid module format
Same here with both

root@(none) phpsysinfo $ insmod /mtd_rwcommon/cifs.ko
insmod: can't insert '/mtd_rwcommon/cifs.ko': invalid module format
root@(none) phpsysinfo $ insmod /mtd_rwcommon/cifs.ko
insmod: can't insert '/mtd_rwcommon/cifs.ko': invalid module format

Is it normal that in /mtd_rwcommon/ there was not any cifs.ko ?
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: FTP and Files Overwrite

Post by juusso »

problem is cifs.ko
try once again with my attached module (first one) and after it gives error:

Code: Select all

dmesg
what is the output?
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
miazza
SamyGO Project Donor
Posts: 773
Joined: Wed Apr 03, 2013 6:10 pm

Re: FTP and Files Overwrite

Post by miazza »

juuso wrote:problem is cifs.ko
try once again with my attached module (first one) and after it gives error:

Code: Select all

dmesg
what is the output?

Code: Select all

root@(none) phpsysinfo $ . /dtv/SGO.env

root@(none) phpsysinfo $ insmod /mtd_rwcommon/cifs.ko
insmod: can't insert '/mtd_rwcommon/cifs.ko': invalid module format
root@(none) phpsysinfo $ dmesg
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.13 (jison@localhost.localdomain) (gcc version 4.4.1 (VDLinux GA-release2 OpenMP 2011-06-30) ) #1 SMP PREEMPT Fri May 4 10:40:18 KST 2012
[    0.000000] CPU: ARMv7 Processor [412fc098] revision 8 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: Samsung SDP1106 evaluation board
[    0.000000] Board Memory : 1024MB(512MB+256MB+256MB), Kernel Memory : 584MB(260MB+144MB+180MB)
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 149504
[    0.000000]   Normal zone: 3432 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 146072 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 9 pages/cpu @c11b7000 s13600 r8192 d15072 u65536
[    0.000000] pcpu-alloc: s13600 r8192 d15072 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 146072
[    0.000000] Kernel command line: root=/dev/mmcblk0p3 console=ttyS1,115200n8 SELP_ENABLE=20102011 onboot=0053-DEU-0003 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 260MB 144MB 180MB = 584MB total
[    0.000000] Memory: 584040k/584040k available, 13976k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xe5000000 - 0xfe000000   ( 400 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe4800000   ( 584 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0037000   ( 188 kB)
[    0.000000]       .text : 0xc0037000 - 0xc04ab000   (4560 kB)
[    0.000000]       .data : 0xc04ac000 - 0xc04d9300   ( 181 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU-based detection of stalled CPUs is disabled.
[    0.000000] 	Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:160
[    0.000000] Samsung DTV Linux System HRTimer initialize
[    0.000000] HRTIMER: source clock is 184000000 Hz, SYS tick: 250
[    0.000000] [sdp_hrtimer_clksrc_init] HRTIMER Clock-source 4600000
[    0.000000] console [ttyS1] enabled
[    0.000000] Console: colour dummy device 80x30
[    0.012000] [VDLP] preset_lpj manual set to 3981312
[    0.016000] Calibrating delay loop (skipped) preset value.. 1990.65 BogoMIPS (lpj=3981312)
AVOID TO PUBLISH AND DISCLOSE SAMYGO PROJECTS ON OTHER FORUM.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: FTP and Files Overwrite

Post by juusso »

same, but now try

Code: Select all

insmod /mnt/lib/modules/2.6.35.13/kernel/fs/cifs/cifs.ko

Code: Select all

dmesg | tail
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 “[E] Support”