This works good on Windows: MiniTool Partition Wizard Free
Sounds like you did everything right... but from your logs it definitely looks like a filesystem problem. Maybe you can try with a simple single EXT2 ( no journaling like EXT3/4) partition and see if it behaves.With 500Mb of RAM onboard you shouldn't really have to worry about swap unless you plan on installing some of the really memory intensive Entware packages.I used MiniTool Partition Wizard free. I first created the logical 1GB linux swap partition, then a primary ext4 partition with the remaining space. It added the 2 jobs on the left side and it added in a job to mount or do something prior to creating the linux swap partition. Then I clicked apply and all 3 jobs ran fine. I stuck it in the 5300 and it's all there, just like I expected. I then installed Entware, no problem.
I have to agree with @tomsk on this. I think you have a fundamental hardware incompatibility or failure issue going on. Before going to the trouble of reinstalling entware and applications again and again, I'd beat the heck out of the USB stick with diskcheck (e.g. e2fsck -cfv), and if that passes, just do some massive read/write to the drive and see if it fails. A properly performing drive will read/write continuously for hours/days/years without a single failure, and you're seeing it in a matter of a few hours with light activity.You have re-flashed router firmware versions back and forth, tried different USB sticks with different flavours of linux filesystems. If you are creating the filesystems correctly then you have to start wondering about the router hardware itself. Do you have any adverse external conditions that might cause this? ( I'm thinking unstable power causing brownouts, electrical interference, etc) I notice in another post you mention a USB hard drive connected on the USB3 port. Does the USB2 stick behave if this isn't connected?
The partition must be unmounted (umount /dev/sda) before you can run e2fsck. And 'umount' will fail if there is anything active on the drive, such as entware applications started from rc.unslung. So kill anything running from entware on that drive, then umount it, then run e2fsck....
3. Leave usb3 drive disconnected and run e2fsck -cfv /dev/sda. I just ran this and it failed:/dev/sda is in use. e2fsck: Cannot continue, aborting so I will probably need to reboot to run that.
well so far I have disconnected the 1TB drive on the USB3 port, upgraded the fw to the brand new 380.65. Every single time I have upgraded the FW it has killed entware, and normally reboots kill it. Since disconnecting the drive on the USB3 port entware has survived 2 fw upgrades (i did the beta3 first not knowing the release came out last night) and 2 reboots. This has never happened.
Health check on the usb2 drive takes about 30 seconds and returns no results. Throws out a couple syslog entries from the monitor tag for manual scan and idle but no other errors. I am going to run the e2fsck checks on it but I think the other drive is causing the issue.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!