Search the Community
Showing results for tags 'filesystem'.
-
Hello, At the moment I'm writing an extension which give some debug information during a payload run. The function START_DEBUG "tail " the /var/log/syslog to /tmp/log.txt (I won't create a extra file because syslog give al lot of more useful information in background.) During payload run I can output some information to syslog with logger With STOP_DEBUG I stop the "tail", test if the /dev/nandf is mounted. If so I Copy /tmp/log.txt to /root/disk/loot. /If not I mount the /dev/nandf to /root/udisk, copy the file, do a sync and unmount the /dev/nandf. Now the Problem. It happens often that when I look in the loot file there is no log file and the FS is corrupted. This happens even I do a sync; sleep 1; sync after copy the file and befor unmounting the FS It seems tha the FS is not unmunted correctly. Sometimes the dirty bit is set. Have somebody any idea? payload.txt debug.sh
-
- filesystem
- fs
-
(and 3 more)
Tagged with:
-
Received my LAN Turtle today and have been hacking away for past hour. However, when I tried to set up autossh, I began seeing filesystem errors. It seems file system is full and has no more disk space. I uninstalled all modules and still continue to see the errors. Here is some output for your kind reading :) root@turtle:~# ssh -ash: ssh: Input/output error root@turtle:~# dmesg | tail [ 25.800000] SQUASHFS error: xz_dec_run error, data probably corrupt [ 25.800000] SQUASHFS error: squashfs_read_data failed to read block 0x300242 [ 25.810000] SQUASHFS error: Unable to read data cache entry [300242] [ 25.820000] SQUASHFS error: Unable to read page, block 300242, size 1a790 [ 25.820000] SQUASHFS error: Unable to read data cache entry [300242] [ 25.830000] SQUASHFS error: Unable to read page, block 300242, size 1a790 [ 25.840000] SQUASHFS error: Unable to read data cache entry [300242] [ 25.840000] SQUASHFS error: Unable to read page, block 300242, size 1a790 [ 25.850000] SQUASHFS error: Unable to read data cache entry [300242] [ 25.860000] SQUASHFS error: Unable to read page, block 300242, size 1a790 [ 25.860000] SQUASHFS error: Unable to read data cache entry [300242] root@turtle:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 4.6M 4.5M 104.0K 98% / /dev/root 10.3M 10.3M 0 100% /rom tmpfs 30.0M 92.0K 29.9M 0% /tmp /dev/mtdblock3 4.6M 4.5M 104.0K 98% /overlay overlayfs:/overlay 4.6M 4.5M 104.0K 98% / tmpfs 512.0K 0 512.0K 0% /dev Any suggestions folks? Thanks.
- 4 replies
-
- lan turtle
- filesystem
-
(and 1 more)
Tagged with: