lkml.org 
[lkml]   [2005]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel panic
manomugdha biswas wrote:
> Hi,
> I am using the following makefile and the .c file to
> generate a kernel module. I can load this module
> without error and warning. But when I call ioctl()
> from user application to run this module it gets
> kernel panic!

I think there's something wrong with the way you're using the wait queue
(they're not normally instantiated as local variables on the stack, for
one thing). It looks like you're just using it to create a delay, in
that case use schedule_timeout, msleep, etc.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

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

\
 
 \ /
  Last update: 2005-08-30 01:58    [W:0.024 / U:1.144 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site