• October 19, 2019, 06:36:13 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DIR-895L/R boot loop/ stuck on recovery  (Read 851 times)

yeekli

  • Level 1 Member
  • *
  • Posts: 5
DIR-895L/R boot loop/ stuck on recovery
« on: July 24, 2019, 09:03:52 AM »

My DIR-895L/R has kept rebooting (Power light goes thru Orange, White, and then OFF. Kept repeating same cycle).

Tried factory reset millions times and even (30/30/30 hard reset), after reset, the Router goes to "Recovery Mode", and I was able to upgrade the firmware, but after the router reboots, it's goes back to boot loop again. I tried flash all available versions of Firmware  I could find, from 1.02, 1.13, 1.15, 1.20, 1.21 thru "Recovery Mode". They all completed "SUCCESSFULLY", but afterwards, the router stuck again on boot loop.

I suspect this is likely due to NVRAM corruption, but I am not about to reset it by either Factory Reset or 30/30/30 reset.

I am thinking of open up the router and JTAG it and run "erase nvram", but I could not find any information about JTAG pinouts for this model yet. Any suggestion would be highly appreciated. Another idea is to add "erase nvram" into D-LINK open source firmware code, and compile a customer firmware. I have downloaded the source code, but could not find good document to make the changes yet. Hopefully someone in the forum can shed lights on it. That would be really helpful.

Thanks a million!!!
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 47844
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #1 on: July 24, 2019, 09:43:10 AM »

Link>Welcome!

Please follow this and see if the router will come to ready:
Emergency Recovery Mode

Use the browsers mentioned here. If this fails to correct the boot process, then you might go over to the DD-WRT forums and check to see if WRT can be loaded.
Logged
Cable:200mb/10Mb>NetGear C7800>DIR-882>DGS-1100>HP 24pt Gb Switch. COVR-3902/2202/1203,DIR-2680,890L,882,880L,868L,DNR-202L,DNS-345x2,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

yeekli

  • Level 1 Member
  • *
  • Posts: 5
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #2 on: July 24, 2019, 10:14:25 AM »

Link>Welcome!

Please follow this and see if the router will come to ready:
Emergency Recovery Mode

Use the browsers mentioned here. If this fails to correct the boot process, then you might go over to the DD-WRT forums and check to see if WRT can be loaded.

I was able to get to the Recovery Mode to load firmware, but regardless which version I tried, once the firmware upgrade complete, the router goes back to boot loop. I also tried different browser, firefox, IE, and even curl. The firmware upgrade process works, but it doesn't fix the boot loop issue. I still think it's nvram issue.
Logged

GreenBay42

  • Administrator
  • Level 10 Member
  • *
  • Posts: 2197
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #3 on: July 24, 2019, 10:24:25 AM »

Does it reboot with nothing plugged into it (Internet or LAN ports)?
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 47844
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #4 on: July 24, 2019, 10:28:14 AM »

You might try WRT and see if you can get theirs loaded. However possible that same issue may appear.

Something that only D-Link can fix.
Logged
Cable:200mb/10Mb>NetGear C7800>DIR-882>DGS-1100>HP 24pt Gb Switch. COVR-3902/2202/1203,DIR-2680,890L,882,880L,868L,DNR-202L,DNS-345x2,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

yeekli

  • Level 1 Member
  • *
  • Posts: 5
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #5 on: July 25, 2019, 06:32:54 AM »

You might try WRT and see if you can get theirs loaded. However possible that same issue may appear.

Something that only D-Link can fix.

Thanks for the suggestion, I also tried DD-WRT firmware. Didn't work. I will do some research to find out a way to make a custom firmware that does the nvram erase on the first boot. Last I would try JTAG.

Thanks,
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 47844
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #6 on: July 25, 2019, 06:42:55 AM »

Ok, let us know if you can get it working. Ya seems like NVRAM is hosed. You might check the WRT forums, I believe I saw someone over there that had a similar issue on either a 868L or 880L a while back.

I wish D-Link offered after warranty repair services for some of there routers.  ::)
Logged
Cable:200mb/10Mb>NetGear C7800>DIR-882>DGS-1100>HP 24pt Gb Switch. COVR-3902/2202/1203,DIR-2680,890L,882,880L,868L,DNR-202L,DNS-345x2,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

yeekli

  • Level 1 Member
  • *
  • Posts: 5
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #7 on: August 04, 2019, 05:58:51 AM »

Ok, let us know if you can get it working. Ya seems like NVRAM is hosed. You might check the WRT forums, I believe I saw someone over there that had a similar issue on either a 868L or 880L a while back.

I wish D-Link offered after warranty repair services for some of there routers.  ::)
Bought a serial adapter and got into the CFE command window. The router is reporting error : “Invalid boot block on the disk”. Tried “nvram erase && reboot” didn’t help. Also tried using tftp flash officials firmware and dd-wrt firmware. Officials firmware give same “invalid boot block” error after reboot, dd-wrt firmware will hang after reboot. What in notice is this router has 4 different set of flashes: flash0.*, flash1.*, nflash0.*, nflash1.*
CFE> show devices
Device Name          Description
-------------------  ---------------------------------------------------------
uart0                NS16550 UART at 0x18000300
uart1                NS16550 UART at 0x18000400
flash0               ST Compatible Serial flash size 4096KB
flash0.boot          ST Compatible Serial flash offset 00000000 size 256KB
flash0.trx           ST Compatible Serial flash offset 00040000 size 1KB
flash0.os            ST Compatible Serial flash offset 0004001C size 3776KB
flash0.nvram         ST Compatible Serial flash offset 003F0000 size 64KB
flash1.boot          ST Compatible Serial flash offset 00000000 size 256KB
flash1.trx           ST Compatible Serial flash offset 00040000 size 3776KB
flash1.nvram         ST Compatible Serial flash offset 003F0000 size 64KB
nflash0.trx          AMD NAND flash offset 0 size 1KB
nflash0.os           AMD NAND flash offset 1C size 131072KB
nflash1.trx          AMD NAND flash offset 0 size 32768KB
nflash1.brcmnand     AMD NAND flash offset 2000000 size 98304KB
eth0                 Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller
*** command status = 0

The tftp flash method I have tried are: (my tftpd runs on 192.168.0.2, 115-firm.bin is the file name of the firmware I used for flashing)
flash -noheader 192.168.0.2:115-firm.bin flash0.trx
flash -noheader 192.168.0.2:115-firm.bin flash1.trx
flash -noheader 192.168.0.2:115-firm.bin nflash0.trx
flash -noheader 192.168.0.2:115-firm.bin nflash1.trx

They all reported programming completed successfully with status 0.

But after reboot, the router still complains “invalid boot block”.

Hope someone have more experience with JTAG can help provide some suggestions.

Thanks
« Last Edit: August 08, 2019, 01:55:10 PM by yeekli »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 47844
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #8 on: August 05, 2019, 08:40:59 AM »

I would try asking over in the WRT forums to see if anyone there has some commands to try. D-Link has never been keen on helping users out at this level. Seems like it could be a simple fix if you could get the right process in to place to recover the NVRAM. I know these were spendy units when they first came out...
Logged
Cable:200mb/10Mb>NetGear C7800>DIR-882>DGS-1100>HP 24pt Gb Switch. COVR-3902/2202/1203,DIR-2680,890L,882,880L,868L,DNR-202L,DNS-345x2,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

yeekli

  • Level 1 Member
  • *
  • Posts: 5
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #9 on: August 08, 2019, 01:54:33 PM »

I would try asking over in the WRT forums to see if anyone there has some commands to try. D-Link has never been keen on helping users out at this level. Seems like it could be a simple fix if you could get the right process in to place to recover the NVRAM. I know these were spendy units when they first came out...

Bad news, after too many attempts, eventually accidentally flashed "flash0" rather than flash0.trx. Which overwrote the CFE partition. Now the router is totally bricked. If someone can share a cfe.bin backup file from same model, I will continue my DIR-896L de-brick journey again. Otherwise,  story ends here  :(
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 47844
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DIR-895L/R boot loop/ stuck on recovery
« Reply #10 on: August 08, 2019, 02:30:30 PM »

Ouch.  :-\
Logged
Cable:200mb/10Mb>NetGear C7800>DIR-882>DGS-1100>HP 24pt Gb Switch. COVR-3902/2202/1203,DIR-2680,890L,882,880L,868L,DNR-202L,DNS-345x2,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting