Re: Ugh in 2.1.60

Bill Hawes (whawes@star.net)
Thu, 30 Oct 1997 22:49:11 -0500


Linus Torvalds wrote:

> Getting a "ugh" in do_page_fault indicates that somebody does a copy
> to/from user space with interrupts disabled. That is a _bug_.
>
> I suspect it is some specific subsystem that does this, because I've
> never seen it myself. It would be good if people who see this try to
> notice what they tend to be doing when it happens, so that we might be
> able to find out exactly _what_ it is that tries to take a page fault
> with interrupts disabled..

Oh, well in that case ...

There are quite a few places in various drivers (serial, IDSN, etc.)
that do a copy_xx_user with interrupts turned off.

Looks like it would be good for the driver maintainers to check the
files for such occurrences and review what changes are needed.

Regards,
Bill