簡體   English   中英

從源內核編譯凍結在update-initramfs:生成/boot/initrd.img-4.7.1

[英]Kernel compilation from source frozen at update-initramfs: Generating /boot/initrd.img-4.7.1

我一直在嘗試從源代碼編譯Linux內核v4.7.1,這是到目前為止我所獲得的最遠的成果。 如何成功完成編譯?

以下是控制台上的最后幾行,在cpu的使用率達到1%之前,因此,我假設此處的編譯已凍結。

  INSTALL sound/usb/snd-usbmidi-lib.ko
  INSTALL sound/usb/usx2y/snd-usb-us122l.ko
  INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
  INSTALL virt/lib/irqbypass.ko
  DEPMOD  4.7.1

sh ./arch/x86/boot/install.sh 4.7.1 arch/x86/boot/bzImage \
        System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.7.1 /boot/vmlinuz-4.7.1
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.7.1 /boot/vmlinuz-4.7.1
update-initramfs: Generating /boot/initrd.img-4.7.1

解決方案是添加:

ARRAY <ignore> devices=/dev/sda

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM