Hey. No, I am using Pen Drive / Flash drive / USB.AcnapyxoB wrote: ↑03 May 2020, 07:39meet are you using SSD, if yes check this:
viewtopic.php?f=81&t=8447
Start-up Hang due to unknown background processing
Start-up Hang due to unknown background processing
Start-up Hang due to unknown background processing
meet You are using USB, but have you HDD on your PC?
Porteus v5.01 KDE x86_64
Start-up Hang due to unknown background processing
I ask because I had similar problem. I change my Disc with SSD and met the problem with lack of enough entropy during boot.
I solve the problem with haveged:
Take haveged from USM or
from https://packages.slackonly.com/pub/pack ... slonly.txz,
convert to module, put it in base folder, then add cliexec=haveged~start in boot/syslinux/porteus.cfg APPEND field and reboot for test!
Porteus v5.01 KDE x86_64
Start-up Hang due to unknown background processing
hi meet file system that you use for.....or you have strange file system that the boot have to mount? fdisk -l on konsole or gparted, but only to show the file system of all devices. and if i remeber well haveged is part of slackware core in /a directory
Start-up Hang due to unknown background processing
sorry, my mistake only slackware current have this package on a/ directory not 14.2
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Start-up Hang due to unknown background processing
An interesting description.
How does this solve a slow start-up?
Code: Select all
PACKAGE DESCRIPTION:
# haveged (A simple entropy daemon)
#
# The haveged project is an attempt to provide an easy-to-use,
# unpredictable random number generator based upon an adaptation of the
# HAVEGE algorithm. Haveged was created to remedy low-entropy
# conditions in the Linux random device that can occur under some
# workloads, especially on headless servers.
#
Start-up Hang due to unknown background processing
The Linux kernel generates entropy from keyboard timings, mouse movements, and IDE timings and makes the random character data available to other operating system processes through the special files /dev/random and /dev/urandom. This capability was introduced in Linux version 1.3.30Ed_P wrote: ↑03 May 2020, 20:50An interesting description.How does this solve a slow start-up?Code: Select all
PACKAGE DESCRIPTION: # haveged (A simple entropy daemon) # # The haveged project is an attempt to provide an easy-to-use, # unpredictable random number generator based upon an adaptation of the # HAVEGE algorithm. Haveged was created to remedy low-entropy # conditions in the Linux random device that can occur under some # workloads, especially on headless servers. #
There are some Linux kernel patches allowing one to use more entropy sources. The audio_entropyd project, which is included in some operating systems such as Fedora, allows audio data to be used as an entropy source. Also available are video_entropyd which calculates random data from a video-source and entropybroker which includes these three and can be used to distribute the entropy data to systems not capable of running any of these (e.g. virtual machines). Furthermore, one can use the HAVEGE algorithm through haveged to pool entropy. In some systems, network interrupts can be used as an entropy source as well.
https://en.wikipedia.org/wiki/Entropy_(computing)
Porteus v5.01 KDE x86_64
Start-up Hang due to unknown background processing
In my case the system was not enough entropy after changing the HDD (rotating disk drive) with SSD!
Porteus boot on black screen, without loading DE (have to move mouse or touch keyboard to generate entropy)
Respectively solved with haveged-1.9.2, as I describe above.
Porteus boot on black screen, without loading DE (have to move mouse or touch keyboard to generate entropy)

Respectively solved with haveged-1.9.2, as I describe above.
Porteus v5.01 KDE x86_64
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Start-up Hang due to unknown background processing
Would putting cliexec=haveged~start in /etc/rc.d/rc.local work also?AcnapyxoB wrote: ↑03 May 2020, 15:40Take haveged from USM or
from https://packages.slackonly.com/pub/pack ... slonly.txz,
convert to module, put it in base folder, then add cliexec=haveged~start in boot/syslinux/porteus.cfg APPEND field and reboot for test!
Start-up Hang due to unknown background processing
Ed_P May be it's posible, but porteus.cfg seems like more flexible solution!
Porteus v5.01 KDE x86_64
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Start-up Hang due to unknown background processing
Not in my world.
Code: Select all
menuentry " Porteus 4.0 ISO - changes=" --class slackware --class icon-porteus {
set boot_parms="volume=33 reboot=cold $extramods$linux_folder/Modules noload=cinnamon changes=EXIT:$linux_folder/changes/porteussave.dat cliexec=haveged~start"
search -f $iso --set=root
loopback loop $iso
linux (loop)/boot/syslinux/vmlinuz from=$iso $boot_parms
initrd (loop)/boot/syslinux/initrd.xz
}
- ncmprhnsbl
- DEV Team
- Posts: 4256
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Start-up Hang due to unknown background processing
somehow i don't think this is an entropy problem in this case, since the lag happens after the DE(kde in this case) loads ..
might be worth trying noauto cheatcode to stop internal drives from mounting at boot time to eliminate (something going on with that) from the equation..
tend to think of baloo search indexer when it comes to kde lag.. less drives to index might help..
the other thing to try is "Always Fresh" ie. without changes or added modules and see if the lag occurs there..
might be worth trying noauto cheatcode to stop internal drives from mounting at boot time to eliminate (something going on with that) from the equation..
tend to think of baloo search indexer when it comes to kde lag.. less drives to index might help..
the other thing to try is "Always Fresh" ie. without changes or added modules and see if the lag occurs there..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Start-up Hang due to unknown background processing
I deleted the save file and re-made it from a fresh boot. And now the lag is gone, at least in Cinnamon. I haven't checked in KDE though. Probably the same thing will work on that too.ncmprhnsbl wrote: ↑05 May 2020, 08:27the other thing to try is "Always Fresh" ie. without changes or added modules and see if the lag occurs there..
Just to put it, the save file wasn't full. I hardly had 50 MB worth data in the 1.5 GB save file. But we need to find out why it happened, so that I can avoid it from happening again.
The files that I had on save.dat are back again. I have copied them again I mean. Just the setting files and my modifications in the config files are not done and hence are not present in the save.dat
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Start-up Hang due to unknown background processing
I think your save.dat file is too big meet and loading it from the USB drive is slow. Try a save.dat of 512MG or less. Mine is 393 MB and I have about 120 MB free and have been using it for a long time.
BTW in the cliexec=haveged~start command mentioned above is the ~start part to be taken literally? Usually parms are preceeded by a - or /.
BTW in the cliexec=haveged~start command mentioned above is the ~start part to be taken literally? Usually parms are preceeded by a - or /.