Re: kernel module seg fault

2005-08-23 Thread Sam Ravnborg
> > > --- [EMAIL PROTECTED] wrote: > > > Hi Biswas, > > > > You need to post the complete kernel dump message > > and body of your > > source code. > > > > -Bunnan > > > > -Original Message- > > From: [EMAIL PROTECT

RE: kernel module seg fault

2005-08-23 Thread manomugdha biswas
code. > > -Bunnan > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of manomugdha > biswas > Sent: Tuesday, August 23, 2005 3:13 PM > To: linux-kernel@vger.kernel.org > Subject: kernel module seg fault > > Hi,

RE: kernel module seg fault

2005-08-23 Thread bunnans
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(&am

Re: kernel module seg fault

2005-08-23 Thread linux-os \(Dick Johnson\)
On Tue, 23 Aug 2005, manomugdha biswas wrote: > 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

kernel module seg fault

2005-08-23 Thread manomugdha biswas
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(&w