10326 SPARC boot fails with vmem_xalloc(): size overflow

Review Request #1415 — Created Jan. 30, 2019 and submitted

ptribble
illumos-gate
10326
general
Booting a SPARC ISO with current bits panics (fairly late) with.

vmem_xalloc(): size overflow

On sun4u, boot_ncpus is set to -1, aggsum_init uses that verbatim and asks for a negative allocation.

Fix courtesy of Igor Kozhukov is to set boot_ncpus on sun4u.

Tested and verified in DilOS; I;ll test this with current gate in Tribblix when I get some time.

citrus
  1. Ship It!
  2. 
      
ptribble
Review request changed

Status: Closed (submitted)

Loading...