From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6933876231124287488 X-Gmail-Labels: Topic type: DISCUSSION Date: Mon, 5 Apr 2021 07:41:44 -0700 (PDT) From: Mo Jauhar To: outreachy-kernel Message-Id: In-Reply-To: References: <313f5f12-4bce-4f6d-ae23-d76cf0ff60e2n@googlegroups.com> Subject: Re: [Outreachy kernel] Need help with compiling kernel MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_10537_624551571.1617633704849" ------=_Part_10537_624551571.1617633704849 Content-Type: multipart/alternative; boundary="----=_Part_10538_1090806237.1617633704849" ------=_Part_10538_1090806237.1617633704849 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I am having the same issue. Can you help me out on this, Ankita? I am having troubles joining the IRC rn. Thanks in adv. Regards, - Ali On Saturday, February 27, 2021 at 3:33:23 PM UTC+5:30 Vaishali Thakkar wrote: > On Sat, Feb 27, 2021 at 10:41 AM Ankita Pareek > wrote: > > > > Hello everyone! > > I'm Ankita Pareek from India. I'm applying for Outreachy this year and I > would love to contribute to Linux Kernel. > > I'm a newbie and thus started off with compiling my own kernel following > this tutorial --> > https://kernelnewbies.org/OutreachyfirstpatchSetup?action=show&redirect=OPWfirstpatchSetup > > I'm able to successfully build and install the kernel on my native > Ubuntu 20.04 and it also gets updated in the grub boot menu. But when I try > to boot into that newly compiled kernel it gets stuck at "Loading initial > ramdisk ..." and I'm not able to boot into it. Here are some things that I > tried to fix this problems - > > > > I waited for almost 2-3 hours after that to boot into the new kernel but > it still showed the same message. > > Then I tried changing the 'GRUB_CMDLINE_LINUX' parameter to 'debug' for > checking the log messages but couldn't find any logs. > > Some answers on Google about this said that it was possibly because > Secure boot was enabled so I tried compiling and booting by disabling > Secure boot but still same problem exists. > > Then I tried compiling the kernel on a VM and it was successful and I > could boot into it. But the VM makes the system very slow and thus I wish > to compile and run the kernel on my native Linux machine. > > > > What could be the possible reason and fix for this problem? Can someone > please help me with this? I've been stuck on this for almost a week now so > any help would be really great! > > Hi Ankita, > > It's strange that you have been able to boot itto same kernel[I assume] in > VM > but not on your machine. Probably something went wrong while installing > the modules on your machine. Which rc version did you try to install? > > I'm free for few hours right now. If you can come on IRC, we can try to > debug the problem. I'm 'vaishali' on both freenode and OFTC. Just ping > me there. > > > Thanks > > > > -- > > You received this message because you are subscribed to the Google > Groups "outreachy-kernel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to outreachy-kern...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/outreachy-kernel/313f5f12-4bce-4f6d-ae23-d76cf0ff60e2n%40googlegroups.com > . > > > > -- > Vaishali > ------=_Part_10538_1090806237.1617633704849 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi,

I am having the same issue. Can you help me out on this, Ankita? I am having troubles joining the IRC rn.

Thanks in adv.

Regards,
- Ali

On Saturday, February 27, 2021 at 3:33:23 PM UTC+5:30 Vaishali Thakkar wrote:
On Sat, Feb 27, 2021 at 10:41 AM Ankita Pareek
<ankitapa...@gmail.com> wrote:
>
> Hello everyone!
> I'm Ankita Pareek from India. I'm applying for Outreachy this year and I would love to contribute to Linux Kernel.
> I'm a newbie and thus started off with compiling my own kernel following this tutorial --> https://kernelnewbies.org/OutreachyfirstpatchSetup?action=show&redirect=OPWfirstpatchSetup
> I'm able to successfully build and install the kernel on my native Ubuntu 20.04 and it also gets updated in the grub boot menu. But when I try to boot into that newly compiled kernel it gets stuck at "Loading initial ramdisk ..." and I'm not able to boot into it. Here are some things that I tried to fix this problems -
>
> I waited for almost 2-3 hours after that to boot into the new kernel but it still showed the same message.
> Then I tried changing the 'GRUB_CMDLINE_LINUX' parameter to 'debug' for checking the log messages but couldn't find any logs.
> Some answers on Google about this said that it was possibly because Secure boot was enabled so I tried compiling and booting by disabling Secure boot but still same problem exists.
> Then I tried compiling the kernel on a VM and it was successful and I could boot into it. But the VM makes the system very slow and thus I wish to compile and run the kernel on my native Linux machine.
>
> What could be the possible reason and fix for this problem? Can someone please help me with this? I've been stuck on this for almost a week now so any help would be really great!

Hi Ankita,

It's strange that you have been able to boot itto same kernel[I assume] in VM
but not on your machine. Probably something went wrong while installing
the modules on your machine. Which rc version did you try to install?

I'm free for few hours right now. If you can come on IRC, we can try to
debug the problem. I'm 'vaishali' on both freenode and OFTC. Just ping
me there.

> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kern...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/313f5f12-4bce-4f6d-ae23-d76cf0ff60e2n%40googlegroups.com.



--
Vaishali
------=_Part_10538_1090806237.1617633704849-- ------=_Part_10537_624551571.1617633704849--