Skip to contentSkip to conversation

kernel panic

DISCUSSION Robert Hancock 1 participant 1 message Aug 29, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · manomugdha biswas

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.

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/