[Bug 251993] FreeBSD 12.2 installer configured virtual machine with more swap than kern.maxswzone supports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 20 15:47:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251993

            Bug ID: 251993
           Summary: FreeBSD 12.2 installer configured virtual machine with
                    more swap than kern.maxswzone supports
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: rwatson at FreeBSD.org

I installed FreeBSD 12.2 in a VMware virtual machine, and get the following
console output on every boot:

> warning: total configured swap (262134 pages) exceeds maximum recommended amount (215992 pages).
> warning: increase kern.maxswzone or reduce amount of swap.

I selected only the defaults going through the installer on the disc1 ISO. It
seems like the installer would ideally not create more swap than the kernel
supports, or might arrange for loader.conf to be suitably tuned if it were to
do so.

robert at freebsd-amd64:~/git % gpart list
Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 41942999
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da0p1
   Mediasize: 524288 (512K)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 20480
   Mode: r0w0e0
   efimedia: HD(1,GPT,11392b84-42b5-11eb-a6e4-000c29a7ef2d,0x28,0x400)
   rawuuid: 11392b84-42b5-11eb-a6e4-000c29a7ef2d
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: (null)
   length: 524288
   offset: 20480
   type: freebsd-boot
   index: 1
   end: 1063
   start: 40
2. Name: da0p2
   Mediasize: 20400570368 (19G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 544768
   Mode: r1w1e1
   efimedia: HD(2,GPT,11397edd-42b5-11eb-a6e4-000c29a7ef2d,0x428,0x25ffc00)
   rawuuid: 11397edd-42b5-11eb-a6e4-000c29a7ef2d
   rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 20400570368
   offset: 544768
   type: freebsd-ufs
   index: 2
   end: 39845927
   start: 1064
3. Name: da0p3
   Mediasize: 1073700864 (1.0G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 3221245952
   Mode: r1w1e0
   efimedia: HD(3,GPT,1139fcde-42b5-11eb-a6e4-000c29a7ef2d,0x2600028,0x1fffb0)
   rawuuid: 1139fcde-42b5-11eb-a6e4-000c29a7ef2d
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 1073700864
   offset: 20401115136
   type: freebsd-swap
   index: 3
   end: 41942999
   start: 39845928
Consumers:
1. Name: da0
   Mediasize: 21474836480 (20G)
   Sectorsize: 512
   Mode: r2w2e3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list