Skip to content

We're upgrading our operations to serve you better. Orders ship as usual from Laval, QC. Questions? Contact us

Bitcoin accepted at checkout  |  Ships from Laval, QC, Canada  |  Expert support since 2016

RTC_DEAD Info

Antminer – RTC Battery Dead

Dead CR2032 coin cell — control board loses time across reboots, breaking TLS pool auth, NTP sync, and firmware updates.

Informational — Monitor and address as needed

Affected Models: Antminer S9, S9i, S9j, S17, S17 Pro, T17, S19, S19 Pro, S19j, S19j Pro, S19 XP, S19k Pro, S21, L3+, L7, T21, KA3, HS3

Symptoms

  • `date` over SSH returns 1970, 2000, or a past year after every power-cycle
  • Web UI shows absurd uptime (years) after a fresh reboot
  • Log timestamps (`kern.log`, `cgminer.log`, `/var/log/messages`) appear as 1970-01-01 or 2000-01-01
  • Pool stratum errors: `SSL certificate problem: certificate is not yet valid` / `x509: certificate is not yet valid`
  • `curl https://...` fails with TLS error over SSH where `wget --no-check-certificate` succeeds
  • NTP sync (`ntpd`, `chronyd`) fails on a known-good LAN with DNS working
  • Firmware OTA update fails server handshake mid-download
  • Control board boots normally; hashboards are fine; only software/cert layer is confused
  • Sibling miners on the same rack keep time; only this unit loses it across reboots
  • Post-power-blip pool auth fails until the clock is set manually
  • Scheduled autotune / cron jobs / watchdog comparisons report 'ran 55 years ago'
  • `CR2032` measures below 2.8 V on a multimeter

Step-by-Step Fix

1

SSH into the miner (typically `root` / `root` on stock Bitmain firmware) and run `date`. If it reports 1970, 2000, or an obviously past year, the RTC is not keeping time across reboots. This single command confirms the diagnosis for ~95% of suspected RTC battery failures without any hardware work. Screenshot the output before you touch anything — it is the cleanest record for your own troubleshooting notes.

2

Set the clock manually over SSH with `ntpdate pool.ntp.org` (if NTP is reachable) or `date -s "$(date -u +%Y-%m-%dT%H:%M:%SZ)"` copying your laptop's UTC time. Restart the mining daemon or reboot. If pool auth errors clear immediately and hashrate climbs back, the dead CR2032 is confirmed as the root cause — you've validated the hypothesis before ordering parts.

3

Order name-brand CR2032 cells in a 5-pack: Panasonic CR2032, Energizer ECR2032, Sony, or Maxell. Avoid no-name marketplace multi-packs — we have measured 40% DOA rates on those. A 5-pack runs $5-$10 CAD and covers multiple miners plus household spares. One branded cell is cheaper than one pool-offline hour on a serious rig.

4

Document every Antminer's battery install date with a masking-tape label in Sharpie on the chassis. Plan swaps at 3 years on rack/hot-ambient miners, 5 years on garage/basement miners. Same discipline as tracking thermal paste — one minute of labour per miner per half-decade prevents the 'why did my rig stop hashing at 2 AM on a long weekend' call.

5

Power down at the breaker or PSU switch (not just the web UI). Open the chassis and locate the coin cell. S9/T9: near the 4-pin serial header. S17/T17: next to the eMMC socket. S19 family: between RJ45 and the 40-pin hashboard connector. S21/T21: similar but sideways-facing holder. The cell is always a silver disc the size of a dime in a black or metal retention clip.

6

Measure cell voltage before removal. Multimeter on DC: red probe on the top (positive), black on the negative rim or adjacent ground pad. Healthy: 3.0-3.2 V. Marginal: 2.6-2.9 V. Dead: below 2.4 V. Record the number — tells you if this is routine end-of-life or something's drawing parasitic current. Under 1 V on an 18-month-old miner is a red flag for the Tier 3 drain test.

7

Pop the hold-down tab with a small flathead (gently — it's tin-plated spring steel and bends if pried aggressively). Slide out the old cell. Wipe contacts with isopropyl 99% and a cotton swab. Drop in a fresh name-brand CR2032, positive side up. Verify the retention clip springs back into contact. Close the chassis before re-energizing.

8

Power up and SSH in. Confirm with `date` that the RTC is reading again. Run `ntpdate pool.ntp.org && hwclock -w` to set system time AND write it back to the hardware RTC. The `hwclock -w` step is the one most DIYers miss — without it, Linux time is fine but the RTC register never updates, and the next reboot resets again. Reboot, SSH back in, confirm `date` survives.

9

Verify TLS + pool recovery. From SSH: `curl -v https://support.bitmain.com` and `wget https://d-central.tech` — both should return valid certs without `not yet valid` warnings. Check the miner dashboard for pool status. If stratum was erroring on TLS before the swap, it should reconnect within 60 seconds. If it doesn't, credentials are separately broken or the cert store is stale — escalate to Tier 3.

10

Parasitic drain diagnostic: if a fresh cell dies within weeks, the RTC circuit is pulling too much current. Install a new cell, leave the miner unplugged from mains for 7 days, measure cell voltage at day 0, day 3, day 7. Normal drop: under 5 mV total. Sick circuit: 50-200 mV drop. A faulty RTC IC, a leaky decoupling cap across VBAT, or physical damage to the holder can all cause this — $1 chip replacement often fixes it.

11

Refresh the CA certificate store. On older firmware (S9 stock pre-2020, S17 stock pre-2021), the baked-in `ca-certificates` bundle may not include modern Let's Encrypt intermediates — even a correct clock fails TLS to some pools. Fix: SSH in, inspect `/etc/ssl/certs` against current Debian `ca-certificates`, or flash DCENT_OS / Braiins OS+ / LuxOS which all ship current bundles.

12

Flash DCENT_OS — D-Central's own open-source Antminer firmware. All the per-chip tuning, autotuning, stratum v2, per-chip HW% of Braiins OS+ / LuxOS / Vnish, maintained publicly by D-Central, no vendor lock-in. It ships modern ca-certificates, sane NTP defaults, and forces `hwclock -w` on every sync. Landing: https://d-central.tech/dcent-os/. Source: https://github.com/DCentralTech/DCENT_OS. Alternatives: Braiins OS+, LuxOS, Vnish.

13

Replace the RTC IC if the drain test failed. SOIC-8 rework: preheat bottom 120-150 °C, top-side hot air 310 °C for 20-30 s, lift old chip, clean pads with braid and flux, drop new chip (match pin 1 orientation), reflow. Reinstall the cell and repeat the drain test. If drain is now normal, you've saved a control board for a $1-$3 Digi-Key chip.

14

eMMC / boot partition check. If the clock resets even with a known-good cell AND a known-good RTC, the firmware's own time-handling logic is suspect. Corrupted eMMC partitions on aging S17 / early S19 units can silently overwrite the RTC at boot. Re-flash from SD card using the correct image for your hardware revision. Bitmain publishes per-revision firmware at support.bitmain.com/downloads — wrong image for a late-rev board bricks the control board.

15

When to ship to D-Central: fresh cells dying fast with unlocalized parasitic drain; RTC IC reflow already attempted and failed; visible VBAT trace damage from a prior DIY attempt; multiple firmware revisions all exhibiting the same clock-reset behaviour. That's control-board-level rework best handled on a test fixture. Book at https://d-central.tech/services/asic-repair/. Tier 4 isn't common for this error — dead CR2032 is the single most DIY-friendly Antminer fault — but when warranted, it's warranted.

When to Seek Professional Repair

If the steps above do not resolve the issue, or if you are not comfortable performing these repairs yourself, professional service is recommended. Attempting advanced repairs without proper equipment can cause further damage.

Related Error Codes

Still Having Issues?

Our team of Bitcoin Mining Hackers has been repairing ASIC miners since 2016. We have seen it all and fixed it all. Get a professional diagnosis.