惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
阮一峰的网络日志
阮一峰的网络日志
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
罗磊的独立博客
S
SegmentFault 最新的问题
V
V2EX
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
美团技术团队
博客园 - 三生石上(FineUI控件)
Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
D
Docker
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
M
Microsoft Research Blog - Microsoft Research
Martin Fowler
Martin Fowler
S
Secure Thoughts
B
Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
T
True Tiger Recordings
GbyAI
GbyAI
P
Proofpoint News Feed
P
Privacy International News Feed
Jina AI
Jina AI
The Cloudflare Blog
I
Intezer
AWS News Blog
AWS News Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Security Archives - TechRepublic
NISL@THU
NISL@THU
The Register - Security
The Register - Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
P
Palo Alto Networks Blog
S
Schneier on Security
L
LINUX DO - 热门话题
C
CXSECURITY Database RSS Feed - CXSecurity.com
Security Latest
Security Latest
C
Cybersecurity and Infrastructure Security Agency CISA

DEV Community

Unit Testing vs System Testing: Key Differences, Use Cases, and Best Practices for 2026 A game design textbook explains why products with fewer features win How to Build a Raydium Launchpad Bonding Curve in 5 Minutes with forgekit How to turn an AI prototype into a production system How Data Lake Table Storage Degrades Over Time Partition and Sort Keys on DynamoDB: Modeling data for batch-and-stream convergence Auto-Generate Optimized GitHub Actions Workflows For Any Stack With This New CLI Tool Unchaining the African Creator Economy The Treasure Hunt Engine Gotcha - A Lesson in Constrained Performance great_cto v2.17 - no more tambourine dance When Catalogs Are Embedded in Storage SafeMind AI: Instant Health & Safety Intelligence What Is PKCE, How It Works & Flow Examples AI Agent Failure Modes Beyond Hallucination Fastest Way to Understand Stryker Solana Accounts Explained to a Web2 Developer TV Yayın Akışı Sitesi Geliştirirken Öğrendiğim Teknik Dersler $500 Challenge Drop My First Look at Google's Gemma 4: A Quick Introduction How I use an LLM as a translation judge Best Calendar and Scheduling API for Developers — 2026 Comparison Agentic AI in Travel: Why UCP Isn't Travel-Ready Yet — and What We Measured I Finished Machine Learning. And Then Changed The Plan. The Five-Thousand-Line File The AI Whirlwind: Why Your Local Agent Matters More Than Ever I Built an Oracle DBA That Lives in Telegram. It Cut a 500K-Row Scan to 5 - After Asking Permission. The Day 2 Reality of Running a Kubernetes Lab on Your Mac: Stop/Start, CKS Scenarios, and What I Learned Building It. n8n for Airtable Power Users: 5 Automations That Take Your Base to the Next Level Validating Gemma 4 for Industrial IoT: A Governance Pattern VS Code Now Credits Copilot on Every Commit by Default Astro and Islands Architecture: Why Your Portfolio Doesn't Need React for Everything Booting from FAT12: How I added file reading to my x86 kernel Unity’s AI agent went public: the developers of a static analysis tool on what that means for code quality Anna's Archive publica un llms.txt para los LLMs que rastrean su catálogo CRDTs for Offline-First Mobile Sync Why I Built Mneme HQ: Preventing AI Agent Architectural Drift Google Antigravity 2.0 Is the I/O 2026 Announcement You Should Actually Care About I Built a Pay-Per-Call Crypto Signal API with x402 — Heres the Architecture JWT Token Refresh Patterns in React 19: Avoiding the Silent Auth Death Spiral 🚀 “From Prompts to Autonomous Agents: What Google I/O 2026 Changed” The Power of Distributed Consensus in Autonomous SOCs Sixteen TUI components, copy-paste, no dependency The Boring Reliability Layer Every Autonomous Agent Needs Nven - Secret manager Building Multi-Tenant Row-Level Security in PostgreSQL: A Production Pattern The Hardest Part of Being a Developer Isn't Coding Building Vylo — Looking for Collaborators, Partners & Early Support I Thought Memory Fades With Time. It Actually Fades With Information. ORA-00064 오류 원인과 해결 방법 완벽 가이드 I registered an AI agent at 1 AM and something cracked open in my head Pitch: Nven - Sync secrets. Ship faster. Why y=mx+b is the heart of AI From Routines to a Crew — Building a System That Plans Its Own Work & executes it 25 React Interview Questions 2026 (With Answers) — Hooks, React 19, Concurrent Mode An open source LLM eval tool with two independent quality signals Using Dashboard Filtering to Get Customer Usage in Seconds from TBs of Data Skills, Java 17, And Theme Accents 4 Hard Lessons on Optimizing AI Coding Agents Arctype: Cross-Platform Database GUI for LLM Artifacts Your robots.txt says GPTBot is welcome. Your server says 403. Organizing How to Use AWS Glue Workflow 5 n8n Automations Every Digital Agency Should Be Running (Bill More, Work Less) Getting Started with TorchGeo — Remote Sensing with PyTorch Designing a Scalable Cross-Platform Appium Framework Google Antigravity 2.0 & Slash Commands Building a Unified Adaptive Learning Intelligence with Gemma 4, Flutter, and Multi-Model Orchestration Looking for beta testers for a £60 server management application The Disk-Pressure Incident That Taught Me to Always Set LimitRanges and Other Lessons from Mirroring EKS Locally. Why AI Should Not Write SQL Against ERP Databases Vibe coding works until it doesn't. The debt is real. Shipping at the Edge: Migrating a Coffee Subscription Platform to Cloudflare Workers Stop Tab-Switching: A Developer's Guide to Color Tools That Actually Fit the Workflow DevOps vs MLOps vs AIOps: What Changes, What Stays, and a Simple Roadmap to Get Started Run Powerful AI Coding Locally on a Normal Laptop 5 n8n Automations Every WooCommerce Store Needs (Save 10+ Hours/Week) What I Learned Building My Own AI Harness Hytale Servers Will Fail Treasure Hunts Until We Fix Our Event Handling Redux in React: Managing Global State Like a Pro Unfreezing Your GitHub Actions: Troubleshooting Stuck Deployments and Protecting Your Git Repo Statistics Unlocking Project Discoverability on GHES: A Key to Software Engineering Productivity When the Cleanup Code Becomes the Project Rockpack 8.0 - A React Scaffolder Built for the Age of AI-Assisted Development Mismanaging the Treasure Hunt Engine in Hytale Servers Will Get You Killed Stop Calling It an AI Assistant. It’s Already Managing Your Company Why Hardcoded Automations Fail AI Agents Why I built a post-quantum signing API (and why JWT is on borrowed time) Weekend Thought: Frontend Build Tools Suffer From Work Amnesia A 10-Line Playwright Trick That Saved Me Hours on Every Sephora Run AI Is Changing Engineering Culture More Than We Realize Everyone Was Focused on Gemini, But Infinite Scaler Was the Real Twister "Gemma 4 Analyzed My Bank Statements – Apparently I 'Have a Problem' with Coffee and Late-Night Apps" #css #webdev #beginners #codenewbie The Hidden Layer Every AI Developer Must Learn AlphaEvolve: Google DeepMind's Gemini-Powered Evolutionary Coding Agent RDS Reserved Instance Pricing: Every Engine, Every Rule, Real Dollar Savings How To Build An AI-Powered MVP Without Burning Your Startup Budget In 2026 Reading a Psychrometric Chart Without Getting Lost LMR-BENCH: Can LLM Agents Reproduce NLP Research Code? (EMNLP 2025) How to turn text into colors (without AI) Building Real-Time Apps in Node.js with Rivalis: WebSockets, Rooms, Actors, and a Binary Wire
[Solved] Windows 11 Failed to Wake from Sleep and Restarts: Fixing a 4-Year-Old Bug with a BIOS Update
kuroappworks · 2026-05-13 · via DEV Community

Environment

Component Model / Version
CPU AMD Ryzen 5 5600G
Motherboard ASUS TUF GAMING X570-PLUS
Graphics Card ASUS DUAL-RX9060XT-16G
OS Windows 11

[Conclusion] Summary of the Cause and Solution

For those who want a quick fix, here is the summary of the cause and the solution.
The sleep wake-up failure that had been occurring for years was actually a combination of two independent issues: the "driver" and the "BIOS".

Timing of Occurrence Cause Solution
When Windows 11 was first installed Driver-related (Remnants of amdkmdag.sys) Clean install after completely removing it with AMD Cleanup Utility
After adding the new GPU BIOS-related (Motherboard firmware bug) Update BIOS to the latest version using ASUS EZ Flash 3

A clean installation of the driver only provided a "temporary relief." The root cause lay in the motherboard's BIOS. If dump file analysis points to a driver issue, but reinstalling the driver doesn't stop the problem from recurring, updating the BIOS is highly likely the only way to achieve a complete fix.


Timeline of the Issue

4 Years Ago (Initial Windows 11 Installation)

When I migrated to Windows 11 right after its release, my PC started failing to wake from sleep, automatically restarting a few minutes later instead.

I tweaked settings and reinstalled drivers, but nothing worked. Because my work kept getting interrupted by these random reboots, I quickly downgraded (rolled back) to Windows 10 to escape the nightmare.

