更新 2019-05-21 19:37 EST:我的主板使用最新的 BIOS,发布于 2019-03-06,但仍然存在下面描述的安装问题。
更新:我将 Arch ISO 刻录到 CD,然后尝试从它启动,无论是 UEFI 还是旧版。相同类型的结果:
原始问题:我曾经dd
将此Arch ISO(版本 2019.05.02)放在 U 盘上,然后尝试在我的台式计算机上从它启动。当 Arch 菜单出现时,我选择“Boot Arch Linux (x86_64)”。但是接下来是一堆错误消息,然后该过程就挂在那里无所事事。这是一张照片:
The messages start off as "AMD-Vi: Completion-Wait loop timed out"
The messages include "kernel panic."
My motherboard is an MSI B450 Tomahawk with a Ryzen 5 2600 CPU. I've tried booting via UEFI and legacy with the same result.
How do I install Arch Linux?
Linux Kernel With MSI B450
The kernel fail in this case because of the support of the iommu feature; you can use some specific kernel adjustment (parameter) to fix your booting issue, this video demonstrate how to edit/apply the kernel parameters; here are some possibles solutions, try the different proposed parameters and choose the one that match best your needs. also you may turn off SVE in the bios.
Possible Solutions: Kernel Parameters
iommu=off
iommu=off
andamd_iommu=fullflush
amd_iommu=off
mem_encrypt=off
amdgpu.runpm=0
pci=noats
Involved Technology Definition
Kernel Parameters: (aka Boot Options) Kernel command line parameters are parameters that you pass on to the kernel during the boot process to adjust its features or capabilities.
IOMMU: is a memory management unit that basically increase performance and security; additional details can be found here
IOMMU State: on, off or fullflush (detail on the linked article)
mem_encrypt: Add support for Secure Memory Encryption (SME). and defines the memory encryption mask that will be used in subsequent patches to mark pages as encrypted.
amdgpu.runpm=0: disable the graphical power management in the linux kernel (it will be then handled at the hardware/firmware/bios level)
pci=noats: disable PCI Address Translation Services
Note
After the install you will need to be very careful on kernel updates
高级技术用户可以使用这个或那个补丁构建自己的内核
Arch 启动盘:
要将参数应用到启动盘,在启动菜单上,按“tab”以编辑启动命令,按空格(添加空格)然后写入参数,例如“iommu=off”,不带引号,然后按回车键启动
资料来源:
启动板, freedesktop, freedesktop, freedesktop, askubuntu, 维基百科, artofcode, archlinux, linuxfoundation, fclose, youtube, youtube
Add
acpi=off
oriommu=soft
while booting. Both have their disadvantages:iommu=soft
:acpi=off
:Resource: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1747463
To add one of these options, press Tab at the screen that says
Press [Tab] to edit options
and add it at the end of the line that containsinitrd=
.Resource: https://www.reddit.com/r/archlinux/comments/9bv2vj/how_to_add_kernel_parameters_to_boot_from/
If that doesn't work, check and see if there are any available BIOS and/or Arch ISO updates. You might have a better chance of getting it to work if/when Arch includes Linux kernel 5 in their images.
Resource: https://askubuntu.com/a/1091191