• Error code: RESULT_CODE_UNINSTALL_USER_CANCEL

    From bob prohaska@3:770/3 to All on Thu Nov 19 21:21:42 2020
    Has anybody else noticed this error message when using the Chromium
    browser? I happen to be using a P4, if that matters. It appeared after
    updating today, 11/19/2020, while reading the New York Times website.
    Reports go back a few months, but nothing in the way of a fix.

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Thu Nov 19 21:13:25 2020
    On Thu, 19 Nov 2020 21:21:42 -0000 (UTC), bob prohaska <bp@www.zefox.net> declaimed the following:

    Has anybody else noticed this error message when using the Chromium
    browser? I happen to be using a P4, if that matters. It appeared after >updating today, 11/19/2020, while reading the New York Times website.
    Reports go back a few months, but nothing in the way of a fix.


    Well, the most informative report I've seen mentions the out-of-memory killer in the OS. Have you tried monitoring memory usage (run top in a
    console window)?

    Which R-Pi are you using?

    Do you have a swap file on external media?



    --
    Wulfraed Dennis Lee Bieber AF6VN
    wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to Dennis Lee Bieber on Fri Nov 20 05:56:09 2020
    Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
    On Thu, 19 Nov 2020 21:21:42 -0000 (UTC), bob prohaska <bp@www.zefox.net> declaimed the following:

    Has anybody else noticed this error message when using the Chromium >>browser? I happen to be using a P4, if that matters. It appeared after >>updating today, 11/19/2020, while reading the New York Times website. >>Reports go back a few months, but nothing in the way of a fix.


    Well, the most informative report I've seen mentions the
    out-of-memory
    killer in the OS. Have you tried monitoring memory usage (run top in a console window)?

    Which R-Pi are you using?
    An 8GB Pi4
    Do you have a swap file on external media?
    There's a 4GB hard partition, so far usage is nil.
    Memory use tops at under 1.5GB

    Since the original post I've noticed another problem, YouTube videos won't start playing at 1080p, but if resolution is lowered to 480p momentarily playback starts. Resolution can then be increased to 720p and will continue. Whether this has anything to do with the error code is unclear, and doubtful.

    In the meantime I found
    https://support.google.com/chrome/thread/15650264?hl=en
    which suggests turning off chrome://flags/#enable-quic
    That's helped, but I've seen the error code since, so it's
    not a cure entirely. But, it's a thread from 10/24/19
    and the problem I'm seeing is brand new as of today.
    It could be the nytimes.com website doing something wrong.....
    For the moment I can't reproduce the "aw snap" error in the
    subject line. It's odd I found that page at all, none of the
    keywords in my search seem to match.

    The 1080p playback stoppage seems to persist.

    Thanks for reading!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From A. Dumas@3:770/3 to bob prohaska on Fri Nov 20 09:02:37 2020
    On 20-11-2020 06:56, bob prohaska wrote:
    The 1080p playback stoppage seems to persist.

    Definitely post that to the RPi forums, where people are actually
    knowledgable and motivated to fix that.

    Standard RaspiOS installations don't come with swap partitions. (Do any
    modern Linux installations?) It does have a swap file which is standard
    100 MB, configured in /etc/dphys-swapfile (turn off before editing:
    "sudo dphys-swapfile swapoff" and back on with swapon). This is a weird
    size; presumably low to prevent too much writes to SD card, but then why
    enable it all. Old and perhaps outdated knowledge is to make it as least
    as big as RAM.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to A. Dumas on Fri Nov 20 08:39:11 2020
    A. Dumas wrote:

    RaspiOS installations don't come with swap partitions. (Do any modern
    Linux installations?)

    Fedora now swaps onto zram, which feels somewhat recursive ... you use
    memory until RAM is full, then start swapping onto a zram device which
    is just a RAM disc with compression, so should use less RAM than the
    extra virtual address space it gives you ... feels like a novel method
    of spiralling into the ground waiting to happen?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Andy Burns on Fri Nov 20 13:32:23 2020
    On Fri, 20 Nov 2020 08:39:11 +0000, Andy Burns wrote:

    A. Dumas wrote:

    RaspiOS installations don't come with swap partitions. (Do any modern
    Linux installations?)

    Fedora now swaps onto zram, which feels somewhat recursive ... you use
    memory until RAM is full, then start swapping onto a zram device which
    is just a RAM disc with compression, so should use less RAM than the
    extra virtual address space it gives you ... feels like a novel method
    of spiralling into the ground waiting to happen?

    Presumably thats for a new install?

    I just checked this machine (8GB Lenovo T440) and both top and gparted
    agree that its still using the 16GB swap partition I set up when I kicked Windoze into the dustbin and installed Fedora 3 years ago.


    --
    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to Martin Gregorie on Fri Nov 20 13:47:56 2020
    Martin Gregorie wrote:

    Andy Burns wrote:

    Fedora now swaps onto zram, which feels somewhat recursive ... you use
    memory until RAM is full, then start swapping onto a zram device which
    is just a RAM disc with compression

    Presumably thats for a new install?

    it only came in with fedora33

    <https://fedoraproject.org/wiki/Changes/SwapOnZRAM>

    it seems to add the zram device on top of any existing swap partition,
    my fc33 machine still has a ~6 GB LV called swap

    # lvs
    LV VG Attr LSize Pool Origin Data%
    Meta% Move Log Cpy%Sync Convert
    home fedora_localhost-live -wi-ao---- 16.93g
    root fedora_localhost-live -wi-ao---- 34.69g
    swap fedora_localhost-live -wi-ao---- 5.87g
    build raidstore -wi-ao---- 200.00g
    samba raidstore -wi-ao---- 100.00g
    tvheadend raidstore -wi-ao---- 1.00t

    # ls -l /dev/mapper/fedora_localhost--live-swap
    lrwxrwxrwx. 1 root root 7 Nov 19 09:24
    /dev/mapper/fedora_localhost--live-swap -> ../dm-1

    But has gained a 4GB zram swap device as well

    # swapon --show
    NAME TYPE SIZE USED PRIO
    /dev/dm-1 partition 5.9G 0B -2
    /dev/zram0 partition 4G 0B 100

    since it has 32GB, it'll be in trouble of it starts needing either

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to Martin Gregorie on Fri Nov 20 14:53:20 2020
    Martin Gregorie wrote:

    Question: If you did an in-situ upgrade to an F32 install
    with a swap partition, did it convert this to
    the in-RAM setup without asking you?

    yes it added the zram to the existing LV swap ...

    the old swap entry is in /etc/fstab but the new one isn't, so it must
    get added on the fly (no obviously named systemd unit)

    at least it didn't convert root to btrfs, so I think that only applies
    to new installs.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Andy Burns on Fri Nov 20 14:45:31 2020
    On Fri, 20 Nov 2020 13:47:56 +0000, Andy Burns wrote:

    it only came in with fedora33

    <https://fedoraproject.org/wiki/Changes/SwapOnZRAM>

    it seems to add the zram device on top of any existing swap partition,
    my fc33 machine still has a ~6 GB LV called swap


    Understood: I'm still on F32.

    Question: If you did an in-situ upgrade to an F32 install
    with a swap partition, did it convert this to
    the in-RAM setup without asking you?


    --
    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to Andy Burns on Fri Nov 20 14:57:06 2020
    Andy Burns wrote:

    no obviously named systemd unit

    tell a lie ...

    # systemctl list-units *swap*
    UNIT LOAD ACTIVE
    SUB DESCRIPTION
    swap-create@zram0.service loaded active
    exited Create swap on /dev/zram0
    system-swap\x2dcreate.slice loaded active
    active system-swap\x2dcreate.slice
    dev-mapper-fedora_localhost\x2d\x2dlive\x2dswap.swap loaded active
    active /dev/mapper/fedora_localhost--live-swap
    dev-zram0.swap loaded active
    active Compressed swap on /dev/zram0
    swap.target loaded active
    active Swap

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Dennis Lee Bieber@3:770/3 to All on Fri Nov 20 11:13:20 2020
    On Fri, 20 Nov 2020 09:02:37 +0100, "A. Dumas" <alexandre@dumas.fr.invalid> declaimed the following:


    Standard RaspiOS installations don't come with swap partitions. (Do any >modern Linux installations?) It does have a swap file which is standard

    Debian 10 running in Oracle VirtualBox

    wulfraed@debian:~$ sudo swapon --show
    [sudo] password for wulfraed:
    NAME TYPE SIZE USED PRIO
    /dev/sda5 partition 3G 0B -2
    wulfraed@debian:~$ sudo free -h
    total used free shared buff/cache
    available
    Mem: 2.9Gi 423Mi 1.2Gi 6.0Mi 1.4Gi 2.3Gi
    Swap: 3.0Gi 0B 3.0Gi

    apparently does create a swap partition


    --
    Wulfraed Dennis Lee Bieber AF6VN
    wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From bob prohaska@3:770/3 to A. Dumas on Fri Nov 20 16:59:47 2020
    A. Dumas <alexandre@dumas.fr.invalid> wrote:
    On 20-11-2020 06:56, bob prohaska wrote:
    The 1080p playback stoppage seems to persist.

    Definitely post that to the RPi forums, where people are actually knowledgable and motivated to fix that.

    Trying to sign up now. Waiting for email confirmation to arrive.

    Standard RaspiOS installations don't come with swap partitions. (Do any modern Linux installations?) It does have a swap file which is standard
    100 MB, configured in /etc/dphys-swapfile (turn off before editing:
    "sudo dphys-swapfile swapoff" and back on with swapon). This is a weird
    size; presumably low to prevent too much writes to SD card, but then why enable it all. Old and perhaps outdated knowledge is to make it as least
    as big as RAM.

    I'm not sure how I arrived at the 4GB swap partition, most likely I didn't expect it would ever be used (at least hoped not!) and so didn't pay heed. Perhaps I had ambitions of adding more, interleaved swap devices...
    No need, it seems.

    On the 1GB Pi2 and Pi3 some kind of hardware swap is essential for running
    a GUI, though I have found headless servers work quite well with no swap provided one limits concurrent threads..

    After a second round of upgrade this morning I can't duplicate the RESULT_CODE_UNINSTALL_USER_CANCEL error, even after setting flags
    back to default. Maybe it's fixed, maybe it was nytimes.com, maybe
    it's me.....

    Thanks for reading!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Andy Burns on Fri Nov 20 17:37:38 2020
    On 20/11/2020 08:39, Andy Burns wrote:
    Fedora now swaps onto zram, which feels somewhat recursive ... you use
    memory until RAM is full, then start swapping onto a zram device which
    is just a RAM disc with compression, so should use less RAM than the
    extra virtual address space it gives you ... feels like a novel method
    of spiralling into the ground waiting to happen?

    You can do this with Raspbian too, it gives you about 30% more memory
    headroom, and it will never swap to the SD card (either the partition or
    file). See https://github.com/StuartIanNaylor/zram-swap-config

    I've got this set on my last 1GB 3B+ which is running a browser, as if
    it starts swapping to SD it becomes so slow it might as well be game
    over. It still slows down a bit when swapping in to RAM, but not
    unbearably so, and I've not had it fall over in my normal usage pattern,
    so it's providing just enough additional memory to get by on.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Andy Burns on Fri Nov 20 17:41:40 2020
    On Fri, 20 Nov 2020 14:57:06 +0000, Andy Burns wrote:

    Andy Burns wrote:

    no obviously named systemd unit

    tell a lie ...

    # systemctl list-units *swap*
    UNIT LOAD ACTIVE
    SUB DESCRIPTION
    swap-create@zram0.service loaded active
    exited Create swap on /dev/zram0
    system-swap\x2dcreate.slice loaded active
    active system-swap\x2dcreate.slice
    dev-mapper-fedora_localhost\x2d\x2dlive\x2dswap.swap loaded active
    active /dev/mapper/fedora_localhost--live-swap
    dev-zram0.swap loaded active
    active Compressed swap on /dev/zram0
    swap.target loaded active
    active Swap

    Interesting.

    There wasn't a systemd swap service before F33, so we need to know how to disable/uninstall zswap and reinstall the old system using a swap file or partition - especially those of us with older systems with less memory -
    my Dual Athlon based house server has 4GB and my old Lenovo R61 has 3GB.
    The former certainly uses swap space during one of my infrequently run
    database tasks, so it seems likely that it would fail with zswap.

    I found this: https://en.wikipedia.org/wiki/Zswap

    Apparently zswap is intended to prevent swapping from wearing out flash
    drives and has been around since 2013. The swap file/partition is still required to deal with the situation when memory gets oversubscribed: as
    the zswap cache space grows it will overflow into the swap file or
    partition on disk.


    --
    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Martin Gregorie on Fri Nov 20 17:54:26 2020
    On Fri, 20 Nov 2020 17:41:40 +0000, Martin Gregorie wrote:

    UPDATE:

    I forgot to remove ths paragraph: just ignore it!

    There wasn't a systemd swap service before F33, so we need to know how
    to disable/uninstall zswap and reinstall the old system using a swap
    file or partition - especially those of us with older systems with less memory - my Dual Athlon based house server has 4GB and my old Lenovo R61
    has 3GB. The former certainly uses swap space during one of my
    infrequently run database tasks, so it seems likely that it would fail
    with zswap.

    The rest of that post is OK:


    I found this: https://en.wikipedia.org/wiki/Zswap

    Apparently zswap is intended to prevent swapping from wearing out flash drives and has been around since 2013. The swap file/partition is still required to deal with the situation when memory gets oversubscribed: as
    the zswap cache space grows it will overflow into the swap file or
    partition on disk.


    --
    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to bob prohaska on Fri Nov 20 17:43:12 2020
    On 20/11/2020 16:59, bob prohaska wrote:
    On the 1GB Pi2 and Pi3 some kind of hardware swap is essential for running
    a GUI,

    As long as its not swapping to SD card, which tends to lock it up for
    anything up to a couple of minutes. If you've got a fast USB3 stick
    (even if the Pi is USB2) or a SSD, then swapping is slow, but you can
    carry on using it.

    With those larger devices I normally have more than one OS installed, so
    I also use swap partition, to prevent having swap files take up space on
    each filing system.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to Martin Gregorie on Fri Nov 20 19:36:52 2020
    Martin Gregorie wrote:

    Apparently zswap is intended to prevent swapping from wearing out flash drives and has been around since 2013. The swap file/partition is still required to deal with the situation when memory gets oversubscribed:

    Isn't zswap different from swap on zram?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andy Burns@3:770/3 to Martin Gregorie on Fri Nov 20 20:37:43 2020
    Martin Gregorie wrote:

    The Wikipedia article I referenced describes zram as a swap device

    I think it's just a ram disc with compression, not specifically for swap

    and zswap as a cache front-ending the swap device, i.o.w. zswap can
    deal with memory over-subscription by evicting pages to an external
    swap device: zram can't do this because it IS the swap device.

    The Wikipedia article describes them as alternatives.

    Yep.

    My machine with the existing 5.9GB swap device and the new 4GB zram swap device, certainly thinks it's got a total 9.9GB swap space now.

    # free -hwt
    total used free shared buffers
    cache available
    Mem: 31Gi 2.3Gi 26Gi 45Mi 317Mi
    2.4Gi 28Gi
    Swap: 9.9Gi 0B 9.9Gi
    Total: 41Gi 2.3Gi 36Gi

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Andy Burns on Fri Nov 20 20:25:31 2020
    On Fri, 20 Nov 2020 19:36:52 +0000, Andy Burns wrote:

    Martin Gregorie wrote:

    Apparently zswap is intended to prevent swapping from wearing out flash
    drives and has been around since 2013. The swap file/partition is still
    required to deal with the situation when memory gets oversubscribed:

    Isn't zswap different from swap on zram?

    The Wikipedia article I referenced describes zram as a swap device and
    zswap as a cache front-ending the swap device, i.o.w. zswap can deal with memory over-subscription by evicting pages to an external swap device:
    zram can't do this because it IS the swap device.

    The Wikipedia article describes them as alternatives.


    --
    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Andy Burns on Fri Nov 20 20:59:08 2020
    On Fri, 20 Nov 2020 20:37:43 +0000, Andy Burns wrote:

    Martin Gregorie wrote:

    The Wikipedia article I referenced describes zram as a swap device

    I think it's just a ram disc with compression, not specifically for swap

    and zswap as a cache front-ending the swap device, i.o.w. zswap can
    deal with memory over-subscription by evicting pages to an external
    swap device: zram can't do this because it IS the swap device.

    The Wikipedia article describes them as alternatives.

    Yep.

    My machine with the existing 5.9GB swap device and the new 4GB zram swap device, certainly thinks it's got a total 9.9GB swap space now.

    # free -hwt
    total used free shared buffers
    cache available
    Mem: 31Gi 2.3Gi 26Gi 45Mi 317Mi
    2.4Gi 28Gi
    Swap: 9.9Gi 0B 9.9Gi Total: 41Gi
    2.3Gi 36Gi

    Useful to know. Thanks.




    --
    --
    Martin | martin at
    Gregorie | gregorie dot org

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From druck@3:770/3 to Andy Burns on Sat Nov 21 13:24:50 2020
    On 20/11/2020 20:37, Andy Burns wrote:
    Martin Gregorie wrote:

    The Wikipedia article I referenced describes zram as a swap device

    I think it's just a ram disc with compression, not specifically for swap

    and zswap as a cache front-ending the swap device, i.o.w. zswap can
    deal with memory over-subscription by evicting pages to an external
    swap device: zram can't do this because it IS the swap device.

    The Wikipedia article describes them as alternatives.

    Yep.

    My machine with the existing 5.9GB swap device and the new 4GB zram swap device, certainly thinks it's got a total 9.9GB swap space now.

    The free command shows the sum of the sizes of all swap devices
    configured, but with zram swap active it will only ever use the zram RAM
    for swap, and not any other swap devices.

    As Martin says, that the difference between zram and zswap. zswap will
    store compressed pages in RAM, and when that's full start using whatever
    other swap device you have.

    ---druck

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)