Page 4 of 14

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Mon Feb 20, 2023 1:15 am
by ispyisail
Lantis wrote:
Sun Feb 19, 2023 8:13 pm
ispyisail wrote:
Sun Feb 19, 2023 8:01 pm
I think @ispyisail had a wdr3600 some time ago
If I can find it.

I was using it xmas time but found it's just so underpowered that I gave up.

Custom QOS settings for speed throttling just killed it.
If you could that would be great. It just has to flash and get to the webui, after that i accept that it is slow. Broken images are not what i want to release though :(
Just flashed and it is definitely broken.

Did not try and preserve settings

I can't pull an IP address 192.168.1.1

I also have tried fixing my IP and then ping 192.168.1.1 -t while booting the router, but nothing

The lights are flashing normally as expected so the router appears to be working

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Mon Feb 20, 2023 3:16 am
by Lantis
I assume TFTP still works as a recovery mechanism?
I’ll do some digging and see if I can figure out where it is falling over.

Out of curiosity, does failsafe work?

If I can get some help to commit to testing images, I’ll bisect the issue and figure out exactly what went wrong. There’s only a handful of things that it could be.

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Mon Feb 20, 2023 3:21 am
by ispyisail
Out of curiosity, does failsafe work?
Haven't got there yet

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Mon Feb 20, 2023 4:17 am
by ispyisail
Looks like a tough one to recover from

https://openwrt.org/toh/tp-link/tl-wdr3600_v1

No serial and I'm not sure about "TFTP auto recovery in revision 1.5"

I'm not worried, its at end of life but I guess its a good router for testing.

With the TFTP in not sure whether to use Linux or Windows.....

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Mon Feb 20, 2023 4:38 am
by Lantis
https://pjo2.github.io/tftpd64/

That will run on windows. I've used it before on other routers.
As long as your router supports TFTP (hopefully it's a late enough version of the hardware) it's basically unbrickable.

I've marked the ath79 build as "broken" for now. Other users beware.

wnr2200 also supports TFTP, so it should be recoverable as well.
I'm going to prepare a bisect set for the 3 routers in question.

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Mon Feb 20, 2023 7:54 am
by Lantis
Understanding if regular failsafe works might help diagnosing as well

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Tue Feb 21, 2023 12:21 am
by Lantis
ath79 Issue Bisecting
I've compiled 11 different versions of the wnr2200, wdr3600 and wndr3700 firmware. The idea is to narrow down exactly which commit broke the firmware.
Traditional bisecting involves testing the outer 2 versions (1 and 11 in this case), which we know one is GOOD and one is BAD.
You would then pick a halfway point (e.g. 6) and test that image. If it is GOOD, then pick a halfway point between that and the BAD. If you keep up this pattern, you will eventually end up settling on a build which introduces the bad change and it can be investigated specifically.
The method is the most efficient way of testing as it minimises the number of versions that need to be tested to find the issue.

The bisect firmwares are available here:
https://lantisproject.com/gargoyle_cust ... 79_bisect/

01_d78aeafe -- usbmuxd: Reduce CPU usage due to tight poll loop
02_da698389 -- x86.x64: include additional ethernet card drivers
03_6c5a0b61 -- plugin-gargoyle-usb-storage: Fix missed references to samba
04_81dcda3c -- targets: defconfig all
05_e107e9af -- Bump to latest OpenWrt 22.03
06_cb94de95 -- new target: bcm27xx
07_91653a11 -- Gargoyle "extras" package: USB ethernet drivers
08_b621f1d7 -- kmod-usb2: not required as depdency
09_42a08e63 -- gargoyle: Fix login page issue for basic profiled devices
10_2265367f -- Backport ntfs3 driver to 5.10 and drop fuse
11_c251ff93 -- ipq40xx: Add Teltonika RUT10X

I suspect that 05_e107e9af is most likely to have caused the issue.
Please be aware that both 10_2265367f and 11_c251ff93 will not have a functional web interface. The router should work fine and SSH should work.
You can fix this by SSH into the router and run
mkdir /www/hooks/
mkdir /www/hooks/login/

Any assistance in finding the bad commit are appreciated. The alternative is that these devices are disabled for the upcoming release to avoid creating more issues.
All of these devices should have TFTP recovery options available. Please make sure you understand how this works and check that it does work for you before starting. It will be required as some of the builds are known bad.

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Tue Feb 21, 2023 10:52 am
by ispyisail
Does somebody have a copy of tftpd64

For the life of me, I can't download it.

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Tue Feb 21, 2023 9:17 pm
by Lantis
Intel recommends downloading from "Software Informer". Link looks OK to me.
https://www.intel.com/content/www/us/en ... ation.html

Re: Experimental Gargoyle 1.15.x beta 20230124

Posted: Wed Feb 22, 2023 3:55 am
by ispyisail
Lantis wrote:
Tue Feb 21, 2023 9:17 pm
Intel recommends downloading from "Software Informer". Link looks OK to me.
https://www.intel.com/content/www/us/en ... ation.html
I've been trying to recover the router. Still no luck. It claims the firmware has been sent.......but I don't think it has :(