Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot hangs at switching to clocksource
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sumnersaf
n00b
n00b


Joined: 08 Apr 2014
Posts: 8

PostPosted: Fri Apr 11, 2014 4:43 am    Post subject: Boot hangs at switching to clocksource Reply with quote

Hello all. I have been using Ubuntu for about a year now and I want to give Gentoo a try. I am having trouble getting the system to boot. Boot hangs at switching to clocksource. I have already been threw the forums and have already double checked that CONFIG_DEVTMPFS{,_MOUNT} is enabled. I am not sure where to go form here.
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Apr 11, 2014 9:47 am    Post subject: Reply with quote

1/ You can try booting with the notsc kernel commandline option.

2/ The real problem could well be, not with the tsc, but with the next operation off the boot process.

Most probably some driver's initialization.
=> Ensure that the kernel can find all the firmwares the modules might need. (Especially the graphic modules)

--Moved from Installing Gentoo to Kernel & Hardware.--
_________________
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14290

PostPosted: Sat Apr 12, 2014 12:30 am    Post subject: Reply with quote

As aCOSwt hinted, the next stage for most people after this message is to initialize certain drivers that require firmware. It is very common for people to file invalid reports that they have a tsc problem when the real problem is that they failed to provide adequate firmware. Please wait 60 seconds for the firmware search to timeout. After boot finishes, inspect dmesg to find which firmware files you are missing.
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat Apr 12, 2014 8:17 am    Post subject: Reply with quote

Might be hanging somewhere else, you can boot with extra kernel parameters to figure that out: verbose debug ignore_loglevel
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 527

PostPosted: Tue Apr 15, 2014 10:22 pm    Post subject: Reply with quote

Hu wrote:
As aCOSwt hinted, the next stage for most people after this message is to initialize certain drivers that require firmware. It is very common for people to file invalid reports that they have a tsc problem when the real problem is that they failed to provide adequate firmware.

Wouldn't adding another line of log to the kernel initialization be a very good idea then? Something like "Initializing drivers with firmware...". That would prevent a lot of confusion and misreported bugs while helping with debugging. Should be a relatively simple patch, too.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14290

PostPosted: Tue Apr 15, 2014 11:45 pm    Post subject: Reply with quote

The first line printed after the stall tells you what firmware was missing. It is difficult to take back a message after printing it, so printing a notice that the kernel is about to probe for firmware, then another one when it succeeds, would double the firmware related output.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum