Kernel cannot allocate resource region

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Nov 5 07:16:40 EST 2001


>That may be a timing difference hitting in some driver - in the m68k ADB
>code, I had been using a local (stack) adb_request struct for some
>asyncronous ADB request. Most of the time the async operation would
>complete while that variable was still valid (the calling routine hadn't
>returned yet). Someetimes it would only complete later ;-(
>
>The current ADB code should be free from such gross errors, but maybe
>something else doesn't cope with async probing of devices? ADB probing
>happens asynchronously these days (but then, BenH won't have used
>non-static variables for that). And I'd expect the kernel to throw a
>panic() for data or illegal instruction errors. Maybe some deadlock - what
>other task is active during ADB probe?

Well, it' s possible that I left or added such bugs ;)

If you are using my rsync tree (or since recently the bk _devel tree),
there's an "adb_sync" option you can add to your kernel command line
to force ADB probe to be synchronous.

Tell me if that helps.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list