LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-04-2010, 08:12 PM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,355

Rep: Reputation: 135Reputation: 135
Kernel panic: killing interrupt handler! In interrupt handler - not syncing.


I have written a Linux kernel module (in Linux 2.4, Red Hat 9) which does the followings:

It takes srcIP, sourceport, destIP, destport and loadvalue as command line arguments. If configured load value is greater than 1, it creates different channels (i.e. No of UDP channels created equals to configured load value), assign different source port and destination port to different channels and send UDP datagram in different channels. Say for example the configured parameters are as follows srcIP=10.17.17.43 destIP= 10.17.17.44 sourceport=10000 destport= 20000 loadvalue=2. Then it creates two UDP different channels and transmits UDP packets (in every 20 milliseconds) to destination IP address (i.e., 10.17.17.44) with source port 10000, destination port 20000 in one channel and source port 10002, destination port 20000 in another channel.

When I configure to pass ?loadvalue=500? and run the module, I get the below kernel panic message in system log file (i.e., var/log/messages)


Quote:
<0>Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing.

Running the same linux kernel module ,in 1000 loadvalue, I get this message,
Quote:
eth0: Out-of-sync dirty pointer, 49937 vs. 49954
in text console.

What are the root cause of these problems and how will I solve these ?

Last edited by divyashree; 05-05-2010 at 02:10 AM.
 
Old 05-05-2010, 01:58 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,769

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by divyashree View Post
I have written a Linux kernel module (in Linux 2.4, Red Hat 9) which does the followings:

Running the same linux kernel module ,in 1000 loadvalue, I get this message, in text console.

What are the root cause of these problems and how will I solve these ?
Since you don't post any of your code, and you've written it for a VERY old kernel and version of Linux, there's not much for us to go on.

Since you wrote the code, you're the best one to debug it. Not sure what the point is, though, since even if you get it working right, it'll be useless for any modern distro, with a 2.6.xx kernel.
 
Old 05-12-2010, 02:27 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,355

Original Poster
Rep: Reputation: 135Reputation: 135
Kernel Panic Messages:



Code:
Code: 8b 56 18 89 70 04 8b 46 1c c7 46 10 00 00 00 00 8b 7e 0c 89

 

<0>Kernel panic: Aiee, killing interrupt handler!

In interrupt handler - not syncing

 

Call Trace:

c01dd0bc ide_wait_stat c01dcff0

c01dd4a6 start_request c01dd2e0

c01dd6ae ide_do_request c01dd5e0

c01dd98d ide_timer_expiry c01dd8a0

c01dd8a0 ide_timer_expiry c01dd8a0

c012167b run_timer_list c0121570

c011d332 bh_action c011d310

c011d246 tasklet_hi_action c011d200

c011d085 do_softirq c011cff0

c0108b9e do_IRQ c0108b00

c0105360 default_idle c0105360

c010b208 call_do_IRQ c010b203

c0105360 default_idle c0105360

c0105383 default_idle c0105360

c0105412 cpu_idle c01053c0

c0105000 rest_init c0105000

Last edited by divyashree; 05-12-2010 at 02:37 AM.
 
Old 05-12-2010, 10:00 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,769

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by divyashree View Post
Kernel Panic Messages:
Ok...is there some point/question to that post??? We get that you're having kernel panic messages. Did you read my first post? About the very old system you're running on? About how you haven't posted any of your code, or given us any details about it??

Without information, we can't help. And again, YOU wrote this code....YOU are the best person to debug it.
 
Old 05-14-2010, 07:48 AM   #5
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,355

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by TB0ne View Post
Ok...is there some point/question to that post??? We get that you're having kernel panic messages. Did you read my first post? About the very old system you're running on? About how you haven't posted any of your code, or given us any details about it??

Without information, we can't help. And again, YOU wrote this code....YOU are the best person to debug it.
No Guruji ,actually this is a task given by my boss to me ..
 
Old 05-14-2010, 07:55 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
In your first post, you said you wrote it:
Quote:
I have written a Linux kernel module
Who is "Guruji" ??
 
Old 05-14-2010, 07:59 AM   #7
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
Originally Posted by pixellany
Who is "Guruji" ??
LOL

She must be referring to TB0ne as he is titled "Guru" and "ji" is a mark of respect in Hindi.
 
Old 05-14-2010, 08:03 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
She?

Obviously, you recognize the name. Which part of the screen name is the feminine name that you are seeing?
 
Old 05-14-2010, 08:04 AM   #9
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
"divyashree" This whole word is a girl's name in India !
 
Old 05-14-2010, 08:30 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I am reasonably clueless about Indian culture and language. Really hope to visit someday.....
 
Old 05-14-2010, 09:05 AM   #11
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
Originally Posted by pixellany View Post
I am reasonably clueless about Indian culture and language.
I can imagine how much difficult it is for you to pronounce that name *properly*

But in fact it is a very sweet name pronounced as follows:
div--ya--sh--ree

And you must be thinking anishakaul is a weird screen name.
But in fact anisha is my actual first name and kaul is my actual last name.

Quote:
Originally Posted by pixellany View Post
I am reasonably clueless about Indian culture and language. Really hope to visit someday.....
You are most welcome here
and you must visit South India. Southern India has still a lot of culture preserved.

Last edited by TheIndependentAquarius; 05-14-2010 at 09:15 AM.
 
Old 05-14-2010, 10:26 AM   #12
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,769

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by divyashree View Post
No Guruji ,actually this is a task given by my boss to me ..
Ok...then how about this: WHOEVER wrote the code, is the person responsible for debugging it. If your boss gave you the code to debug, then it is YOUR responsibility to do it. You have the source code, there's not much more help anyone can give you.
 
Old 05-14-2010, 12:14 PM   #13
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,355

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by TB0ne View Post
Ok...then how about this: WHOEVER wrote the code, is the person responsible for debugging it. If your boss gave you the code to debug, then it is YOUR responsibility to do it. You have the source code, there's not much more help anyone can give you.
No No ,that's not the case . The code is not given but the question is asked to find what may the possible cause of that and the solution ...
 
Old 05-14-2010, 12:16 PM   #14
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,355

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by anishakaul View Post
LOL

She must be referring to TB0ne as he is titled "Guru" and "ji" is a mark of respect in Hindi.
Ya Anisha you r right ,I referred to Tbone as Guruji
 
Old 05-14-2010, 12:18 PM   #15
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,355

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by pixellany View Post
I am reasonably clueless about Indian culture and language. Really hope to visit someday.....
You are mostly welcome sir .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel panic - not syncing: Aiee, killing interrupt handler netkrom123 LinuxQuestions.org Member Intro 1 04-20-2010 11:22 AM
Kernel Panic - not syncing: Aiee, killing interrupt handler sampoo55 Linux - General 5 08-16-2008 10:15 PM
Kernel Panic: Aiee, Killing Interrupt Handler lalarosa Linux - Newbie 1 06-06-2006 08:25 AM
<0>Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing mrb Linux - Newbie 2 01-09-2005 09:47 AM
kernel panic Aiee, killing interrupt handler! c0c0deuz Linux - General 4 08-16-2003 05:40 AM


All times are GMT -5. The time now is 04:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration