问一下 新编译的内核 用的make localmodconfig命令。因为编译时用的系统是N卡的私有驱动。所以编译出来的新内核没有显卡驱动模块。在新内核下能给新内核编译显卡驱动么?
在新内核下添加显卡驱动模块。
能不能只装以一个显卡驱动。两个内核都能用。
应该可以。只要在新内核下添加显卡驱动模块。怎么做。谢谢
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
这条命令谁给解释一下
nadia@pufan-R458:~/src/linux-3.4.1$ make localmodconfig
using config: '.config'
nvidia config not found!!
module vesafb did not have configs CONFIG_FB_VESA
pufan 于 2012-06-09 23:59:17发表:
root@pufan-R458:/home/nadia/src/linux-3.4.1# make install
sh /home/nadia/src/linux-3.4.1/arch/x86/boot/install.sh 3.4.1-ice arch/x86/boot/bzImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/dkms 3.4.1-ice /boot/vmlinuz-3.4.1-ice
Error! Bad return status for module build on kernel: 3.4.1-ice (i686)
Consult /var/lib/dkms/nvidia-current/295.40/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.4.1-ice /boot/vmlinuz-3.4.1-ice
update-initramfs: Generating /boot/initrd.img-3.4.1-ice
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.4.1-ice /boot/vmlinuz-3.4.1-ice
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.4.1-ice /boot/vmlinuz-3.4.1-ice
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.4.1-ice /boot/vmlinuz-3.4.1-ice
Generating grub.cfg ...
using custom appearance settings
Found background image: /home/nadia/.local/.nerv.jpg
Found Windows 7 (loader) on /dev/sda1
Found linux image: /boot/vmlinuz-3.4.1-ice
Found initrd image: /boot/initrd.img-3.4.1-ice
Found linux image: /boot/vmlinuz-3.2.0-24-generic
Found initrd image: /boot/initrd.img-3.2.0-24-generic
done