thanks Colin - a good read, and the issue(s) have been enumerated... does your prior add-line to 'services-stop' remain for the time being?... that worked for me as well... again, thanks for running this to ground...Just a note to say that I've opened an issue on github about this here.
Yes, for the time being I'd leave thatthanks Colin - a good read, and the issue(s) have been enumerated... does your prior add-line to 'services-stop' remain for the time being?... that worked for me as well... again, thanks for running this to ground...
swapoff
command in services-stop
. Alternatively, if you have other (non-Entware) things in unmount
that need to be stopped you can use /sbin/ejusb -1 1
instead of swapoff
.unmount
.thanks Colin - a good read, and the issue(s) have been enumerated... does your prior add-line to 'services-stop' remain for the time being?... that worked for me as well... again, thanks for running this to ground...
I don't have ttl/serial for debug jacked into the ax86(s) yet - as I wasn't sure if I'd need to send the ax86(s) back - but do have the debug jacked on the ax88(s) which don't exhibit the problem, so I'm of no help...
After discussing it with Asus engineers, we opted for handling both the old and the new format, automatically falling back to the other one if the first one failed. This should be easier to maintain than adding yet another #if exception block to handle the RT-AX86U and RT-AX68U.Ha! Wouldn't you know it, just as I posted my previous reply I got an email saying that RMerlin has fixed the problem. It must be magic.
shared: handle both old and new sysfs format in exec_for_host() (fixe… · RMerl/asuswrt-merlin.ng@a754c6d
…s #761); fix potential crash Allows both old and new sysfs format to work, fixing it for all platforms including the RT-AX86U. Also null-terminate the readlink() result, otherwise subsequent acc...github.com
Thanks for the patch and explanation, it's much appreciated.After discussing it with Asus engineers, we opted for handling both the old and the new format, automatically falling back to the other one if the first one failed. This should be easier to maintain than adding yet another #if exception block to handle the RT-AX86U and RT-AX68U.
Ha! Wouldn't you know it, just as I posted my previous reply I got an email saying that RMerlin has fixed the problem. It must be magic.
For some reason mine did not stick. I do nightly reboots.
swapoff -a
you try using /sbin/ejusb -1 1
instead and seeing if that sticks. The end result should be the same provided that the unmount
script contains a swapoff -a
command.services-stop
script contains #!/bin/sh
as its first line.Could you apply the patch and then post the output ofWhen I was experimenting with different combination of scripts, any change resulted in the patch being lost (or not staying in place). I think this could be due to "blocking list updates" with the overnight failure, even if the lists are already up to date.
cat /jffs/scripts/services-stop
Could you apply the patch and then post the output of
cat /jffs/scripts/services-stop
Then reboot and run command again and post (altered) output.
Your "before" image doesn't show that you made any changes.
We wanted you the make the edit to the file, save it and then show us the contents before you rebooted.
#!/bin/sh
/opt/etc/init.d/rc.unslung stop # Added by Diversion
sh /jffs/scripts/firewall save # Skynet
swapoff -a
vi
to edit the file. You may prefer to use nano
.No, neither of your images show that you've made any changes to that file. How are you attempting to make the changes?
Your file should look like this:
Code:#!/bin/sh /opt/etc/init.d/rc.unslung stop # Added by Diversion sh /jffs/scripts/firewall save # Skynet swapoff -a
I'm usingvi
to edit the file. You may prefer to usenano
.
A simpler solution might be to wait for the next official Merlin release or install the beta version that he released a few hours ago that has the necessary patch. No editing required.My frustration level is high right now.
I'm stopping now.
Thank you.
two things which I mentioned to @ColinTaylor after living with this problem for six months before speaking with him in PM some time ago - as I thought it was an amtm 'dc' related issue or a script issue (which it isn't)...My frustration level is high right now.
I'm stopping now.
Thank you.
A simpler solution might be to wait for the next official Merlin release or install the beta version that he released a few hours ago that has the necessary patch. No editing required.
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!