Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
  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.

    I am unable to catch the root cause of these problems and how will I solve these ?

  2. #2
    Just Joined!
    Join Date
    May 2010
    Location
    Iowa
    Posts
    4
    Quote Originally Posted by divyashree View Post
    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.
    I have been trying to send packets within kernel code, could I see your code of how you send these UDP datagrams?

    Thanks,
    tyman

Posting Permissions

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