mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel module seg fault
@ 2005-08-23  9:42 manomugdha biswas
  2005-08-23 11:13 ` linux-os (Dick Johnson)
  2005-08-23 12:25 ` bunnans
  0 siblings, 2 replies; 5+ messages in thread
From: manomugdha biswas @ 2005-08-23  9:42 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-23 20:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-23  9:42 kernel module seg fault manomugdha biswas
2005-08-23 11:13 ` linux-os (Dick Johnson)
2005-08-23 12:25 ` bunnans
2005-08-23 16:34   ` manomugdha biswas
2005-08-23 20:38     ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®