X-GM-THRID: 6748157701463736320 Date: Wed, 16 Oct 2019 17:42:43 -0700 (PDT) From: Cristiane Naves To: outreachy-kernel Message-Id: In-Reply-To: References: Subject: Re: [Outreachy kernel] doubt on the "Make a driver change" part MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2_2129314782.1571272963748" X-Google-Token: EIPynu0FI6xgr4riOTE0 X-Google-IP: 131.100.148.220 ------=_Part_2_2129314782.1571272963748 Content-Type: multipart/alternative; boundary="----=_Part_3_1607208343.1571272963749" ------=_Part_3_1607208343.1571272963749 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, thanks for answering! I am using a module that is listed in lsmod. I think the problem may be in my git/kernels/staging's .config First I pass the running kernel settings to .config using cp/boot/config-4.15.0-65-generic .config, but after running make menuconfig or sudo make -j4, the .config version is subscribed to by a kernel other than the running kernel(5.4.0) and appears in the header of .config: # Linux / x86 header 5.4.0-rc1 Kernel Configuration Could the problem be in .config? Em quarta-feira, 16 de outubro de 2019 02:02:37 UTC-3, Julia Lawall escreveu: > > > > On Tue, 15 Oct 2019, Cristiane Naves wrote: > > > > > Hello, I have a question in one part of the tutorial and I am unable to > access outreachy irc. > > > > I'm stuck in the "Make a driver change" part of the tutorial. > > I am following these steps: > > First I check the file path using git grep memstick -- '* Makefile'. > > Then I access the file using vim drivers/memstick/core/ms_block.c. > > Then I add printk(KERN_DEBUG "I can modify") to the msb_probe function. > > Then I compile the changes using sudo make -j4 and then install the > changes using sudo make modules_install install. > > Finally i restart my computer and i check if the text "I can modify" is > present in dmesg | less using "/I can modify". > > But every time I've tried this or something, it always gives Pattern not > found (press return). > > Has anyone else had a similar problem and can help me? > > Maybe you don't actually use the module you changed. You can check lsmod. > Here is a random URL that explains the module related commands: > > http://edoceo.com/howto/kernel-modules > > julia > > > > > And Can anyone help me access outreachy IRC? I 'm not getting access. > > > > -- > > 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 outreach...@googlegroups.com . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/outreachy-kernel/d504514a-93eb-4a60-a99c-8a50bce81677%40googlegroups.com. > > > > > > ------=_Part_3_1607208343.1571272963749 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello, thanks for answering=
! 
I am using a module that is listed in lsmod.
I think the problem = may be in my git/kernels/staging's .config
First I pass the running= kernel settings to .config using cp/boot/config-4.15.0-65-generic .config,=
but after running make menuconfig or sudo make -j4, the .config versio= n is subscribed to by a kernel other
than the running kernel(5.4.0) and= appears in the header of .config: # Linux / x86 header 5.4.0-rc1 Kernel Co= nfiguration Could the problem be in .config?


Em quarta-feira, 16 de= outubro de 2019 02:02:37 UTC-3, Julia Lawall escreveu:


On Tue, 15 Oct 2019, Cristiane Naves wrote:

>
> Hello, I have a question in one part of the tutorial and I am unab= le to access outreachy irc.
>
> I'm stuck in the "Make a driver change" part of the = tutorial.
> I am following these steps:
> First I check the file path using git grep memstick -- '* Make= file'.
> Then I access the file using vim drivers/memstick/core/ms_blo= ck.c.
> Then I add printk(KERN_DEBUG "I can modify") to the msb_= probe function.
> Then I compile the changes using sudo make -j4 and then install th= e changes using sudo make modules_install install.
> Finally i restart my computer and i check if the text "I can = modify" is present in dmesg | less using "/I can modify".
> But every time I've tried this or something, it always gives P= attern not found (press return).
> Has anyone else had a similar problem and can help me?

Maybe you don't actually use the module you changed. =C2=A0You can = check lsmod.
Here is a random URL that explains the module related commands:

http://edoceo.com/howto/kernel-mod= ules

julia

>
> And Can anyone help me access outreachy IRC? I 'm not getting = access.
>
> --
> 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 outreach...@googlegroups.com.
> To view this discussion on the web visit https://g= roups.google.com/d/msgid/outreachy-kernel/d504514a-93eb-4a60-a99c= -8a50bce81677%40googlegroups.com.
>
>
------=_Part_3_1607208343.1571272963749-- ------=_Part_2_2129314782.1571272963748--