LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Requests for -current (14.2-->15.0) (https://www.linuxquestions.org/questions/slackware-14/requests-for-current-14-2-15-0-a-4175620463/)

chrisretusn 03-15-2021 02:45 AM

Quote:

Originally Posted by LuckyCyborg (Post 6230377)
Trying to build Firefox on a box with 8GB of RAM, you will end on "swap hell", like I said after my experiments.

BTW, by "swap hell" I understand this state of the box when it become fully unresponsive and even you cannot SSH to it, while the hard drives works like nuts. I leaved one box for about 10 hours in this state. Nothing changed.

On this box with 8GB of ram, all four CPU's running at near 100% I was watching YouTube videos while waiting for the compile to finish. Was it a bit sluggish, yes, unresponsive, no. I didn't try to SSH to it from another box, but I am 100% certain would have been able to. Was swap in use? Yes it was. Like I said earlier, the compile took a couple of hours. I think I'll try it from my laptop.
Code:

Memory:    RAM: total: 3.71 GiB used: 400.7 MiB (10.5%)
          Array-1: capacity: 32 GiB slots: 2 EC: None
          Device-1: ChannelA-DIMM0 size: No Module Installed
          Device-2: ChannelA-DIMM1 size: No Module Installed
          Device-3: ChannelB-DIMM0 size: 4 GiB speed: 2133 MT/s
          Device-4: ChannelB-DIMM1 size: No Module Installed
CPU:      Info: Dual Core model: Intel Core i3-7130U bits: 64 type: MT MCP L2 cache: 3 MiB
          Speed: 2700 MHz min/max: 400/2700 MHz Core speeds (MHz): 1: 2700 2: 2700 3: 2700 4: 2700


Roman Dyaba 03-15-2021 04:43 AM

1 Attachment(s)
Quote:

Originally Posted by chrisretusn (Post 6230461)
On this box with 8GB of ram, all four CPU's running at near 100% I was watching YouTube videos while waiting for the compile to finish. Was it a bit sluggish, yes, unresponsive, no. I didn't try to SSH to it from another box, but I am 100% certain would have been able to. Was swap in use? Yes it was. Like I said earlier, the compile took a couple of hours. I think I'll try it from my laptop.
Code:

Memory:    RAM: total: 3.71 GiB used: 400.7 MiB (10.5%)
          Array-1: capacity: 32 GiB slots: 2 EC: None
          Device-1: ChannelA-DIMM0 size: No Module Installed
          Device-2: ChannelA-DIMM1 size: No Module Installed
          Device-3: ChannelB-DIMM0 size: 4 GiB speed: 2133 MT/s
          Device-4: ChannelB-DIMM1 size: No Module Installed
CPU:      Info: Dual Core model: Intel Core i3-7130U bits: 64 type: MT MCP L2 cache: 3 MiB
          Speed: 2700 MHz min/max: 400/2700 MHz Core speeds (MHz): 1: 2700 2: 2700 3: 2700 4: 2700


Wait Frontier or EL-Capitan ;-)

i'm use dual core AMD BE2300 2 Gb RAM, but all good compilation from 1 night up to 3 day's !
But i can use ready Firefox from him site.
OpenSUSE build service is ready to use too. https://openbuildservice.org/
Is not a stop.

I mean Firefox 86 and UP line is ready to mainstream now. But Developer Edition.
https://www.mozilla.org/en-US/firefo...edium=referral

" Firefox Browser Developer Edition
The browser made for developers
All the latest developer tools in beta, plus experimental features like the Multi-line Console Editor and WebSocket Inspector.
A separate profile and path so you can easily run it alongside Release or Beta Firefox.
Preferences tailored for web developers: Browser and remote debugging are enabled by default, as are the dark theme and developer toolbar button."
Attachment 35851
"New Tools:
Firefox DevTools
The new Firefox DevTools are powerful, flexible, and best of all, hackable. This includes a best-in-class JavaScript debugger, which can target multiple browsers and is built in React and Redux."
https://download.mozilla.org/?produc...x64&lang=en-US



My web's:
http://7cyber.usluga.me
https://vk.com/7cyber
https://vk.com/dyabaru

LuckyCyborg 03-15-2021 06:19 AM

Quote:

Originally Posted by chrisretusn (Post 6230461)
On this box with 8GB of ram, all four CPU's running at near 100% I was watching YouTube videos while waiting for the compile to finish. Was it a bit sluggish, yes, unresponsive, no. I didn't try to SSH to it from another box, but I am 100% certain would have been able to. Was swap in use? Yes it was. Like I said earlier, the compile took a couple of hours. I think I'll try it from my laptop.
Code:

Memory:    RAM: total: 3.71 GiB used: 400.7 MiB (10.5%)
          Array-1: capacity: 32 GiB slots: 2 EC: None
          Device-1: ChannelA-DIMM0 size: No Module Installed
          Device-2: ChannelA-DIMM1 size: No Module Installed
          Device-3: ChannelB-DIMM0 size: 4 GiB speed: 2133 MT/s
          Device-4: ChannelB-DIMM1 size: No Module Installed
CPU:      Info: Dual Core model: Intel Core i3-7130U bits: 64 type: MT MCP L2 cache: 3 MiB
          Speed: 2700 MHz min/max: 400/2700 MHz Core speeds (MHz): 1: 2700 2: 2700 3: 2700 4: 2700


Well, that box of mine with Intel Core i3-3220T and 8GB DDR3 1600MHz was utterly defeated by this Firefox build. It ended on a full freeze/unresponsive state.

And so did also the other boxes other than my main computer, which does fine this job.

Considering that you claim that the Firefox build worked for you on a box with 8GB RAM, probably another element enters in the game. Probably the hard drive?

True, I for one, I have a SSD only in the main computer, the others have mechanical/rotational hard drives.

Anyway, looks like the Firefox build may or may not work on a quite decent box with 8GB RAM.

BTW, I could ask you why you are against the addition of an alternate Firefox package on -current?

In the end, I do not asked to be replaced the package of Firefox for Enterprise, but for an alternate package.

After all, for Mr. Volkering would be probably matter of minutes to build a whatever Firefox package on his 44 cores build farm, while us we should struggle at least for hours with this, even may we will not end on unresponsive systems.

gmgf 03-15-2021 07:38 AM

I use https://ftp.mozilla.org/pub/firefox/.../linux-x86_64/ version, since longtime.

uncompress it, in /home/me/firefox

linked the exec on the desktop or taskbar, and that work fine. ;)

Petri Kaukasoina 03-15-2021 07:41 AM

Quote:

Originally Posted by LuckyCyborg (Post 6230488)
Well, that box of mine with Intel Core i3-3220T and 8GB DDR3 1600MHz was utterly defeated by this Firefox build. It ended on a full freeze/unresponsive state.
...
Considering that you claim that the Firefox build worked for you on a box with 8GB RAM, probably another element enters in the game. Probably the hard drive?

Quote:

Originally Posted by LuckyCyborg (Post 6230336)
NOT when on a box with 8GB RAM, the associated 8GB SWAP is used almost integrally. ;)

Believe or NOT, I known about swapping on RAM and I use also techniques like compressed SWAP caches.

BTW, usually I add to kernel command line as standard:
Code:

zswap.enabled=1 zswap.compressor=lzo zswap.max_pool_percent=20 zswap.zpool=z3fold

