你好,xa61200主板安装9060xt显卡,archlinux内核无法启动,打上连接中的补丁后可以进入桌面,可否将此补丁临时合入Arch内核。 1
https://github.com/loongson-community/discussions/issues/102
ArchLinux启动日志:
[Bds]Booting arch
FSOpen: Open '\EFI\arch\grubloongarch64.efi' Success
[Bds] Expand HD(1,GPT,44D48272-2E67-4465-ACFE-A753F960BE19,0x800,0x200000)/\EFI\arch\grubloongarch64.efi -> PciRoot(0x0)/Pci(0x8,0x0)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,44D48272-2E67-4465-ACFE-A753F960BE19,0x800,0x200000)/\EFI\arch\grubloongarch64.efi
[Security] 3rd party image[0] can be loaded after EndOfDxe: PciRoot(0x0)/Pci(0x8,0x0)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,44D48272-2E67-4465-ACFE-A753F960BE19,0x800,0x200000)/\EFI\arch\grubloongarch64.efi.
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B FABF2040
Loading driver at 0x000F9AD6000 EntryPoint=0x000F9AD7000
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF FABF2E98
ProtectUefiImageCommon - 0xFABF2040
- 0x00000000F9AD6000 - 0x000000000002A000
GNU GRUB 2:2.12.r292.g73d1c959-1
/----------------------------------------------------------------------------\
|*ArchLinux Linux |
| ArchLinux Linux |
| UEFI Firmware Settings |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
\----------------------------------------------------------------------------/
^ v
enter e c
0
"ArchLinux Linux"
Linux linux ...
...
InstallProtocolInterface: 4006C0C1-FCB3-403E-996D-4A6C8724E06D 87FEBE028
InstallProtocolInterface: 09576E91-6D3F-11D2-8E39-00A0C969723B 87FEBE000
[Security] 3rd party image[0] can be loaded after EndOfDxe: MemoryMapped(0x2,0xF6CFF000,0xF9ACE200).
InstallProtocolInterface: 5B1B31A1-9562-11D2-8E3F-00A0C969723B FAB8BD40
Loading driver at 0x000F3DF0000 EntryPoint=0x000F51C4EE4
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF FAB90F98
ProtectUefiImageCommon - 0xFAB8BD40
- 0x00000000F3DF0000 - 0x0000000002F00000
XhcClearBiosOwnership: called to clear BIOS ownership
DisableFloatExitBootServicesEventNotify
SetUefiImageMemoryAttributes - 0x00000000FDC70000 - 0x0000000000007000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDC60000 - 0x0000000000006000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDC40000 - 0x0000000000009000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB80000 - 0x00000000000B5000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB70000 - 0x0000000000006000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB60000 - 0x0000000000007000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB50000 - 0x0000000000006000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB40000 - 0x0000000000005000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB30000 - 0x0000000000005000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB20000 - 0x0000000000006000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB10000 - 0x0000000000007000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDB00000 - 0x0000000000007000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDAF0000 - 0x0000000000007000 (0x0000000000000000)
SetUefiImageMemoryAttributes - 0x00000000FDAD0000 - 0x0000000000014000 (0x0000000000000000)
[ 5.915802] do_fpu invoked from kernel context![#1]:
[ 5.920734] CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted 6.16.3-arch1-1 #1 PREEMPT(full) 2d31a622318d8abe95fe64a4a0df410dc43ecc09
[ 5.933008] Hardware name: Loongson Loongson-3A6000-HV-7A2000-1w-V0.1-EVB/Loongson-3A6000-HV-7A2000-1w-EVB-V1.21, BIOS Loongson-UDK2018-V4.0.05756-prestab
[ 5.946750] Workqueue: events work_for_cpu_fn
[ 5.951078] pc ffff800002b63e68 ra ffff800002b63e10 tp 900000010046c000 sp 900000010046f5e0
[ 5.959376] a0 ffff800432c2c9b8 a1 0000000000000000 a2 ffff800432c2ca58 a3 ffff800432c2ca50
[ 5.967673] a4 ffff800432c2ca50 a5 0000000100000000 a6 0000000000000000 a7 900000010046f4b0
[ 5.975970] t0 ffff800003b95000 t1 ffff800432c2d000 t2 0000000000000001 t3 0000000000000000
[ 5.984268] t4 0000000000000004 t5 0000000000000000 t6 0000000000000000 t7 90000001116a3800
[ 5.992565] t8 9000000112400000 u0 ffff8000036ec000 s9 0000000000000001 s0 9000000112400000
[ 6.000862] s1 9000000113380000 s2 9000000112400000 s3 9000000113380000 s4 9000000112400000
[ 6.009160] s5 0000000000000001 s6 0000000000001000 s7 900000010b2d6000 s8 ffff800432c28000
[ 6.017457] ra: ffff800002b63e10 dml21_map_dc_state_into_dml_display_cfg+0x40/0x11f0 [amdgpu]
[ 6.027563] ERA: ffff800002b63e68 dml21_map_dc_state_into_dml_display_cfg+0x98/0x11f0 [amdgpu]
[ 6.037326] CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
[ 6.043469] PRMD: 00000004 (PPLV0 +PIE -PWE)
[ 6.047794] EUEN: 00000000 (-FPE -SXE -ASXE -BTE)
[ 6.052552] ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
[ 6.057310] ESTAT: 000f0000 [FPD] (IS= ECode=15 EsubCode=0)
[ 6.062845] PRID: 0014d000 (Loongson-64bit, Loongson-3A6000-HV)
[ 6.068809] Modules linked in: amdgpu(+) i2c_algo_bit drm_ttm_helper ttm drm_panel_backlight_quirks drm_exec drm_suballoc_helper amdxcp drm_buddy nvme gpu_sched drm_display_helper nvme_core cec spi_loongson_pci nvme_keyring spi_loongson_core nvme_auth
[ 6.090947] Process kworker/0:1 (pid: 11, threadinfo=(____ptrval____), task=(____ptrval____))
[ 6.099417] Stack : 0000000000000003 ffff800432e18008 0000000000000000 0000043800000780
[ 6.107372] 9000000113380000 ffff8000036ec000 90000001133802d8 ffff800002b98be0
[ 6.115326] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 6.123280] 0000000000000000 90000001132c0000 0000000000000000 0000000000000008
[ 6.131234] 0000000000000008 0000000000000001 0000000000000010 9000000112400000
[ 6.139188] 9000000112400000 ffff800432c28000 ffff800432c28000 ffff800002b66328
[ 6.147143] 0000000000000001 0000000000000001 9000000112de0b00 0000000000000001
[ 6.155096] 9000000113380000 ffff800002a75250 900000010b2d6000 0000000000000008
[ 6.163050] 900000010dac5010 900000010dac5010 9000000113380000 0000000000000010
[ 6.171005] 9000000112de0b00 9000000113380000 9000000112ed0000 ffff80000280960c
[ 6.178959] ...
[ 6.181381] Call Trace:
[ 6.181384] [<ffff800002b63e68>] dml21_map_dc_state_into_dml_display_cfg+0x98/0x11f0 [amdgpu]
[ 6.193249] [<ffff800002b66324>] dml21_validate+0xc4/0x150 [amdgpu]
[ 6.200438] [<ffff800002a7524c>] dcn401_validate_bandwidth+0xec/0x290 [amdgpu]
[ 6.208602] [<ffff800002809608>] create_validate_stream_for_sink+0x3d8/0x410 [amdgpu]
[ 6.217366] [<ffff8000028096c4>] amdgpu_dm_connector_mode_valid+0x84/0x2a0 [amdgpu]
[ 6.225946] [<9000000004116334>] drm_connector_mode_valid+0x44/0x80
[ 6.232175] [<90000000041164ac>] __drm_helper_update_and_validate+0x13c/0x470
[ 6.239264] [<9000000004116b08>] drm_helper_probe_single_connector_modes+0x328/0x6c0
[ 6.246958] [<90000000040f734c>] drm_client_modeset_probe+0x25c/0x1960
[ 6.253443] [<9000000004119080>] __drm_fb_helper_initial_config_and_unlock+0x40/0x660
[ 6.261224] [<900000000411f9ec>] drm_fbdev_client_hotplug+0x8c/0x110
[ 6.267535] [<90000000040f4de4>] drm_client_register+0x74/0xd0
[ 6.273330] [<900000000411fb98>] drm_fbdev_client_setup+0xa8/0x240
[ 6.279469] [<900000000411eab8>] drm_client_setup+0xd8/0x130
[ 6.285088] [<ffff8000023b4c14>] amdgpu_pci_probe+0x3b4/0x7f0 [amdgpu]
[ 6.292513] [<9000000003ee35a4>] local_pci_probe+0x44/0xc0
[ 6.297962] [<900000000342c650>] work_for_cpu_fn+0x20/0x40
[ 6.303413] [<90000000034317a8>] process_one_work+0x1a8/0x500
[ 6.309121] [<900000000343274c>] worker_thread+0x37c/0x4d0
[ 6.314569] [<900000000343e184>] kthread+0x144/0x160
[ 6.319498] [<90000000046f3504>] ret_from_kernel_thread+0x24/0x1a0
[ 6.325638] [<90000000033de224>] ret_from_kernel_thread_asm+0xc/0x88
[ 6.331951]
[ 6.333423] Code: 29c1e07d 1400003d 29c26079 <2bc16078> 038aa3bd 2b932198 14000079 1400002c 29c2c076
[ 6.343109]
[ 6.344597] ---[ end trace 0000000000000000 ]---
[ 20.009507] random: crng init done