Joined: 20 Nov 2017 Posts: 7 Location: Copenhagen, Denmark
Posted: Thu Jan 09, 2020 7:06 Post subject: D-Link DIR-895L stuck in boot loop but only with DD-WRT
Hi.
I have been running a D-Link DIR-895L with DD-WRT (BS) without any problems for a couple of years. Yesterday I made a couple of changes in the configuration (added a static ip assignment to a new mac address, and made a few changes in port forwarding). Some time after doing that (10-20 minutes), port forwarding stopped working. When I looked at the port forwarding page, it was empty. Then I thought the router was due for a reboot, so I did. BIG MISTAKE.
After rebooting, the router was stuck in a never ending boot loop. One led lights up orange for a while, changes to white and then turn off. And then it starts over.
I have tried all sorts of things, including the old 30-30-30. I can put the router in recovery and upload new firmware. Uploading any dd-wrt (the same version as was installed before, newest BS build or older) gives a success and then straight into boot loop. Uploading official D-Link firmware works fine, and the router starts up. As soon as I then upgrade to dd-wrt (using factory-to-ddwrt), it is back to boot loop.
My guess at this time is that there is a corrupt dd-wrt configuration, that isn't erased by the official D-Link firmware. Is it possible, somehow, to erase the nvram without having a dd-wrt that can boot up completely?
Or do you have other suggestions that I can try?
Joined: 08 May 2018 Posts: 14129 Location: Texas, USA
Posted: Thu Jan 09, 2020 14:28 Post subject:
30-30-30 doesn't work on Broadcom ARM, and it's advised against. Should only require about 10 seconds holding it in while powered up or on power-up, depending. It could be the actual DD version you are flashing.... which you didn't mention. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 20 Nov 2017 Posts: 7 Location: Copenhagen, Denmark
Posted: Thu Jan 09, 2020 15:40 Post subject:
kernel-panic69 wrote:
30-30-30 doesn't work on Broadcom ARM, and it's advised against.
Right I also saw that, but there is so much contradicting information when googling, and when everything else fails, I might as well try it. Well, it has been tried and it didn't do any good.
Quote:
It could be the actual DD version you are flashing.... which you didn't mention.
I first tried r33772, which is what the router had been running for the past 2 years (rock solid I might add).
I then went back to r29147, same boot loop.
And finally I have tried the newest, r41892, which also ends up in a boot loop.
I think I saw something about connecting a serial console inside the router. That'll probably be my next step, at least to see if it prints any hints to what goes wrong.
Hey Svuppe, did you ever solve this? I have a dir-895L router and was able to install dd-wrt, but I must have messed up the settings cause now I'm stuck in a reboot loop and can only go back to the original firmware. Any dd-wrt install goes back into the reboot loop. Unfortunately I don have a serial connection to get any logs
Thanks
Joined: 20 Nov 2017 Posts: 7 Location: Copenhagen, Denmark
Posted: Fri Apr 03, 2020 13:29 Post subject:
novarov wrote:
Hey Svuppe, did you ever solve this?
Sorry, but no.
I eventually gave up and got a Netgear R7800 instead. It doesn't have two separate 5GHz radios like DIR-895L, but frankly I haven't missed that.
Joined: 08 May 2018 Posts: 14129 Location: Texas, USA
Posted: Fri Apr 03, 2020 16:21 Post subject:
Did you ever try breaking CFE via serial console and issuing an 'nvram erase && reboot' to see if that would fix it? That was going to be my next suggestion. Normally Emergency Room should work without that, but. Wondering if the flash has somehow developed bad blocks or things got corrupted. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 20 Nov 2017 Posts: 7 Location: Copenhagen, Denmark
Posted: Sat Apr 04, 2020 10:41 Post subject:
Yes, I did try that a couple of times. No joy.
I have also been wondering if it is flash corruption, but that won't explain why stock firmware works, and flashing back to dd-wrt fails immediately.
I still have it lying around. I may have a another (and more intense) try at fixing it, and if it bricks completely, so be it. After all, it doesn't do me any good now.
Joined: 08 May 2018 Posts: 14129 Location: Texas, USA
Posted: Sat Apr 04, 2020 16:56 Post subject:
It may be that DD doesn't handle bad blocks as well as stock firmware or something, who knows. If you decide to give up on it and not try again, feel free to let me know. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net