[lkml]   [2005]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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
Home Page:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-30 01:58    [W:0.024 / U:31.816 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site