Find the answer to your Linux question:
Results 1 to 7 of 7
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    63

    Kernel Panic


    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)


    <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,
    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 ?

    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

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758
    I'm not sure about solution - but i think /var/log/messages is too small to guess anything without src code - may be uploading the log file might be helpful - and also drop a mail to linux kernel mailing list too. LKML.ORG - the Linux Kernel Mailing List Archive
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  3. #3
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    463
    You really need to have a little patience and not post the same question 2-3 minutes after your original post. It's so counter productive and in extremely poor taste. Jeesh! Three posts now
    Glenn
    Powered by Fedora

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    63
    Quote Originally Posted by glennzo View Post
    You really need to have a little patience and not post the same question 2-3 minutes after your original post. It's so counter productive and in extremely poor taste. Jeesh! Three posts now
    Why this site is too slow today ? I press the submit button 2-3 times and the post duplicated .

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758
    Quote Originally Posted by divyashree View Post
    Why this site is too slow today ? I press the submit button 2-3 times and the post duplicated .
    Slow - I don't think so it's working fine for me . may be an issue with local ISP
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  6. #6
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    463
    Quote Originally Posted by divyashree View Post
    Why this site is too slow today ? I
    It's working as expected here. I would assume that the perceived lack of speed is somewhere between your location and this site, but not the site itself.
    Glenn
    Powered by Fedora

  7. #7
    Just Joined!
    Join Date
    Jan 2009
    Posts
    63
    All the sites except this are fast here now ..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •