* scsi error handling and ACPI suspend
@ 2002-07-19 19:54 random1
0 siblings, 0 replies; only message in thread
From: random1 @ 2002-07-19 19:54 UTC (permalink / raw)
To: linux-scsi
The power-management code in 2.5 presently signals all running threads
in an attempt to make them reach a quiescent state so that it can
write to disk without fighting with them over kernel resources.
When the error handler is signalled, it wakes up and exits. On
resume, there is no error handler, and the system panics near
scsi_error.c:233
The recommended solution is to set the PF_IOTHREAD flag for the error
handler threads, which indicates that suspend should not try to stop
them.
*** drivers/scsi/scsi_error.c Fri Jul 19 14:48:40 2002
--- drivers/scsi/scsi_error.c.orig Fri Jul 19 14:50:32 2002
***************
*** 1870,1876 ****
* to any signals.
*/
siginitsetinv(¤t->blocked, SHUTDOWN_SIGS);
- current->flags |= PF_IOTHREAD; /* don't let suspend stop us */
lock_kernel();
--- 1870,1875 ----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-19 19:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-19 19:54 scsi error handling and ACPI suspend random1
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox