On Tue, Jan 27, 2015 at 05:06:33PM +0000, Paulo Fortuna Carvalho wrote: > >Is it possible to cancel somehow the remove procedure if the device is > >in use? > > >Nope, you could have physically removed the device, so we can't cancel > >that :) > > ok. > > >When we are using the device and remove occurs the kernel crashes. > >Then we need to fix the kernel, what driver is crashing, and where? > > The driver of the ATCA acquisition card crashes in a read data function > through DMA accesses. Do you have an oops callback? All read functions need to be able to handle a 0xff read when the device is removed and react properly. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html