You could try it without misusing your ram. Let the hard drive provide /tmp and swap. (You didn't use PGO, did you?)

LuckyCyborg 03-15-2021 08:08 AM

Quote:

Originally Posted by Petri Kaukasoina (Post 6230505)
You could try it without misusing your ram. Let the hard drive provide /tmp and swap. (You didn't use PGO, did you?)

I used on my tests the standard mozilla-firefox.SlackBuild as provided by Slackware, having enabled the CLang after the instructions given by @Ponce - this happened before, because now it uses the CLang by default.

And yes, the /tmp is just a folder on root filesystem and the swap is a standard Linux swap partition of 8GB.

So, I do not think that I misused my RAM in some way.

However, I will say again, to be very clear that, I for one, I have a box to do this job: my main computer with 16GB RAM of DDR3 1333MHz and a CPU of AMD Athlon x4 605e.

So, I do not did this discussion about building Firefox from an egoistically POV... ;)

chrisretusn 03-15-2021 08:45 AM

Quote:

Originally Posted by LuckyCyborg (Post 6230488)
Well, that box of mine with Intel Core i3-3220T and 8GB DDR3 1600MHz was utterly defeated by this Firefox build. It ended on a full freeze/unresponsive state.

And so did also the other boxes other than my main computer, which does fine this job.

Considering that you claim that the Firefox build worked for you on a box with 8GB RAM, probably another element enters in the game. Probably the hard drive?

My claim is factual, I built it, I am using it now. I'm curious as to what element made this possible, hard drive, I think not.
Code:

System:    Kernel: 5.11.6 x86_64 bits: 64 Desktop: KDE Plasma 5.21.2 Distro: Slackware 14.2
Machine:  Type: Desktop System: Gigabyte product: M68MT-S2 v: N/A serial: <filter>
          Mobo: Gigabyte model: M68MT-S2 serial: <filter> BIOS: Award v: F1 date: 11/15/2010
CPU:      Info: Quad Core model: AMD Phenom II X4 840 bits: 64 type: MCP L2 cache: 2 MiB
          Speed: 800 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 800 2: 3200 3: 800 4: 800
Graphics:  Device-1: NVIDIA GF108 [GeForce GT 730] driver: nvidia v: 390.141
          Display: server: X.Org 1.20.10 driver: loaded: nvidia unloaded: modesetting,nouveau,nv,vesa
          resolution: 1366x768~60Hz
          OpenGL: renderer: GeForce GT 730/PCIe/SSE2 v: 4.6.0 NVIDIA 390.141
Audio:    Device-1: NVIDIA MCP61 High Definition Audio driver: snd_hda_intel
          Device-2: NVIDIA GF108 High Definition Audio driver: snd_hda_intel
          Sound Server: ALSA v: k5.11.6
Network:  Device-1: NVIDIA MCP61 Ethernet type: network bridge driver: forcedeth
          IF: eth2 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 1.82 TiB used: 1.11 TiB (60.9%)
          ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-22MFCA0 size: 931.51 GiB
          ID-2: /dev/sdb vendor: Western Digital model: WD10EZRX-00D8PB0 size: 931.51 GiB
Partition: ID-1: / size: 91.12 GiB used: 34.43 GiB (37.8%) fs: ext4 dev: /dev/sda1
          ID-2: /home size: 817.52 GiB used: 511.4 GiB (62.6%) fs: ext4 dev: /dev/sda3
Swap:      ID-1: swap-1 type: partition size: 8.13 GiB used: 0 KiB (0.0%) dev: /dev/sda2
Sensors:  System Temperatures: cpu: 26.0 C mobo: N/A gpu: nvidia temp: 39 C
          Fan Speeds (RPM): N/A gpu: nvidia fan: 30%
Info:      Processes: 236 Uptime: 5h 46m Memory: 7.77 GiB used: 3.6 GiB (46.3%) Shell: Bash inxi: 3.2.02

I am currently building Firefox on my laptop. I used "time" for that run. I gave the inxi -C -m specs on that in an earlier post. This laptop does not have an SSD drive.

Quote:

Anyway, looks like the Firefox build may or may not work on a quite decent box with 8GB RAM.
Agree with may or may not, yet I have done so on this box and waiting on it to complete on my laptop with 8GB RAM.

Quote:

BTW, I could ask you why you are against the addition of an alternate Firefox package on -current?
This is what I said.
Quote:

Originally Posted by chrisretusn (Post 6230300)
Who needs extra or testing when I can just build it.


:hattip: Pat and ponce!

Where in that statement does it say I am against this. That is your take (and apparently a few others) on my post. I simply saying that I can built it, so who needs extra. I could have said "you can just build it", I didn't, either way that does not mean or even imply that I am against it.

When Firefox ESR because somewhat of the staple in Slackware (around 14.0 or so), I was building the Firefox release version using the contents of /source/xap/mozilla-firefox/. As time progressed, this became more of a task to get a successful build. May last attempt was with Firefox Eventually I just rolled with Firefox ESR. With this latest change building from the source tree is again as simple as plugging in the source tarball and running the SlackBuild.

Quote:

In the end, I do not asked to be replaced the package of Firefox for Enterprise, but for an alternate package.
Aside from the development branches of Firefox there are only two release branches. The Extended Support Release ESR version and Rapid release version. The Firefox for Enterprise is the Extended Support Release which can also be used for Personal use.

If you not up to building from source, then there is ruario's latest-firefox.sh script. I works just fine.

Quote:

After all, for Mr. Volkering would be probably matter of minutes to build a whatever Firefox package on his 44 cores build farm, while us we should struggle at least for hours with this, even may we will not end on unresponsive systems.
Well that is his decision to make. I'm fine with what ever he decides. Putting the "Rapid release" version in extra, would be fine with me. Firefox used to be part of Slackware, until this rapid release stuff started.

LuckyCyborg 03-15-2021 09:19 AM

Quote:

Originally Posted by chrisretusn (Post 6230527)
Putting the "Rapid release" version in extra, would be fine with me. Firefox used to be part of Slackware, until this rapid release stuff started.

About what "rapid release" you talk? There's no such thing.

Let's do some facts check, according with Mozilla: https://www.mozilla.org/en-US/firefox/browsers/

So, the Mozilla itself claims that those are the types of Firefox:

- Desktop, the one made for home users and which I proposed to be added as an alternate package, after long years of successful usage of it, both on Microsoft Windows 7, 8, 8.1 and 10, and different Linux flavors, including 5 years of Slackaware -current.
- Mobile, the one for Android and iOS smartphones and tablets - I hope that there we will not disagree.
- Enterprise, the one which is shipped today on the main tree of Slackware and which you claim being @TheRealFirefox.
- Reality, the one made to have a 3D interface, for Virtual Reality devices - I hope again that there we will not disagree.
- Developer, which essentially are the beta Desktop releases with some additional tools enabled.

Again, there's no such thing like a "Rapid Release" of Firefox - all those four stable types of Firefox have often published releases.

BTW, this is the box which failed multiple times to build Firefox - and while it's my usual second box, there are another 10 boxes with various (old) hardware, which glorious failed to build it.
Code:

System:    Host: darkstar.example.org Kernel: 5.10.23 x86_64 bits: 64 Desktop: KDE Plasma 5.21.2 Distro: Slackware 14.2
Machine:  Type: Desktop System: OEGStone product: DH61DL v: N/A serial: <filter>
          Mobo: Intel model: DH61DL v: AAG14066-205 serial: <filter> UEFI: Intel v: BEH6110H.86A.0120.2013.1112.1412
          date: 11/12/2013
Memory:    RAM: total: 7.61 GiB used: 5.52 GiB (72.5%)
          Array-1: capacity: 16 GiB slots: 2 EC: None
          Device-1: CHANNEL A DIMM0 size: 4 GiB speed: 1600 MT/s
          Device-2: CHANNEL A DIMM0 size: 4 GiB speed: 1600 MT/s
CPU:      Info: Dual Core model: Intel Core i3-3220T bits: 64 type: MT MCP L2 cache: 3 MiB
          Speed: 2045 MHz min/max: 1600/2800 MHz Core speeds (MHz): 1: 2045 2: 2211 3: 2016 4: 1974
Graphics:  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics driver: i915 v: kernel
          Display: x11 server: X.Org 1.20.10 driver: loaded: modesetting resolution: 1600x900~60Hz
          OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1) v: 4.2 Mesa 21.0.0
Audio:    Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd_hda_intel
          Sound Server: ALSA v: k5.10.23
Network:  Device-1: Intel 82579V Gigabit Network driver: e1000e
          IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 931.51 GiB used: 857.96 GiB (92.1%)
          ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-00ZF5A0 size: 931.51 GiB
Partition: ID-1: / size: 97.93 GiB used: 62.58 GiB (63.9%) fs: ext4 dev: /dev/sda3
Swap:      ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) dev: /dev/sda2
Sensors:  System Temperatures: cpu: 42.5 C mobo: 41.0 C
          Fan Speeds (RPM): cpu: 715 mobo: 620
Info:      Processes: 208 Uptime: 7h 04m Shell: Bash inxi: 3.2.02

While this is my main computer, which always succeeds to build Firefox.
Code:

System:    Host: darkstar.example.org Kernel: 5.11.6 x86_64 bits: 64 Desktop: KDE Plasma 5.21.2 Distro: Slackware 14.2
Machine:  Type: N/A System: Gateway product: DT55 v: N/A serial: <filter>
          Mobo: N/A model: N/A serial: N/A UEFI: Gateway v: P01-A3 date: 08/10/2010
Memory:    RAM: total: 15.14 GiB used: 3.21 GiB (21.2%)
          RAM Report: message: No RAM data was found.
