NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-amd64/47093: Fragmented memory map panics NetBSD install (VM_PHYSSEG_MAX)



>Number:         47093
>Category:       port-amd64
>Synopsis:       Fragmented memory map panics NetBSD install (VM_PHYSSEG_MAX)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 19 23:05:00 +0000 2012
>Originator:     Jim Harris
>Release:        6.0
>Organization:
Intel
>Environment:
>Description:
I have a Sandy Bridge Xeon system which has a rather fragmented memory map.  
After the initial installation menu, I get an immediate panic and reboot.  The 
full message is:

panic: add_mem_cluster: too many memory segments (increase VM_PHYSSEG_MAX)

Sure enough, VM_PHYSSEG_MAX is defined to 16 on x86, but my system has 20+ 
entries.

Physical memory chunk(s):
0x0000000000010000 - 0x0000000000041fff, 204800 bytes (50 pages)
0x0000000000052000 - 0x0000000000097fff, 286720 bytes (70 pages)
0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages)
0x0000000000ef5000 - 0x0000000076d59fff, 1978028032 bytes (482917 pages)
0x000000007a8d7000 - 0x000000007a96dfff, 618496 bytes (151 pages)
0x000000007a971000 - 0x000000007a9b2fff, 270336 bytes (66 pages)
0x000000007a9b4000 - 0x000000007a9bcfff, 36864 bytes (9 pages)
0x000000007a9be000 - 0x000000007aa6efff, 724992 bytes (177 pages)
0x000000007aa71000 - 0x000000007aacefff, 385024 bytes (94 pages)
0x000000007aaf0000 - 0x000000007ac02fff, 1126400 bytes (275 pages)
0x000000007ac13000 - 0x000000007ac74fff, 401408 bytes (98 pages)
0x000000007ac79000 - 0x000000007ac8cfff, 81920 bytes (20 pages)
0x000000007ac91000 - 0x000000007acb5fff, 151552 bytes (37 pages)
0x000000007acc6000 - 0x000000007accffff, 40960 bytes (10 pages)
0x000000007acfc000 - 0x000000007ad93fff, 622592 bytes (152 pages)
0x000000007ad9b000 - 0x000000007adcefff, 212992 bytes (52 pages)
0x000000007b0d0000 - 0x000000007b161fff, 598016 bytes (146 pages)
0x000000007b166000 - 0x000000007b193fff, 188416 bytes (46 pages)
0x000000007b19c000 - 0x000000007b26bfff, 851968 bytes (208 pages)
0x000000007b27f000 - 0x000000007b294fff, 90112 bytes (22 pages)
0x000000007b299000 - 0x000000007b2c7fff, 192512 bytes (47 pages)
0x000000007b2cb000 - 0x000000007b2fffff, 217088 bytes (53 pages)
0x000000007b308000 - 0x000000007d957fff, 40173568 bytes (9808 pages)
0x000000007db58000 - 0x000000007db5cfff, 20480 bytes (5 pages)
0x000000007db60000 - 0x000000007dcd5fff, 1531904 bytes (374 pages)
0x000000007dfad000 - 0x000000007dfe7fff, 241664 bytes (59 pages)

>How-To-Repeat:

>Fix:
Increase VM_PHYSSEG_MAX from 16 to (at least) 32 in:

sys/arch/i386/include/vmparam.h
sys/arch/amd64/include/vmparam.h




Home | Main Index | Thread Index | Old Index