Re: pcmcia oops (with ksymoops output this time)

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Thu Mar 14 2002 - 17:51:35 EST


With oops tracing in IRC, we narrowed the problem in 2.4.x down to,
serial_cs and ide_cs drivers, and other 16-bit pcmcia drivers possibly,
call their release functions from a timer when ejected. The
per-subsystem release functions then proceed to do all manner of
in-process-context type work, including calling devfs_unregister, whose
call path can eventually cause a schedule()

Suggested fix, call schedule_task() in each timer-based release
function, to queue a task in process context to do the actual work.
 This is how 32-bit cardbus gets such things done...

    Jeff

-
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/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:19 EST