Sergey Vlasov wrote: >On Sat, 17 Sep 2005 19:20:45 +0400 Manu Abraham wrote: > > > >>Can somebody give me a pointer as to what i am possibly doing wrong. >> >>The module loads fine.. >>The module unloads fine.. But i get a "free free IRQ" on free_irq().. >> >> > >You are not calling pci_enable_device() in your probe handler. You > > In fact i was calling, pci_enable_device() in my previous post. http://marc.theaimsgroup.com/?l=linux-kernel&m=112680448728918&w=2 After which i was trying to find out why the same is happening. So the same thing is anyway happening with or without pci_enable_device() >MUST call this function, check for success, and only after that you >can use pdev->irq (recent kernels perform interrupt routing only after >the device is enabled, so the value of pdev->irq before the call to >pci_enable_device() may not be valid). > > I thought i will try again, attached is the modified version. The problem remains as it is .. Attached is the dmesg with pci_enable_device() included. Thanks, Manu