LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2019, 05:52 PM   #1
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
Unhappy linux-5.4.6 2-minute pause on boot


agba was suggesting i start a new thread concerning this problem, which seems to have
started when slackware-current started using the 5.4 series kernel. First off the graphics
crapped out necessitating the use of nomodeset in my /etc/default/grub file and that helped,
than i found the boot up paused for two minutes at about the point eth0 initialized (e1000e)
and i thought it was the driver, no sorry it didn't seem so because i tried blacklisting the
driver and still obtained a 2 minute pause.
My motherboard is an asus rog strix z390-e gaming motherboard with an nvidia rtx 2060
graphics card. I am also running linux-5.4.6 kernel as of now. on my slackware-current
and i dual boot slackware-14.2 64 bit multi-lib which has no problem running on this systems
hardware with a linux kernel 4.4.202.
If any one has any suggestions or ideas on how to resolve this issue it might help slackware-current developement. Maybe it was too soon to to go to a 5.4 series kernel,
than again this is slackware-current after all.
 
Old 12-22-2019, 05:56 PM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by SunnyJim View Post
Maybe it was too soon to to go to a 5.4 series kernel,
than again this is slackware-current after all.
Perhaps. I'm running Slackware64-current on three desktops and three laptops; they're all running the 5.4.6 kernel. No issues to report.
 
Old 12-22-2019, 06:46 PM   #3
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
As I have mentioned on another thread I am also experiencing this 90 second pause in booting (currently with 5.4.5). My 'safety' kernel, which is 5.3.11, does not experience this issue. FWIW I compiled 5.3.11 but I doubt this has anything to do with this issue...

Edit: Just rebooted to double check and sure enough 5.3.11 boots fast and sure with no pause...

Last edited by andrew.46; 12-22-2019 at 06:51 PM.
 
Old 12-22-2019, 09:44 PM   #4
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Original Poster
Rep: Reputation: Disabled
Others have had problems with pauses in the boot up sequence and also graphics problems requiring "nomodeset" at boot up. Perhaps some sort of regression in the code.
I can't see any problems in /var/syslog or dmesg.

Last edited by SunnyJim; 12-22-2019 at 09:45 PM.
 
Old 12-22-2019, 11:12 PM   #5
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by SunnyJim View Post
i found the boot up paused for two minutes at about the point eth0 initialized (e1000e)
and i thought it was the driver, no sorry it didn't seem so because i tried blacklisting the
driver and still obtained a 2 minute pause.
It looks like an issue with the Random Number Generator (crng) that takes time to collect entropy. To test if it is the source of the problem, you can try to press keys on the keyboard during the boot (e.g. press backspace repeatedly) and see if the pause is shortened. You may also find a message with "crng init done" in the output of dmesg around (probably just after) the pause.

Last edited by philanc; 12-22-2019 at 11:13 PM. Reason: typo
 
