Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292353 - gentoo-sources-2.6.31-r4 freeze at some random time after starting X
Summary: gentoo-sources-2.6.31-r4 freeze at some random time after starting X
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 09:36 UTC by Marijn Schouten (RETIRED)
Modified: 2009-12-30 12:56 UTC (History)
1 user (show)

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


Attachments
linux-2.6.31-gentoo-r4/.config (.config,39.69 KB, text/plain)
2009-11-08 09:37 UTC, Marijn Schouten (RETIRED)
Details
problem-config.diff (problem-config.diff,2.96 KB, text/plain)
2009-11-08 09:40 UTC, Marijn Schouten (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2009-11-08 09:36:38 UTC
I was trying to upgrade to gentoo-sources-2.6.31-r4, but my box would freeze usually during restoration of my KDE4 desktop, but it seemed kind of random when it would happen. I have now succeeded in isolating the problem a bit.
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2009-11-08 09:37:51 UTC
Created attachment 209608 [details]
linux-2.6.31-gentoo-r4/.config

My working kernel config.
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2009-11-08 09:40:04 UTC
Created attachment 209609 [details]
problem-config.diff

the diff that when applied will make my kernel freeze.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2009-11-08 09:41:27 UTC
I also reproduced the problem in 2.6.30-r8.
Comment 4 Wormo (RETIRED) gentoo-dev 2009-11-30 07:12:57 UTC
Would you be willing to do some more experiments to track down which option causes the hangs? If so, I suggest applying just the following set of changes to the "good" config:

+CONFIG_PREEMPT_NOTIFIERS=y
+CONFIG_FREEZER=y
-CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
+CONFIG_MMU_NOTIFIER=y
+CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
-CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
-CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=7
+CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
+CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
+CONFIG_PM_SLEEP_SMP=y
+CONFIG_PM_SLEEP=y
+CONFIG_SUSPEND=y
+CONFIG_SUSPEND_FREEZER=y
+CONFIG_ACPI_SLEEP=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y

That top area looks most suspicious to me; netfilter and crypto options seem least likely. Another possible culprit is down at the end -- enabling virtualization.
Comment 5 Stefan Behte (RETIRED) gentoo-dev Security 2009-12-18 15:20:44 UTC
Can you isolate it further? I think the gentoo kernel patchset does not influence any of those options, so if you can identify the exact problem this might be a better canidate for then kernel bugzilla maybe...
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-12-27 17:43:21 UTC
Unfortunately I don't have ready access to the relevant machine any more. I had to leave it behind with my parents in the Netherlands when I moved to Nigeria.