![]() | |||||||||||||
Messages in this thread |
Russell King wrote:
>Only the root should have a NULL parent, so this is just covering up some
>other problem - you have a resource which somehow has illegally ended up
>with a NULL parent pointer while it's been registered.
>
>Maybe try adding:
>
> if (p->parent == NULL) {
> printk("resource with null parent: %lx-%lx: %s\n",
> p->start, p->end, p->name);
> break;
> }
>
>just before the test in that loop, and then finding out why that resource
>is becoming invalid.
>
>
>
I get this output in dmesg with the above code.
resource with null parent: 0-57ffffff: System RAM
resource with null parent: 0-57ffffff: System RAM
x236:/home/sharyathi/linux-2.6.17-rc1/kernel # cat /proc/iomem
00000000-0009dbff : System RAM
0009dc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000cafff : Video ROM
000cb000-000cc5ff : Adapter ROM
000f0000-000fffff : System ROM
00100000-c7fcb5ff : System RAM
00100000-004ff436 : Kernel code
004ff437-0068881f : Kernel data
x236:/home/sharyathi/linux-2.6.17-rc1/kernel #
-
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/
| ||||||||||||
| Last update: 2006-05-11 10:38 [from the cache] ©2003-2008 | |||||||||||||