Andy Whitcroft wrote: > We see to have a few options: > > 1) default the nid to something -- right now most of the non powerpc > architectures return 0 when the nid cannot be found thus avoiding this > panic. > > 2) nid search -- we can do pretty much what is in this patch probabally > with some optimisations like trying the first and last pfn in the > section first. > > 3) record the nid -- when we record the memory present in the system we > are passed the nid. > > Somehow the last of these seems the most logical given we have the > correct information at the time we record that we need to instantiate > the section. So I had a quick go at something which seems to have come > out pretty clean. Attached is a completly untested patch to show what I > am proposing. Ok. Attached is a version which builds and boots. The patch looks pretty simple. Michael could you give it a spin on the broken machine for me. -apw