Skip to contentSkip to conversation

Compiled Kernel stuck in booting

DISCUSSION Yashodhan Joshi 3 participants 3 messages Jul 29, 2020 – Sep 23, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

I use a dual boot laptop with windows and Ubuntu,with grub2.

I Followed the instruction in https://kernelnewbies.org/OutreachyfirstpatchSetup to clone the source code and compile the kernel, which was done without any errors. When I tried to install the kernel using 'sudo make modules_install install' it showed a warning when updating initramfs, that it will attempt to resume from UUID, which is my SWAP space, but other than that it showed no other errors.

When I tried to boot into it from the grub menu after restarting, it showed message of loading the kernel and then 'setting up intitial ramdisk', after which nothing further happend. The default kernel that came with ubuntu is still working and boots up into desktop environment withing 2-3 minutes after the 'ramdisk' message,
but even though I kept the system running for 20 minutes after the 'ramdisk' message for the compiled kernel, niether any further proccess seems to be happening nor any error messages are shown. Can someone help me figuring out what is wrong and how can I run the kernel?

Thank You.

Also can someone point me in right direction to send suggestions about updating the information on kernelnewbies website? The information about connecting mutt to Gmail is quite outdated, and I would like to help updating it.

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#1 lore raw
Quoted 2 lines · On 2020-07-29T04:51:48-0400 Yashodhan Joshi <[email protected]> wrote:

Hello,

Hi Yashodhan:

Sorry to send this to you again, somehow I dropped the mailing list from the email

Quoted 7 lines

I use a dual boot laptop with windows and Ubuntu,with grub2.

I Followed the instruction in https://kernelnewbies.org/OutreachyfirstpatchSetup to clone the source code and compile the kernel, which was done without any errors. When I tried to install the kernel using 'sudo make modules_install install' it showed a warning when updating initramfs, that it will attempt to resume from UUID, which is my SWAP space, but other than that it showed no other errors.

Quoted 7 lines

When I tried to boot into it from the grub menu after restarting, it showed message of loading the kernel and then 'setting up intitial ramdisk', after which nothing further happend. The default kernel that came with ubuntu is still working and boots up into desktop environment withing 2-3 minutes after the 'ramdisk' message,
but even though I kept the system running for 20 minutes after the 'ramdisk' message for the compiled kernel, niether any further proccess seems to be happening nor any error messages are shown. Can someone help me figuring out what is wrong and how can I run the kernel?

Thank You.

I'm fairly new to this myself, however with my Debian/Ubuntu based system, I have had success using:

  $ make -j `getconf _NPROCESSORS_ONLN` deb-pkg

to compile the kernel into a few debian package that we can then install using something like:

  $ sudo dpkg -i *.deb
Quoted 5 lines

Also can someone point me in right direction to send suggestions about updating the information on kernelnewbies website? The information about connecting mutt to Gmail is quite outdated, and I would like to help updating it.

Sorry I can't help you here

Quoted 5 lines

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Hope this helps

Signature · 7 lines
~Bryan


_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
#2 lore raw
In reply to Yashodhan Joshi
Quoted 10 lines · Yashodhan Joshi

Hello,

I use a dual boot laptop with windows and Ubuntu,with grub2.

I Followed the instruction in https://kernelnewbies.org/OutreachyfirstpatchSetup to clone the source code and compile the kernel, which was done without any errors. When I tried to install the kernel using 'sudo make modules_install install' it showed a warning when updating initramfs, that it will attempt to resume from UUID, which is my SWAP space, but other than that it showed no other errors.

When I tried to boot into it from the grub menu after restarting, it showed message of loading the kernel and then 'setting up intitial ramdisk', after which nothing further happend.

off the top of my head,
try editing the boot-config in grub, add a "1" or "S" on old redhat distros to end of command line args.
that should drop you to root shell in emergency / maintenance mode. (or it used to, I dont recall last time I did it,

I suspect you might hit that hang 1st, but its an easy enough test.

Quoted 6 lines

The default kernel that came with ubuntu is still working and boots up into desktop environment withing 2-3 minutes after the 'ramdisk' message,
but even though I kept the system running for 20 minutes after the 'ramdisk' message for the compiled kernel, niether any further proccess seems to be happening nor any error messages are shown. Can someone help me figuring out what is wrong and how can I run the kernel?

Thank You.

Quoted 8 lines

Also can someone point me in right direction to send suggestions about updating the information on kernelnewbies website? The information about connecting mutt to Gmail is quite outdated, and I would like to help updating it.

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies