Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368821 - sys-kernel/gentoo-sources-2.6.39 kernel hangs after "switching to clocksource tsc"
Summary: sys-kernel/gentoo-sources-2.6.39 kernel hangs after "switching to clocksource...
Status: RESOLVED DUPLICATE of bug 368109
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 369199 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-26 20:30 UTC by simon
Modified: 2011-05-30 19:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel .config used (config_gentoo2639,21.76 KB, text/plain)
2011-05-26 20:32 UTC, simon
Details
Meconio linux-2.6.39-gentoo .config (.config,79.35 KB, text/plain)
2011-05-27 14:03 UTC, Meconio
Details
friend's .config - he doesn't have this issue (537344.text,80.58 KB, text/plain)
2011-05-29 15:58 UTC, Rafal Kupiec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2011-05-26 20:30:20 UTC
Updated from gentoo-sources-2.6.38 to 2.6.39.
Did make oldconfig and recompiled, copy image and rebooted.
Kernel starts till output "switching to clocksource tsc" and stalls, machine reset necessary. 
Emerged vanilla-sources-2.6.39 copied .config from gentoo-sources-2.6.39 build kernel and reboot to vanilla-sources.
This time no delay.

Reproducible: Always




did make clean and make -j 1 for gentoo-sources-2.6.39 with no change still hangs.
Grub kernel line:
kernel /boot/gentoo64-2.6.39 rootfstype=ext4 root=/dev/sdb2 earlyprintk=vga acpi=off CONSOLE=/dev/tty1
Comment 1 simon 2011-05-26 20:32:59 UTC
Created attachment 274731 [details]
kernel .config used

the used kernel config
Comment 2 Meconio 2011-05-27 14:00:41 UTC
Same problem!
Comment 3 Meconio 2011-05-27 14:02:24 UTC
Same problem with kernel linux-2.6.39-gentoo kernel config in attachment
Comment 4 Meconio 2011-05-27 14:03:18 UTC
Created attachment 274791 [details]
Meconio linux-2.6.39-gentoo .config
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-05-29 10:11:52 UTC
> # CONFIG_DEVTMPFS is not set

Does it still hang if you enable that option?
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-05-29 15:47:11 UTC
*** Bug 369199 has been marked as a duplicate of this bug. ***
Comment 7 Rafal Kupiec 2011-05-29 15:54:54 UTC
(In reply to comment #5)
> > # CONFIG_DEVTMPFS is not set
> 
> Does it still hang if you enable that option?

Makes no difference...
Comment 8 Rafal Kupiec 2011-05-29 15:58:36 UTC
Created attachment 275031 [details]
friend's .config - he doesn't have this issue

I posted .config given to me by friend. He reported to me that he never came across this problem. 2.6.39-gentoo is working for him.
Comment 9 jeremy 2011-05-30 04:00:01 UTC
Do you have console decorations enabled in the kernel? If so I think this might be a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=368109
Comment 10 Colton Reeder 2011-05-30 07:24:36 UTC
Im actually getting this with 2.6.38-r6; however if I use option clocksource=hpet it still hangs, this time after "Refined TSC clocksource calibration" so I think its something else that is supposed to occur just after that point.
Comment 11 jeremy 2011-05-30 08:59:20 UTC
If you just let it sit there for a few minutes...say 5 minutes tops...does anymore text show up on the screen? If so anything of importance? For instance when my box started doing it I jus let it sit there for like 5 mins while I was googling a solution on my phone. After a few minutes some more text showed up that looked similar to a panic. It said something about fbcon_helper blocked for 120 seconds. Even if its not the same issue this block of code could still be useful.
Comment 12 Colton Reeder 2011-05-30 09:29:02 UTC
(In reply to comment #11)
> If you just let it sit there for a few minutes...say 5 minutes tops...does
> anymore text show up on the screen? If so anything of importance? For instance
> when my box started doing it I jus let it sit there for like 5 mins while I was
> googling a solution on my phone. After a few minutes some more text showed up
> that looked similar to a panic. It said something about fbcon_helper blocked
> for 120 seconds. Even if its not the same issue this block of code could still
> be useful.

I have not tried that. I did make a kernel with most debug options enabled and I get 2-3 separate stack traces. I'd post them, but I have no way of easily copying them. Interestingly, gendepends.sh was referenced in each.
Comment 13 Rafal Kupiec 2011-05-30 09:34:00 UTC
I use uvesa with initramfs built into kernel. Actually i use 2.6.38-r6 and i dont have any problems so far. But when i switch to 2.6.39 it hangs, and even changing boot options does not help. I tried:

clocksource=hpet
clocksource=acpi_pm
acpi=off

and combination of them.
I use the same .config for both kernels: http://wklej.org/id/537734/
Comment 14 Rafal Kupiec 2011-05-30 09:37:24 UTC
(In reply to comment #13)
> I use uvesa with initramfs built into kernel. Actually i use 2.6.38-r6 and i
> dont have any problems so far. But when i switch to 2.6.39 it hangs, and even
> changing boot options does not help. I tried:
> 
> clocksource=hpet
> clocksource=acpi_pm
> acpi=off
> 
> and combination of them.
> I use the same .config for both kernels: http://wklej.org/id/537734/

Forgotten to add, that i tried removing video and splash related options from grub and that also did not help. When i leave them, it hangs after video mode switch, so looks like framebuffer works, but no decoration so far.
Comment 15 simon 2011-05-30 19:02:55 UTC
(In reply to comment #9)
> Do you have console decorations enabled in the kernel? If so I think this might
> be a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=368109

It seems so. I have set CONFIG_FB_CON_DECOR=y in my config.
I tried the change suggested in 
https://bugs.gentoo.org/show_bug.cgi?id=368109#c15
and i get a booting kernel with gentoo-sources, although without bootsplash.

So it's not a solution but at least the source is identified (for me).
Thanks for the hint.

*** This bug has been marked as a duplicate of bug 368109 ***