我正在使用Ubuntu GNOME 15.04。我想使用MPTCP,为此我已经下载并编译了修改后的内核(https://github.com/multipath-tcp/mptcp,分支mptcp_v0.90)。我至少需要3.18内核才能进行Displayport传递。安装模块和头文件后,在安装内核时进入以下行
run-parts: executing /etc/kernel/postinst.d/dkms 3.18.19+ /boot/vmlinuz-3.18.19+
然后停止。从dkms脚本中删除“> &&”之后,我得到以下输出:
hp@hp-desktop:~/git/mptcp$ sudo make install
sh ./arch/x86/boot/install.sh 3.18.19+ arch/x86/boot/bzImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.18.19+ /boot/vmlinuz-3.18.19+
run-parts: executing /etc/kernel/postinst.d/dkms 3.18.19+ /boot/vmlinuz-3.18.19+
* dkms: running auto installation service for kernel 3.18.19+
Kernel preparation unnecessary for this kernel. Skipping...
applying patch buildfix_kernel_3.18.patch...patching file nv-drm.c
Hunk #1 succeeded at 131 with fuzz 1 (offset 3 lines).
Building module:
cleaning build area....
make KERNELRELEASE=3.18.19+ -k module KERNDIR=/lib/modules/3.18.19+ IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/3.18.19+/build LD=/usr/bin/ld.bfd; make -C uvm module KERNEL_UNAME=3.18.19+ KBUILD_EXTMOD=/var/lib/dkms/nvidia-346/346.59/build/uvm................................................................................
点不断增加,但是即使经过几个小时,该过程仍未完成。
编辑:让它坐了几个小时后,它确实停了下来,并给了我这个错误:
Error! Bad return status for module build on kernel: 3.18.19+ (x86_64)
Consult /var/lib/dkms/nvidia-346/346.59/build/make.log for more information. [ OK ]
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.18.19+ /boot/vmlinuz-3.18.19+
update-initramfs: Generating /boot/initrd.img-3.18.19+
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.18.19+ /boot/vmlinuz-3.18.19+
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.18.19+ /boot/vmlinuz-3.18.19+
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.18.19+ /boot/vmlinuz-3.18.19+
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.18.19+ /boot/vmlinuz-3.18.19+
Generating grub configuration file ...
...
这是(非常长的)make.log的结尾:http ://pastebin.com/QrcqaEEA
答案很简单。
Nvidia专有驱动程序未为此定制内核构建。您可以选择:
使用带有mptcp补丁的标准内核。
使用此内核并卸载Nvidia驱动程序。
修复Nvidia模块或内核中的构建问题。
恐怕有关“如何做其中的一个”的进一步问题将在本文的主题之外。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句