[no subject]

2021-08-15 Thread Adverg Ebashinskii

Hello!
 
I’m trying to build Linux Kernel from upstream and faced some build error.
 
Environment:
 
Ubuntu 20.04 
gcc  (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Linux Kernel 5.8.0-59-generic
 
Steps to build:
 
I follow the instructions specified in this site  
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
 
1​​  cp /boot/config-$(uname -r) .config​​​
 
2  make olddefconfig
 
3  make clean
 
4  make -j $(getconf _NPROCESSORS_ONLN) deb-pkg LOCALVERSION=-custom
 
After pretty long time of compiling source files I got the following error:
 
make[2]: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 2
make: *** [Makefile:1559: deb-pkg] Error 2
 
Is there a way to fix that?
 
--
Regards,
Adverg Ebashinskii___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2021-01-14 Thread ‪bigbird2444
On Thu, Jan 14, 2021 at 8:01 AM Alexander Kapshuk wrote:>> On Thu, Jan 14, 2021 at 8:14 AM bigbird2444@163.com  wrote:> >> >> > I've just added a newbies mailing list, How to join other mailing lists, and I'd like to see what other people are communicating with.> >> > ___> > Kernelnewbies mailing list> > Kernelnewbies@kernelnewbies.org> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies>> Not sure what other lists you were referring to, but you may want to> check out these mailing lists, http://vger.kernel.org/vger-lists.html,> and see if that's what you were after.>If you just would like to read the mails on >the different mailing>list, you do not need to subscribe.>You can find all emails at >https://lore.kernel.org/lists.html, just>look into the various mailing lists and see >what is of interest to>you.>LukasThank you, how do I subscribe to other mailing lists?Liang Peng___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2020-03-16 Thread Sankalp Bhardwaj
Where to get started?? I am interested in understanding how the
kernel works but have no prior knowledge... Please help!!
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2018-08-02 Thread TU PHUNG VAN
S.ư
www
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2018-07-05 Thread inventsekar
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2018-05-07 Thread Vishnu Gopinath
new in the field of linux kernal... how to start..from where to start
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2016-03-07 Thread nunojsa


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2015-10-20 Thread Rock Lee
unsubscribe kernelnewbies

Regards

Rock Lee  ___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2015-09-18 Thread Shraddha Barke
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2015-09-17 Thread Shraddha Barke
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 
 ^
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.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2015-03-29 Thread Woody Wu
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2015-01-27 Thread Grzegorz Dwornicki
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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2014-08-29 Thread Valdis . Kletnieks
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/



pgpyHXKZuyXX8.pgp
Description: PGP signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2014-08-29 Thread Valdis . Kletnieks
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. ;)


pgp_DU5sFCkkq.pgp
Description: PGP signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2014-08-29 Thread Ravi Raj
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.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2014-05-12 Thread Sivakumar V
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2014-04-20 Thread Amber Thrall
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



___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2013-07-29 Thread PV Juliet
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2013-02-14 Thread Kaushal Billore
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 
  ___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2013-02-06 Thread Jimmy Pan
unsuscribe
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2012-12-05 Thread Niroj Pokhrel
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2012-11-02 Thread Pritam Bankar
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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2012-10-15 Thread Niroj Pokhrel
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2012-08-13 Thread Vivek Panwar
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2012-08-06 Thread ????
hello   i  want  to  sabrit  the  mailist___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2012-07-30 Thread siddhesh phadke
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?

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: No subject

2012-04-10 Thread Semen Martynov
Yes, this is it! Thank you!

10.04.2012, 20:08, "Vladimir Murzin" :
> On Tue, Apr 10, 2012 at 10:48:14AM +0600, Martynov Semen wrote:
>
>>  
>>
>>  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" :
>>>  Hi Semen
>>>
>>>  Could you share a Makefile for your module?
>>>
>>>  Best wishes,
>>>  Vladimir Murzin
>>>
>>>  -Original Message-
>>>  From: Martynov Semen 
>>>  Sender: kernelnewbies-boun...@kernelnewbies.org
>>>  Date: Mon, 09 Apr 2012 23:56:15
>>>  To: 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@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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: No subject

2012-04-10 Thread Vladimir Murzin
On Tue, Apr 10, 2012 at 10:48:14AM +0600, Martynov Semen wrote:
> 
> 
> 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" :
> > Hi Semen
> >
> > Could you share a Makefile for your module?
> >
> > Best wishes,
> > Vladimir Murzin
> >
> > -----Original Message-
> > From: Martynov Semen 
> > Sender: kernelnewbies-boun...@kernelnewbies.org
> > Date: Mon, 09 Apr 2012 23:56:15
> > To: 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@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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: No subject

2012-04-09 Thread Martynov Semen


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" :
> Hi Semen
>
> Could you share a Makefile for your module?
>
> Best wishes,
> Vladimir Murzin
>
> -Original Message-
> From: Martynov Semen 
> Sender: kernelnewbies-boun...@kernelnewbies.org
> Date: Mon, 09 Apr 2012 23:56:15
> To: 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@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- 


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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: No subject

2012-04-09 Thread Martynov Semen
Thanks for the answer! Yes, of course I can.It contains only one line: obj-$(CONFIG_MY_PROCLISTOUTPUT) += proclistoutput.o and works with my Kconfig config MY_PROCLISTOUTPUTtristate "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 I can't build-in the code, but with .ko it works fine...I suppose that the reason is in the kernel Makefile. The root Makefile contains this code (http://lxr.free-electrons.com/source/Makefile#L914) ifdef CONFIG_SAMPLES$(Q)$(MAKE) $(build)=samplesendif where$(Q) = @$(build) = -f scripts/Makefile.build obj and further I lose understanding of the events... 10.04.2012, 08:26, "Vladimir Murzin" : >  Hi Semen>>  Could you share a Makefile for your module?>>  Best wishes,>  Vladimir Murzin>>  -Original Message->  From: Martynov Semen >  Sender: kernelnewbies-boun...@kernelnewbies.org>  Date: Mon, 09 Apr 2012 23:56:15>  To: 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@kernelnewbies.org>  http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies--  Я на Facebook: http://www.facebook.com/profile.php?id=1095131825___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: No subject

2012-04-09 Thread Vladimir Murzin
Hi Semen

Could you share a Makefile for your module?

Best wishes,
Vladimir Murzin

-Original Message-
From: Martynov Semen 
Sender: kernelnewbies-boun...@kernelnewbies.org
Date: Mon, 09 Apr 2012 23:56:15 
To: 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@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


No subject

2012-04-09 Thread Martynov Semen
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@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-12-30 Thread Philip Anil-QBW348
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 

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-12-15 Thread Swapnil Gaikwad
Hi ,
 Tell me procedure or system call for-
 How to copy metadata of all files in a ext4 filesystem.

-- 
Regards,

Swapnil Gaikwad.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-11-21 Thread Jimmy Pan
..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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-09-22 Thread 毕春雷

nirvanacn2...@hotmail.com ___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Getting started with kernel sources [Was: No subject]

2011-06-16 Thread Daniel Baluta
On Thu, Jun 16, 2011 at 2:41 PM, Venkateswarlu P
 wrote:
> 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

There's no shortcuts. :)

Use dump_stack() in various places and check
what functions are called.
Also use lxr ([1]) for code browsing.

Please add a relevant Subject description to your emails.

thanks,
Daniel.

[1] http://lxr.linux.no/

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-06-16 Thread Venkateswarlu P
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-06-14 Thread Venkateswarlu P
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
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-03-22 Thread nijil yes
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



  ___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[no subject]

2011-02-25 Thread Aldyth Maharsha

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies