On 2019-05-02 12:14 p.m., Helge Deller wrote: >>> CONFIG_SPARSEMEM_MANUAL=y, CONFIG_SPARSEMEM_VMEMMAP=n - works. >>> CONFIG_SPARSEMEM_MANUAL=y, CONFIG_SPARSEMEM_VMEMMAP=y - hangs on boot. >> I thought I selected CONFIG_SPARSEMEM_VMEMMAP but will check. Have multiple >> builds with original SPARSEMEM patch that were okay. > It sometimes hung for me too. > I think my VMEMMAP patch overwrites other memory and thus only sometimes crashes the machine... > > By the way, I've rebased my for-next tree, fixed a few small issues and dropped the VMEMMAP patch for now. > Please give it a new try: > https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next I had selected CONFIG_SPARSEMEM_VMEMMAP=y. My c8000 seemed to cold boot okay. But I built the above rebased tree using the CONFIG_SPARSEMEM_VMEMMAP=y kernel. The new kernel failed to boot when I tried to reboot. It did boot boot okay when I tried a cold reboot with console connected. I then rebuilt the above tree, installed it and it booted okay. So, I tend to think the memory corruption (?) carries across a hot reboot. Dave -- John David Anglin dave.anglin@xxxxxxxx