From: Karel Zak Date: Thu, 12 Mar 2026 09:46:57 +0000 (+0100) Subject: tests: update to reflect libsmartcols changes X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8af80e9770675a054449d7679d67347485ffaf50;p=thirdparty%2Futil-linux.git tests: update to reflect libsmartcols changes The library now reduces the width of columns even when a width hint is specified. This affects some test outputs, particularly those where small numbers appear in columns with a width hint wider than the column header (e.g., SIZE with hint=5). Signed-off-by: Karel Zak --- diff --git a/tests/expected/fadvise/drop b/tests/expected/fadvise/drop index e7bb26b6e2..eafdf5501d 100644 --- a/tests/expected/fadvise/drop +++ b/tests/expected/fadvise/drop @@ -1,23 +1,23 @@ - RES SIZE FILE - 512K 512K ddtest + RES SIZE FILE + 512K 512K ddtest whole file status: 0 -RES SIZE FILE - 0B 512K ddtest +RES SIZE FILE + 0B 512K ddtest offset: 131072 status: 0 - RES SIZE FILE - 128K 512K ddtest + RES SIZE FILE + 128K 512K ddtest length: 262144 status: 0 - RES SIZE FILE - 256K 512K ddtest + RES SIZE FILE + 256K 512K ddtest offset: 131072, length: 262144 fd: 42 status: 0 - RES SIZE FILE - 256K 512K ddtest + RES SIZE FILE + 256K 512K ddtest diff --git a/tests/expected/fdisk/bsd_0_64.BE b/tests/expected/fdisk/bsd_0_64.BE index 4f41d03b04..bf3563c982 100644 --- a/tests/expected/fdisk/bsd_0_64.BE +++ b/tests/expected/fdisk/bsd_0_64.BE @@ -130,9 +130,9 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. @@ -183,10 +183,10 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -a 4096 6144 2049 1M 4.2BSD 0 0 0 -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +a 4096 6144 2049 1M 4.2BSD 0 0 0 +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. diff --git a/tests/expected/fdisk/bsd_0_64.LE b/tests/expected/fdisk/bsd_0_64.LE index 9663f16c68..0905c4cf10 100644 --- a/tests/expected/fdisk/bsd_0_64.LE +++ b/tests/expected/fdisk/bsd_0_64.LE @@ -130,9 +130,9 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. @@ -183,10 +183,10 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -a 4096 6144 2049 1M 4.2BSD 0 0 0 -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +a 4096 6144 2049 1M 4.2BSD 0 0 0 +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. diff --git a/tests/expected/fdisk/bsd_0_64_alpha.LE b/tests/expected/fdisk/bsd_0_64_alpha.LE index e138189e80..35148baadc 100644 --- a/tests/expected/fdisk/bsd_0_64_alpha.LE +++ b/tests/expected/fdisk/bsd_0_64_alpha.LE @@ -132,9 +132,9 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. @@ -187,10 +187,10 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -a 4096 6144 2049 1M 4.2BSD 0 0 0 -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +a 4096 6144 2049 1M 4.2BSD 0 0 0 +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. diff --git a/tests/expected/fdisk/bsd_1_0.BE b/tests/expected/fdisk/bsd_1_0.BE index 4c201b06a0..9f42c055ee 100644 --- a/tests/expected/fdisk/bsd_1_0.BE +++ b/tests/expected/fdisk/bsd_1_0.BE @@ -130,9 +130,9 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. @@ -183,10 +183,10 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -a 4096 6144 2049 1M 4.2BSD 0 0 0 -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +a 4096 6144 2049 1M 4.2BSD 0 0 0 +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. diff --git a/tests/expected/fdisk/bsd_1_0.LE b/tests/expected/fdisk/bsd_1_0.LE index 3f14e8e11f..bd56598995 100644 --- a/tests/expected/fdisk/bsd_1_0.LE +++ b/tests/expected/fdisk/bsd_1_0.LE @@ -130,9 +130,9 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. @@ -183,10 +183,10 @@ Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / bytes Disklabel type: bsd -Slice Start End Sectors Size Type Fsize Bsize Cpg -a 4096 6144 2049 1M 4.2BSD 0 0 0 -c 4096 20479 16384 8M unused 0 0 0 -d 0 16064 16065 7.8M unused 0 0 0 +Slice Start End Sectors Size Type Fsize Bsize Cpg +a 4096 6144 2049 1M 4.2BSD 0 0 0 +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 Partition table entries are not in disk order. diff --git a/tests/expected/fdisk/sunlabel-create-first-partition b/tests/expected/fdisk/sunlabel-create-first-partition index 61fecaca0c..053a06d0ed 100644 --- a/tests/expected/fdisk/sunlabel-create-first-partition +++ b/tests/expected/fdisk/sunlabel-create-first-partition @@ -12,5 +12,5 @@ Physical cylinders: 325 Extra sects/cyl: 0 Interleave: 1 -Device Start End Cylinders Size Id Type Flags -1 1 128 129 4128768 83 Linux native +Device Start End Cylinders Size Id Type Flags +1 1 128 129 4128768 83 Linux native diff --git a/tests/expected/fdisk/sunlabel-create-second-partition b/tests/expected/fdisk/sunlabel-create-second-partition index 124f71b8ed..9f0c1c4c90 100644 --- a/tests/expected/fdisk/sunlabel-create-second-partition +++ b/tests/expected/fdisk/sunlabel-create-second-partition @@ -23,6 +23,6 @@ Physical cylinders: 325 Extra sects/cyl: 0 Interleave: 1 -Device Start End Cylinders Size Id Type Flags -1 1 128 129 4128768 4 SunOS usr ur -2 129 325 198 6354432 83 Linux native +Device Start End Cylinders Size Id Type Flags +1 1 128 129 4128768 4 SunOS usr ur +2 129 325 198 6354432 83 Linux native diff --git a/tests/expected/fdisk/sunlabel-set-first-par-mountable b/tests/expected/fdisk/sunlabel-set-first-par-mountable index 610dfa1de2..b967fdc611 100644 --- a/tests/expected/fdisk/sunlabel-set-first-par-mountable +++ b/tests/expected/fdisk/sunlabel-set-first-par-mountable @@ -12,5 +12,5 @@ Physical cylinders: 325 Extra sects/cyl: 0 Interleave: 1 -Device Start End Cylinders Size Id Type Flags -1 1 128 129 4128768 4 SunOS usr ur +Device Start End Cylinders Size Id Type Flags +1 1 128 129 4128768 4 SunOS usr ur diff --git a/tests/expected/fdisk/sunlabel-set-first-par-readonly b/tests/expected/fdisk/sunlabel-set-first-par-readonly index 042ba76c8d..f6f3c67ef9 100644 --- a/tests/expected/fdisk/sunlabel-set-first-par-readonly +++ b/tests/expected/fdisk/sunlabel-set-first-par-readonly @@ -12,5 +12,5 @@ Physical cylinders: 325 Extra sects/cyl: 0 Interleave: 1 -Device Start End Cylinders Size Id Type Flags -1 1 128 129 4128768 4 SunOS usr r +Device Start End Cylinders Size Id Type Flags +1 1 128 129 4128768 4 SunOS usr r diff --git a/tests/expected/fdisk/sunlabel-set-partition-sysid b/tests/expected/fdisk/sunlabel-set-partition-sysid index b664433a67..a10c5818f5 100644 --- a/tests/expected/fdisk/sunlabel-set-partition-sysid +++ b/tests/expected/fdisk/sunlabel-set-partition-sysid @@ -12,5 +12,5 @@ Physical cylinders: 325 Extra sects/cyl: 0 Interleave: 1 -Device Start End Cylinders Size Id Type Flags -1 1 128 129 4128768 4 SunOS usr +Device Start End Cylinders Size Id Type Flags +1 1 128 129 4128768 4 SunOS usr diff --git a/tests/expected/lsfd/mkfds-pidfd b/tests/expected/lsfd/mkfds-pidfd index bce4dd42a2..701bb281bb 100644 --- a/tests/expected/lsfd/mkfds-pidfd +++ b/tests/expected/lsfd/mkfds-pidfd @@ -1,2 +1,2 @@ -3 [STTYPE] [SOURCE] pid=1 comm=systemd nspid=1 systemd 1 +3 [STTYPE] [SOURCE] pid=1 comm=systemd nspid=1 systemd 1 ASSOC,STTYPE,SOURCE,NAME,PIDFD.COMM,PIDFD.PID: 0 diff --git a/tests/expected/lsfd/mkfds-ro-block-device b/tests/expected/lsfd/mkfds-ro-block-device index 4c38d05534..cd02a36b1e 100644 --- a/tests/expected/lsfd/mkfds-ro-block-device +++ b/tests/expected/lsfd/mkfds-ro-block-device @@ -1,4 +1,4 @@ -3 r-- BLK 0 loop blk +3 r-- BLK 0 loop blk ASSOC,MODE,TYPE,,POS,,BLKDRV,DEVTYPE: 0 NAME[RUN]: 0 NAME[STR]: 0 diff --git a/tests/expected/lsfd/mkfds-ro-regular-file b/tests/expected/lsfd/mkfds-ro-regular-file index 662daa8f21..fe39f06f21 100644 --- a/tests/expected/lsfd/mkfds-ro-regular-file +++ b/tests/expected/lsfd/mkfds-ro-regular-file @@ -1,4 +1,4 @@ -ABC 3 r-- REG /etc/passwd 1 +ABC 3 r-- REG /etc/passwd 1 COMMAND,ASSOC,MODE,TYPE,NAME,POS: 0 PID[RUN]: 0 PID[STR]: 0 diff --git a/tests/expected/lsfd/mkfds-rw-character-device b/tests/expected/lsfd/mkfds-rw-character-device index fed92ecf1a..436f573546 100644 --- a/tests/expected/lsfd/mkfds-rw-character-device +++ b/tests/expected/lsfd/mkfds-rw-character-device @@ -1,4 +1,4 @@ -3 rw- CHR /dev/zero mem:5 0 1:5 mem char 1:5 +3 rw- CHR /dev/zero mem:5 0 1:5 mem char 1:5 ASSOC,MODE,TYPE,NAME,SOURCE,POS,MAJ:MIN,CHRDRV,DEVTYPE,RDEV: 0 DEV[RUN]: 0 STAT[RUN]: 0 diff --git a/tests/expected/lsmem/lsmem-s390-zvm-6g b/tests/expected/lsmem/lsmem-s390-zvm-6g index 40dcfe982e..56de967dd5 100644 --- a/tests/expected/lsmem/lsmem-s390-zvm-6g +++ b/tests/expected/lsmem/lsmem-s390-zvm-6g @@ -2,17 +2,17 @@ --- $ lsmem --split=STATE,REMOVABLE -RANGE SIZE STATE REMOVABLE BLOCK -0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 -0x0000000070000000-0x000000007fffffff 256M online no 7 -0x0000000080000000-0x000000009fffffff 512M online yes 8-9 -0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 -0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 -0x00000000e0000000-0x00000000efffffff 256M offline 14 -0x00000000f0000000-0x00000000ffffffff 256M online yes 15 -0x0000000100000000-0x000000011fffffff 512M online no 16-17 -0x0000000120000000-0x000000013fffffff 512M online yes 18-19 -0x0000000140000000-0x000000017fffffff 1G offline 20-23 +RANGE SIZE STATE REMOVABLE BLOCK +0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 +0x0000000070000000-0x000000007fffffff 256M online no 7 +0x0000000080000000-0x000000009fffffff 512M online yes 8-9 +0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 +0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 +0x00000000e0000000-0x00000000efffffff 256M offline 14 +0x00000000f0000000-0x00000000ffffffff 256M online yes 15 +0x0000000100000000-0x000000011fffffff 512M online no 16-17 +0x0000000120000000-0x000000013fffffff 512M online yes 18-19 +0x0000000140000000-0x000000017fffffff 1G offline 20-23 Memory block size: 256M Total online memory: 4.8G @@ -31,11 +31,11 @@ Total offline memory: 1.3G --- $ lsmem --output RANGE,SIZE,STATE --split STATE -RANGE SIZE STATE -0x0000000000000000-0x00000000dfffffff 3.5G online -0x00000000e0000000-0x00000000efffffff 256M offline -0x00000000f0000000-0x000000013fffffff 1.3G online -0x0000000140000000-0x000000017fffffff 1G offline +RANGE SIZE STATE +0x0000000000000000-0x00000000dfffffff 3.5G online +0x00000000e0000000-0x00000000efffffff 256M offline +0x00000000f0000000-0x000000013fffffff 1.3G online +0x0000000140000000-0x000000017fffffff 1G offline Memory block size: 256M Total online memory: 4.8G @@ -44,31 +44,31 @@ Total offline memory: 1.3G --- $ lsmem --all --output RANGE,SIZE,STATE,REMOVABLE,BLOCK,NODE,ZONES -RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES -0x0000000000000000-0x000000000fffffff 256M online yes 0 0 DMA -0x0000000010000000-0x000000001fffffff 256M online yes 1 0 DMA -0x0000000020000000-0x000000002fffffff 256M online yes 2 0 DMA -0x0000000030000000-0x000000003fffffff 256M online yes 3 0 DMA -0x0000000040000000-0x000000004fffffff 256M online yes 4 0 DMA -0x0000000050000000-0x000000005fffffff 256M online yes 5 0 DMA -0x0000000060000000-0x000000006fffffff 256M online yes 6 0 DMA -0x0000000070000000-0x000000007fffffff 256M online no 7 0 DMA/Normal -0x0000000080000000-0x000000008fffffff 256M online yes 8 0 Normal -0x0000000090000000-0x000000009fffffff 256M online yes 9 0 Normal -0x00000000a0000000-0x00000000afffffff 256M online no 10 0 Normal -0x00000000b0000000-0x00000000bfffffff 256M online no 11 0 Normal -0x00000000c0000000-0x00000000cfffffff 256M online yes 12 0 Normal -0x00000000d0000000-0x00000000dfffffff 256M online yes 13 0 Normal -0x00000000e0000000-0x00000000efffffff 256M offline 14 0 Normal -0x00000000f0000000-0x00000000ffffffff 256M online yes 15 0 Normal -0x0000000100000000-0x000000010fffffff 256M online no 16 0 Normal -0x0000000110000000-0x000000011fffffff 256M online no 17 0 Normal/Movable -0x0000000120000000-0x000000012fffffff 256M online yes 18 0 Movable/Normal -0x0000000130000000-0x000000013fffffff 256M online yes 19 0 Movable -0x0000000140000000-0x000000014fffffff 256M offline 20 0 Movable -0x0000000150000000-0x000000015fffffff 256M offline 21 0 Movable -0x0000000160000000-0x000000016fffffff 256M offline 22 0 Movable -0x0000000170000000-0x000000017fffffff 256M offline 23 0 Movable +RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES +0x0000000000000000-0x000000000fffffff 256M online yes 0 0 DMA +0x0000000010000000-0x000000001fffffff 256M online yes 1 0 DMA +0x0000000020000000-0x000000002fffffff 256M online yes 2 0 DMA +0x0000000030000000-0x000000003fffffff 256M online yes 3 0 DMA +0x0000000040000000-0x000000004fffffff 256M online yes 4 0 DMA +0x0000000050000000-0x000000005fffffff 256M online yes 5 0 DMA +0x0000000060000000-0x000000006fffffff 256M online yes 6 0 DMA +0x0000000070000000-0x000000007fffffff 256M online no 7 0 DMA/Normal +0x0000000080000000-0x000000008fffffff 256M online yes 8 0 Normal +0x0000000090000000-0x000000009fffffff 256M online yes 9 0 Normal +0x00000000a0000000-0x00000000afffffff 256M online no 10 0 Normal +0x00000000b0000000-0x00000000bfffffff 256M online no 11 0 Normal +0x00000000c0000000-0x00000000cfffffff 256M online yes 12 0 Normal +0x00000000d0000000-0x00000000dfffffff 256M online yes 13 0 Normal +0x00000000e0000000-0x00000000efffffff 256M offline 14 0 Normal +0x00000000f0000000-0x00000000ffffffff 256M online yes 15 0 Normal +0x0000000100000000-0x000000010fffffff 256M online no 16 0 Normal +0x0000000110000000-0x000000011fffffff 256M online no 17 0 Normal/Movable +0x0000000120000000-0x000000012fffffff 256M online yes 18 0 Movable/Normal +0x0000000130000000-0x000000013fffffff 256M online yes 19 0 Movable +0x0000000140000000-0x000000014fffffff 256M offline 20 0 Movable +0x0000000150000000-0x000000015fffffff 256M offline 21 0 Movable +0x0000000160000000-0x000000016fffffff 256M offline 22 0 Movable +0x0000000170000000-0x000000017fffffff 256M offline 23 0 Movable Memory block size: 256M Total online memory: 4.8G @@ -199,19 +199,19 @@ $ lsmem --json --output RANGE,SIZE,STATE,REMOVABLE,BLOCK,NODE,ZONES --split RANG --- $ lsmem -o +ZONES -RANGE SIZE STATE REMOVABLE BLOCK ZONES -0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 DMA -0x0000000070000000-0x000000007fffffff 256M online no 7 DMA/Normal -0x0000000080000000-0x000000009fffffff 512M online yes 8-9 Normal -0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 Normal -0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 Normal -0x00000000e0000000-0x00000000efffffff 256M offline 14 Normal -0x00000000f0000000-0x00000000ffffffff 256M online yes 15 Normal -0x0000000100000000-0x000000010fffffff 256M online no 16 Normal -0x0000000110000000-0x000000011fffffff 256M online no 17 Normal/Movable -0x0000000120000000-0x000000012fffffff 256M online yes 18 Movable/Normal -0x0000000130000000-0x000000013fffffff 256M online yes 19 Movable -0x0000000140000000-0x000000017fffffff 1G offline 20-23 Movable +RANGE SIZE STATE REMOVABLE BLOCK ZONES +0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 DMA +0x0000000070000000-0x000000007fffffff 256M online no 7 DMA/Normal +0x0000000080000000-0x000000009fffffff 512M online yes 8-9 Normal +0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 Normal +0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 Normal +0x00000000e0000000-0x00000000efffffff 256M offline 14 Normal +0x00000000f0000000-0x00000000ffffffff 256M online yes 15 Normal +0x0000000100000000-0x000000010fffffff 256M online no 16 Normal +0x0000000110000000-0x000000011fffffff 256M online no 17 Normal/Movable +0x0000000120000000-0x000000012fffffff 256M online yes 18 Movable/Normal +0x0000000130000000-0x000000013fffffff 256M online yes 19 Movable +0x0000000140000000-0x000000017fffffff 1G offline 20-23 Movable Memory block size: 256M Total online memory: 4.8G @@ -220,19 +220,19 @@ Total offline memory: 1.3G --- $ lsmem --output-all -RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES -0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 0 DMA -0x0000000070000000-0x000000007fffffff 256M online no 7 0 DMA/Normal -0x0000000080000000-0x000000009fffffff 512M online yes 8-9 0 Normal -0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 0 Normal -0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 0 Normal -0x00000000e0000000-0x00000000efffffff 256M offline 14 0 Normal -0x00000000f0000000-0x00000000ffffffff 256M online yes 15 0 Normal -0x0000000100000000-0x000000010fffffff 256M online no 16 0 Normal -0x0000000110000000-0x000000011fffffff 256M online no 17 0 Normal/Movable -0x0000000120000000-0x000000012fffffff 256M online yes 18 0 Movable/Normal -0x0000000130000000-0x000000013fffffff 256M online yes 19 0 Movable -0x0000000140000000-0x000000017fffffff 1G offline 20-23 0 Movable +RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES +0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 0 DMA +0x0000000070000000-0x000000007fffffff 256M online no 7 0 DMA/Normal +0x0000000080000000-0x000000009fffffff 512M online yes 8-9 0 Normal +0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 0 Normal +0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 0 Normal +0x00000000e0000000-0x00000000efffffff 256M offline 14 0 Normal +0x00000000f0000000-0x00000000ffffffff 256M online yes 15 0 Normal +0x0000000100000000-0x000000010fffffff 256M online no 16 0 Normal +0x0000000110000000-0x000000011fffffff 256M online no 17 0 Normal/Movable +0x0000000120000000-0x000000012fffffff 256M online yes 18 0 Movable/Normal +0x0000000130000000-0x000000013fffffff 256M online yes 19 0 Movable +0x0000000140000000-0x000000017fffffff 1G offline 20-23 0 Movable Memory block size: 256M Total online memory: 4.8G @@ -241,17 +241,17 @@ Total offline memory: 1.3G --- $ lsmem -RANGE SIZE STATE REMOVABLE BLOCK -0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 -0x0000000070000000-0x000000007fffffff 256M online no 7 -0x0000000080000000-0x000000009fffffff 512M online yes 8-9 -0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 -0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 -0x00000000e0000000-0x00000000efffffff 256M offline 14 -0x00000000f0000000-0x00000000ffffffff 256M online yes 15 -0x0000000100000000-0x000000011fffffff 512M online no 16-17 -0x0000000120000000-0x000000013fffffff 512M online yes 18-19 -0x0000000140000000-0x000000017fffffff 1G offline 20-23 +RANGE SIZE STATE REMOVABLE BLOCK +0x0000000000000000-0x000000006fffffff 1.8G online yes 0-6 +0x0000000070000000-0x000000007fffffff 256M online no 7 +0x0000000080000000-0x000000009fffffff 512M online yes 8-9 +0x00000000a0000000-0x00000000bfffffff 512M online no 10-11 +0x00000000c0000000-0x00000000dfffffff 512M online yes 12-13 +0x00000000e0000000-0x00000000efffffff 256M offline 14 +0x00000000f0000000-0x00000000ffffffff 256M online yes 15 +0x0000000100000000-0x000000011fffffff 512M online no 16-17 +0x0000000120000000-0x000000013fffffff 512M online yes 18-19 +0x0000000140000000-0x000000017fffffff 1G offline 20-23 Memory block size: 256M Total online memory: 4.8G diff --git a/tests/expected/lsmem/lsmem-x86_64-16g b/tests/expected/lsmem/lsmem-x86_64-16g index 52975be9b8..d3165aab79 100644 --- a/tests/expected/lsmem/lsmem-x86_64-16g +++ b/tests/expected/lsmem/lsmem-x86_64-16g @@ -2,37 +2,37 @@ --- $ lsmem --split=STATE,REMOVABLE -RANGE SIZE STATE REMOVABLE BLOCK -0x0000000000000000-0x0000000007ffffff 128M online no 0 -0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 -0x0000000038000000-0x000000003fffffff 128M online no 7 -0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 -0x0000000078000000-0x000000007fffffff 128M online no 15 -0x0000000080000000-0x00000000afffffff 768M online yes 16-21 -0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 -0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 -0x00000001a8000000-0x00000001afffffff 128M online yes 53 -0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 -0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 -0x0000000200000000-0x0000000207ffffff 128M online no 64 -0x0000000208000000-0x000000021fffffff 384M online yes 65-67 -0x0000000220000000-0x0000000237ffffff 384M online no 68-70 -0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 -0x0000000278000000-0x000000028fffffff 384M online no 79-81 -0x0000000290000000-0x0000000297ffffff 128M online yes 82 -0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 -0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 -0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 -0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 -0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 -0x0000000350000000-0x0000000357ffffff 128M online yes 106 -0x0000000358000000-0x000000036fffffff 384M online no 107-109 -0x0000000370000000-0x0000000377ffffff 128M online yes 110 -0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 -0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 -0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 -0x0000000430000000-0x0000000437ffffff 128M online yes 134 -0x0000000438000000-0x000000043fffffff 128M online no 135 +RANGE SIZE STATE REMOVABLE BLOCK +0x0000000000000000-0x0000000007ffffff 128M online no 0 +0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 +0x0000000038000000-0x000000003fffffff 128M online no 7 +0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 +0x0000000078000000-0x000000007fffffff 128M online no 15 +0x0000000080000000-0x00000000afffffff 768M online yes 16-21 +0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 +0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 +0x00000001a8000000-0x00000001afffffff 128M online yes 53 +0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 +0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 +0x0000000200000000-0x0000000207ffffff 128M online no 64 +0x0000000208000000-0x000000021fffffff 384M online yes 65-67 +0x0000000220000000-0x0000000237ffffff 384M online no 68-70 +0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 +0x0000000278000000-0x000000028fffffff 384M online no 79-81 +0x0000000290000000-0x0000000297ffffff 128M online yes 82 +0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 +0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 +0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 +0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 +0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 +0x0000000350000000-0x0000000357ffffff 128M online yes 106 +0x0000000358000000-0x000000036fffffff 384M online no 107-109 +0x0000000370000000-0x0000000377ffffff 128M online yes 110 +0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 +0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 +0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 +0x0000000430000000-0x0000000437ffffff 128M online yes 134 +0x0000000438000000-0x000000043fffffff 128M online no 135 Memory block size: 128M Total online memory: 16G @@ -63,135 +63,135 @@ Total offline memory: 0B --- $ lsmem --all --output RANGE,SIZE,STATE,REMOVABLE,BLOCK,NODE,ZONES -RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES -0x0000000000000000-0x0000000007ffffff 128M online no 0 0 None -0x0000000008000000-0x000000000fffffff 128M online yes 1 0 DMA32 -0x0000000010000000-0x0000000017ffffff 128M online yes 2 0 DMA32 -0x0000000018000000-0x000000001fffffff 128M online yes 3 0 DMA32 -0x0000000020000000-0x0000000027ffffff 128M online yes 4 0 DMA32 -0x0000000028000000-0x000000002fffffff 128M online yes 5 0 DMA32 -0x0000000030000000-0x0000000037ffffff 128M online yes 6 0 DMA32 -0x0000000038000000-0x000000003fffffff 128M online no 7 0 DMA32 -0x0000000040000000-0x0000000047ffffff 128M online yes 8 0 DMA32 -0x0000000048000000-0x000000004fffffff 128M online yes 9 0 DMA32 -0x0000000050000000-0x0000000057ffffff 128M online yes 10 0 DMA32 -0x0000000058000000-0x000000005fffffff 128M online yes 11 0 DMA32 -0x0000000060000000-0x0000000067ffffff 128M online yes 12 0 DMA32 -0x0000000068000000-0x000000006fffffff 128M online yes 13 0 DMA32 -0x0000000070000000-0x0000000077ffffff 128M online yes 14 0 DMA32 -0x0000000078000000-0x000000007fffffff 128M online no 15 0 DMA32 -0x0000000080000000-0x0000000087ffffff 128M online yes 16 0 DMA32 -0x0000000088000000-0x000000008fffffff 128M online yes 17 0 DMA32 -0x0000000090000000-0x0000000097ffffff 128M online yes 18 0 DMA32 -0x0000000098000000-0x000000009fffffff 128M online yes 19 0 DMA32 -0x00000000a0000000-0x00000000a7ffffff 128M online yes 20 0 DMA32 -0x00000000a8000000-0x00000000afffffff 128M online yes 21 0 DMA32 -0x00000000b0000000-0x00000000b7ffffff 128M online no 22 0 DMA32 -0x00000000b8000000-0x00000000bfffffff 128M online no 23 0 DMA32 -0x0000000100000000-0x0000000107ffffff 128M online no 32 0 Normal -0x0000000108000000-0x000000010fffffff 128M online no 33 0 Normal -0x0000000110000000-0x0000000117ffffff 128M online no 34 0 Normal -0x0000000118000000-0x000000011fffffff 128M online no 35 0 Normal -0x0000000120000000-0x0000000127ffffff 128M online no 36 0 Normal -0x0000000128000000-0x000000012fffffff 128M online no 37 0 Normal -0x0000000130000000-0x0000000137ffffff 128M online no 38 0 Normal -0x0000000138000000-0x000000013fffffff 128M online no 39 0 Normal -0x0000000140000000-0x0000000147ffffff 128M online no 40 0 Normal -0x0000000148000000-0x000000014fffffff 128M online no 41 0 Normal -0x0000000150000000-0x0000000157ffffff 128M online no 42 0 Normal -0x0000000158000000-0x000000015fffffff 128M online no 43 0 Normal -0x0000000160000000-0x0000000167ffffff 128M online no 44 0 Normal -0x0000000168000000-0x000000016fffffff 128M online no 45 0 Normal -0x0000000170000000-0x0000000177ffffff 128M online no 46 0 Normal -0x0000000178000000-0x000000017fffffff 128M online no 47 0 Normal -0x0000000180000000-0x0000000187ffffff 128M online no 48 0 Normal -0x0000000188000000-0x000000018fffffff 128M online no 49 0 Normal -0x0000000190000000-0x0000000197ffffff 128M online no 50 0 Normal -0x0000000198000000-0x000000019fffffff 128M online no 51 0 Normal -0x00000001a0000000-0x00000001a7ffffff 128M online no 52 0 Normal -0x00000001a8000000-0x00000001afffffff 128M online yes 53 0 Normal -0x00000001b0000000-0x00000001b7ffffff 128M online no 54 0 Normal -0x00000001b8000000-0x00000001bfffffff 128M online no 55 0 Normal -0x00000001c0000000-0x00000001c7ffffff 128M online yes 56 0 Normal -0x00000001c8000000-0x00000001cfffffff 128M online yes 57 0 Normal -0x00000001d0000000-0x00000001d7ffffff 128M online yes 58 0 Normal -0x00000001d8000000-0x00000001dfffffff 128M online yes 59 0 Normal -0x00000001e0000000-0x00000001e7ffffff 128M online yes 60 0 Normal -0x00000001e8000000-0x00000001efffffff 128M online yes 61 0 Normal -0x00000001f0000000-0x00000001f7ffffff 128M online yes 62 0 Normal -0x00000001f8000000-0x00000001ffffffff 128M online yes 63 0 Normal -0x0000000200000000-0x0000000207ffffff 128M online no 64 0 Normal -0x0000000208000000-0x000000020fffffff 128M online yes 65 0 Normal -0x0000000210000000-0x0000000217ffffff 128M online yes 66 0 Normal -0x0000000218000000-0x000000021fffffff 128M online yes 67 0 Normal -0x0000000220000000-0x0000000227ffffff 128M online no 68 0 Normal -0x0000000228000000-0x000000022fffffff 128M online no 69 0 Normal -0x0000000230000000-0x0000000237ffffff 128M online no 70 0 Normal -0x0000000238000000-0x000000023fffffff 128M online yes 71 0 Normal -0x0000000240000000-0x0000000247ffffff 128M online yes 72 0 Normal -0x0000000248000000-0x000000024fffffff 128M online yes 73 0 Normal -0x0000000250000000-0x0000000257ffffff 128M online yes 74 0 Normal -0x0000000258000000-0x000000025fffffff 128M online yes 75 0 Normal -0x0000000260000000-0x0000000267ffffff 128M online yes 76 0 Normal -0x0000000268000000-0x000000026fffffff 128M online yes 77 0 Normal -0x0000000270000000-0x0000000277ffffff 128M online yes 78 0 Normal -0x0000000278000000-0x000000027fffffff 128M online no 79 0 Normal -0x0000000280000000-0x0000000287ffffff 128M online no 80 0 Normal -0x0000000288000000-0x000000028fffffff 128M online no 81 0 Normal -0x0000000290000000-0x0000000297ffffff 128M online yes 82 0 Normal -0x0000000298000000-0x000000029fffffff 128M online no 83 0 Normal -0x00000002a0000000-0x00000002a7ffffff 128M online no 84 0 Normal -0x00000002a8000000-0x00000002afffffff 128M online yes 85 0 Normal -0x00000002b0000000-0x00000002b7ffffff 128M online yes 86 0 Normal -0x00000002b8000000-0x00000002bfffffff 128M online yes 87 0 Normal -0x00000002c0000000-0x00000002c7ffffff 128M online yes 88 0 Normal -0x00000002c8000000-0x00000002cfffffff 128M online no 89 0 Normal -0x00000002d0000000-0x00000002d7ffffff 128M online no 90 0 Normal -0x00000002d8000000-0x00000002dfffffff 128M online no 91 0 Normal -0x00000002e0000000-0x00000002e7ffffff 128M online yes 92 0 Normal -0x00000002e8000000-0x00000002efffffff 128M online yes 93 0 Normal -0x00000002f0000000-0x00000002f7ffffff 128M online no 94 0 Normal -0x00000002f8000000-0x00000002ffffffff 128M online no 95 0 Normal -0x0000000300000000-0x0000000307ffffff 128M online no 96 0 Normal -0x0000000308000000-0x000000030fffffff 128M online no 97 0 Normal -0x0000000310000000-0x0000000317ffffff 128M online no 98 0 Normal -0x0000000318000000-0x000000031fffffff 128M online no 99 0 Normal -0x0000000320000000-0x0000000327ffffff 128M online no 100 0 Normal -0x0000000328000000-0x000000032fffffff 128M online no 101 0 Normal -0x0000000330000000-0x0000000337ffffff 128M online no 102 0 Normal -0x0000000338000000-0x000000033fffffff 128M online no 103 0 Normal -0x0000000340000000-0x0000000347ffffff 128M online no 104 0 Normal -0x0000000348000000-0x000000034fffffff 128M online no 105 0 Normal -0x0000000350000000-0x0000000357ffffff 128M online yes 106 0 Normal -0x0000000358000000-0x000000035fffffff 128M online no 107 0 Normal -0x0000000360000000-0x0000000367ffffff 128M online no 108 0 Normal -0x0000000368000000-0x000000036fffffff 128M online no 109 0 Normal -0x0000000370000000-0x0000000377ffffff 128M online yes 110 0 Normal -0x0000000378000000-0x000000037fffffff 128M online no 111 0 Normal -0x0000000380000000-0x0000000387ffffff 128M online no 112 0 Normal -0x0000000388000000-0x000000038fffffff 128M online no 113 0 Normal -0x0000000390000000-0x0000000397ffffff 128M online no 114 0 Normal -0x0000000398000000-0x000000039fffffff 128M online no 115 0 Normal -0x00000003a0000000-0x00000003a7ffffff 128M online no 116 0 Normal -0x00000003a8000000-0x00000003afffffff 128M online no 117 0 Normal -0x00000003b0000000-0x00000003b7ffffff 128M online no 118 0 Normal -0x00000003b8000000-0x00000003bfffffff 128M online no 119 0 Normal -0x00000003c0000000-0x00000003c7ffffff 128M online no 120 0 Normal -0x00000003c8000000-0x00000003cfffffff 128M online yes 121 0 Normal -0x00000003d0000000-0x00000003d7ffffff 128M online yes 122 0 Normal -0x00000003d8000000-0x00000003dfffffff 128M online yes 123 0 Normal -0x00000003e0000000-0x00000003e7ffffff 128M online yes 124 0 Normal -0x00000003e8000000-0x00000003efffffff 128M online no 125 0 Normal -0x00000003f0000000-0x00000003f7ffffff 128M online no 126 0 Normal -0x00000003f8000000-0x00000003ffffffff 128M online no 127 0 Normal -0x0000000400000000-0x0000000407ffffff 128M online no 128 0 Normal -0x0000000408000000-0x000000040fffffff 128M online no 129 0 Normal -0x0000000410000000-0x0000000417ffffff 128M online no 130 0 Normal -0x0000000418000000-0x000000041fffffff 128M online no 131 0 Normal -0x0000000420000000-0x0000000427ffffff 128M online no 132 0 Normal -0x0000000428000000-0x000000042fffffff 128M online no 133 0 Normal -0x0000000430000000-0x0000000437ffffff 128M online yes 134 0 Normal -0x0000000438000000-0x000000043fffffff 128M online no 135 0 None +RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES +0x0000000000000000-0x0000000007ffffff 128M online no 0 0 None +0x0000000008000000-0x000000000fffffff 128M online yes 1 0 DMA32 +0x0000000010000000-0x0000000017ffffff 128M online yes 2 0 DMA32 +0x0000000018000000-0x000000001fffffff 128M online yes 3 0 DMA32 +0x0000000020000000-0x0000000027ffffff 128M online yes 4 0 DMA32 +0x0000000028000000-0x000000002fffffff 128M online yes 5 0 DMA32 +0x0000000030000000-0x0000000037ffffff 128M online yes 6 0 DMA32 +0x0000000038000000-0x000000003fffffff 128M online no 7 0 DMA32 +0x0000000040000000-0x0000000047ffffff 128M online yes 8 0 DMA32 +0x0000000048000000-0x000000004fffffff 128M online yes 9 0 DMA32 +0x0000000050000000-0x0000000057ffffff 128M online yes 10 0 DMA32 +0x0000000058000000-0x000000005fffffff 128M online yes 11 0 DMA32 +0x0000000060000000-0x0000000067ffffff 128M online yes 12 0 DMA32 +0x0000000068000000-0x000000006fffffff 128M online yes 13 0 DMA32 +0x0000000070000000-0x0000000077ffffff 128M online yes 14 0 DMA32 +0x0000000078000000-0x000000007fffffff 128M online no 15 0 DMA32 +0x0000000080000000-0x0000000087ffffff 128M online yes 16 0 DMA32 +0x0000000088000000-0x000000008fffffff 128M online yes 17 0 DMA32 +0x0000000090000000-0x0000000097ffffff 128M online yes 18 0 DMA32 +0x0000000098000000-0x000000009fffffff 128M online yes 19 0 DMA32 +0x00000000a0000000-0x00000000a7ffffff 128M online yes 20 0 DMA32 +0x00000000a8000000-0x00000000afffffff 128M online yes 21 0 DMA32 +0x00000000b0000000-0x00000000b7ffffff 128M online no 22 0 DMA32 +0x00000000b8000000-0x00000000bfffffff 128M online no 23 0 DMA32 +0x0000000100000000-0x0000000107ffffff 128M online no 32 0 Normal +0x0000000108000000-0x000000010fffffff 128M online no 33 0 Normal +0x0000000110000000-0x0000000117ffffff 128M online no 34 0 Normal +0x0000000118000000-0x000000011fffffff 128M online no 35 0 Normal +0x0000000120000000-0x0000000127ffffff 128M online no 36 0 Normal +0x0000000128000000-0x000000012fffffff 128M online no 37 0 Normal +0x0000000130000000-0x0000000137ffffff 128M online no 38 0 Normal +0x0000000138000000-0x000000013fffffff 128M online no 39 0 Normal +0x0000000140000000-0x0000000147ffffff 128M online no 40 0 Normal +0x0000000148000000-0x000000014fffffff 128M online no 41 0 Normal +0x0000000150000000-0x0000000157ffffff 128M online no 42 0 Normal +0x0000000158000000-0x000000015fffffff 128M online no 43 0 Normal +0x0000000160000000-0x0000000167ffffff 128M online no 44 0 Normal +0x0000000168000000-0x000000016fffffff 128M online no 45 0 Normal +0x0000000170000000-0x0000000177ffffff 128M online no 46 0 Normal +0x0000000178000000-0x000000017fffffff 128M online no 47 0 Normal +0x0000000180000000-0x0000000187ffffff 128M online no 48 0 Normal +0x0000000188000000-0x000000018fffffff 128M online no 49 0 Normal +0x0000000190000000-0x0000000197ffffff 128M online no 50 0 Normal +0x0000000198000000-0x000000019fffffff 128M online no 51 0 Normal +0x00000001a0000000-0x00000001a7ffffff 128M online no 52 0 Normal +0x00000001a8000000-0x00000001afffffff 128M online yes 53 0 Normal +0x00000001b0000000-0x00000001b7ffffff 128M online no 54 0 Normal +0x00000001b8000000-0x00000001bfffffff 128M online no 55 0 Normal +0x00000001c0000000-0x00000001c7ffffff 128M online yes 56 0 Normal +0x00000001c8000000-0x00000001cfffffff 128M online yes 57 0 Normal +0x00000001d0000000-0x00000001d7ffffff 128M online yes 58 0 Normal +0x00000001d8000000-0x00000001dfffffff 128M online yes 59 0 Normal +0x00000001e0000000-0x00000001e7ffffff 128M online yes 60 0 Normal +0x00000001e8000000-0x00000001efffffff 128M online yes 61 0 Normal +0x00000001f0000000-0x00000001f7ffffff 128M online yes 62 0 Normal +0x00000001f8000000-0x00000001ffffffff 128M online yes 63 0 Normal +0x0000000200000000-0x0000000207ffffff 128M online no 64 0 Normal +0x0000000208000000-0x000000020fffffff 128M online yes 65 0 Normal +0x0000000210000000-0x0000000217ffffff 128M online yes 66 0 Normal +0x0000000218000000-0x000000021fffffff 128M online yes 67 0 Normal +0x0000000220000000-0x0000000227ffffff 128M online no 68 0 Normal +0x0000000228000000-0x000000022fffffff 128M online no 69 0 Normal +0x0000000230000000-0x0000000237ffffff 128M online no 70 0 Normal +0x0000000238000000-0x000000023fffffff 128M online yes 71 0 Normal +0x0000000240000000-0x0000000247ffffff 128M online yes 72 0 Normal +0x0000000248000000-0x000000024fffffff 128M online yes 73 0 Normal +0x0000000250000000-0x0000000257ffffff 128M online yes 74 0 Normal +0x0000000258000000-0x000000025fffffff 128M online yes 75 0 Normal +0x0000000260000000-0x0000000267ffffff 128M online yes 76 0 Normal +0x0000000268000000-0x000000026fffffff 128M online yes 77 0 Normal +0x0000000270000000-0x0000000277ffffff 128M online yes 78 0 Normal +0x0000000278000000-0x000000027fffffff 128M online no 79 0 Normal +0x0000000280000000-0x0000000287ffffff 128M online no 80 0 Normal +0x0000000288000000-0x000000028fffffff 128M online no 81 0 Normal +0x0000000290000000-0x0000000297ffffff 128M online yes 82 0 Normal +0x0000000298000000-0x000000029fffffff 128M online no 83 0 Normal +0x00000002a0000000-0x00000002a7ffffff 128M online no 84 0 Normal +0x00000002a8000000-0x00000002afffffff 128M online yes 85 0 Normal +0x00000002b0000000-0x00000002b7ffffff 128M online yes 86 0 Normal +0x00000002b8000000-0x00000002bfffffff 128M online yes 87 0 Normal +0x00000002c0000000-0x00000002c7ffffff 128M online yes 88 0 Normal +0x00000002c8000000-0x00000002cfffffff 128M online no 89 0 Normal +0x00000002d0000000-0x00000002d7ffffff 128M online no 90 0 Normal +0x00000002d8000000-0x00000002dfffffff 128M online no 91 0 Normal +0x00000002e0000000-0x00000002e7ffffff 128M online yes 92 0 Normal +0x00000002e8000000-0x00000002efffffff 128M online yes 93 0 Normal +0x00000002f0000000-0x00000002f7ffffff 128M online no 94 0 Normal +0x00000002f8000000-0x00000002ffffffff 128M online no 95 0 Normal +0x0000000300000000-0x0000000307ffffff 128M online no 96 0 Normal +0x0000000308000000-0x000000030fffffff 128M online no 97 0 Normal +0x0000000310000000-0x0000000317ffffff 128M online no 98 0 Normal +0x0000000318000000-0x000000031fffffff 128M online no 99 0 Normal +0x0000000320000000-0x0000000327ffffff 128M online no 100 0 Normal +0x0000000328000000-0x000000032fffffff 128M online no 101 0 Normal +0x0000000330000000-0x0000000337ffffff 128M online no 102 0 Normal +0x0000000338000000-0x000000033fffffff 128M online no 103 0 Normal +0x0000000340000000-0x0000000347ffffff 128M online no 104 0 Normal +0x0000000348000000-0x000000034fffffff 128M online no 105 0 Normal +0x0000000350000000-0x0000000357ffffff 128M online yes 106 0 Normal +0x0000000358000000-0x000000035fffffff 128M online no 107 0 Normal +0x0000000360000000-0x0000000367ffffff 128M online no 108 0 Normal +0x0000000368000000-0x000000036fffffff 128M online no 109 0 Normal +0x0000000370000000-0x0000000377ffffff 128M online yes 110 0 Normal +0x0000000378000000-0x000000037fffffff 128M online no 111 0 Normal +0x0000000380000000-0x0000000387ffffff 128M online no 112 0 Normal +0x0000000388000000-0x000000038fffffff 128M online no 113 0 Normal +0x0000000390000000-0x0000000397ffffff 128M online no 114 0 Normal +0x0000000398000000-0x000000039fffffff 128M online no 115 0 Normal +0x00000003a0000000-0x00000003a7ffffff 128M online no 116 0 Normal +0x00000003a8000000-0x00000003afffffff 128M online no 117 0 Normal +0x00000003b0000000-0x00000003b7ffffff 128M online no 118 0 Normal +0x00000003b8000000-0x00000003bfffffff 128M online no 119 0 Normal +0x00000003c0000000-0x00000003c7ffffff 128M online no 120 0 Normal +0x00000003c8000000-0x00000003cfffffff 128M online yes 121 0 Normal +0x00000003d0000000-0x00000003d7ffffff 128M online yes 122 0 Normal +0x00000003d8000000-0x00000003dfffffff 128M online yes 123 0 Normal +0x00000003e0000000-0x00000003e7ffffff 128M online yes 124 0 Normal +0x00000003e8000000-0x00000003efffffff 128M online no 125 0 Normal +0x00000003f0000000-0x00000003f7ffffff 128M online no 126 0 Normal +0x00000003f8000000-0x00000003ffffffff 128M online no 127 0 Normal +0x0000000400000000-0x0000000407ffffff 128M online no 128 0 Normal +0x0000000408000000-0x000000040fffffff 128M online no 129 0 Normal +0x0000000410000000-0x0000000417ffffff 128M online no 130 0 Normal +0x0000000418000000-0x000000041fffffff 128M online no 131 0 Normal +0x0000000420000000-0x0000000427ffffff 128M online no 132 0 Normal +0x0000000428000000-0x000000042fffffff 128M online no 133 0 Normal +0x0000000430000000-0x0000000437ffffff 128M online yes 134 0 Normal +0x0000000438000000-0x000000043fffffff 128M online no 135 0 None Memory block size: 128M Total online memory: 16G @@ -484,37 +484,37 @@ $ lsmem --json --output RANGE,SIZE,STATE,REMOVABLE,BLOCK,NODE,ZONES --split RANG --- $ lsmem -o +ZONES -RANGE SIZE STATE REMOVABLE BLOCK ZONES -0x0000000000000000-0x0000000007ffffff 128M online no 0 None -0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 DMA32 -0x0000000038000000-0x000000003fffffff 128M online no 7 DMA32 -0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 DMA32 -0x0000000078000000-0x000000007fffffff 128M online no 15 DMA32 -0x0000000080000000-0x00000000afffffff 768M online yes 16-21 DMA32 -0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 DMA32 -0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 Normal -0x00000001a8000000-0x00000001afffffff 128M online yes 53 Normal -0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 Normal -0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 Normal -0x0000000200000000-0x0000000207ffffff 128M online no 64 Normal -0x0000000208000000-0x000000021fffffff 384M online yes 65-67 Normal -0x0000000220000000-0x0000000237ffffff 384M online no 68-70 Normal -0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 Normal -0x0000000278000000-0x000000028fffffff 384M online no 79-81 Normal -0x0000000290000000-0x0000000297ffffff 128M online yes 82 Normal -0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 Normal -0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 Normal -0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 Normal -0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 Normal -0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 Normal -0x0000000350000000-0x0000000357ffffff 128M online yes 106 Normal -0x0000000358000000-0x000000036fffffff 384M online no 107-109 Normal -0x0000000370000000-0x0000000377ffffff 128M online yes 110 Normal -0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 Normal -0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 Normal -0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 Normal -0x0000000430000000-0x0000000437ffffff 128M online yes 134 Normal -0x0000000438000000-0x000000043fffffff 128M online no 135 None +RANGE SIZE STATE REMOVABLE BLOCK ZONES +0x0000000000000000-0x0000000007ffffff 128M online no 0 None +0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 DMA32 +0x0000000038000000-0x000000003fffffff 128M online no 7 DMA32 +0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 DMA32 +0x0000000078000000-0x000000007fffffff 128M online no 15 DMA32 +0x0000000080000000-0x00000000afffffff 768M online yes 16-21 DMA32 +0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 DMA32 +0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 Normal +0x00000001a8000000-0x00000001afffffff 128M online yes 53 Normal +0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 Normal +0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 Normal +0x0000000200000000-0x0000000207ffffff 128M online no 64 Normal +0x0000000208000000-0x000000021fffffff 384M online yes 65-67 Normal +0x0000000220000000-0x0000000237ffffff 384M online no 68-70 Normal +0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 Normal +0x0000000278000000-0x000000028fffffff 384M online no 79-81 Normal +0x0000000290000000-0x0000000297ffffff 128M online yes 82 Normal +0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 Normal +0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 Normal +0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 Normal +0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 Normal +0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 Normal +0x0000000350000000-0x0000000357ffffff 128M online yes 106 Normal +0x0000000358000000-0x000000036fffffff 384M online no 107-109 Normal +0x0000000370000000-0x0000000377ffffff 128M online yes 110 Normal +0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 Normal +0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 Normal +0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 Normal +0x0000000430000000-0x0000000437ffffff 128M online yes 134 Normal +0x0000000438000000-0x000000043fffffff 128M online no 135 None Memory block size: 128M Total online memory: 16G @@ -523,37 +523,37 @@ Total offline memory: 0B --- $ lsmem --output-all -RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES -0x0000000000000000-0x0000000007ffffff 128M online no 0 0 None -0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 0 DMA32 -0x0000000038000000-0x000000003fffffff 128M online no 7 0 DMA32 -0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 0 DMA32 -0x0000000078000000-0x000000007fffffff 128M online no 15 0 DMA32 -0x0000000080000000-0x00000000afffffff 768M online yes 16-21 0 DMA32 -0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 0 DMA32 -0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 0 Normal -0x00000001a8000000-0x00000001afffffff 128M online yes 53 0 Normal -0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 0 Normal -0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 0 Normal -0x0000000200000000-0x0000000207ffffff 128M online no 64 0 Normal -0x0000000208000000-0x000000021fffffff 384M online yes 65-67 0 Normal -0x0000000220000000-0x0000000237ffffff 384M online no 68-70 0 Normal -0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 0 Normal -0x0000000278000000-0x000000028fffffff 384M online no 79-81 0 Normal -0x0000000290000000-0x0000000297ffffff 128M online yes 82 0 Normal -0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 0 Normal -0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 0 Normal -0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 0 Normal -0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 0 Normal -0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 0 Normal -0x0000000350000000-0x0000000357ffffff 128M online yes 106 0 Normal -0x0000000358000000-0x000000036fffffff 384M online no 107-109 0 Normal -0x0000000370000000-0x0000000377ffffff 128M online yes 110 0 Normal -0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 0 Normal -0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 0 Normal -0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 0 Normal -0x0000000430000000-0x0000000437ffffff 128M online yes 134 0 Normal -0x0000000438000000-0x000000043fffffff 128M online no 135 0 None +RANGE SIZE STATE REMOVABLE BLOCK NODE ZONES +0x0000000000000000-0x0000000007ffffff 128M online no 0 0 None +0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 0 DMA32 +0x0000000038000000-0x000000003fffffff 128M online no 7 0 DMA32 +0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 0 DMA32 +0x0000000078000000-0x000000007fffffff 128M online no 15 0 DMA32 +0x0000000080000000-0x00000000afffffff 768M online yes 16-21 0 DMA32 +0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 0 DMA32 +0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 0 Normal +0x00000001a8000000-0x00000001afffffff 128M online yes 53 0 Normal +0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 0 Normal +0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 0 Normal +0x0000000200000000-0x0000000207ffffff 128M online no 64 0 Normal +0x0000000208000000-0x000000021fffffff 384M online yes 65-67 0 Normal +0x0000000220000000-0x0000000237ffffff 384M online no 68-70 0 Normal +0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 0 Normal +0x0000000278000000-0x000000028fffffff 384M online no 79-81 0 Normal +0x0000000290000000-0x0000000297ffffff 128M online yes 82 0 Normal +0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 0 Normal +0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 0 Normal +0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 0 Normal +0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 0 Normal +0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 0 Normal +0x0000000350000000-0x0000000357ffffff 128M online yes 106 0 Normal +0x0000000358000000-0x000000036fffffff 384M online no 107-109 0 Normal +0x0000000370000000-0x0000000377ffffff 128M online yes 110 0 Normal +0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 0 Normal +0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 0 Normal +0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 0 Normal +0x0000000430000000-0x0000000437ffffff 128M online yes 134 0 Normal +0x0000000438000000-0x000000043fffffff 128M online no 135 0 None Memory block size: 128M Total online memory: 16G @@ -562,37 +562,37 @@ Total offline memory: 0B --- $ lsmem -RANGE SIZE STATE REMOVABLE BLOCK -0x0000000000000000-0x0000000007ffffff 128M online no 0 -0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 -0x0000000038000000-0x000000003fffffff 128M online no 7 -0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 -0x0000000078000000-0x000000007fffffff 128M online no 15 -0x0000000080000000-0x00000000afffffff 768M online yes 16-21 -0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 -0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 -0x00000001a8000000-0x00000001afffffff 128M online yes 53 -0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 -0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 -0x0000000200000000-0x0000000207ffffff 128M online no 64 -0x0000000208000000-0x000000021fffffff 384M online yes 65-67 -0x0000000220000000-0x0000000237ffffff 384M online no 68-70 -0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 -0x0000000278000000-0x000000028fffffff 384M online no 79-81 -0x0000000290000000-0x0000000297ffffff 128M online yes 82 -0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 -0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 -0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 -0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 -0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 -0x0000000350000000-0x0000000357ffffff 128M online yes 106 -0x0000000358000000-0x000000036fffffff 384M online no 107-109 -0x0000000370000000-0x0000000377ffffff 128M online yes 110 -0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 -0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 -0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 -0x0000000430000000-0x0000000437ffffff 128M online yes 134 -0x0000000438000000-0x000000043fffffff 128M online no 135 +RANGE SIZE STATE REMOVABLE BLOCK +0x0000000000000000-0x0000000007ffffff 128M online no 0 +0x0000000008000000-0x0000000037ffffff 768M online yes 1-6 +0x0000000038000000-0x000000003fffffff 128M online no 7 +0x0000000040000000-0x0000000077ffffff 896M online yes 8-14 +0x0000000078000000-0x000000007fffffff 128M online no 15 +0x0000000080000000-0x00000000afffffff 768M online yes 16-21 +0x00000000b0000000-0x00000000bfffffff 256M online no 22-23 +0x0000000100000000-0x00000001a7ffffff 2.6G online no 32-52 +0x00000001a8000000-0x00000001afffffff 128M online yes 53 +0x00000001b0000000-0x00000001bfffffff 256M online no 54-55 +0x00000001c0000000-0x00000001ffffffff 1G online yes 56-63 +0x0000000200000000-0x0000000207ffffff 128M online no 64 +0x0000000208000000-0x000000021fffffff 384M online yes 65-67 +0x0000000220000000-0x0000000237ffffff 384M online no 68-70 +0x0000000238000000-0x0000000277ffffff 1G online yes 71-78 +0x0000000278000000-0x000000028fffffff 384M online no 79-81 +0x0000000290000000-0x0000000297ffffff 128M online yes 82 +0x0000000298000000-0x00000002a7ffffff 256M online no 83-84 +0x00000002a8000000-0x00000002c7ffffff 512M online yes 85-88 +0x00000002c8000000-0x00000002dfffffff 384M online no 89-91 +0x00000002e0000000-0x00000002efffffff 256M online yes 92-93 +0x00000002f0000000-0x000000034fffffff 1.5G online no 94-105 +0x0000000350000000-0x0000000357ffffff 128M online yes 106 +0x0000000358000000-0x000000036fffffff 384M online no 107-109 +0x0000000370000000-0x0000000377ffffff 128M online yes 110 +0x0000000378000000-0x00000003c7ffffff 1.3G online no 111-120 +0x00000003c8000000-0x00000003e7ffffff 512M online yes 121-124 +0x00000003e8000000-0x000000042fffffff 1.1G online no 125-133 +0x0000000430000000-0x0000000437ffffff 128M online yes 134 +0x0000000438000000-0x000000043fffffff 128M online no 135 Memory block size: 128M Total online memory: 16G