Page 6 of 8

Re: FTP and Files Overwrite

Posted: Mon Apr 29, 2013 8:07 pm
by miazza
root@(none) phpsysinfo $ . /dtv/SGO.env

Code: Select all

root@(none) phpsysinfo $ insmod /mtd_rwcommon/cifs.ko
insmod: can't insert '/mtd_rwcommon/cifs.ko': invalid module format
root@(none) phpsysinfo $ dmesg | tail
[  250.556000] cifs: version magic '0081, release SMP preempt mod_unload ARMv7 ' should be '0081, debug SMP preempt mod_unload ARMv7 '
[  963.156000] ##### send signal from USER, SIG : 15, httpd(1508)->php-cgi(1912) sys_kill
[  964.640000]  ##### call default signal (17) handler
[  968.016000] ##### send signal from USER, SIG : 15, httpd(1508)->php-cgi(1913) sys_kill
[  970.568000] ##### send signal from USER, SIG : 15, httpd(1508)->php-cgi(1914) sys_kill
[  974.096000] ##### send signal from USER, SIG : 15, httpd(1508)->php-cgi(1920) sys_kill
[  977.276000] ##### send signal from USER, SIG : 15, httpd(1508)->php-cgi(1921) sys_kill
[  987.660000] ##### send signal from USER, SIG : 15, httpd(1507)->php-cgi(1932) sys_kill
[ 1018.380000] cifs: version magic '0081, release SMP preempt mod_unload ARMv7 ' should be '0081, debug SMP preempt mod_unload ARMv7 '
[ 1018.420000] ##### send signal from USER, SIG : 15, httpd(1509)->php-cgi(1949) sys_kill

Re: FTP and Files Overwrite

Posted: Mon Apr 29, 2013 11:14 pm
by miazza
I copied the file as /mtd_rwcommon/cifs_debug.ko
. /dtv/SGO.env
insmod /mtd_rwcommon/cifs_debug.ko

Terminal did not do anything (on hold and blocked).
Lost connection with FTP and TV went in block and needed to unplug from the wall.

10 seconds of panic and TV switched on again.

I attach the my kernel dump.

Re: FTP and Files Overwrite

Posted: Tue Apr 30, 2013 6:34 am
by steno

Code: Select all

root@(none) phpsysinfo $ cat /proc/cmdline
root=/dev/mmcblk0p3 console=ttyS1,115200n8 SELP_ENABLE=20102011 onboot=0053-DEU-0003 quiet

Re: FTP and Files Overwrite

Posted: Tue Apr 30, 2013 6:51 am
by steno
juuso wrote:thanks. New try:
cifs_debug.zip
cifs_debug2.zip


cifs1_debug tried with the TV keeps rebooting

cifs_degug2 error with invalid module

Re: FTP and Files Overwrite

Posted: Tue Apr 30, 2013 3:04 pm
by juusso
Okey, thanks. Same way please make dumps of rootfs:

Code: Select all

cat /dev/mmcblk0p3 > /dtv/usb/sda1/rootfs1.dmp
cat /dev/mmcblk0p6 > /dtv/usb/sda1/rootfs2.dmp

Re: FTP and Files Overwrite

Posted: Tue Apr 30, 2013 6:50 pm
by miazza
Files are more of 4 MB compressed and cannot be posted in the forum.

https://www.dropbox.com/s/2sgo5ib9191ak ... nd%202.rar

tell me if you can download the files.

Re: FTP and Files Overwrite

Posted: Thu May 02, 2013 1:26 pm
by juusso
miazza, ed, steno

Please check what are default module version magic on your TV:

Code: Select all

strings /mtd_exe/WIFI_LIB/rt5572sta.ko | grep "vermagic"

Re: FTP and Files Overwrite

Posted: Thu May 02, 2013 1:34 pm
by juusso
another try
SpoilerShow

Code: Select all

root@[TV] /mtd_rwcommon> strings cifs.ko | grep "vermagic"
vermagic=0081, debug SMP preempt mod_unload ARMv7
cifs.zip
cifs2r.zip
and as usual:

Code: Select all

dmesg | grep "cifs"

Re: FTP and Files Overwrite

Posted: Thu May 02, 2013 7:03 pm
by juusso
Waiting results of modules in previous post and here is one more
cifs_dbg.zip

Re: FTP and Files Overwrite

Posted: Thu May 02, 2013 7:04 pm
by ed2
Hi,

Code: Select all

root@(none) phpsysinfo $ strings /mtd_exe/WIFI_LIB/rt5572sta.ko | grep "vermagic"
vermagic=0081, debug SMP preempt mod_unload ARMv7 
__mod_vermagic5
Mfg

ed_2