percolating ERESTARTSYS beyond PCI subsystem

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

 



Hi. The scenario is a PCI driver on a kernel 3.19.2: 

is it possible, in case pending_signal(current) is true, to return -ERESTARTSYS
to insmod process, in order to get it restart (as expectable)?

After some attempts (with pending_signal(current) being true), it seems that -ERESTARTSYS
is caught by the "pci layer" that complains saying something like "probing failed ..
unexpectedly returns -512" and nothing is restarted as expected.

Does insmod disables it explicitly? If so, how to get a similar "restart-behaviour"?

Thanks

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux