CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2018/03/29 02:12:58

Modified files:
        sys/arch/sparc64/stand/ofwboot: boot.c disk.h ofdev.c 
                                        softraid_sparc64.c 
                                        softraid_sparc64.h vers.c 

Log message:
Make sparc64 ofwboot open the softraid boot chunk early on and keep the
handle open until a kernel has been loaded from the softraid volume.

This works around an apparent memory leak in the firmware on T5220
which fails to load an ldom guest kernel from softraid with a "Fast
Data Access MMU Miss" trap after many OF_open()/OF_close() calls.
This problem goes away when we call OF_open()/OF_close() just once
instead of for every block we want to read.

Crank ofwboot version to 1.10.

Make sure to keep working boot media around before upgrading!
Softraid boot of an T5220 ldom guest (CRYPTO), and a v240 (RAID 1),
have been tested and are known to work. Please report issues to bugs@.

ok kettenis@

Reply via email to