Around Fall 2025

As the end of support for Windows 10 approached, I gathered my courage and upgraded to Windows 11 once again.

Remembering the nightmare from four years ago, I hesitantly put the PC to sleep. Surprisingly, instead of the post-restart screen, the screen woke up with all my active applications fully restored.
It seemed that over the past 4 years (likely via Windows Updates), the system's behavior had changed. Putting it to "sleep" actually triggered "Hibernation," from which it could restore. While it wasn't a pure sleep wake-up, I compromised and kept using it since my work state was preserved.

Right After Installing the GPU

Wanting to run a local AI, I installed a new graphics card (ASUS DUAL-RX9060XT-16G).

The very next day, when I tried to wake the PC from sleep (hibernation) as usual, the exact same initial symptom from four years ago returned: "failed to wake from sleep -> auto-restart."


Details of the Symptoms

I had my keyboard configured to trigger the wake-up process. The behavior was as follows:

  1. Pressing a key on the keyboard did nothing; the monitor remained completely dark.
  2. After a few minutes passed, the BIOS splash screen suddenly appeared.
  3. The OS would then reboot entirely (losing all pre-sleep work states).

There was no Blue Screen of Death (BSOD); I just found myself at the sign-in screen.


Phase 1: Identifying the Driver as the Cause & Temporary Fix

Step 1: Checking Status with Reliability Monitor and Event Viewer

First, I used "View reliability history" (searchable from the taskbar) to pinpoint the exact date of the error. Then, I checked the Event Viewer for details.

How to check Event Viewer:

  1. Right-click the Start button -> Select "Event Viewer".
  2. From the left tree, select "Windows Logs" -> "System".
  3. Click "Filter Current Log" and check "Critical" and "Error" to narrow down the results.

Main errors identified:

Event ID Description
41 (Kernel-Power) Indicates the system rebooted without a clean shutdown first. It doesn't pinpoint the cause but helps identify the exact time of the crash.
1001 (BugCheck) Recorded when a BSOD occurs. The stop code can be confirmed here.

In the Reliability Monitor, I also found the following error:

  • LiveKernelEvent 141 (Video Hardware Error): Indicates that the GPU driver stopped responding for a certain period, and Windows attempted to forcibly reset it.

Step 2: Analyzing the Dump File with WinDbg

Since Event Viewer only told me that the "GPU driver crashed," I proceeded to analyze the dump file (.dmp) to find the underlying cause.

Dump file location: C:\Windows\Minidump

Analysis steps:

  1. Install Microsoft's official "WinDbg" (available via Microsoft Store or Windows SDK).
  2. Open the dump file (.dmp) in WinDbg.
  3. Run the analysis command !analyze -v to get the debug log.
  4. Paste the obtained log into a Generative AI for analysis.

Note:
Simply passing the raw debug log to a Generative AI yields highly accurate analysis. Even if you aren't familiar with WinDbg, you can get through this just by copy-pasting the logs.

What the analysis revealed:

BugCheck: 0x000000a0 (INTERNAL_POWER_ERROR)
Parameter 1: 0xf1

Enter fullscreen mode Exit fullscreen mode

0xa0 with Parameter 0xf1 means a failure to transition to Modern Standby (S0 Low Power Idle). It turned out that during the transition to or from sleep, the AMD Radeon graphics driver amdkmdag.sys stopped responding (hung), leading the OS to interpret it as a "fatal power error" and forcibly restart the system.

Step 3: Clean Installation of the Driver

Since the cause was narrowed down to the AMD driver, I performed a clean install using the official "AMD Cleanup Utility".

⚠️ Important Warning:
The AMD Cleanup Utility runs in Safe Mode, which may disconnect your internet. Make sure to download the latest driver installer BEFORE starting this process.

Driver used this time: AMD Software: Adrenalin Edition 26.3.1 (WHQL Recommended)

Interestingly, I was already using the latest driver when the issue occurred. The problem wasn't the version itself, but rather incomplete driver remnants left behind by normal uninstallations. Complete removal via the AMD Cleanup Utility and subsequent reinstallation was required.

Clean Installation Steps:

1. Preparation (Download)

  • Download the latest "AMD Software: Adrenalin Edition" installer from the official AMD website.
  • Download the "AMD Cleanup Utility" (amdcleanuputility.exe) from the official AMD support page.

2. Removing Current Drivers

  1. Run amdcleanuputility.exe.
  2. A prompt will ask if you want to reboot into Safe Mode. Click "Yes".
  3. The PC will automatically restart and boot into Safe Mode.
  4. Once in Safe Mode, the tool launches automatically. When it asks to remove all AMD drivers and components, click "OK".
  5. The screen may flicker during removal—this is normal.
  6. When it says "AMD Cleanup Utility has successfully completed," click "OK" -> "Yes (Reboot)".

3. Reinstalling the Driver

  1. Once Windows boots normally, run the installer you downloaded earlier.
  2. Follow the on-screen instructions to complete the installation.
  3. Restart the PC one more time just to be safe.

With this fix, the system stopped relying on the "fake sleep" (hibernation) workaround, and the sleep wake-up failure seemed temporarily resolved.

Alternative solutions suggested by GenAI (Not needed in this case)

Based on the dump analysis, the Generative AI also suggested the following workarounds, but they were irrelevant to my environment:

  • Disabling the integrated graphics (iGPU)
  • Disabling PCIe Link State Power Management
  • Disabling Modern Standby (via registry/settings)

These are often BIOS-level settings, which might not exist depending on your motherboard, or might have already been addressed by default.


Phase 2: Recurrence & Identifying the Root Cause

Recurrence After 1 Week

About a week after the driver update, the automatic restart due to sleep wake-up failure happened again.

Narrowing Down Reproduction Conditions

After repeated testing, I identified a specific trigger: The wake-up failure occurred when I put the PC to sleep while leaving an AI model loaded in "Lemonade" (a local server software for running LLMs).

I strongly suspected that entering sleep mode while heavily occupying the GPU VRAM was the trigger.

Re-investigation

I analyzed the dump files with WinDbg again and consulted the GenAI, but it gave the same response as before: "Driver issue (amdkmdag.sys)." No new clues were found there.

I then manually searched Reddit and international forums. There, I found multiple reports stating, "Updating the BIOS fixed the sleep wake-up bug." This raised the possibility of a fundamental flaw in the motherboard's firmware.


Phase 3: Root Cause Resolution via BIOS Update

BIOS Update Procedure

For ASUS motherboards, you can use "ASUS EZ Flash 3" to update the BIOS directly from the BIOS screen without relying on the OS, as long as you have the BIOS image file.

Item Details
Version Before Update 5031 (2025/04/01)
Version After Update 5044 Beta (2026/02/02)

Steps:

  1. Download the latest BIOS for your motherboard (TUF GAMING X570-PLUS) from the ASUS official website.
  2. Place the BIOS file in the root directory of a FAT-formatted USB flash drive.
  3. Restart the PC and enter the BIOS screen (by pressing the Delete key).
  4. Navigate to "Tool" -> "ASUS EZ Flash 3 Utility".
  5. Select the USB flash drive, choose the BIOS file, and execute the update.
  6. The PC will automatically restart upon completion.

⚠️ Warning:
A failed BIOS update carries the risk of rendering your PC unbootable (bricking). Please ensure the following before proceeding:

  • Use a UPS or ensure a highly stable power connection to prevent power loss during the update.
  • Take note of your current BIOS settings just in case.

Results

After the update, I tested putting the PC to sleep while leaving the AI model loaded. It woke up perfectly without any issues. The long-standing bug was finally and completely resolved.


⚠️ Side Effects of BIOS Updates & Workarounds

Updating the BIOS causes the following side effects. I highly recommend preparing for them in advance.

1. Windows Sign-in PIN Gets Reset

After a BIOS update, the PIN used for Windows Hello is cleared.

What to do beforehand:

  • Ensure you can sign in using your Microsoft account password.
  • Make sure you have access to your Microsoft account recovery email (a verification code may be sent when logging into the OS).

Note:
In my case, I happened to have my Windows login password safely stored in a custom-built Android app I created for password and account management, so I was able to sign in without any trouble.

2. Passkeys Are Disabled

Because the PIN is reset, any passkeys tied to your PC via Windows Hello (such as for your Google account) will become unusable. Even if you set your PIN back to exactly what it was, they won't recover. You will need to re-register your passkeys for each respective service.


Conclusion

While the WinDbg dump analysis consistently pointed only to a crash in amdkmdag.sys, the breakthrough that led me to suspect the BIOS came from information found on international forums.

The key takeaway from this experience is that sleep-related bugs are surprisingly often caused by the BIOS.
I hope this log helps anyone dealing with the same frustrating issue!