On 12/07/2013 12:57 PM, 乃宏周 wrote:
AFAIK, rebuild the kernel should follow those steps at
least:
- copy /boot/system-$(uname -r).map to ${kernel_src}
- copy /boot/config-$(uname -r) to ${kernel_src}
- cd ${kernel_src}
- make menuconfig, save config(If I don't wanna
change anything for test).
- make -j9 bzImage.
- override /boot/vmlinuz-$(uname -r) with
${kernel_src}/arch/x86/boot/bzImage
I might be in the wrong...but why are you copying your running
kernel system.map to the src dir? AFAIK the system.map is generated
during the build process. Also you should consider building the
modules and installing them. Most probably your distro modules will
have some problems with a custom built kernel(even though you have
the same config).
|
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies