Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280661 - sys-kernel/gentoo-sources-2.6.30-r4: hang after startx with Intel driver
Summary: sys-kernel/gentoo-sources-2.6.30-r4: hang after startx with Intel driver
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 15:52 UTC by Timur Aydin
Modified: 2009-09-04 01:46 UTC (History)
2 users (show)

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


Attachments
emerge --info output (emerge-info.txt,3.00 KB, text/plain)
2009-08-07 15:53 UTC, Timur Aydin
Details
Xorg log file (Xorg.0.log,18.49 KB, text/plain)
2009-08-07 15:54 UTC, Timur Aydin
Details
xorg.conf file (xorg.conf,2.32 KB, text/plain)
2009-08-07 15:54 UTC, Timur Aydin
Details
Linux boot log (dmesg.txt,26.16 KB, text/plain)
2009-08-07 15:54 UTC, Timur Aydin
Details
lspci output (lspci.txt,1.12 KB, text/plain)
2009-08-07 15:55 UTC, Timur Aydin
Details
cat /proc/cpuinfo output (cpuinfo.txt,1.21 KB, text/plain)
2009-08-07 15:55 UTC, Timur Aydin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur Aydin 2009-08-07 15:52:56 UTC
I am using WindowMaker on my Pentium based Gentoo Linux system. The whole system is built with the ~x86 keyword. After doing a large update, Xorg is hanging some time after startx. I have noticed that doing a lot of graphic intensive tasks expedites the hang. For example, if I just do startx and let it sit, it didn't hang for 10 minutes. But if I open firefox and start browsing websites or if I rapidly move windows around, the hang happens fairly quickly. When the system hangs, I can move the mouse cursor, but the keyboard isn't working and the visual elements of WindowMaker don't respond to mouse clicks.

I have rebuilt the xf86-input-keyboard, xf86-input-mouse and xf86-video-intel drivers after upgrading xorg-server. I have also upgraded the kernel to 2.6.30-r4 and have adjusted the /usr/src/linux symbolic link before building these.

I have attached files that contain information about my system. the Xorg.log might not be a good log, because I am doing a hard reset when the system hangs and sometimes the log ends up containing binary garbage.

Reproducible: Always

Steps to Reproduce:
1. Reboot
2. startx
3. open firefox or move any window around rapidly

Actual Results:  
The system hangs. Mouse cursor moves, but keyboard is dead. The Ctrl-Alt-Backspace combination does not work to kill the xorg-server.

Expected Results:  
No hang

I am attaching all relevant system information to this bug. Let me know if additional information is required.
Comment 1 Timur Aydin 2009-08-07 15:53:34 UTC
Created attachment 200506 [details]
emerge --info output
Comment 2 Timur Aydin 2009-08-07 15:54:04 UTC
Created attachment 200507 [details]
Xorg log file
Comment 3 Timur Aydin 2009-08-07 15:54:23 UTC
Created attachment 200508 [details]
xorg.conf file
Comment 4 Timur Aydin 2009-08-07 15:54:44 UTC
Created attachment 200510 [details]
Linux boot log
Comment 5 Timur Aydin 2009-08-07 15:55:06 UTC
Created attachment 200512 [details]
lspci output
Comment 6 Timur Aydin 2009-08-07 15:55:26 UTC
Created attachment 200513 [details]
cat /proc/cpuinfo output
Comment 7 Timur Aydin 2009-08-07 15:58:01 UTC
The version of the intel video driver is 2.8.0.
Comment 8 Timur Aydin 2009-08-07 16:05:23 UTC
The xorg.conf file is generated using Xorg -configure.

I know that this system is a ~x86 system and that bugs such as these are to be expected. But I want to work with the developer to fix this problem. I can provide any additional information required and I can try test releases when available.
Comment 9 Ondřej Súkup 2009-08-07 17:26:37 UTC
Test:

Section "InputDevice"
	Identifier  "Keyboard0"
#	Driver      "kbd" -- change to xorg >
        Driver      "xorg"
EndSection
Comment 10 Ondřej Súkup 2009-08-07 17:28:15 UTC
or set INPUT_DEVICES to "keyboard mouse evdev" and xorg-server emerge with hal flag , and try remove xorg.conf 
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-08-10 05:49:49 UTC
(In reply to comment #9)
> Section "InputDevice"
>         Identifier  "Keyboard0"
> #       Driver      "kbd" -- change to xorg >
>         Driver      "xorg"
> EndSection

there's no "xorg" driver, you must be confusing things.

@Timur, there's little I can do to help you here. Please file a bug in FreeDesktop's bugzilla [1] where Intel developers will be able to figure this out better than me.

Once you do, please paste the url here so I can track the issue too.

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 12 Timur Aydin 2009-08-10 09:09:30 UTC
Just for the record. I tried changing "kbd" to "xorg", but this made the keyboard stop entirely. Before, the keyboard was working up to the hang.
Comment 13 Timur Aydin 2009-08-10 09:11:14 UTC
@Remi, I have searched the freedesktop bug database and indeed, there is one bug that seems to be my bug:

https://bugs.freedesktop.org/show_bug.cgi?id=21470

I will continue there and once there is a resolution, I will let everybody know.
Comment 14 Timur Aydin 2009-08-10 09:37:50 UTC
A few tests that I have done today:

I have tried downgrading the intel video driver to version 2.7.1 and the problem still happened the same way. Then I tried booting linux 2.6.30-r1 (I kept the intel video driver at 2.7.1) and this time the problem hasn't happened. So the problem must have been introduced between kernel 2.6.30-r1 and 2.6.30-r4. I will write about this in the freedesktop bugzilla, but can anybody working closely with the kernel sources tell me what the significant differences are between these two versions of the kernel? For example, drm related changes etc...
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2009-08-10 15:38:06 UTC
(In reply to comment #12)
> Just for the record. I tried changing "kbd" to "xorg", but this made the
> keyboard stop entirely. Before, the keyboard was working up to the hang.

The "xorg" driver doesn't exist. What Ondrej said in comment #9 was wrong, no wonder it didn't work :)

(In reply to comment #14)
> So the problem must have been introduced between kernel 2.6.30-r1 and
> 2.6.30-r4. I will write about this in the freedesktop bugzilla, but can anybody
> working closely with the kernel sources tell me what the significant
> differences are between these two versions of the kernel? For example, drm
> related changes etc...

You might want to use git to get a full copy of the kernel sources and do tests on your own. The "git bisect" command is extremely useful for such purposes.

Thanks
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-08-10 15:40:28 UTC
And reassigning to the kernel team as they're the ones in charge of - you guessed it - the kernel. :)

I'll CC myself on the upstream bug to make sure only the kernel is responsible for the hang.

Thanks
Comment 17 Timur Aydin 2009-08-11 10:14:30 UTC
After letting the system run longer (3 hours!), it came out that the problem happens even with kernel version 2.6.30-r1.

Here is another bug entry which explains the same problem:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527349#27
Comment 18 Stratos Psomadakis (RETIRED) gentoo-dev 2009-08-12 16:11:02 UTC
Can you try booting the latest 2.6.31-rc kernel, and report if the bug persists?