LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-19-2009, 07:58 AM   #1
ashok449
Member
 
Registered: Sep 2007
Location: noida
Distribution: suse
Posts: 63

Rep: Reputation: 16
extra thread issue in 2.4 kernel on powerpc


Hello All,

I'm facing a problem with extra thread created by another thread. I'm using 2.4 kernel on powerpc.

here is the output of ps command:

pid ppid flag(dec) flag(hex) last_syscall
433 1 320 0x140 102
435 433 64 0x040 167
436 435 64 0x040 178
437 435 64 0x040 178
516 435 320 0x140 3
7502(extrathread) 516 64 0x040 30583(invalid I guess)


this extra thread was created after a long run, not reproduce able easily. My thread(516) stopped at read system call indefinitely and creating new thread(7502) which is not implemented.

Any idea why this is happening.

I have traced each process Process Descriptor details are:

PID=433 :
process =test -->pid=433
process Ppid=1 name=init
process state=1
process nice=0
process flag=320
process flag(in hex)=0X00000140
process session=433
process locks=0
process start_time=9206
process sleep_time=69724290
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=1598088
process maj_flt=250
process lock depth=-1
exit code =0
exit signal =17
pdeath signal =0
sigpending =0

========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=102
thread fpscr=-1912569856
-------------------------------------------------------------


PID=435 :
process =test -->pid=435
process Ppid=433 name=test
process state=1
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9214
process sleep_time=69724600
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=38731
process maj_flt=0
process lock depth=-1
exit code =0
exit signal =0
pdeath signal =0
sigpending =0
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=167
thread fpscr=0
-------------------------------------------------------------

PID=436 :
process =test -->pid=436
process Ppid=435 name=test
process state=1
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9217
process sleep_time=9221
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=0
process maj_flt=1
process lock depth=-1
exit code =0
exit signal =33
pdeath signal =0
sigpending =0

========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=178
thread fpscr=0
-------------------------------------------------------------

PID=437 :
process =test -->pid=437
process Ppid=435 name=test
process state=1
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9217
process sleep_time=9229
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=0
process maj_flt=0
process lock depth=-1
exit code =0
exit signal =33
pdeath signal =0
sigpending =0

========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=178
thread fpscr=0

-------------------------------------------------------------

PID=516 :
process =test -->pid=516
process Ppid=435 name=test
process state=1
process nice=0
process flag=320
process flag(in hex)=0X00000140
process session=433
process locks=0
process start_time=9904
process sleep_time=9163388
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=2676836
process maj_flt=39
process lock depth=-1
exit code =0
exit signal =33
pdeath signal =0
sigpending =0

========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=3
thread fpscr=-1979678720
-------------------------------------------------------------
PID=7502 :
process =test -->pid=7502
process Ppid=516 name=test
process state=0
process nice=0
process flag=64
process flag(in hex)=0X00000040
process session=433
process locks=0
process start_time=9163385
process sleep_time=9163383
process cpus_runnable=1
process cpus_allowed=-1
process ptrace=0
process min_flt=7
process maj_flt=0
process lock depth=-1
exit code =0
exit signal =17
pdeath signal =0
sigpending =1
========= THREAD INFO ==================
thread fpexc_mode=2304
thread last_syscall=30583
thread fpscr=-1979678720
-------------------------------------------------------------



Any help is appreciable

Thanks,
Ashok

Last edited by ashok449; 03-19-2009 at 07:59 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
thread creating another thread on 2.4 kernel after long run ashok449 Linux - Kernel 1 02-20-2009 04:26 AM
Canceling ISR Thread cause extra Interrupts EmbeddedSteve Linux - Embedded & Single-board computer 0 09-18-2007 04:38 PM
Why can't I compile this kernel module? (kernel: 2.6.8-powerpc Debian sarge) Lannix Linux - Hardware 5 05-01-2007 12:29 PM
configure qt thread issue (just compiled qt w/ -thread option) cleff Linux - Software 8 05-07-2004 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration