kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* percolating ERESTARTSYS beyond PCI subsystem
@ 2015-04-18 11:40 Milton Krutt
  2015-04-18 18:58 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Milton Krutt @ 2015-04-18 11:40 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-19 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-18 11:40 percolating ERESTARTSYS beyond PCI subsystem Milton Krutt
2015-04-18 18:58 ` Greg KH
2015-04-19 17:14   ` Milton Krutt
2015-04-19 19:30     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).