<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Hello,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am trying to port my older KLM (Kernel Loadable Module) file (klm_prc.ko) which I insmod on kernel 2.6 and which used to register interrupt using following method:</div><div dir="ltr" data-setdir="false">request_irq(INTR_ID, (void *)intr_isr, IRQF_DISABLED, "INTR ISR", NULL)<br></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>However above call throws error when I insmod it on kernel 4.14</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><div><div># > insmod klm_prc.ko</div><div><br></div><div>klm_prc: loading out-of-tree module taints kernel.</div><div>KERNEL_VERSION 132619</div><div>LINUX_VERSION_CODE 265728</div><div><br></div><div>unable to install INTR handler</div><div>Failed to install ISR 0</div><div>insmod: can't insert 'klm_prc.ko': Resource temporarily unavailable</div><div># ></div></div><div><br></div><div dir="ltr" data-setdir="false">My question is, how do I properly port this code to kernel 4.14 ? </div><div dir="ltr" data-setdir="false">in other words, how to I register interrupt service routine (isr) in kernel version 4.14?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">thanks,</div><div dir="ltr" data-setdir="false">Khalid.</div><div dir="ltr" data-setdir="false"><br></div><div><br></div></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>thanks,</span></div><div dir="ltr" data-setdir="false"><span>Khalid.</span></div><div dir="ltr" data-setdir="false"><br></div></div></body></html>