All of lore.kernel.org
 help / color / mirror / Atom feed
* Question regarding installation of kernel
@ 2020-03-11  2:19 Soumyajit Deb
  2020-03-11  6:07 ` [Outreachy kernel] " Greg KH
  2020-03-11  6:25 ` Julia Lawall
  0 siblings, 2 replies; 4+ messages in thread
From: Soumyajit Deb @ 2020-03-11  2:19 UTC (permalink / raw)
  To: outreachy-kernel

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

Hii

This is my first mail to the outreachy-kernel list. I am Soumyajit Deb.
I am currently following the first patch tutorial and accordingly I have
downloaded the Kernel source tree.
 I have doubt whether I have to build the kernel source code I have
downloaded as I am using ubuntu already?

Thank you

[-- Attachment #2: Type: text/html, Size: 463 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Outreachy kernel] Question regarding installation of kernel
  2020-03-11  2:19 Question regarding installation of kernel Soumyajit Deb
@ 2020-03-11  6:07 ` Greg KH
  2020-03-11  6:25 ` Julia Lawall
  1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2020-03-11  6:07 UTC (permalink / raw)
  To: Soumyajit Deb; +Cc: outreachy-kernel

On Wed, Mar 11, 2020 at 07:49:11AM +0530, Soumyajit Deb wrote:
> Hii
> 
> This is my first mail to the outreachy-kernel list. I am Soumyajit Deb.
> I am currently following the first patch tutorial and accordingly I have
> downloaded the Kernel source tree.
>  I have doubt whether I have to build the kernel source code I have
> downloaded as I am using ubuntu already?

Yes, you need to build the kernel source that you are modifying to
ensure that you are not breaking anything.

Follow the tutorial, it should have all of the details on how to do
this.

thanks,

greg k-h


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Outreachy kernel] Question regarding installation of kernel
  2020-03-11  2:19 Question regarding installation of kernel Soumyajit Deb
  2020-03-11  6:07 ` [Outreachy kernel] " Greg KH
@ 2020-03-11  6:25 ` Julia Lawall
  2020-03-11 11:07   ` Stefano Brivio
  1 sibling, 1 reply; 4+ messages in thread
From: Julia Lawall @ 2020-03-11  6:25 UTC (permalink / raw)
  To: Soumyajit Deb; +Cc: outreachy-kernel

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]



On Wed, 11 Mar 2020, Soumyajit Deb wrote:

> Hii
> This is my first mail to the outreachy-kernel list. I am Soumyajit Deb.
> I am currently following the first patch tutorial and accordingly I have
> downloaded the Kernel source tree.
>  I have doubt whether I have to build the kernel source code I have
> downloaded as I am using ubuntu already?

You should start with modifying a driver in the kernel you downloaded and
checking that it is executed.  For that you will need to compile and
install the kernel you downloaded.

For cleanup patches, you just need to compile the kernel to be sure that
nothing breaks.

julia


>
> Thank you
>
> --
> 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 visithttps://groups.google.com/d/msgid/outreachy-kernel/CAMS7mKA1m5JEVhNB%2Bfwyt
> LF3JgFYb-8C9xD9DjOmXm52omC4NQ%40mail.gmail.com.
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Outreachy kernel] Question regarding installation of kernel
  2020-03-11  6:25 ` Julia Lawall
@ 2020-03-11 11:07   ` Stefano Brivio
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Brivio @ 2020-03-11 11:07 UTC (permalink / raw)
  To: Soumyajit Deb; +Cc: Julia Lawall, outreachy-kernel

On Wed, 11 Mar 2020 07:25:13 +0100 (CET)
Julia Lawall <julia.lawall@inria.fr> wrote:

> On Wed, 11 Mar 2020, Soumyajit Deb wrote:
> 
> > Hii
> > This is my first mail to the outreachy-kernel list. I am Soumyajit Deb.
> > I am currently following the first patch tutorial and accordingly I have
> > downloaded the Kernel source tree.
> >  I have doubt whether I have to build the kernel source code I have
> > downloaded as I am using ubuntu already?  
> 
> You should start with modifying a driver in the kernel you downloaded and
> checking that it is executed.  For that you will need to compile and
> install the kernel you downloaded.

Also note that, while this is not mentioned in the tutorial (I plan to
add some notes when I have a bit more time), it might be a good idea to
set up a Linux virtual machine (running in your existing Linux system)
so that you can test any non-trivial changes by installing (and also
building, if you wish) your kernel there.

This way, you'll need to reboot your virtual machine instead of the
system you're working on, especially in case it's your primary/only
system or if you're using it to communicate, without having the concern
that your new kernel might not boot up.

-- 
Stefano



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-11 11:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-11  2:19 Question regarding installation of kernel Soumyajit Deb
2020-03-11  6:07 ` [Outreachy kernel] " Greg KH
2020-03-11  6:25 ` Julia Lawall
2020-03-11 11:07   ` Stefano Brivio

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.