CPU:      Info: Quad Core model: AMD Athlon II X4 605e bits: 64 type: MCP L2 cache: 2 MiB
          Speed: 800 MHz min/max: 800/2300 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] RS880 [Radeon HD 4250] driver: radeon v: kernel
          Display: x11 server: X.Org 1.20.10 driver: loaded: ati,radeon unloaded: modesetting,vesa resolution: 1680x1050~60Hz
          OpenGL: renderer: AMD RS880 (DRM 2.50.0 / 5.11.6 LLVM 11.1.0) v: 3.3 Mesa 21.0.0
Audio:    Device-1: Advanced Micro Devices [AMD/ATI] SBx00 Azalia driver: snd_hda_intel
          Sound Server: ALSA v: k5.11.6
Network:  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
          IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 3.3 TiB used: 2.66 TiB (80.8%)
          ID-1: /dev/sda vendor: Western Digital model: WDS240G2G0A-00JH30 size: 223.58 GiB
          ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-00BN5A0 size: 931.51 GiB
          ID-3: /dev/sdc vendor: Toshiba model: DT01ACA200 size: 1.82 TiB
Partition: ID-1: / size: 108.75 GiB used: 56.22 GiB (51.7%) fs: ext4 dev: /dev/sda2
Swap:      ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) dev: /dev/sdb5
Sensors:  System Temperatures: cpu: 36.0 C mobo: 34.0 C
          Fan Speeds (RPM): cpu: 818
Info:      Processes: 234 Uptime: 47m Shell: Bash inxi: 3.2.02


Andypoo 03-15-2021 11:18 AM

Quote:

Originally Posted by Andypoo (Post 6229373)
mmc_block module is still getting missed from the initial initrd.img that gets created when doing installs on mmcblk0 devices.

I dug into this further. The issue stems from the mmc_block module having an internal name of mmcblk. This means that the script in mkinitrd to generate the module list misses it.

I put in a specific workaround for this in the patch below. A little ugly, but gets the job done. And can't think of a much better way given the mismatch in the module's module and internal name.

Andrew.

Code:

--- mkinitrd_command_generator.sh        2021-03-15 18:15:39.000000000 +0200
+++ mkinitrd_command_generator_new.sh        2021-03-15 18:15:29.000000000 +0200
@@ -212,6 +212,7 @@
  MLIST=$(for i in $(find /sys/block/*/ -name "device" -print0 | xargs -0 -i'{}' readlink -f '{}' | sort -u); do
    /sbin/udevadm info --query=all --path=$i --attribute-walk | \
      sed -ne 's/^[[:blank:]]\+DRIVER[S]*=="\([^"]\+\)"$/\1/p' | \
+      sed -e 's/^mmcblk$/mmc_block/' | \
      xargs -I@ /sbin/modprobe --set-version $KVER --show-depends @ \
      2>/dev/null | grep -v "builtin " | \
      while read LINE ; do


rasp 03-15-2021 02:05 PM

Quote:

Originally Posted by LuckyCyborg (Post 6230235)
[....]
Also, IF you do not know yet, it's empirically confirmed that our BDFL knows a way to convince Firefox to NOT try to update itself while it's built as "system package" and so we already have Firefox for Enterprise 78.x packaged on Slackware -current.

Just my 0,02₽ (Russian Ruble)

seems to be a little misunderstanding here I deliberately installed _that_ FF as my "user" so it can update itself....

-rasp

Petri Kaukasoina 03-15-2021 03:23 PM

Quote:

Originally Posted by LuckyCyborg (Post 6230547)
BTW, this is the box which failed multiple times to build Firefox - and while it's my usual second box, there are another 10 boxes with various (old) hardware, which glorious failed to build it.

OK, I tried it, too. My Pentium 4 with 3.25 GB of RAM just built firefox-86.0.1 successfully using slackware64-current and kernel 5.11.6. It took almost 12 hours of wall clock time. There is only one core but two hyperthreads per core, which made the slackbuild use NUMJOBS=3, and it still could manage it.

I use bfq as the io scheduler, so the interactive use does not suffer too much from the heavy i/o during compilation: scsi_mod.use_blk_mq=1 appended to the kernel command line and this as /etc/udev/rules.d/55-disk-scheduler.rules
Code:

ACTION=="add|change", KERNEL=="sd[a-z]|mmcblk[0-9]*|nvme[0-9]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline"
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq"


Didier Spaier 03-15-2021 04:33 PM

LuckyCyborg au tableau d'honneur :-)
 
Code:

Mon Mar 15 19:37:28 UTC 2021
<snip>
xap/mozilla-firefox-86.0.1-x86_64-1.txz:  Upgraded.
  When we first moved Slackware to the Firefox ESR channel, the motivation
  was to keep Firefox secure while delaying a requirement for Rust at build
  time. Of course, eventually that ESR version reached EOL and we had to
  introduce Rust into Slackware 14.2 in order to continue providing updates.
  Eventually that also ran into roadblocks as Firefox required first newer
  C/C++ compilers, and then finally a newer libstdc++. To continue, we'd
  have had to bump GCC to a much newer version, making other maintenance
  difficult or impossible. At this point, the latest Firefox has no additional
  dependencies beyond those of the ESR version, and it's unlikely that it
  will be any more difficult to keep it maintained. I think we all want the
  Slackware 15.0 release to be as good as possible, and most users will be
  better served if we resume following the latest desktop releases.
  Thanks to LuckyCyborg who can always be counted on to give me a friendly
  kick in the rear end. :-) Thanks also to ponce for the updated gkrust patch.


cwizardone 03-15-2021 04:35 PM

Mod. Please delete.
Posted in wrong topic.
Thanks.

upnort 03-15-2021 06:43 PM

Pat,

By popular demand looks like Slackware is back on the rapid release version of Firefox. Please consider adding ESR to /extra.

Thanks.

drgibbon 03-15-2021 09:02 PM

Quote:

Originally Posted by LuckyCyborg (Post 6230547)
Again, there's no such thing like a "Rapid Release" of Firefox - all those four stable types of Firefox have often published releases.

Just from using the ESR channel you can see that it doesn't update as often (less "rapid"), but anyway, "rapid release" is Mozilla's own terminology:
Quote:

We currently offer two paths for Firefox updates: rapid release and Extended Support Release (ESR).
  • Rapid release: receives major updates every four weeks and minor updates such as crash fixes and security fixes as needed during those four weeks.
  • Extended Support Release (ESR): receives major updates on average every 42 weeks with minor updates such as crash fixes, security fixes and policy updates as needed, but at least every four weeks.
In addition to different update cycles, the ESR currently has access to additional policies that are not available on rapid release.


All times are GMT -5. The time now is 06:24 AM.