Re: apt-get is not working properly

2014-08-01 Thread Kristofer Hallin
IIRC the package name is libncurses5-dev. It will be quite hard for you to
do any kernel  development if you can't solve this by yourself.
On 1 Aug 2014 08:01, Niamathullah sharief newbie...@gmail.com wrote:

 Actually it is not only my distro problem.

 I am trying to compile kernel in Ubuntu.

 I am getting the following error and i am unable to rectify it.










 *mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ make menuconfig  *** Unable
 to find the ncurses libraries or the *** required header files. *** 'make
 menuconfig' requires the ncurses libraries. ***  *** Install ncurses
 (ncurses-devel) and try again. *** make[1]: ***
 [scripts/kconfig/dochecklxdialog] Error 1make: *** [menuconfig] Error
 2mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$*


 On Fri, Aug 1, 2014 at 11:19 AM, David kiarie davidkiar...@gmail.com
 wrote:

 In future, ask this distro related questions on the ubuntu forums, or
 even try google :-)

 Looking at your problem it seems that ncurses-devel is not the package
 name for what you are looking for.

 You could try, apt-cache search ncurses,  from the list, get the
 name of the package you are looking for.

 On Fri, Aug 1, 2014 at 8:44 AM, Niamathullah sharief
 newbie...@gmail.com wrote:
  Dear Friends
 
  I am trying to install my ncurses package in my Ubuntu Distro.
 
  I am getting the following error. But i dont know what is the problem.
 Can
  anyone help me
 
  Code:
 
  mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ sudo apt-get install
  ncurses-develReading package lists... Done
  Building dependency tree
  Reading state information... Done
  E: Unable to locate package ncurses-devel
  mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$
 
 
  ___
  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


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


Kernel Networking Ideas???

2014-08-01 Thread Aniket Shinde
Hey,
 Any project available in Networking under Kernel???

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


Re: userspace stack start and end

2014-08-01 Thread Peter Teoh
FYI, there are many different types of kernel stack:

http://www.x86-64.org/pipermail/discuss/2005-April/005944.html


On Mon, Jul 28, 2014 at 12:52 AM, Xin Tong trent.t...@gmail.com wrote:

 I am trying to find the start and end address of the userspace stack. I
 see in the task_struct there is start_stack. But I could not find end_start
 anywhere in the kernel code ?

 Can someone please tell me how to find the end of the stack ?

 Thanks,
 Xin

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




-- 
Regards,
Peter Teoh
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: userspace stack start and end

2014-08-01 Thread Peter Teoh
and look into the function print_context_stack() which will teach u how
to identify the start/end of stack, whether the address is valid, how to
traverse from one frame to another (using RBP / EBP of course, so CONFIG
for framepointer is definitely needed).


On Sat, Aug 2, 2014 at 12:22 AM, Peter Teoh htmldevelo...@gmail.com wrote:

 FYI, there are many different types of kernel stack:

 http://www.x86-64.org/pipermail/discuss/2005-April/005944.html


 On Mon, Jul 28, 2014 at 12:52 AM, Xin Tong trent.t...@gmail.com wrote:

 I am trying to find the start and end address of the userspace stack. I
 see in the task_struct there is start_stack. But I could not find end_start
 anywhere in the kernel code ?

 Can someone please tell me how to find the end of the stack ?

 Thanks,
 Xin

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




 --
 Regards,
 Peter Teoh




-- 
Regards,
Peter Teoh
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernelnewbies Digest, Vol 45, Issue 1

2014-08-01 Thread Vishwas Srivastava
To run menuconfig programme you need ncurses package, which is not
installed on your system
That is the reason of your first problem.
Now, your ubuntu version, looks like obsolete (i believe you installed it
long time before)and is no longer supported anymore.

If you update your ubuntu version, i guess you would be able to install
ncurses and would be able to build (make menuconfig wont fail).

Hope it would help.


On Fri, Aug 1, 2014 at 9:30 PM, kernelnewbies-requ...@kernelnewbies.org
wrote:

 Send Kernelnewbies mailing list submissions to
 kernelnewbies@kernelnewbies.org

 To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
 or, via email, send a message with subject or body 'help' to
 kernelnewbies-requ...@kernelnewbies.org

 You can reach the person managing the list at
 kernelnewbies-ow...@kernelnewbies.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Kernelnewbies digest...


 Today's Topics:

1. apt-get is not working properly (Niamathullah sharief)
2. Process simulator (Niamathullah sharief)
3. Re: Process simulator (Raghavendra)
4. Re: apt-get is not working properly (Niamathullah sharief)
5. Re: apt-get is not working properly (Kristofer Hallin)
6. Kernel Networking Ideas??? (Aniket Shinde)


 --

 Message: 1
 Date: Fri, 1 Aug 2014 11:14:05 +0530
 From: Niamathullah sharief newbie...@gmail.com
 Subject: apt-get is not working properly
 To: kernelnewbies Kernelnewbies@kernelnewbies.org,
 kernelnewb...@nl.linux.org
 Message-ID:
 CACZhsRgir3UAVmshhnK1hH1cJKG9ZfT8_rmh=+
 wegy_otmf...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Dear Friends

 I am trying to install my ncurses package in my Ubuntu Distro.

 I am getting the following error. But i dont know what is the problem. Can
 anyone help me

  Code:

 mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$ sudo apt-get install
 ncurses-develReading package lists... Done
 Building dependency tree
 Reading state information... Done
 E: Unable to locate package ncurses-devel
 mamse@mamse-ThinkCentre-M80:~/linux-3.15.8$
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140801/98a28001/attachment-0001.html

 --

 Message: 2
 Date: Fri, 1 Aug 2014 11:16:39 +0530
 From: Niamathullah sharief newbie...@gmail.com
 Subject: Process simulator
 To: kernelnewbies Kernelnewbies@kernelnewbies.org
 Message-ID:
 
 caczhsrguombpyuzw691qwpwxnp8kupmavhfddt_yfvapujq...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Dear Friends,

 Can anyone tell me how to find the process execution time in linux?

 I mean how much time it is taking to execute any process in our
 conventional processor.

 Please help me
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140801/1d8620cc/attachment-0001.html

 --

 Message: 3
 Date: Fri, 01 Aug 2014 11:14:48 +0530
 From: Raghavendra ar...@cdac.in
 Subject: Re: Process simulator
 To: kernelnewbies@kernelnewbies.org
 Message-ID: 53db2950.8040...@cdac.in
 Content-Type: text/plain; charset=iso-8859-1

 On Friday 01 August 2014 11:16 AM, Niamathullah sharief wrote:
  Dear Friends,
 
  Can anyone tell me how to find the process execution time in linux?
 
  I mean how much time it is taking to execute any process in our
  conventional processor.
 
  Please help me
 
 
 
 
  ___
  Kernelnewbies mailing list
  Kernelnewbies@kernelnewbies.org
  http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
 Explore 'perf'.


 ---
 [ C-DAC is on Social-Media too. Kindly follow us at:
 Facebook: https://www.facebook.com/CDACINDIA  Twitter: @cdacindia ]

 This e-mail is for the sole use of the intended recipient(s) and may
 contain confidential and privileged information. If you are not the
 intended recipient, please contact the sender by reply e-mail and destroy
 all copies and the original message. Any unauthorized review, use,
 disclosure, dissemination, forwarding, printing or copying of this email
 is strictly prohibited and appropriate legal action will be taken.

 ---

 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140801/7771898a/attachment-0001.html

 --

 Message: 4
 Date: Fri, 1 Aug 2014 11