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 you


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 you