kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* No subject
@ 2018-08-02 10:48 TU PHUNG VAN
  0 siblings, 0 replies; 39+ messages in thread
From: TU PHUNG VAN @ 2018-08-02 10:48 UTC (permalink / raw)
  To: kernelnewbies

S.?
www
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180802/20565816/attachment.html>

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

* No subject
@ 2018-07-06  5:52 inventsekar
  0 siblings, 0 replies; 39+ messages in thread
From: inventsekar @ 2018-07-06  5:52 UTC (permalink / raw)
  To: kernelnewbies

Dear All,....

so I was reading on Quora....
https://www.quora.com/What-are-some-features-that-Linus-Torvalds-dismissed-from-the-Linux-kernel

Signing Linux kernel with Microsoft secure boot keys for UEFI. That was
suggested by RedHat developers and Linus flipped them off in his
character...
I went to that link and read two three times, but I could not understand.


Could you explain this above issue, on a newbies perspective.


Best regards, sekar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180706/6727e55a/attachment-0001.html>

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

* No subject
@ 2018-05-08  6:10 Vishnu Gopinath
  0 siblings, 0 replies; 39+ messages in thread
From: Vishnu Gopinath @ 2018-05-08  6:10 UTC (permalink / raw)
  To: kernelnewbies

new in the field of linux kernal... how to start..from where to start
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180508/10f1e928/attachment.html>

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

* No subject
@ 2016-03-07 17:52 nunojsa
  0 siblings, 0 replies; 39+ messages in thread
From: nunojsa @ 2016-03-07 17:52 UTC (permalink / raw)
  To: kernelnewbies



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

* No subject
@ 2015-10-21  6:17 Rock Lee
  0 siblings, 0 replies; 39+ messages in thread
From: Rock Lee @ 2015-10-21  6:17 UTC (permalink / raw)
  To: kernelnewbies

unsubscribe kernelnewbies

Regards
----
Rock Lee 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151021/6fa4734a/attachment.html 

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

* No subject
@ 2015-09-18 17:23 Shraddha Barke
  0 siblings, 0 replies; 39+ messages in thread
From: Shraddha Barke @ 2015-09-18 17:23 UTC (permalink / raw)
  To: kernelnewbies

By mistake I made some changes to staging-next branch
Now I've reverted those changes but I'm getting this message when I
checkout to staging-next

Your branch is ahead of 'origin/staging-next' by 4 commits.
  (use "git push" to publish your local commits)

How do I fix this?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150918/82c325ad/attachment.html 

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

* No subject
@ 2015-09-18  4:49 Shraddha Barke
  0 siblings, 0 replies; 39+ messages in thread
From: Shraddha Barke @ 2015-09-18  4:49 UTC (permalink / raw)
  To: kernelnewbies

I updated my local kernel repository with all recent commits using the
following commands-
git checkout staging-next
git pull

After that when I try to compile, I'm getting an error

scripts/sign-file.c:20:25: fatal error: openssl/bio.h: No such file or
directory
 #include <openssl/bio.h>
                         ^
compilation terminated.
scripts/Makefile.host:91: recipe for target 'scripts/sign-file' failed
make[1]: *** [scripts/sign-file] Error 1
Makefile:545: recipe for target 'scripts' failed
make: *** [scripts] Error 2


What should I do to fix it?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150918/0617fe64/attachment.html 

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

* No subject
@ 2015-03-30  4:56 Woody Wu
  0 siblings, 0 replies; 39+ messages in thread
From: Woody Wu @ 2015-03-30  4:56 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I have a kernel already run on production, but I then realized that I need
to add one or two driver to it.  But I hope I can avoid to upgrade the
kernel image for those already running products, I hope I can only extend
the kernel by add the driver modules to the root file system. Is that
possible? The current kernel has already compiled with the loadable modules
options, but for the drivers that I want now the old config is 'no'.

Thanks in advance.
-woody


-- 
Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150330/28819756/attachment.html 

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

* No subject
@ 2015-01-27 16:49 Grzegorz Dwornicki
  0 siblings, 0 replies; 39+ messages in thread
From: Grzegorz Dwornicki @ 2015-01-27 16:49 UTC (permalink / raw)
  To: kernelnewbies

Keepalive question

Hello

I am bothered with very simple situaction. Lets say we have a TCP connection:

S1 <----> S2

Lets assume that this connection is using blocking sockets. and that
both hosts: s1 and s2 are using SO_KEEPALIVE. If they both are not
using this connection then the kernel? is sending packets with no data
to keep connection alive.

I have marked "the kernel?" because I am not sure who does this. I
think its the kernel but I am not sure.

What would happen if only one of them would use keepalive? Could that
empty packet break the loop inside of sk_busy_loop function and return
empty data to the application layer? Or would that while loop body
just re-run?

Hehe is the code (the while loop starts on 128 line)
http://lxr.oss.org.cn/source/include/net/busy_poll.h?a=arm#L95

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

* No subject
  2014-08-29 14:58   ` Ravi Raj
  2014-08-29 15:32     ` No subject Valdis.Kletnieks at vt.edu
@ 2014-08-29 15:34     ` Valdis.Kletnieks at vt.edu
  1 sibling, 0 replies; 39+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-08-29 15:34 UTC (permalink / raw)
  To: kernelnewbies

On Fri, 29 Aug 2014 16:58:26 +0200, Ravi Raj said:
>                   Thank you for the response ,So the project is a
> communication between fpga and a imx6 Arm A9 processor using SPI protocol
> and we are making a custom board for this, so first step is to find an imx6
> Arm a9 board and port linux to it and then establish SPI.

Heck, these guys already have ANdroid Kitkat up and running:

http://www.wandboard.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140829/3da056d6/attachment.bin 

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

* No subject
  2014-08-29 14:58   ` Ravi Raj
@ 2014-08-29 15:32     ` Valdis.Kletnieks at vt.edu
  2014-08-29 15:34     ` Valdis.Kletnieks at vt.edu
  1 sibling, 0 replies; 39+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-08-29 15:32 UTC (permalink / raw)
  To: kernelnewbies

On Fri, 29 Aug 2014 16:58:26 +0200, Ravi Raj said:
> so first step is to find an imx6 Arm a9 board and port linux to it

Why not get an imx6 board that already *HAS* Linux for it?

Heck, Freescale will even give you a one day CLASS on it:

http://cache.freescale.com/files/training/doc/dwf/DWF_LINUX_LABWORKBOOK.pdf

(Did you bother trying to google 'imx6 arm a9 linux'? Lots of hits, lots
of providers. ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140829/d797759c/attachment.bin 

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

* No subject
@ 2014-08-29 14:22 Ravi Raj
  2014-08-29 14:47 ` Valdis.Kletnieks at vt.edu
  0 siblings, 1 reply; 39+ messages in thread
From: Ravi Raj @ 2014-08-29 14:22 UTC (permalink / raw)
  To: kernelnewbies

Hii Guys,
               I am an Embedded firmware Developer,I am looking for a
Development board to port the linux kernal from scratch, could you guys
please recommend me a good development board were i can port linux from
scratch.











Cheers,
Ravi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140829/37cc0503/attachment.html 

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

* No subject
@ 2014-05-12  4:37 Sivakumar V
  0 siblings, 0 replies; 39+ messages in thread
From: Sivakumar V @ 2014-05-12  4:37 UTC (permalink / raw)
  To: kernelnewbies

Hi All,

    I am tried to compile and install (network file system)nfs module to
kernel i.e. modified nfs code(inserted printk's in kernel nfs code) without
compiling entire kernel .
It is inserted but when configuring nfs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140512/d8b76c77/attachment.html 

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

* No subject
@ 2014-04-21  2:59 Amber Thrall
  0 siblings, 0 replies; 39+ messages in thread
From: Amber Thrall @ 2014-04-21  2:59 UTC (permalink / raw)
  To: kernelnewbies

I recently built and installed kernel version 3.15.0-rc1 following the
KernelBuild article on kernelnewbies.org.  Everything went smooth and my
system is running fine.  However when performing an update via (sudo yum
update) the dependencies failed requiring
"kernel-devel-uname-r=3.13.10".  uname-r returns "3.15.0-rc1" as
expected.

Is there a way to get yum to recognize the latest kernel I built?  Or
does that require updating the kernel's source RPM?

I'm running Fedora 20 and am new to kernel building.  Yum's error
message is included below:

Error: Package:
10:buildsys-build-rpmfusion-kerneldevpkgs-current-20-19.x86_64
(rpmfusion-free-updates)
           Requires: kernel-devel-uname-r = 3.13.10-200.fc20.x86_64
           Installed: kernel-devel-3.11.10-301.fc20.x86_64 (@anaconda)
               kernel-devel-uname-r = 3.11.10-301.fc20.x86_64
           Installed: kernel-devel-3.13.9-200.fc20.x86_64 (@updates)
               kernel-devel-uname-r = 3.13.9-200.fc20.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

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

* No subject
@ 2013-07-30  4:09 PV Juliet
  0 siblings, 0 replies; 39+ messages in thread
From: PV Juliet @ 2013-07-30  4:09 UTC (permalink / raw)
  To: kernelnewbies

HI ,
    I am new to kernel .   I got some stuff on notifier chains  from net.
Where i can more elaborated  documents on notifier chains ? Can i get the
module out put  to user space(eg usb disk added) ?  I don't want to get it
from dmesg.
Thanks and Regards
Juliet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130730/6f3de789/attachment.html 

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

* No subject
@ 2013-02-25  7:24 Prasad Lakshman
  0 siblings, 0 replies; 39+ messages in thread
From: Prasad Lakshman @ 2013-02-25  7:24 UTC (permalink / raw)
  To: kernelnewbies

Hi ,
I am trying to implement own system call in Linux. Kernel version I
chose is 3.5.7

I am following the steps from Linux Kernel Development 3rd edition.
I got two problems with the implementation.
1.while trying to modify the code in kernel , there is no entry.S file
for Intel x86 32 bit architecture. (my be i am missing some thing.)
2.while I am compiling user application with gcc I am getting

error: unknown type name ?helloworld?

my application is as follows

#define __NR_helloworld 367
__syscall0(long, helloworld)

int main ()
{
printf("The helloworld system call is\n";
helloworld();
return 0;
}


I looked at Link [blog.163.com] which is given by Wanny but i could
not find the solution,I could not locate syscall_table_32.s in my
Linux source.

Please  help me in identifying the entry.S file for Intel x86 32 bit
architecture in 3.5.7 kernel version sources,where i can make an entry
for my system call into system call table.

Help me in resolving  error: unknown type name ?helloworld? in my application.

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

* No subject
@ 2013-02-15  5:48 Kaushal Billore
  0 siblings, 0 replies; 39+ messages in thread
From: Kaushal Billore @ 2013-02-15  5:48 UTC (permalink / raw)
  To: kernelnewbies

I have some doubt regarding Linux kernel V4l2 API's.
When capture application calls Reqbuff ioctl to allocate n no of buffer which would belongs to v4l2 layer and display application calls the Reqbuff ioctl to allocate N no of buffer which would also belongs to device memory.

Question:
1. V4l2 maintains the generic layer for all devices in which buffers can be allocated by any device and can be handle by any device?

2. If not then while capturing the data from capture device can capture device allocated buffer gets filled and while displaying the same data  there memory copy happens between capture buffer and output buffers?

3. If not then I want to capture data from capture device and display onto display device through the v4l2 framework layer. 
   
Awaiting for responce!

Thanks in advance 
Kaushal 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130215/f203090c/attachment.html 

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

* No subject
@ 2013-02-06 22:30 Jimmy Pan
  0 siblings, 0 replies; 39+ messages in thread
From: Jimmy Pan @ 2013-02-06 22:30 UTC (permalink / raw)
  To: kernelnewbies

unsuscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130207/884e7ffe/attachment.html 

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

* No subject
@ 2012-12-05 13:48 Niroj Pokhrel
  0 siblings, 0 replies; 39+ messages in thread
From: Niroj Pokhrel @ 2012-12-05 13:48 UTC (permalink / raw)
  To: kernelnewbies

Hi,
I'm trying to work on android audio (pcm_native.c) but got stuck in some
parameters like start threshold, stop threshold, silence zone, silence
threshold. Can anybody please elaborate on what they are each used for ??

-- 
Niroj Pokhrel
Software Engineer,
Samsung India Software Operations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121205/9b5d1739/attachment.html 

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

* No subject
@ 2012-11-19 11:41 唐忠诚
  0 siblings, 0 replies; 39+ messages in thread
From: 唐忠诚 @ 2012-11-19 11:41 UTC (permalink / raw)
  To: kernelnewbies

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121119/5b84e70c/attachment.html 

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

* No subject
@ 2012-11-02 10:46 Pritam Bankar
  0 siblings, 0 replies; 39+ messages in thread
From: Pritam Bankar @ 2012-11-02 10:46 UTC (permalink / raw)
  To: kernelnewbies

Hi,
I know very well that memory on 32-bit Linux system is normally split
in following way

First 3GB = user space (High memory)
Last 1GB = kernel space (Low memory)

But I have some questions,

1. How is memory split up on 64-bit architecture
2. Can we override this 3:1 split ?
3. If yes, who can do that user or kernel?

Thanks,
Pritam Bankar

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

* No subject
@ 2012-10-15  9:24 Niroj Pokhrel
  0 siblings, 0 replies; 39+ messages in thread
From: Niroj Pokhrel @ 2012-10-15  9:24 UTC (permalink / raw)
  To: kernelnewbies

Hi,
I'm new to linux and kernel . I'm ongoing with the linux device drivers.
I've followed the the book LDD but i'm lost about how to call my driver's
specific method from the user space.
Eg: if have developed a character device and inserted the module then how
can i make sure that when I read or write that it implement the functions
via the methods i have implemented in my module.

-- 
Niroj Pokhrel
NIT Jamshedpur,
B.Tech,Electronics and Communication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121015/5d90dec4/attachment.html 

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

* No subject
@ 2012-08-13 10:09 Vivek Panwar
  0 siblings, 0 replies; 39+ messages in thread
From: Vivek Panwar @ 2012-08-13 10:09 UTC (permalink / raw)
  To: kernelnewbies

HI,

How KGDB works internally or how a gdb stub works internally with source
code for x86_64 arch. Can some one please suggest me the good docs for the
same.I am very new to this so want know whole detailed internally working
procedure for KGDB.

Thanks
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120813/60e980ea/attachment.html 

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

* No subject
@ 2012-08-06 10:43 =?gb18030?B?wObC5A==?=
  0 siblings, 0 replies; 39+ messages in thread
From: =?gb18030?B?wObC5A==?= @ 2012-08-06 10:43 UTC (permalink / raw)
  To: kernelnewbies

hello   i  want  to  sabrit  the  mailist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120806/8156c302/attachment.html 

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

* No subject
@ 2012-07-30 19:04 siddhesh phadke
  0 siblings, 0 replies; 39+ messages in thread
From: siddhesh phadke @ 2012-07-30 19:04 UTC (permalink / raw)
  To: kernelnewbies

I am newbie in nested KVM virtualization and I am trying to understand
the code for nested virtualization. I am not able to understand how
nested guest's ioctl calls are intercepted by KVM.Does each ioctl of
nested guest is intercepted by L0 or it is passed to L1?

Can anyone please help me with this or correct me if I am totally off the track?

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

* No subject
  2012-04-10 16:08     ` Vladimir Murzin
@ 2012-04-10 17:00       ` Semen Martynov
  0 siblings, 0 replies; 39+ messages in thread
From: Semen Martynov @ 2012-04-10 17:00 UTC (permalink / raw)
  To: kernelnewbies

Yes, this is it! Thank you!

10.04.2012, 20:08, "Vladimir Murzin" <murzin.v@gmail.com>:
> On Tue, Apr 10, 2012 at 10:48:14AM +0600, Martynov Semen wrote:
>
>> ?<one more time in plain text>
>>
>> ?Yes, of course.
>> ?It contains only one line:
>>
>> ?obj-$(CONFIG_MY_PROCLISTOUTPUT) += proclistoutput.o
>>
>> ?and works with Kconfig
>>
>> ?config MY_PROCLISTOUTPUT
>> ?????tristate "Display a list of processes"
>> ?????default y
>> ?????---help---
>> ??????This module prints a list of processes
>>
>> ?But I'm sure that the reason is not in my file, because:
>> ?- If I put my code in a folder /drivers (and include my Makefile and Kconfig) then everything works perfectly (I can build kernel object and I can built-in my code to the kernel)
>> ?- If I put my code in a folder /samples (and include my Makefile and Kconfig) then build-in the code I can't, but with .ko it works fine...
>>
>> ?I suppose that the reason in the kernel Makefile. The root Makefile contains this code (http://lxr.free-electrons.com/source/Makefile#L914)
>>
>> ?ifdef CONFIG_SAMPLES
>> ??????????$(Q)$(MAKE) $(build)=samples
>> ?endif
>>
>> ?where
>> ?$(Q) = @
>> ?$(build) = -f scripts/Makefile.build obj
>>
>> ?and further I lose understanding of the events...
>>
>> ?10.04.2012, 08:26, "Vladimir Murzin" <murzin.v@gmail.com>:
>>> ?Hi Semen
>>>
>>> ?Could you share a Makefile for your module?
>>>
>>> ?Best wishes,
>>> ?Vladimir Murzin
>>>
>>> ?-----Original Message-----
>>> ?From: Martynov Semen <semen-martynov@yandex.ru>
>>> ?Sender: kernelnewbies-bounces at kernelnewbies.org
>>> ?Date: Mon, 09 Apr 2012 23:56:15
>>> ?To: kernelnewbies at kernelnewbies.org<kernelnewbies@kernelnewbies.org>
>>> ?Subject: No subject
>>>
>>> ?Good afternoon,
>>>
>>> ?I would like to understand, why I can't make the built-in object, when my code is in a folder /samples...
>>>
>>> ?I have my module-code and if I put it in a folder /samples, I can receive only loadable module (.ko) but if I want to receive the built-in object - it turns out nothing (.?-file is created, but my code doesn't get in a kernel). When I allocate my module-code in any other folder (for example, /drivers) it works normally - I can receive .ko and I can make the built-in object.
>>>
>>> ?Question - why I can't receive the built-in object when my code is in the folder /samples? What instruction in a make-file restricts it, and how?
>>>
>>> ?P.S.: Sorry for my english.
>>> ?--
>>> ?Best regards,
>>> ?Semen A Martynov.
>>>
>>> ?Saint Petersburg, Russia.
>>> ?https://www.facebook.com/semen.martynov
>>>
>>> ?_______________________________________________
>>> ?Kernelnewbies mailing list
>>> ?Kernelnewbies at kernelnewbies.org
>>> ?http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>> ?--
>>
>> ?? ?? Facebook: http://www.facebook.com/profile.php?id=1095131825
>
> Hi Semen
>
> It happens because ./script isn't listed as a subdir for visiting and
> linking objects into vmlinux. Please, refer to [1] for details.
>
> [1] http://lxr.linux.no/linux+*/Makefile#L508
>
> Best wishes,
> Vladimir Murzin

-- 
Best regards,
Semen A Martynov.

Saint Petersburg, Russia.
https://www.facebook.com/semen.martynov

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

* No subject
  2012-04-10  4:48   ` Martynov Semen
@ 2012-04-10 16:08     ` Vladimir Murzin
  2012-04-10 17:00       ` Semen Martynov
  0 siblings, 1 reply; 39+ messages in thread
From: Vladimir Murzin @ 2012-04-10 16:08 UTC (permalink / raw)
  To: kernelnewbies

On Tue, Apr 10, 2012 at 10:48:14AM +0600, Martynov Semen wrote:
> <one more time in plain text>
> 
> Yes, of course.
> It contains only one line:
> 
> obj-$(CONFIG_MY_PROCLISTOUTPUT) += proclistoutput.o
> 
> and works with Kconfig
> 
> config MY_PROCLISTOUTPUT
>     tristate "Display a list of processes"
>     default y
>     ---help---
>      This module prints a list of processes
> 
> 
> But I'm sure that the reason is not in my file, because:
> - If I put my code in a folder /drivers (and include my Makefile and Kconfig) then everything works perfectly (I can build kernel object and I can built-in my code to the kernel)
> - If I put my code in a folder /samples (and include my Makefile and Kconfig) then build-in the code I can't, but with .ko it works fine...
> 
> I suppose that the reason in the kernel Makefile. The root Makefile contains this code (http://lxr.free-electrons.com/source/Makefile#L914)
> 
> ifdef CONFIG_SAMPLES
>          $(Q)$(MAKE) $(build)=samples
> endif
> 
> where
> $(Q) = @
> $(build) = -f scripts/Makefile.build obj
> 
> and further I lose understanding of the events...
> 
> 
> 10.04.2012, 08:26, "Vladimir Murzin" <murzin.v@gmail.com>:
> > Hi Semen
> >
> > Could you share a Makefile for your module?
> >
> > Best wishes,
> > Vladimir Murzin
> >
> > -----Original Message-----
> > From: Martynov Semen <semen-martynov@yandex.ru>
> > Sender: kernelnewbies-bounces at kernelnewbies.org
> > Date: Mon, 09 Apr 2012 23:56:15
> > To: kernelnewbies at kernelnewbies.org<kernelnewbies@kernelnewbies.org>
> > Subject: No subject
> >
> > Good afternoon,
> >
> > I would like to understand, why I can't make the built-in object, when my code is in a folder /samples...
> >
> > I have my module-code and if I put it in a folder /samples, I can receive only loadable module (.ko) but if I want to receive the built-in object - it turns out nothing (.?-file is created, but my code doesn't get in a kernel). When I allocate my module-code in any other folder (for example, /drivers) it works normally - I can receive .ko and I can make the built-in object.
> >
> > Question - why I can't receive the built-in object when my code is in the folder /samples? What instruction in a make-file restricts it, and how?
> >
> > P.S.: Sorry for my english.
> > --
> > Best regards,
> > Semen A Martynov.
> >
> > Saint Petersburg, Russia.
> > https://www.facebook.com/semen.martynov
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> -- 
> 
> 
> ? ?? Facebook: http://www.facebook.com/profile.php?id=1095131825

Hi Semen

It happens because ./script isn't listed as a subdir for visiting and
linking objects into vmlinux. Please, refer to [1] for details.

[1] http://lxr.linux.no/linux+*/Makefile#L508

Best wishes,
Vladimir Murzin

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

* No subject
  2012-04-10  2:26 ` Vladimir Murzin
  2012-04-10  4:03   ` Martynov Semen
@ 2012-04-10  4:48   ` Martynov Semen
  2012-04-10 16:08     ` Vladimir Murzin
  1 sibling, 1 reply; 39+ messages in thread
From: Martynov Semen @ 2012-04-10  4:48 UTC (permalink / raw)
  To: kernelnewbies

<one more time in plain text>

Yes, of course.
It contains only one line:

obj-$(CONFIG_MY_PROCLISTOUTPUT) += proclistoutput.o

and works with Kconfig

config MY_PROCLISTOUTPUT
    tristate "Display a list of processes"
    default y
    ---help---
     This module prints a list of processes


But I'm sure that the reason is not in my file, because:
- If I put my code in a folder /drivers (and include my Makefile and Kconfig) then everything works perfectly (I can build kernel object and I can built-in my code to the kernel)
- If I put my code in a folder /samples (and include my Makefile and Kconfig) then build-in the code I can't, but with .ko it works fine...

I suppose that the reason in the kernel Makefile. The root Makefile contains this code (http://lxr.free-electrons.com/source/Makefile#L914)

ifdef CONFIG_SAMPLES
         $(Q)$(MAKE) $(build)=samples
endif

where
$(Q) = @
$(build) = -f scripts/Makefile.build obj

and further I lose understanding of the events...


10.04.2012, 08:26, "Vladimir Murzin" <murzin.v@gmail.com>:
> Hi Semen
>
> Could you share a Makefile for your module?
>
> Best wishes,
> Vladimir Murzin
>
> -----Original Message-----
> From: Martynov Semen <semen-martynov@yandex.ru>
> Sender: kernelnewbies-bounces at kernelnewbies.org
> Date: Mon, 09 Apr 2012 23:56:15
> To: kernelnewbies at kernelnewbies.org<kernelnewbies@kernelnewbies.org>
> Subject: No subject
>
> Good afternoon,
>
> I would like to understand, why I can't make the built-in object, when my code is in a folder /samples...
>
> I have my module-code and if I put it in a folder /samples, I can receive only loadable module (.ko) but if I want to receive the built-in object - it turns out nothing (.?-file is created, but my code doesn't get in a kernel). When I allocate my module-code in any other folder (for example, /drivers) it works normally - I can receive .ko and I can make the built-in object.
>
> Question - why I can't receive the built-in object when my code is in the folder /samples? What instruction in a make-file restricts it, and how?
>
> P.S.: Sorry for my english.
> --
> Best regards,
> Semen A Martynov.
>
> Saint Petersburg, Russia.
> https://www.facebook.com/semen.martynov
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- 


? ?? Facebook: http://www.facebook.com/profile.php?id=1095131825

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

* No subject
  2012-04-10  2:26 ` Vladimir Murzin
@ 2012-04-10  4:03   ` Martynov Semen
  2012-04-10  4:48   ` Martynov Semen
  1 sibling, 0 replies; 39+ messages in thread
From: Martynov Semen @ 2012-04-10  4:03 UTC (permalink / raw)
  To: kernelnewbies

An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120410/f5f9ee0c/attachment.html 

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

* No subject
  2012-04-09 17:56 Martynov Semen
@ 2012-04-10  2:26 ` Vladimir Murzin
  2012-04-10  4:03   ` Martynov Semen
  2012-04-10  4:48   ` Martynov Semen
  0 siblings, 2 replies; 39+ messages in thread
From: Vladimir Murzin @ 2012-04-10  2:26 UTC (permalink / raw)
  To: kernelnewbies

Hi Semen

Could you share a Makefile for your module?

Best wishes,
Vladimir Murzin

-----Original Message-----
From: Martynov Semen <semen-martynov@yandex.ru>
Sender: kernelnewbies-bounces at kernelnewbies.org
Date: Mon, 09 Apr 2012 23:56:15 
To: kernelnewbies at kernelnewbies.org<kernelnewbies@kernelnewbies.org>
Subject: No subject

Good afternoon,

I would like to understand, why I can't make the built-in object, when my code is in a folder /samples...

I have my module-code and if I put it in a folder /samples, I can receive only loadable module (.ko) but if I want to receive the built-in object - it turns out nothing (.?-file is created, but my code doesn't get in a kernel). When I allocate my module-code in any other folder (for example, /drivers) it works normally - I can receive .ko and I can make the built-in object.

Question - why I can't receive the built-in object when my code is in the folder /samples? What instruction in a make-file restricts it, and how?

P.S.: Sorry for my english.
-- 
Best regards,
Semen A Martynov.

Saint Petersburg, Russia.
https://www.facebook.com/semen.martynov

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

* No subject
@ 2012-04-09 17:56 Martynov Semen
  2012-04-10  2:26 ` Vladimir Murzin
  0 siblings, 1 reply; 39+ messages in thread
From: Martynov Semen @ 2012-04-09 17:56 UTC (permalink / raw)
  To: kernelnewbies

Good afternoon,

I would like to understand, why I can't make the built-in object, when my code is in a folder /samples...

I have my module-code and if I put it in a folder /samples, I can receive only loadable module (.ko) but if I want to receive the built-in object - it turns out nothing (.?-file is created, but my code doesn't get in a kernel). When I allocate my module-code in any other folder (for example, /drivers) it works normally - I can receive .ko and I can make the built-in object.

Question - why I can't receive the built-in object when my code is in the folder /samples? What instruction in a make-file restricts it, and how?

P.S.: Sorry for my english.
-- 
Best regards,
Semen A Martynov.

Saint Petersburg, Russia.
https://www.facebook.com/semen.martynov

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

* No subject
@ 2011-12-30 17:16 Philip Anil-QBW348
  0 siblings, 0 replies; 39+ messages in thread
From: Philip Anil-QBW348 @ 2011-12-30 17:16 UTC (permalink / raw)
  To: kernelnewbies

I want the drivers to be owned by a user, Foo. Whenever the drivers are
called by application Duh, I want a program Bar to run after the driver
has done its work, since Foo is now running the driver. Is it possible?

Anil 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111230/30642c9f/attachment.html 

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

* No subject
@ 2011-12-16  2:18 Swapnil Gaikwad
  0 siblings, 0 replies; 39+ messages in thread
From: Swapnil Gaikwad @ 2011-12-16  2:18 UTC (permalink / raw)
  To: kernelnewbies

Hi ,
     Tell me procedure or system call for-
     How to copy metadata of all files in a ext4 filesystem.

-- 
    Regards,

Swapnil Gaikwad.

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

* No subject
@ 2011-11-21 15:22 Jimmy Pan
  0 siblings, 0 replies; 39+ messages in thread
From: Jimmy Pan @ 2011-11-21 15:22 UTC (permalink / raw)
  To: kernelnewbies

..Do you want to feel something new? Do you want to feel new
unforgettable sensations? This is for you!
http://un-ocean.fr/p.g.php?wellink_friend_id=14ox0

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

* No subject
@ 2011-09-23  3:42 毕春雷
  0 siblings, 0 replies; 39+ messages in thread
From: 毕春雷 @ 2011-09-23  3:42 UTC (permalink / raw)
  To: kernelnewbies


nirvanacn2011 at hotmail.com 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110923/b0ee862a/attachment.html 

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

* No subject
@ 2011-06-16 11:41 Venkateswarlu P
  0 siblings, 0 replies; 39+ messages in thread
From: Venkateswarlu P @ 2011-06-16 11:41 UTC (permalink / raw)
  To: kernelnewbies

how to understand the kernerl source  files in a simple way


what header  files i have to understand first


for example  to understand      do_fork()     function  for process
creation  which is defined in  kernel/fork.c



-- 
**
P VENKATESWARLU
M.Tech (CSE) II year
NIT Calicut ,Kerala* **
*+91-9995115752
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110616/e52d0718/attachment.html 

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

* No subject
@ 2011-06-14 12:20 Venkateswarlu P
  0 siblings, 0 replies; 39+ messages in thread
From: Venkateswarlu P @ 2011-06-14 12:20 UTC (permalink / raw)
  To: kernelnewbies

anyone can send
implementation of  *fork()* library call  in the library

i want to know how it is get connected to the system call.















**
P VENKATESWARLU
M.Tech (CSE) II year
NIT Calicut ,Kerala* **
*+91-9995115752
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110614/e1414a9f/attachment.html 

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

* No subject
@ 2011-03-22 18:13 nijil yes
  0 siblings, 0 replies; 39+ messages in thread
From: nijil yes @ 2011-03-22 18:13 UTC (permalink / raw)
  To: kernelnewbies

Hi,
could anyone mention what are the projects available for beginners to do in gsoc 
this time from kernel newbies.I am comfortable with c/c++.I would be glad if 
someone could suggest a few

Regards,
Nijil



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110322/1858b878/attachment.html 

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

* No subject
@ 2011-02-26  6:20 Aldyth Maharsha
  0 siblings, 0 replies; 39+ messages in thread
From: Aldyth Maharsha @ 2011-02-26  6:20 UTC (permalink / raw)
  To: kernelnewbies


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110226/cfa13c75/attachment.html 

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

end of thread, other threads:[~2018-08-02 10:48 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-02 10:48 No subject TU PHUNG VAN
  -- strict thread matches above, loose matches on Subject: below --
2018-07-06  5:52 inventsekar
2018-05-08  6:10 Vishnu Gopinath
2016-03-07 17:52 nunojsa
2015-10-21  6:17 Rock Lee
2015-09-18 17:23 Shraddha Barke
2015-09-18  4:49 Shraddha Barke
2015-03-30  4:56 Woody Wu
2015-01-27 16:49 Grzegorz Dwornicki
2014-08-29 14:22 Ravi Raj
2014-08-29 14:47 ` Valdis.Kletnieks at vt.edu
2014-08-29 14:58   ` Ravi Raj
2014-08-29 15:32     ` No subject Valdis.Kletnieks at vt.edu
2014-08-29 15:34     ` Valdis.Kletnieks at vt.edu
2014-05-12  4:37 Sivakumar V
2014-04-21  2:59 Amber Thrall
2013-07-30  4:09 PV Juliet
2013-02-25  7:24 Prasad Lakshman
2013-02-15  5:48 Kaushal Billore
2013-02-06 22:30 Jimmy Pan
2012-12-05 13:48 Niroj Pokhrel
2012-11-19 11:41 唐忠诚
2012-11-02 10:46 Pritam Bankar
2012-10-15  9:24 Niroj Pokhrel
2012-08-13 10:09 Vivek Panwar
2012-08-06 10:43 =?gb18030?B?wObC5A==?=
2012-07-30 19:04 siddhesh phadke
2012-04-09 17:56 Martynov Semen
2012-04-10  2:26 ` Vladimir Murzin
2012-04-10  4:03   ` Martynov Semen
2012-04-10  4:48   ` Martynov Semen
2012-04-10 16:08     ` Vladimir Murzin
2012-04-10 17:00       ` Semen Martynov
2011-12-30 17:16 Philip Anil-QBW348
2011-12-16  2:18 Swapnil Gaikwad
2011-11-21 15:22 Jimmy Pan
2011-09-23  3:42 毕春雷
2011-06-16 11:41 Venkateswarlu P
2011-06-14 12:20 Venkateswarlu P
2011-03-22 18:13 nijil yes
2011-02-26  6:20 Aldyth Maharsha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).