View unanswered posts | View active topics It is currently Fri May 24, 2013 3:51 pm



This topic is locked, you cannot edit posts or make further replies.  [ 93 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9, 10  Next
 NTFS filesystem problems 
Author Message

Joined: Sat Dec 10, 2011 1:33 pm
Posts: 23
Post Re: NTFS filesystem problems
Duivels, I do not know anything about scripts, I'm just a curious user.
But I can say that this never happened to me with the mede8er firmware.
If you want I'll give you the website link to see if anyone complains of problems with ntfs.
It is not the mede8er forum.
In acryan i just need to put a pen format in ntfs, turn on and off the acryan to get corrupted files.
The pen did not have any files inside.

Can someone else make the experience of the pen?


Fri Jan 20, 2012 12:06 am
Profile

Joined: Sat Oct 24, 2009 6:29 pm
Posts: 8942
Location: Netherlands
Post Re: NTFS filesystem problems
Duivels wrote:
@Kraakie:
I was skeptical as well, but I could reproduce the error with the test script within seconds on a USB hard disk and a USB stick and with firmware 5440 en 4824. I do not know for an internal hard disk, because I have a Mini.
I admit that I was not faced with the error before using the test script, presumably because I seldom write data to the external hard disk and, if I do, only once.
The error obviously only occurs, when repeatedly writing the same file, as happens with the scan function.

However, just to be sure I changed my external USB drive from NTFS to Ext3.

Some people may overrate the problem, but it certainly must not be ignored.



Can you mail me the testscript so i can test it also and also with the dev team to figure out if we can fix this bug ?

_________________
My latest music production released on 10-1-2012 !!!
http://www.youtube.com/watch?v=Kaagnvz3CAs
Playon HD1/HD2/HD3 and MIni series//DVR-HD/ESSENTIAL/VEOLO BLOG, Latest tips Tricks Unreleased Firmwares News and Tutorials !
HTTP://ACRYANFAQ.BLOGSPOT.COM


Fri Jan 20, 2012 10:35 am
Profile

Joined: Tue Jun 21, 2011 6:13 am
Posts: 76
Location: Germany
Post Re: NTFS filesystem problems
Just another easy test to proof that the player causes file system errors:
Format your internal harddisk in the player and the connect it via USB to a windows PC: here you are...

I've done this four ore five times (while testing aroung with the ext3 mod) and everytime windows recognized a corrupt filesystem.

Check this out...

Dodger

P.S.: The main cause for this issue could be the implemented Paragon NTFS driver (module is called ufsd.ko). So if the developers at ACRyan are good in understanding Linux they can simply build a version with the ntfs-3g driver and post it here. We can test this on our "buggy" machines and we'll se if the driver is really the issue.
btw: I found the application "ntfsfix" in the firmware. Why is it present there if the ntfs driver works that fine???


Fri Jan 20, 2012 12:10 pm
Profile

Joined: Tue Oct 05, 2010 9:35 pm
Posts: 4299
Location: Netherlands
Post Re: NTFS filesystem problems
@ wheelspt:
1. http://www.mede8erforum.com/index.php?PHPSESSID=o7o5567jpu83j4k80hdvaergk6&topic=796.msg4849#msg4849

2. Just plugging in and pulling out an NTFS formatted USB stick, does not corrupt the file system of the stick. It is true that Windows issues a warning, but when you actually check the stick no errors are found.

@dodger:
The (file) name of an application means very little. The core program of the Playon is called DVDPlayer but it has nothing to do with playing DVDs.

_________________
Evert

Playon!HD Mini Firmware 7317 modified [192.168.178.3]
PC Windows 7-64 SP1 [192.168.178.DHCP]
PC Windows 7-64 SP1 + Virtual XP SP3 [192.168.178.DHCP]
Fritz!Box 7390 [192.168.178.1]
Seagate BlackArmor 400 4 x 3TB in RAID-5 [192.168.178.2]


Fri Jan 20, 2012 12:15 pm
Profile

Joined: Sat Dec 10, 2011 1:33 pm
Posts: 23
Post Re: NTFS filesystem problems
Duivels wrote:
2. Just plugging in and pulling out an NTFS formatted USB stick, does not corrupt the file system of the stick. It is true that Windows issues a warning, but when you actually check the stick no errors are found.


Here is the same.
And you think this normal?

With the mede8er firmware this dont happens.
On my asus oplay air this dont happens.

With the acryan firmware i can see the films as well, good sound, apart from the problems of samba and DLNA.
Also not tested it long because it starts the windows warnings of corrupted files.


Fri Jan 20, 2012 12:45 pm
Profile

Joined: Mon Feb 07, 2011 5:39 am
Posts: 105
Location: Berlin [Germany]
Post Re: NTFS filesystem problems
Here are the script to test it:

Warning: Of This Script the provided file and also the file allocation table destroys.
If a blank HDD uses.


make a folder on HDD:
Code:
mkdir /tmp/usbmounts/sda1/try

provide the Script (Tip: it is one line, even if it does not look so):
Code:
echo -e '#!/bin/ash\n\ntryfile="x.$$"\ntouch "${tryfile}"\n\ntrynum=0\nwhile true ; do\n\tcp "${tryfile}" "${tryfile}.tmp"\n\techo "this is some text" $trynum >>"${tryfile}.tmp"\n\tmv "${tryfile}.tmp" "${tryfile}"\n\ttrynum=$(( ${trynum} + 1))\n\n\tsleep 1\ndone' > /tmp/usbmounts/sda1/try/try.sh

Script workable do:
Code:
chmod +x /tmp/usbmounts/sda1/try/try.sh

Go to the Script folder:
Code:
cd /tmp/usbmounts/sda1/try

Script in the background start:
Code:
./try.sh &

Look like the generated file is called (file name is x.prozessnr):
Code:
ls

At contents of the generated file look (file name from ls-> x.prozessnr.tmp do not take, if available)
Code:
cat filename


One can begin the Script also several times.

Script finish (prozessnr is the No. in the provided file it seems.):
Code:
kill prozessnr



If the destroyed file covers the same memory like before Chkdsk find nothing.
Chkdsk can not repair files. It repairs "File allocation table". I believe many Chkdsk do not know what really does.
The Script does not point also whether the mistake while copying or with him purely write in a file the mistakes happen.
However, I think rather with him purely write or even both.

And this performed mistake is the cause. Now differences are between the file allocation table and the actual hard disk allocation.
Becomes now with this wrong file allocation table furthermore copies / move / etc. the strangest things can happen. Not only 0 KB files

And hier are the Script in Readable Style (but with him echo order is more simply to be provided for you):
Code:
#!/bin/ash

tryfile="x.$$"
touch "${tryfile}"

trynum=0
while true ; do
    cp "${tryfile}" "${tryfile}.tmp"
    echo "this is some text" $trynum >>"${tryfile}.tmp"
    mv "${tryfile}.tmp" "${tryfile}"
    trynum=$(( ${trynum} + 1))

    sleep 1
done




If A.C.Ryan was really interested in a mistake removal for a long time they would have tried the Script.
It was often enough mentioned. There is no excuse here nothing from knew.

In addition, I believe you no more. My trust is away. I have often enough become "veräppelt" (in german: I know the word not in in English).

I will sell on a PM to Mikael personally. Indeed, I can write it only in in German there it to complicate is.

This is my last attempt. Then all media are informed like A.C.Ryan with your customers handles.


@ wheelspt:
Because I know which files make this error, I can say to you everything are concerned original FW by Realtek. Try out the Script.


Fri Jan 20, 2012 1:52 pm
Profile

Joined: Tue Jun 21, 2011 6:13 am
Posts: 76
Location: Germany
Post Re: NTFS filesystem problems
Quote:
@dodger:
The (file) name of an application means very little. The core program of the Playon is called DVDPlayer but it has nothing to do with playing DVDs.


Of course you can:
Quote:
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.


And the hint with the dvdplayer application only shows me the quality of the development from realtek:
in former times they have developed an application called "dvdplayer" for any device they produced.
And instead of writing an new application for newer models they just took the old one and adjusted a bit here and a bit there and now you have a cost effective development with all the bugs inside you always had.


Fri Jan 20, 2012 2:19 pm
Profile

Joined: Sat Dec 10, 2011 1:33 pm
Posts: 23
Post Re: NTFS filesystem problems
s-n1965 wrote:
@ wheelspt:
Because I know which files make this error, I can say to you everything are concerned original FW by Realtek. Try out the Script.


Can i tray this on a pen ntfs formatted?
I can try on my asus oplay with the original firmware.


Fri Jan 20, 2012 2:49 pm
Profile

Joined: Mon Feb 07, 2011 5:39 am
Posts: 105
Location: Berlin [Germany]
Post Re: NTFS filesystem problems
Dodger wrote:

Of course you can:
Quote:
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.


@ ntfsfix
This is right. ntfsfix is not there only for it if Windows the hard disk at all can recognize.
It must be still explained afterwards chkdsk under Windows.

And there is still chkntfs. However, Chkntfs registers only whether mistake exist.

Both programs quite exist in the FW.
ntfsfix is in /usr/local/sbin
and chkntfs is in /usr/local/bin

However, these files does not help to do about the setup accessibly. One can write only what in the Changelog, more not.
It does not help the users and mistake it also does not remove.
It is a blindness and the user it is sold sometimes against for silly.


Greeting Steffen


Fri Jan 20, 2012 2:55 pm
Profile

Joined: Mon Feb 07, 2011 5:39 am
Posts: 105
Location: Berlin [Germany]
Post Re: NTFS filesystem problems
wheelspt wrote:
s-n1965 wrote:
@ wheelspt:
Because I know which files make this error, I can say to you everything are concerned original FW by Realtek. Try out the Script.


Can i tray this on a pen ntfs formatted?
I can try on my asus oplay with the original firmware.

Yes. The mistake is on all NTFS. No matter whether HDD, USB-HDD, USB-pen or USB-card.
With usb it lasts a little longer to the file breaks.

Only with ext3 were no mistakes.

Make quietly cat filename oftener.
Sometimes is error already in the first lines, sometimes a little later. However, at the latest after 40 lines he is there.
I have by the ext3, all 200 lines (or 200 sec.) is still an instance of . /try.sh & added.


Greeting Steffen


Fri Jan 20, 2012 3:07 pm
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 93 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9, 10  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.