I installed the gentoo-sources, compiled them and couldn't find a problem first. The intelfb driver for X works ok, but produces a lot of error messages in Xorg.0.log. This might be the problem, but I am not sure. About every 5-10 seconds the system hangs for 0.5 seconds. I notice that when playing any media on the system. The same if I circle constantly with the mouse over the desktop, it hangs after 5-10 seconds shortly and then I can move it again. Since I mostly noticed it with media like videos or audio or youtube etc. I tried to increase responsiveness of the kernel, by e.g. use tickless system and not, increased and decreased the timer frequency, tried other parameter, tried genkernel and not. There are no real fatal error logs for the kernel (except of problems with dhcpcd, which I saw in another bug report). I attached the messages from yesterday until today with several reboots :) Finally I wanted to make sure, that it is the kernel and masked 2.6.35, installed 2.6.34, compiled, booted and no problem. Reproducible: Always Steps to Reproduce: 1. use kernel 2.6.35-r4 2. play any media file or move the mouse, type something etc. 3. Actual Results: hangs for half a second every now and then Expected Results: smooth playback and no interruptions I attach the emerge --info, messages, Xorg.0.log.old
Created attachment 245409 [details] emerge --info
Created attachment 245410 [details] /var/log/messages
Created attachment 245411 [details] /var/log/Xorg.0.log.old
Created attachment 245412 [details] gekernel config, the same I used for 2.6.35
If you want, I could try to disable all the cpuidle stuff and see if that causes the problems?
Created attachment 246389 [details] kernel config for 2.6.35 (same that works fine in 2.6.34)
I made a little script: #!/bin/bash for i in {1..50} do date sleep .5 done that one hung between 16:01 and the second 16:01, but it continues as if it wouldn't have lost time :) Tue Sep 7 20:15:59 BST 2010 Tue Sep 7 20:15:59 BST 2010 Tue Sep 7 20:16:00 BST 2010 Tue Sep 7 20:16:01 BST 2010 <<-- hung here for a moment Tue Sep 7 20:16:01 BST 2010 Tue Sep 7 20:16:02 BST 2010 Tue Sep 7 20:16:02 BST 2010 Tue Sep 7 20:16:03 BST 2010 no logs whatsoever in /var/log/messages during this time
Systems hangs are some of the most difficult problems to troubleshoot. It could be a hardware misconfiguration. I always start with a clean .config file when upgrading a major version. Please try this, you can use http://kmuto.jp/debian/hcl/ to help you determine the drivers you need. When you run your bash script, is that in a terminal with no X running? If not, can you tell me if it hangs without X? Anything interesting in dmesg after the hang? Can I see that please.
(In reply to comment #8) > Systems hangs are some of the most difficult problems to troubleshoot. > It could be a hardware misconfiguration. > > I always start with a clean .config file when upgrading a major version. > Please try this, you can use http://kmuto.jp/debian/hcl/ to help you determine > the drivers you need. > > When you run your bash script, is that in a terminal with no X running? If not, > can you tell me if it hangs without X? > > Anything interesting in dmesg after the hang? Can I see that please. > With the bash script the same happens in tty2 or in xterm with 2.6.35. I thought I would use a rather generic genkernel configuration to upgrade. The weird thing is, that the excact same config works fine in 2.6.34 and I run Linux ever since I got the laptop on it, never had this problem. Currently both kernels are installed, if I boot into 2.6.35 it hangs and if I boot into 2.6.34 is doesn't. There was nothing changed in the BIOS or any hardware changed. I'll do a manual configuration again, when I am home and post my config and dmesg(~12h have to go to Oxford later :().
Created attachment 246815 [details] manual configuration for 2.6.35 very tidy Still the same issue with hanging. I also attach the dmesg after boot and running the script. For dhcpcd to work, I have to kill it once or twice and try again. Eventually it picks up an ip after a while.
Created attachment 246817 [details] dmesg while running after boot and the laptop attached to the docking station.
Can you attach the output of lsmod, please.
Created attachment 246985 [details] lsmod
I am wondering, if I am the only one having this problem. This afternoon, I'll see if I kick out all the ACPI and CPU scheduling stuff. As I read this is one "improvements" in the new kernel... CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_X86_32_SMP=y could this be a problem on a single core CPU from now on? "x86, apic: Map the local apic when parsing the MP table." http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.35.4
Here is a guy with the excact same CPU as I have: https://bugzilla.kernel.org/show_bug.cgi?id=17411 For me the system doesn't totally hang, but just every few seconds for about .5 seconds, which makes playing media or mouse operations a pain. It could really be the SMP setting? I'll check that later.
nope, still the same problem without smp enabled if I disable the whole acpi and cpufreg-scaling (yes like an old AT machine) I still have the problem. any changes to the scheduler in 2.6.35?
tried several different settings again: tickless system frequencies (1000 and 300) low latency desktop, desktop, server cfq, deadline and no-op slab and unallocated pentium-pro, pentium-m and generic x86 any more ideas, please let me know...
The upstream bugs reporter notes that he cannot reproduce the issue with later versions of 2.6.35.X. Can you please test with the latest version which is gentoo-sources-2.6.35-r9 at the time of this comment.
Created attachment 248997 [details] /var/log/messages with 2.6.35-r9 the date.sh script runs now without interruptions! this is the log while I was playing a movie, the playback still hangs but there is more time in between (feels like ~20-30sec). the interruptions are longer and more badly (about 1 sec). the kernel was compiled using genkernel with rather default options. conclusion: the hanging now is not the system but rather the dhcpcd problem? Maybe every time dhcpcd kicks in, it lags X + mouse + video? So no interruptions on the console anymore :)
made dhcpcd working, by killing it a few times and restarting it no interruptions anymore...