Effect of Preemptive Kernel

hi there,

i am porting kernel 2.2 driver program to kernel 2.6. for some extent i am successfull but some times the system gets hanged. what might be the problem? i am not able to get any help from log messages as nothing is being printed at that moment. hey does this kernel preemptiveness and non preemptiveness make any difference?

Thanks for any help i receive................................

IT sounds like you're using linux. Did you recompile/update the kernel?

ya, i have my driver code in kernel 2.6,as it is mandatory to have source tree in kernel 2.6 ,even i have that. I have compiled it.