You are not logged in.

#1 2022-04-10 11:30:50

Lax Lexis
Member
Registered: 2013-09-30
Posts: 91

[solved][MSI Radeon HD 5450] Arch Linux freezes before login prompt

Hello everyone,

I saved an old PC from electronic scrap.

If I boot from Live USB Stick everything seems to be fine. See the lspci output of the graphic card, please:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] (prog-if 00 [VGA controller])
	Subsystem: Micro-Star International Co., Ltd. [MSI] Radeon HD 5450
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 26
	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at feae0000 (64-bit, non-prefetchable) [size=128K]
	Region 4: I/O ports at d000 [size=256]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s (ok), Width x16 (ok)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR-
			 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS-
			 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled,
			 AtomicOpsCtl: ReqEn-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
			 EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
			 Retimer- 2Retimers- CrosslinkRes: unsupported
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee02004  Data: 0026
	Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		AERCap:	First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000000 00000000 00000000 00000000
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu

On my arch linux system I have installed xf86-video-amdgpu and xf86-video-ati. I also create a /etc/X11/xorg.conf.d/20-radeon.conf like descripted in the wiki.

Section "Device"
    Identifier "Radeon"
    Driver "radeon"
EndSection

But my system still freezes on boot.

Journalctl shows the following error:

Mar 22 11:59:50 lenovo2010 kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Mar 22 11:59:51 lenovo2010 kernel: r600_cp: Failed to load firmware "radeon/CEDAR_pfp.bin"
Mar 22 11:59:51 lenovo2010 kernel: [drm:evergreen_init [radeon]] *ERROR* Failed to load firmware!
Mar 22 11:59:51 lenovo2010 kernel: radeon 0000:01:00.0: Fatal error during GPU init

To disable KMS by adding nomodeset to grub making no big different. It freezes a little bit later.

Thanks for any help!

Greetings

Last edited by Lax Lexis (2022-04-10 13:11:51)

Offline

#2 2022-04-10 11:41:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [solved][MSI Radeon HD 5450] Arch Linux freezes before login prompt

Make sure linux-firmware is installed.

Offline

#3 2022-04-10 13:08:41

Lax Lexis
Member
Registered: 2013-09-30
Posts: 91

Re: [solved][MSI Radeon HD 5450] Arch Linux freezes before login prompt

That works for me! No freeze anymore, thanks!

I have another question. lspci -v shows me that the used kernel module is only radeon. If I boot from live USB stick then lspci -v shows me that the used kernel module is radeon, amdgpu.

Should I worried about the missing amdgpu?

Offline

#4 2022-04-10 13:20:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [solved][MSI Radeon HD 5450] Arch Linux freezes before login prompt

There's a difference between "kernel driver in use" and "kernel driver" as seen in your output 

Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu

the latter is modules that technically claim to support your HW the former is which module is actually actively in use, and should rather be only one of them. So this isn't inherently problematic and actually expected. Since you do have both listed you could in theory switch to the amdgpu module if you want in order to get e.g. Vulkan support: https://wiki.archlinux.org/title/AMDGPU … K)_support

Offline

Board footer

Powered by FluxBB