1 members found this post helpful.
Old 12-23-2019, 06:39 AM   #6
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Original Poster
Rep: Reputation: Disabled
Yeah i obtained this:
dmesg | grep crng
[ 0.138800] random: crng done (trusting CPU's manufacturer)
so it looks like the boot up was done. pretty early with crng and the boot up was delayed about the same,
and i couldn't see any mention about crng in /var/syslog either.
 
Old 12-23-2019, 06:54 AM   #7
Hyperlonk
LQ Newbie
 
Registered: Nov 2018
Location: WWW
Distribution: Slackware-Current
Posts: 5

Rep: Reputation: Disabled
Quote:
Commenting out "compact" in /etc/lilo.conf and running lilo command fixed the issue for me.

Nevermind. It didn't fix it. I think moving the mouse on boot might give it more random data or something and that makes it not stall.

Last edited by Hyperlonk; 12-23-2019 at 07:16 AM.
 
Old 12-23-2019, 07:13 AM   #8
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Original Poster
Rep: Reputation: Disabled
First off i use grub not elilo which would be needed as i use uefi (/boot/efi with a vfat partition mounted on it). Using elilo causes me instability
in virtual terminal switching which is solved when i use grub for some reason (elilo is not as actively maintained as grub it would seem). Funny i would
need grub with my hardware but there you have it.
 
Old 12-25-2019, 01:16 AM   #9
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
I saw suggested above that removing 'compact' in /etc/lilo.conf might rectify the problem but this was not of use on my computer. Instead I received a colossal wait until 'BIOS Data check was successful' as well as a 2 minute wait after USB mounting

I would dearly like to solve this issue which did not exist in kernels previous and including 5.3.11. I am tempted to build some point releases after 5.3.11 to find where the issue crept in...
 
Old 12-25-2019, 08:34 AM   #10
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
I'm quite certain anyone here is already fundamentally aware of the nature of computer "hangs" but I find it useful and instructive to re-connect with those fundamentals as a means of reminding, clarifying, and narrowing the field.

I wouldn't be at all surprised if taking a few minutes to re-visit fundamentals triggers some memory of what could be the cause.

https://en.wikipedia.org/wiki/Hang_(computing)
 
Old 12-25-2019, 05:21 PM   #11
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Just to repost information from a previous thread that deals with the 90 second delay: a snipped section from dmesg showing where the delay happens consistently on every bootup:

Code:
[   10.917703] usbcore: registered new interface driver uvcvideo
[   10.918830] USB Video Class driver (1.1.1)
<---------------- Insert annoying 90 second delay here!! ---------------->
[  101.789179] Adding 4210772k swap on /dev/sda2.  Priority:-2 extents:1 across:4210772k SSFS
[  101.910105] EXT4-fs (sda1): re-mounted. Opts: (null)
[  102.098406] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
Lots of hits on 'Linux 90 second boot delay' but nothing useful yet...
 
Old 12-25-2019, 07:51 PM   #12
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Hmmm...no delays here. just updated 2 boxes: (1) Lenovo T510 laptop intel i7 M620 (2) Ryzen 7 3800X mini-ITX, X570 mobo + Radeon RX590 GPU. No pauses noticeable on boot. The Ryzen 7 cube boots up in about 10 seconds to console login prompt after UEFI BIOS.

No USB or other delays observed so far. Even Network manager starting to work a bit better.

So the question should be considered: Is Slackware + 5.4.x having boot or other delays, or is there something funky with certain motherboard hardware?
 
Old 12-25-2019, 08:37 PM   #13
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by kingbeowulf View Post
So the question should be considered: Is Slackware + 5.4.x having boot or other delays, or is there something funky with certain motherboard hardware?
There is another heatwave coming here over the next few days so I am going shelter inside in the air-con and search out when this started happening shortly after 5.3.11 (my 'safe' kernel while running -current) by compiling and testing the numerical releases after this. A little painful but perhaps useful.

It has been suggested elsewhere that the 90 second delay sounds like a timer that goes for its full length before giving up and allowing boot to continue. I suspect nothing Slackware specific, possibly your second choice of kernel vs certain hardware...

Edit: Well looks like I was talking a certain amount of crap! I have just finished compiling and running every version of 5.3.xx culminating with 5.3.18 and all boot beautifully. So in my case at least the culprit is 5.4.xx

Last edited by andrew.46; 12-26-2019 at 01:23 AM.
 
Old 12-26-2019, 01:33 AM   #14
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Is this possibly another i915 issue? If so that is getting fixes in 5.5 that should soon be absorbed into 5.4.

Last edited by enorbet; 12-26-2019 at 01:34 AM.
 
Old 12-26-2019, 02:03 AM   #15
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by enorbet View Post
Is this possibly another i915 issue? If so that is getting fixes in 5.5 that should soon be absorbed into 5.4.
Not for me at least, I am running an NVidia GTX 1660Ti...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab: minute hour or hour minute anon091 Linux - Newbie 2 11-04-2009 03:09 PM
[ pci: enabling device 00:03.3 ] infinite pause at kernel boot dool Slackware 1 08-05-2004 09:21 PM
RH & HP4050N PCL - page, pause, page, pause, page andguent Linux - Hardware 0 11-10-2003 08:35 AM
How can I pause boot so I can read info weshutchins Linux - Newbie 3 10-18-2003 08:49 AM
Kickstart boot pause problem theklink Linux - Hardware 0 03-29-2003 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration