Re: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Anand Moon
Hi Giridhara, http://ark.intel.com/products/64622/Intel-Xeon-Processor-E5-4650-20M-Cache-2_70-GHz-8_00-GTs-Intel-QPI Show it has only 8 core of CPU. Why are you setting the CONFIG_NR_CPUS=64. certainly it will have a issue in the kernel. -Anand Moon On Tuesday, January 27, 2015 10:27 AM, Gir

Re: Ticketing spinlocks - How to get to the owner who locked the spinlock?

2015-01-26 Thread manty kuma
7 swappers and one process with name doe:handler In pawapper processes aswell, when i see the backtrace i see some mem aborts but couldnot get to the place which is holding the lock On Tuesday, January 27, 2015, Arun KS wrote: > Hi Manty, > > On Tue, Jan 27, 2015 at 11:52 AM, manty kuma > wro

Re: Ticketing spinlocks - How to get to the owner who locked the spinlock?

2015-01-26 Thread manty kuma
Dear Arun, typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef CONFIG_GENERIC_LOCKBREAK unsigned int break_lock; #endif #ifdef CONFIG_DEBUG_SPINLOCK unsigned int magic, owner_cpu; void *owner; #endif #ifdef CONFIG_DEBUG_LOCK_ALLOC struct lockdep_map dep_map; #endif }

Re: Ticketing spinlocks - How to get to the owner who locked the spinlock?

2015-01-26 Thread Arun KS
Hi Manty, On Tue, Jan 27, 2015 at 11:52 AM, manty kuma wrote: > Dear Arun, > > typedef struct raw_spinlock { > arch_spinlock_t raw_lock; > #ifdef CONFIG_GENERIC_LOCKBREAK > unsigned int break_lock; > #endif > #ifdef CONFIG_DEBUG_SPINLOCK > unsigned int magic, owner_cpu; > void *ow

Re: Ticketing spinlocks - How to get to the owner who locked the spinlock?

2015-01-26 Thread manty kuma
Thank you Sanjeev, But as of now i am not sure on how to reproduce the issue. So i have to deal with the dump. Regards, Manty On Tue, Jan 27, 2015 at 3:17 PM, sanjeev sharma wrote: > Hello > > you can try to print running task backtrack information in kernel/lockdep.c > > Regards > Sanjeev Sha

Re: Ticketing spinlocks - How to get to the owner who locked the spinlock?

2015-01-26 Thread sanjeev sharma
Hello you can try to print running task backtrack information in kernel/lockdep.c Regards Sanjeev Sharma On Tue, Jan 27, 2015 at 11:27 AM, manty kuma wrote: > Hi All, > > Currently I am looking into an issue which is holding the printk > lock(logbuf_lock) > > logbuf_lock = { > raw_lock = { >

Re: Ticketing spinlocks - How to get to the owner who locked the spinlock?

2015-01-26 Thread Arun KS
Hello Manty, On Tue, Jan 27, 2015 at 11:27 AM, manty kuma wrote: > > Hi All, > > Currently I am looking into an issue which is holding the printk > lock(logbuf_lock) > > logbuf_lock = { > raw_lock = { > owner = 0, > next = 4 > } > } > > I read about ticketing spinlocks to understand

Ticketing spinlocks - How to get to the owner who locked the spinlock?

2015-01-26 Thread manty kuma
Hi All, Currently I am looking into an issue which is holding the printk lock(logbuf_lock) logbuf_lock = { raw_lock = { owner = 0, next = 4 } } I read about ticketing spinlocks to understand the above output. I understood that 4 cpu's are waiting for the lock while someone already ha

Re: Block Device Driver Tutorial

2015-01-26 Thread Pranay Srivastava
Hi Gunjan On Sun, Jan 25, 2015 at 5:13 AM, Gunjan Mehta wrote: > Any online links for study and understanding? > Or any other institute? > > On Wed, Jan 21, 2015 at 9:42 PM, Saket Sinha > wrote: >> >> Hi, >> >> I would refer Anil Pugalia from Sysplay(http://sysplay.in/) . >> >> You can find his

Re: Block Device Driver Tutorial

2015-01-26 Thread sanjeev sharma
Hello, First of all you need to decide whether you would like to do by yourself or like to get training from Training center.I am assuming that you have fair understanding of character device driver and Linux kernel internals because you are seeking help in block device driver. you should prefer

RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
-Original Message- From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] Sent: Tuesday, January 27, 2015 10:15 AM To: Giridhara RP (grp) Cc: Greg KH; kernelnewbies@kernelnewbies.org Subject: Re: Kernel 2.6.32.60 64bit Crash/Hung On Tue, 27 Jan 2015 04:06:00 +, "Giridhara RP (

Re: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Valdis . Kletnieks
On Tue, 27 Jan 2015 04:06:00 +, "Giridhara RP (grp)" said: > Which kernel version should I use to solve this crash/panic? That will depend on exactly why you're still running a 2.6.32 kernel from 6 years ago. Remember - the fact it's all the way up to 2.6.32.65 doesn't mean you have all the b

RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
-Original Message- From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] Sent: Tuesday, January 27, 2015 9:32 AM To: Giridhara RP (grp) Cc: Greg KH; kernelnewbies@kernelnewbies.org Subject: Re: Kernel 2.6.32.60 64bit Crash/Hung On Tue, 27 Jan 2015 03:52:05 +, "Giridhara RP (g

Re: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Valdis . Kletnieks
On Tue, 27 Jan 2015 03:52:05 +, "Giridhara RP (grp)" said: > Thanks for the quick turnaround. Which is the stable version? Kernel > 2.6.32.60 was used in RHEL 6.2 and we thought this kernel version is stable. It's stable enough that RedHat can afford to keep supporting its paying customers.

RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
Hi Greg, Thanks for the quick turnaround. Which is the stable version? Kernel 2.6.32.60 was used in RHEL 6.2 and we thought this kernel version is stable. Regards Giri -Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, January 27, 2015 8:19 AM To: Giridhara RP (gr

Re: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Greg KH
On Tue, Jan 27, 2015 at 12:06:56AM +, Giridhara RP (grp) wrote: > Hi, > > > > I am facing crash/hang with 2.6.32.60 Kernel (64bit). Note this is a _very_ old and obsolete kernel, please use a modern kernel release if you wish to get help from the community. If you are being forced to use

RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
Hello, Please note my CPU is this. Intel(R) Xeon(R) CPU E5-4650 v2 @ 2.40GHz stepping 04 From: Giridhara RP (grp) Sent: Tuesday, January 27, 2015 5:37 AM To: kernelnewbies@kernelnewbies.org Subject: Kernel 2.6.32.60 64bit Crash/Hung Hi, I am facing crash/hang with 2.6.32.60 Kernel (64bit). My

Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
Hi, I am facing crash/hang with 2.6.32.60 Kernel (64bit). My maxcpus (CONFIG_NR_CPUS) count is 64 and below is the call trace. I see log saying "BUG: spinlock lockup on CPU#74". Is it a known bug? If its fixed let me know the patch. Any pointers really appreciated. Please note, if I change

Re: New member

2015-01-26 Thread John de la Garza
On Mon, Jan 26, 2015 at 01:46:26AM +0530, srinivas bakki wrote: > Anuz, > Sorry about that. But am also sorry that you could find a problem > as silly as that. We have a greater problem at hand. > I don't think top posting is a silly problem. I think it makes it hard to follow the threa

Re: New member

2015-01-26 Thread John de la Garza
On Sun, Jan 25, 2015 at 08:10:15PM +, Anuz Pratap Singh Tomar wrote: > On Sun, Jan 25, 2015 at 7:38 PM, srinivas bakki > wrote: > > > Valdis, > >You got to be polite with people.Not everybody is as smart as > > you, but they would like to contribute. Just keep in in mind that ther

Re: New member

2015-01-26 Thread Mulyadi Santosa
On Mon, Jan 26, 2015 at 1:07 AM, Satwantjit Kaur <99satw...@gmail.com> wrote: > Hi, > I am a final year B.Tech (CSE) student from NIT Jalandhar. I like > programming and I know C and C++ programming languages. I have worked > on IPC and socket programming in C/C++. I wish to take up a project

Re: New member

2015-01-26 Thread Silvan Jegen
Am 2015-01-26 04:45, schrieb valdis.kletni...@vt.edu: > On Sun, 25 Jan 2015 16:29:00 -0800, "Robert P. J. Day" said: > >> what's wrong with ftrace? but seriously, you know what newcomers >> might get some value out of doing if they want to contribute? writing >> some really, really good document