Re: Kernel zombie threads after module removal.

John Levon (movement@marcelothewonderpenguin.com)
Wed, 29 May 2002 21:09:10 +0100


On Wed, May 29, 2002 at 09:13:05PM +0200, Christian.Gennerat wrote:

> This is very close to the problem related in
> http://lkml.org/archive/2002/2/4/368/index.html
> but I have no USB. I have SCSI with aha152x_cs.o,
> and after doing "cardctl eject" that removes the module,
> the process scsi_eh_0 stays as zombie.

Add

reparent_to_init();

after the call to daemonize() in scsi_error_handler() in
drivers/scsi/scsi_error.c

Disclaimer: I don't know this code at all

regards
john

-- 
"If you look 'round the table and can't tell who the sucker is, it's you." 
	- Quiz Show 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/