Question Motherboard debug code 22 with new hardware during new Windows 11 install ?

satas

Reputable
Jan 19, 2021
2
0
4,510
Hello folks!

This week, my system died, so yesterday I got following new parts:

Mobo: X870E Aorus Pro Ice
CPU: 9800X3d
RAM: 32GB Corsair Vengeance 6000MHz CL30 (which is listed on the compatibility list)

All other components were retained.

Now to the problem:

I assembled the system, powered it on, updated the BIOS, and installed an empty M.2 SSD.

Everything was recognized in the BIOS. However, when I started the Windows 11 installation from an USB drive, all the steps proceeded normally until it reached the stage where it searched for hard drives.(looking for disks) At that point, debug code 22 appeared on the mainboard and everything froze.

As long as I remained in the BIOS or even in the installation tool before the hard drive section, everything worked fine. But once the process required any interaction with SSDs, Code 22 immediately appeared and nothing worked thereafter. Notably, this error code is not documented in the manual!

what I have tried so far:

  • Swapping the RAM slots and testing with only one stick at a time (the other was always inactive)
  • Trying different PCI slots for the M2 SSD
  • Testing three different M.2 SSDs (all of which are on the mobo's compatibility list)
  • Removing and reinserting the CMOS battery
Now, i’m left wondering whether the issue is due to defective hardware some other problem.
Is there any way to determine if the motherboard, RAM, or CPU might be faulty? Unfortunately, I dont have any spare hardware to test with.

I also came across this reddit post describing exactly the same problem, but no solution was provided there.

Thank you for reading :)
I look forward to your help.

Best regards.
 
Hello folks!

This week, my system died, so yesterday I got following new parts:

Mobo: X870E Aorus Pro Ice
CPU: 9800X3d
RAM: 32GB Corsair Vengeance 6000MHz CL30 (which is listed on the compatibility list)

All other components were retained.

Now to the problem:

I assembled the system, powered it on, updated the BIOS, and installed an empty M.2 SSD.

Everything was recognized in the BIOS. However, when I started the Windows 11 installation from an USB drive, all the steps proceeded normally until it reached the stage where it searched for hard drives.(looking for disks) At that point, debug code 22 appeared on the mainboard and everything froze.

As long as I remained in the BIOS or even in the installation tool before the hard drive section, everything worked fine. But once the process required any interaction with SSDs, Code 22 immediately appeared and nothing worked thereafter. Notably, this error code is not documented in the manual!

what I have tried so far:

  • Swapping the RAM slots and testing with only one stick at a time (the other was always inactive)
  • Trying different PCI slots for the M2 SSD
  • Testing three different M.2 SSDs (all of which are on the mobo's compatibility list)
  • Removing and reinserting the CMOS battery
Now, i’m left wondering whether the issue is due to defective hardware some other problem.
Is there any way to determine if the motherboard, RAM, or CPU might be faulty? Unfortunately, I dont have any spare hardware to test with.

I also came across this reddit post describing exactly the same problem, but no solution was provided there.

Thank you for reading :)
I look forward to your help.

Best regards.
It sounds like you're dealing with a tricky issue. Let's go through some steps to diagnose and potentially resolve the problem.

Understanding Debug Code 22
Debug code 22 typically indicates an issue with memory initialization. This can be related to the RAM, motherboard, or even the CPU's memory controller. Given that you've already tried swapping RAM slots and testing with different M.2 SSDs, let's explore some additional steps.

1. Check BIOS Settings
Reset BIOS to Default Settings:

Enter the BIOS setup by pressing the appropriate key during startup (usually DEL or F2).

Look for an option to reset to default settings or load optimized defaults.

Save and exit the BIOS.

Enable XMP Profile:

If your RAM supports XMP, enable the XMP profile in the BIOS to ensure the RAM is running at its rated speed and timings.

Check SATA Mode:

Ensure that the SATA mode is set to AHCI, not RAID, in the BIOS settings.

2. Test RAM with MemTest86
Create a MemTest86 USB Drive:


Create a bootable USB drive using the provided tool.

Run MemTest86:

Boot from the MemTest86 USB drive.

Let the test run for several passes to check for any memory errors.

3. Update BIOS and Firmware
Check for BIOS Updates:

Visit the Gigabyte support page for your motherboard.

Download and install the latest BIOS update if available.

Update SSD Firmware:

Check the manufacturer's website for any firmware updates for your M.2 SSDs.

4. Test with Minimal Configuration
Remove Non-Essential Components:

Disconnect any non-essential components such as additional storage drives, USB devices, and peripherals.

Leave only the CPU, one stick of RAM, and the M.2 SSD connected.

Test Each Component Individually:

Test each RAM stick individually in different slots.

Try booting with a different M.2 SSD if available.

5. Check for Physical Damage
Inspect the Motherboard:

Look for any visible signs of damage, such as bent pins, burnt components, or loose connections.

Check CPU Installation:

Ensure the CPU is properly seated in the socket and that there are no bent pins.

6. Consider Compatibility Issues
Verify Compatibility:

Double-check the compatibility of your RAM, CPU, and SSD with the motherboard using the manufacturer's compatibility list.

Consult the Manual:

Refer to the motherboard manual for any specific installation instructions or troubleshooting tips.