LinuxQuestions.org
Visit Jeremy's Blog.
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 08-18-2019, 03:15 PM   #16
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,811

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447

I can't help but wonder why you need such a new kernel for such an old machine (no judgment... I have much older ones in service)? and did you build it yourself using "make oldconfig" first?
 
Old 08-18-2019, 08:27 PM   #17
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
I can't help but wonder why you need such a new kernel for such an old machine (no judgment... I have much older ones in service)? and did you build it yourself using "make oldconfig" first?
Well, I suppose I don't. But the laptop isn't my 'main machine'. I use it when I need to take it somewhere, but mostly for testing. I nearly always install or upgrade something on there first, so I can try it out before upgrading the PC I depend on. For example, I just recently put LibreOffice 6.2.6 on it, while my main PC is running 6.1.6 but I'll upgrade that soon.

The laptop also boots Xubuntu and Windows XP, but that's another story.

Also, I use the Slackware-provided generic-smp kernel. I haven't needed to build my own kernel since ... I can't remember. But I did it when we had floppy disk distributions. Building a recent kernel on a Pentium M with 2GB would probably be painful.
 
Old 08-19-2019, 04:30 PM   #18
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Quote:
Originally Posted by ljb643 View Post
Building a recent kernel on a Pentium M with 2GB would probably be painful.
The 2GB are more than enough for a 1 job make and the Pentium M would do it in a few hours 2-3 (I might be wrong).
Before going for your own compilation, I'd suggest to compare the .config files between 4.4.186 and 4.4.189, maybe you can catch something interesting there.
The kernel config for 4.4.189 is available in:
https://mirrors.slackware.com/slackw...p-noarch-1.txz
The one for 4.4.186 maybe you have it on your system ... it's gone from the Slackware mirrors.

Some extra check - are you sure your HDD is sane on that old computer? Could you just copy (read) the 4.4.189 files into a folder, watch if you experience some delays - check with dmesg for any HDD related messages. Using smartctl for a report might also be useful.
 
Old 08-19-2019, 08:05 PM   #19
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Original Poster
Rep: Reputation: Disabled
Disk is OK. Not as old as the laptop, checked frequently with smartctl, and not logging scary messages.

Slackware kernel config for 4.4.186 is identical to 4.4.189.

Just for fun, I built 4.4.189 from source on the laptop. You are correct, 2GB is just about enough, although it did use a tiny bit of swap. Mostly it takes a long time because single-core and slow processor. You were also right about the time: a little more than 3 hours.

I used the Slackware config but with one change: CONFIG_X86_VERBOSE_BOOTUP changed from 'y' to not set. It just turns off those messages that appear so slowly, during that 10 minute interval. The goal is just to see if the slowdown is the messages themselves, or something else.

And with those messages disabled, it boots fast as before. Which means the slow-down is actually from outputting those messages. Which is very strange.
 
2 members found this post helpful.
Old 08-19-2019, 08:08 PM   #20
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Happy to hear you made it work.

Maybe you could engage with the kernel devs and report this issue.
 
Old 08-19-2019, 08:43 PM   #21
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by ljb643 View Post
Thanks for the suggestion, but it made no difference. Still hangs.

And yet, you did help a lot. Because while starting to draft a reply, I let the laptop sit after BIOS data check successful. And in about 2 minutes, another line appeared: "early console in decompress_kernel". So I waited. Sure enough, 1 new line appeared every 1-2 minutes. On some lines, I get one character appearing every 4 seconds. Fascinating to watch.

It did this for about 10 minutes until "Decompressing Linux..." (wait), "Parsing ELF..." (wait), and then - back to normal speed as it booted up, with messages flying by.

Conclusion: Something is seriously wrong with pre-boot kernel decompression on this laptop and 4.4.189. Doesn't solve the problem, but maybe one step closer.
Accidental help is what I do best!
 
2 members found this post helpful.
Old 11-09-2019, 04:55 PM   #22
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Original Poster
Rep: Reputation: Disabled
Followup: The problem does not occur with the just-released Slackware-14.2 update to kernel-4.4.199. The laptop boots at normal speed. (I never upgraded it to 4.4.190, so I don't know exactly which version fixed the issue.)

Last edited by ljb643; 11-09-2019 at 04:57 PM.
 
  


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
[SOLVED] Error (md5sum) while slackpkg was running kernel update to 4.4.189 on Slackware64 14.2 TheTKS Slackware 3 08-21-2019 08:25 PM
[SOLVED] Removal of the hplip package causes system crash when using kde? (huge kernel 4.4.189) sxy Slackware 3 08-18-2019 04:34 AM
LXer: 189 lives changed - By Linux LXer Syndicated Linux News 0 06-24-2019 03:51 PM
[root@24-207-128-189 backgrounds]# WARNING: Your hard drive is failing darksaurian Linux - Hardware 10 01-09-2015 08:22 PM
LXer: Softpedia Linux Weekly, Issue 189 LXer Syndicated Linux News 0 03-04-2012 12:11 AM

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

All times are GMT -5. The time now is 11:05 PM.

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