ATCA PCI express hot add remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.
I can add and remove an ATCA card with a PCIExpress endpoint. UDEV device
manager runs hotplug scripts ok and device files are created and removed
from system accdordingly. I'm trying now to run a script that on remove
kills running applications using a certain device before it is removed from
system. To do so I implement in my .rules file an entry regarding "remove"
that calls a script to perform that task. My problem is that before script
runs the device node is no longer there and my system crashes. Do you have
any idea on how can I run my script stopping the applications before device
remove procedure occurs?
Paulo.
--
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




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux