AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 519758
Accepted
Username
Username
Asked: 2019-05-19 19:32:26 +0800 CST2019-05-19 19:32:26 +0800 CST 2019-05-19 19:32:26 +0800 CST

AMD-VI:在空白 SSD 上安装 Arch Linux 失败后的完成等待循环

  • 772

更新 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?

arch-linux kernel-panic
  • 2 2 个回答
  • 8595 Views

2 个回答

  • Voted
  1. Best Answer
    intika
    2019-05-22T17:42:04+08:002019-05-22T17:42:04+08:00

    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 and amd_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

    • 7
  2. S.S. Anne
    2019-05-22T13:36:17+08:002019-05-22T13:36:17+08:00

    Add acpi=off or iommu=soft while booting. Both have their disadvantages:

    iommu=soft:

    Linux can then detect everything properly (all cores) and I've had zero crashes. The only issue is that it's using software IOMMU which could have a performance penalty because it has to copy all the data of some PCI devices to sub 4G regions.

    acpi=off:

    Alternatively it boots with the kernel option "acpi=off" but only detects a single core/thread.

    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 contains initrd=.

    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

    • 3

相关问题

  • Nftables 配置错误:指定的协议冲突:inet-service v. icmp

  • archlinux efi netboot 内核“ip”不起作用?systemd "启动 Switch Root 失败。"

  • 如何在 Arch Linux 上设置音频,支持多个程序同时发出音频而不创建 asoundrc?

  • 为什么有时需要手动导入密钥?

  • 在启动时加载设备

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve