[ARM-LINUX]Booting is stopped at CPSIE instruction

2013-04-02 Thread sandeep kumar
Hi all I am trying to port opensource kernel on top of Qualcomm board. I am struck at local_irq_enable() point in init/main.c, start_kernel() { --- snip --- call_function_init(); if (!irqs_disabled()) printk(KERN_CRIT start_kernel(): bug: interrupts were enabled early\n);

Re: kernel build error

2013-04-02 Thread Kumar amit mehta
On Tue, Apr 02, 2013 at 10:04:31AM +0700, Mulyadi Santosa wrote: Could you paste roughly 20-30 lines of boot messages when you hit the hung point? Kernel config alone usually can't help much I'm trying this on a Virtual Machine using VMware Player. When the VM boots up, it throws lots of

Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Vlad Dogaru
On Tue, Apr 02, 2013 at 05:54:56AM +0300, Kevin Wilson wrote: Hi? Any idea what is the difference cgroup.procs entry and tasks entry of cgroup sysfs? both represent pid lists. I ran: cat /sys/fs/cgroup/cpuset/cgroup.procs and cat /sys/fs/cgroup/cpuset/tasks and entries of cgroup.procs

What is idr_alloc()

2013-04-02 Thread Manavendra Nath Manav
In the source code implementation it says idr_alloc() is used to allocate new idr entry. I couldn't find the man page and want to know why it is used especially when writing drivers for MTD devices. ___ Kernelnewbies mailing list

Re: [help] kernel oops in function gpio_to_irq

2013-04-02 Thread Mylene Josserand
Hi Matthias, Le 30/03/2013 14:09, Matthias Brugger a écrit : El 27/03/2013 18:16, Mylene Josserand mylene.josser...@navocap.com mailto:mylene.josser...@navocap.com va escriure: Hi everyone, I have a problem with gpio functions. My kernel version is 3.8.2 and my SoC is a

Method to calculate user space thread size

2013-04-02 Thread naveen yadav
Dear All, I have very complex user space application contain more then 400 threads. I want to limit the stack size in user space, for this I want to know how much stack size each thread use in worst case. To calculate this is I need to modify in kernel ? or current kernel have any support ? or

Re: kernel build error

2013-04-02 Thread Mulyadi Santosa
On Tue, Apr 2, 2013 at 1:19 PM, Kumar amit mehta gmate.a...@gmail.comwrote: On Tue, Apr 02, 2013 at 10:04:31AM +0700, Mulyadi Santosa wrote: Could you paste roughly 20-30 lines of boot messages when you hit the hung point? Kernel config alone usually can't help much I'm trying this on a

Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Kevin Wilson
Hi, Thanks a lot Vlad. This explains it. - Does anybody know of a ps command (or a filter to ps command) which will display only multithreaded processes (list processes by TGID) ? (I know now about the option of displaying cgroup.procs , but is something parallel can be done with ps ? ) rgs,

Re: Reading linux boot args

2013-04-02 Thread Valdis . Kletnieks
On Tue, 02 Apr 2013 12:12:09 +0900, manty kuma said: Is there any way i could read the reason for reboot. I want to read it so that i can get the reason that is stored. like 0xABADBABE is watchdog 0xCODEDEAD is panic. Etc.. Please suggest an alternative approach. See the 'pstore'

Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Valdis . Kletnieks
On Tue, 02 Apr 2013 16:46:24 +0300, Kevin Wilson said: Hi, Thanks a lot Vlad. This explains it. - Does anybody know of a ps command (or a filter to ps command) which will display only multithreaded processes (list processes by TGID) ? (I know now about the option of displaying

Re: Online migration of arbitrary filesystems, possible?

2013-04-02 Thread Valdis . Kletnieks
On Mon, 01 Apr 2013 17:50:43 -0300, Daniel Hilst said: Any reason you can't just 'rsync /source-fs /dest-fs'? because I can't use dest-fs while rsynching Sure you can. You just have to remember to pay attention to race conditions - if you create foo/bar.dat on the dest and then rsync wants

Re: Reading linux boot args

2013-04-02 Thread manty kuma
Hi Valdis, Thansk for answer. I have made use of saved_command_linbe buffer that is available in all modules(extern present in linux/init.h) Best Regards, Manty On Wed, Apr 3, 2013 at 3:07 AM, valdis.kletni...@vt.edu wrote: On Tue, 02 Apr 2013 12:12:09 +0900, manty kuma said: Is there any

Re: cgroup.procs versus tasks (cgroups)

2013-04-02 Thread Rami Rosen
Hi, BTW, for a given thread group with a specified TGID, you can view all the threads PIDs in that thread group thus: pstree -p TGID and: pstree TGID will give one line; It visually merges identical branches by putting them in square brackets and prefixing them with the repetition count.

Re: Method to calculate user space thread size

2013-04-02 Thread Mulyadi Santosa
On Tue, Apr 2, 2013 at 7:55 PM, naveen yadav yad.nav...@gmail.com wrote: Dear All, I have very complex user space application contain more then 400 threads. I want to limit the stack size in user space, for this I want to know how much stack size each thread use in worst case. To calculate