Article 50EBF Ubuntu got stuck on boot after kernel compilation

Ubuntu got stuck on boot after kernel compilation

by
Bishal Kumar Nath
from LinuxQuestions.org on (#50EBF)
I tried to modify the slab.h ("/include/linux/slab.h") header file by adding a new function as follows-

static inline void newfoo(void)
{
printk("something");
}

The kernel compiled successfully. Everything was successful. But while booting into the new kernel image, it gets stuck on boot every time. (I have tried to add function in other files also, but the result is same).

(P.S- while compiling i gave a warning something like page size exceeds 1036). Kindly point my mistake... Thank youlatest?d=yIl2AUoC8zA latest?i=v3amLtRRTy4:sDJWNl4SmbU:F7zBnMy latest?i=v3amLtRRTy4:sDJWNl4SmbU:V_sGLiP latest?d=qj6IDK7rITs latest?i=v3amLtRRTy4:sDJWNl4SmbU:gIN9vFwv3amLtRRTy4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments