All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vaishali Thakkar <vthakkar@vaishalithakkar.in>
To: Ankita Pareek <ankitapareek2000@gmail.com>
Cc: outreachy-kernel <outreachy-kernel@googlegroups.com>
Subject: Re: [Outreachy kernel] Need help with compiling kernel
Date: Sat, 27 Feb 2021 11:03:06 +0100	[thread overview]
Message-ID: <CAK-LDbLWKurtKDV7QDH1PY3w1b2pofYQmAaFKLMmSoEBHXMOcg@mail.gmail.com> (raw)
In-Reply-To: <313f5f12-4bce-4f6d-ae23-d76cf0ff60e2n@googlegroups.com>

On Sat, Feb 27, 2021 at 10:41 AM Ankita Pareek
<ankitapareek2000@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-kernel+unsubscribe@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


  reply	other threads:[~2021-02-27 10:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27  9:41 Need help with compiling kernel Ankita Pareek
2021-02-27 10:03 ` Vaishali Thakkar [this message]
2021-04-05 14:41   ` [Outreachy kernel] " Mo Jauhar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK-LDbLWKurtKDV7QDH1PY3w1b2pofYQmAaFKLMmSoEBHXMOcg@mail.gmail.com \
    --to=vthakkar@vaishalithakkar.in \
    --cc=ankitapareek2000@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.