Re: promise controller resource alloc problems with ~2.6.8

From: Linus Torvalds
Date: Sat Oct 09 2004 - 22:31:36 EST




On Sat, 9 Oct 2004, Linus Torvalds wrote:
>
> I wonder if request_resource() is broken. "insert_resource()" had been
> broken for a _loong_ time (since its inception), maybe
> "request_resource()" also is. Hmm..

I tested your resource list with my user-level resource test harness, and
it definitely returned EBUSY for the clashing resource. So either you have
something strange going on with finding the parent resource (the DBG()
statement in the previous email should hopefully tell), or there's
something else going on.

I'd suspect you had some clock drift problems and the i386.c file didn't
actually get recompiled when you changed it to "request_resource()", but
since the DBG() output shows up in your dmesg, that doesn't seem to
explain it either - the file clearly _did_ get recompiled for the debug
output.

Maybe the parent resource thing shows some smoking gun.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/