RE: kernel module seg fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Biswas,

You need to post the complete kernel dump message and body of your
source code.

-Bunnan
 
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of manomugdha
biswas
Sent: Tuesday, August 23, 2005 3:13 PM
To: [email protected]
Subject: kernel module seg fault

Hi,
I have written a kernel module and I can load (insmod)
it without any error. But when i run my module it gets
seg fault at interruptible_sleep_on_timeout();

I have used this function in the following way:

DECLARE_WAIT_QUEUE_HEAD(wq);
init_waitqueue_head(&wq);
interruptible_sleep_on_timeout(&wq, 2);

I am using redhat version 9.0 and kernel version
2.4.20-8.
Could you please give some light on this issue?

Manomugdha Biswas


	

	
		
____________________________________________________
Send a rakhi to your brother, buy gifts and win attractive prizes. Log
on to http://in.promos.yahoo.com/rakhi/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux