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 01-14-2021, 08:06 PM   #46
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872

Quote:
Originally Posted by bassmadrigal View Post
simply run make bzImage modules
You compile a 2.4 kernel? Since 2.6 you just invoke make with no argument to buid bzImage and modules, maybe using the -j switch to speed compilation time
 
Old 01-15-2021, 02:41 AM   #47
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
I still use make bzImage also. Guess I missed the memo.
 
Old 01-15-2021, 06:00 AM   #48
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by GazL View Post
I still use make bzImage also. Guess I missed the memo.
Old habits I guess, I still remember the change as I switched distro from Redhat to Slackware when 2.6 was out, it was one on the first distro who used it and I needed a 2.6 compilation for my hardware (and as a bonus kernel compilation no longer required heavy patching!)
 
1 members found this post helpful.
Old 01-15-2021, 10:04 AM   #49
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by keefaz View Post
You compile a 2.4 kernel? Since 2.6 you just invoke make with no argument to buid bzImage and modules, maybe using the -j switch to speed compilation time
I've never looked into it. I guess they set up a default make, but either way works. (I have my -j option set as a environment variable upon login.)

I still use menuconfig, even though I know several people prefer one of the GUIs.
 
Old 01-15-2021, 08:00 PM   #50
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
OK. I compiled a kernel 5.10.7 yesterday evening and it works. Boots up every time.

Am going to investigate the other ideas in the last couple of posts and see how they work since I am not familiar with them.

Should make for interesting times.
 
Old 01-15-2021, 08:06 PM   #51
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by bassmadrigal View Post
Luckily, it's pretty easy. Grab a config from Pat and then save it as the .config, then simply run make bzImage modules, then make modules_install, finally copy the bzImage to your boot/EFI area, regen your initrd (if needed), and update your bootloader's config (and possibly rerun it, like if you're running lilo).
Hi bassmadrigal.
Won't that result in a carbon copy of what doesn't work now on my computer?
 
Old 01-16-2021, 12:56 PM   #52
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Gordie View Post
Hi bassmadrigal.
Won't that result in a carbon copy of what doesn't work now on my computer?
If it does make things not work, then you'd mark that bisect as bad and then compile the new bisect that is recommended and try again.

This is how specific commits are able to be determined to be the cause of the bug.
 
1 members found this post helpful.
Old 01-17-2021, 08:23 AM   #53
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Original Poster
Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by bassmadrigal View Post
If it does make things not work, then you'd mark that bisect as bad and then compile the new bisect that is recommended and try again.

This is how specific commits are able to be determined to be the cause of the bug.
Thanks for the encouragement and instructions.

I approach 70 yrs old now. Haven't compiled a kernel in at least 25 years now. I made another try last night. Will try it out today after I return from town (2 hour round trip). Gonna try a bisect now that the fear is gone.

EDIT - I used Pat's config and also the source from the Slackware file tree. You would think that it would produce a carbon copy of his 5.10.7-generic kernel with any flaws in the boot process I have been experiencing *BUT* it boots and it boots every time so what do I make of that?

What should I attempt to bisect? 5.10.1 or something else?

Thanks again
Gordon Gibson

Last edited by Gordie; 01-17-2021 at 06:04 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
uncompressing linux... ok booting the kernel hang message while OS booting ravindert Linux - Server 1 04-29-2013 12:58 PM
Problem while loading a kernel module while booting zaphod42 Linux - Server 2 08-02-2010 08:33 AM
Init Hangs while booting... gaccookie Linux - Newbie 28 12-14-2004 10:02 PM
Hangs while booting USB Controller jale2ice Linux - Newbie 9 08-11-2002 02:03 PM
Redhat 7.1 setup hangs while booting uniball Linux - Software 10 01-02-2002 07:29 PM

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

All times are GMT -5. The time now is 03:15 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