ultra5/10 bootup hang bug
Hey guys, while snooping around some more trying to figure out what might be causing the MIGRATE_* value corruption and thus the crash, I found the following bug.
In nid_range(), we can overshoot "end" if "start" begins on a non-page boundary.
It may or may not fix the bug we're tracking down, I don't know, but it's worth testing :-) Anyways, the patch is below.
I also look forward to the tracing results from that debugging patch I gave you guys earlier.
Thanks.
arch/sparc64/mm/init.c +3 -0
@@ -796,6 +796,9 @@ static unsigned long nid_range(unsigned long start, unsigned long end, start += PAGE_SIZE; } +if (start > end) + start = end; +return start; }#else
2008/8/14 David Miller <[email protected]>:
Quoted 5 lines
Hey guys, while snooping around some more trying to figure out what might be causing the MIGRATE_* value corruption and thus the crash, I found the following bug.
Quoted 8 lines
In
nid_range(), we can overshoot "end" if "start" begins on a non-page boundary.It may or may not fix the bug we're tracking down, I don't know, but it's worth testing :-) Anyways, the patch is below.
I also look forward to the tracing results from that debugging patch I gave you guys earlier.
I tried it with both your patches with the same result - it hangs with the same BUG message.