• lsmem on current i686 /sys/devices/system/memory not existing

    From Marco Moock@mm+usenet-es@dorfdsl.de to alt.os.linux.slackware on Fri Feb 21 09:49:56 2025
    From Newsgroup: alt.os.linux.slackware

    Hello!

    I am running current on i686 on a Thinkpad X40.

    lsmem works on other systems, but not on this.

    I read that it was originally created for s390, so my question is: Is
    that supposed to run on i686?

    It works on x86_64 (amd64).
    --
    kind regards
    Marco

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From noel@deletethis@invalid.lan to alt.os.linux.slackware on Fri Feb 21 21:21:23 2025
    From Newsgroup: alt.os.linux.slackware

    On Fri, 21 Feb 2025 09:49:56 +0100, Marco Moock wrote:

    Hello!

    I am running current on i686 on a Thinkpad X40.

    lsmem works on other systems, but not on this.

    I read that it was originally created for s390, so my question is: Is
    that supposed to run on i686?

    It works on x86_64 (amd64).


    probably not. even on 15.0, not likely lsmem issue, but later kernel
    issue. also does not exist on arm. No idea when they broke it, must be
    years ago.


    root@dev32:~# lsmem
    lsmem: cannot open /sys/devices/system/memory: No such file or directory


    root@dev64:~# lsmem
    RANGE SIZE STATE REMOVABLE BLOCK 0x0000000000000000-0x00000000dfffffff 3.5G online yes 0-27 0x0000000100000000-0x000000021fffffff 4.5G online yes 32-67

    Memory block size: 128M
    Total online memory: 8G
    Total offline memory: 0B

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Joseph Rosevear@Mail@JoesLife.org to alt.os.linux.slackware on Sat Mar 1 23:36:24 2025
    From Newsgroup: alt.os.linux.slackware

    On Fri, 21 Feb 2025 09:49:56 +0100, Marco Moock wrote:

    Hello!

    I am running current on i686 on a Thinkpad X40.

    lsmem works on other systems, but not on this.

    I read that it was originally created for s390, so my question is: Is
    that supposed to run on i686?

    It works on x86_64 (amd64).

    It works on my x86_64 Intel(R) Core(TM) i5-4590.

    Thanks for telling me about this interesting command. I wonder what
    practical uses it has?
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Marco Moock@mm+usenet-es@dorfdsl.de to alt.os.linux.slackware on Sun Mar 2 15:18:12 2025
    From Newsgroup: alt.os.linux.slackware

    On 01.03.2025 23:36 Uhr Joseph Rosevear wrote:

    Thanks for telling me about this interesting command. I wonder what practical uses it has?

    Getting information about installed memory.

    Maybe it is historical for s390.
    I haven't had such a system, but maybe they have detachable memory, so
    modules can be inserted and removed while the system is running.
    The online/offline state is not being shown by free.

    m@ryz:~$ lsmem
    RANGE SIZE STATE REMOVABLE BLOCK 0x0000000000000000-0x00000000cfffffff 3.3G online yes 0-25 0x0000000100000000-0x00000003afffffff 10.8G online yes 32-117

    Memory block size: 128M
    Total online memory: 14G
    Total offline memory: 0B
    m@ryz:~$ free -h
    total used free shared buff/cache available
    Mem: 13Gi 4.4Gi 435Mi 8.0Mi 8.7Gi 9.2Gi
    Swap: 4.0Gi 340Mi 3.7Gi
    m@ryz:~$
    --
    kind regards
    Marco

    Send spam to 1740868584muell@stinkedores.dorfdsl.de

    --- Synchronet 3.21d-Linux NewsLink 1.2