cancel
Showing results for 
Search instead for 
Did you mean: 

PC Processors

AM5 Kernel panic/Bluescreen on boot with global cstates

Hello, i build myself a new system with the 7950x, 2x 32gb Kingston fury beast 5600 mhz, the asrock x670e pg lightning and a 850w bequiet PSU.

The problem is that i get a Kernel panic (with linux) or a Bluescreen (with windows) on every boot unless i disable "global cstate control" in the bios or boot with "processor.max_cstate=1" or "acpi=off" as kernel parameter, after this the system works without any issue.

Noteworthy: If i boot with "processor.max_cstate=2", i get a segfault instead of a kernel panic.

I have the latest beta bios installed (currently 1.14.AS06, tried 1.07, 1.11.AS03 and 1.14.AS06) and have the microcode compiled into the kernel according to the gentoo wiki.

 

Any idea what the cause of this issue might be?

 

Edit: Kernel version 6.1.12

1 Solution

Update: It was a Hardware fault, i RMAed the CPU and got a replacement, my system works completely fine now

View solution in original post

16 Replies

Deleted Reply since I misread the User's Original Post.

0 Likes

No youre not, thats why i wrote it in the post, maybe a bit hard to read

 

Ryzen 9 7950x and a asrock x670e  pg lightning

0 Likes

My apologies I didn't see that you indeed wrote the CPU and motherboard.

So you are not using a GPU card but your AMD APU Integrated Graphics correct?

Is your RAM on your ASRock Motherboard QVL List by any chance: https://pg.asrock.com/mb/AMD/X670E%20PG%20Lightning/index.asp#Memory

Here is AMD latest Chip Set drivers for your X670e Motherboard: https://www.amd.com/en/support/chipsets/amd-socket-am5/x670e

Do you have the latest BIOS version installed, preferably a Non-BETA version if possible: https://pg.asrock.com/mb/AMD/X670E%20PG%20Lightning/index.asp#BIOS

Sounds like possibly it is a BIOS update issue. I would open a ASRock Support ticket and see if they believe it is a BIOS issue with your CPU and Motherboard.

Here is the latest AMD APU Driver for your processor from AMD Download page: https://www.amd.com/en/support/apu/amd-ryzen-processors/amd-ryzen-9-desktop-processors/amd-ryzen-9-7...

According to AMD Specs on the Ryzen 9 7950x here are all the OS that it supports:

*OS Support
Windows 11 - 64-Bit Edition
Windows 10 - 64-Bit Edition
RHEL x86 64-Bit
Ubuntu x86 64-Bit
*Operating System (OS) support will vary by manufacturer.
 
Here is AMD latest Linux drivers: https://www.amd.com/en/support/linux-drivers

 

0 Likes

Whoops that one is on me, sorry

No i use a rx570, the integrated graphics are currently disabled in the bios since that was the source of a problem from another user

Still try updating your Motherboard BIOS, Chip Set, and IGPU drivers.

You don't need to disable the IGPU since you have a GPU card installed BIOS automatically make the GPU card the Main Display Adapter for your PC.

Enable the IGPU and update your RX 580 GPU card driver from here: https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580

Seems like the IGPU driver is  compatible with both your GPU card and IGPU.

Once you have updated all of your Motherboard's important drivers and BIOS open Device Manager and see if you see any errors showing.

If so please post an image of Device Manager.

Also try running DXDIAG.exe and save the file to your PC. Then open it and go to the last Category "Diagnostics" to see which file or drivers are having issues.

Also check Windows  Event Viewer under "Errors" to see if you spot any issues that might be causing your problems.

But from what you stated it still sounds like a BIOS issue since the C-States deals strictly with the CPU itself.

Found this tech article about C-State and the 7000 series APUs: https://skatterbencher.com/2022/10/26/update-on-ryzen-7000-c-state-boost-limit/

 

0 Likes


Is your RAM on your ASRock Motherboard QVL List by any chance:

 Not the exact one, only the versions with lower memory per stick


Do you have the latest BIOS version installed, preferably a Non-BETA version

I am currently on the newest beta version but already tried the other non beta versions with no success

 

The other points you wrote shouldn't be an issue since the drivers/firmware is included in the linux-firmware package and the microcode for the cpu compiled into the kernel (amd-ucode/microcode_amd_fam19h.bin) but ill install windows on a different drive to test this out

Nope windows will also only boot with cstates disabled (no errors and every device in the device manager detected)

0 Likes

From what I read C-States is a power saving feature. So you can safely disable it in BIOS.

Possibly your processor isn't fully compatible to C-States which is why it is crashing.

But it is best to open a AMD SUPPORT - Warranty ticket and ask them their opinion: https://www.amd.com/en/support/contact-email-form

Created a Ticket, thanks for you help!

 


From what I read C-States is a power saving feature. So you can safely disable it in BIOS.

 Yeah, that's how i currently use my system... But this is not an ideal solution since the CPU uses more power than necessary

steve1712
Journeyman III

Amy news to this? 

Have built ah new system with AM5, 7600x , Gigabyte aorus master, gskill 32gb kit from supported list of Mainboard...

I did some tests and tried XMP1 and setting curve optimizer,...

 

Also had the 4090 issue that only pcie Gen1 was active so I did ah bios upgrade to already that fixes the 4090 issue...  Also reseted the bios settings...

 

So now still getting bluescreens. But as I found out they appear each time you to ah cold boot from ah completely turned off socket ! After the bluescreen the following reboot works 🤷🏻‍


Amy news to this?

Yes, i RMAed my CPU and got a replacement, this fixed the issue for me

danalec
Adept I

am5 7950x, 4x 16gb adata xpg lancer 6000MHz, ASrock x670e pro rs and a 1400w PSU

I could boot nixos 23.05 with asrock stock 1.03 bios but newer agesa broke and made impossible.
segfault every boot.

also c-state must be disabled always, tested with windows11 pro N

For me a replacement CPU fixed it, seems like a Hardware fault

0 Likes

Update: It was a Hardware fault, i RMAed the CPU and got a replacement, my system works completely fine now

Tested 1 week with the RMA'd CPU. Same thing. System crashed during idle unless Global C-State is disabled.

The C-state incompatible of AMD 7950x is real. AMD managed to send me another CPU with same bug. Frustrated.

0 Likes
danalec
Adept I

Thanks op!
I've got RMAed the CPU and got a replacement.
My system works completely fine now too!