LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 09-28-2022, 01:26 PM   #1
kkoistinen
Member
 
Registered: Jul 2012
Posts: 64

Rep: Reputation: Disabled
Gentoo stops booting at system clock initialization


Hello everyone,

I am trying to get Gentoo working on a laptop. Everything seems to go fine until "Setting system clock by hardware clock" is being processed and then everything just freezes. Any thoughts on how to fix this problem? This is my first installation.

SOLVED: Edited out all the options in hwclock

Last edited by kkoistinen; 09-28-2022 at 02:49 PM.
 
Old 09-29-2022, 10:56 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I'm mostly replying to kick it out from ZRT, but curious also, do you have /dev/rtc0 node? If you run 'hwclock -r', what happens, will it show RTC time?
 
Old 10-12-2022, 12:37 PM   #3
kkoistinen
Member
 
Registered: Jul 2012
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
I'm mostly replying to kick it out from ZRT, but curious also, do you have /dev/rtc0 node? If you run 'hwclock -r', what happens, will it show RTC time?
I managed to get by the time part. I was using wrong guide and started doing fresh install with Gentoo Wiki. Now boot starts and goes past the system clock setting but stops at the "Checking local filesystems" part. Is this problem caused by erroneous hard drive or faulty setup? I am thinking about possibility that fstab file is somehow not valid. Do you have any suggestions on where to start fixing this?

Kimmo

Last edited by kkoistinen; 10-12-2022 at 12:44 PM.
 
Old 10-12-2022, 12:49 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
You can set rc_interactive="YES" in rc.conf, then you can boot interactively and see exactly what is the culprit. You can disable filesystem checks in fstab if you believe there is a problem, but why should there be? Just make sure all filesystems exist and are associated with correct devices.
 
Old 10-12-2022, 01:22 PM   #5
kkoistinen
Member
 
Registered: Jul 2012
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
You can set rc_interactive="YES" in rc.conf, then you can boot interactively and see exactly what is the culprit. You can disable filesystem checks in fstab if you believe there is a problem, but why should there be? Just make sure all filesystems exist and are associated with correct devices.
Thank you for help. I tried interactive boot and problem seems to start when I am asked about service modules. Before that there's udev-trigger in case it is causing the problem. Could it be that kernel is faulty? fstab has proper drives and their types. I can paste information here if you want to. When I skip udev-trigger I can start gentoo pretty normally and all the drives etc are in place.

Last edited by kkoistinen; 10-12-2022 at 01:29 PM.
 
Old 10-12-2022, 02:14 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I don't know about any service modules, can you be a little more specific?
 
Old 10-26-2022, 09:56 AM   #7
kkoistinen
Member
 
Registered: Jul 2012
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
I don't know about any service modules, can you be a little more specific?
Boot stopped at service modules last time I wrote about this. Anyway I think I solved the problem and boot issue. The reason was that I hadn't installed proper firmware. I Installed this and recompiled kernel and I can now boot without problems. Now I have to fix network issues but that's another story. Thank you very much for instructions on interactive boot - it helped me a lot.

SOLUTION: Check that sys-kernel/linux-firmware is installed. If it isn't installed install it and recompile kernel. This solved my problem.

Last edited by kkoistinen; 10-26-2022 at 11:46 AM.
 
  


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
LXer: Booting an Intel Architecture System, Part I: Early Initialization LXer Syndicated Linux News 0 12-26-2011 09:20 AM
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
booting stops at 'setting up the cmos clock' sirius57 SUSE / openSUSE 1 12-08-2008 01:12 AM
system clock,hardware clock varunbihani Linux - Newbie 2 07-23-2005 09:04 AM
system clock vs. CMOS clock dtamajka Linux - General 7 12-11-2003 05:56 PM

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

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