Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16564 - [kernel26] 2.6.31.3-1 makes Xorg crash

Attached to Project: Arch Linux
Opened by Vasco Costa (anakin) - Saturday, 10 October 2009, 23:32 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 27 November 2009, 15:33 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading to the latest kernel version (2.6.31.3) my previously rock solid system started to experiment random crashes. I'm able to login through XDM and start the Awesome WM, however after a random number of seconds or minutes I experience a hard crash. Xorg totally freezes letting me with an unresponsive mouse and keyboard. Since I've got an ATI card I thought it might had something to do with KMS, thus I've tried appending "radeon.modeset=0" and also "nomodeset" to the kernel line with no success. Xorg kept on freezing.

Additional info:

kernel26 2.6.31.3-1

[vmac@uranium ~]$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
02:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)


Steps to reproduce:

Upgrade to kernel26 2.6.31.3-1 and run Xorg.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 27 November 2009, 15:33 GMT
Reason for closing:  Fixed
Comment by Matt Warner (coolpyrofreak) - Sunday, 11 October 2009, 01:54 GMT
I have the same problem. For now, turning off all effects or downgrading the kernel fixes the problem but this is not a solution.
Comment by Mihael Pranjić (tux) - Sunday, 11 October 2009, 03:11 GMT
same here.. sometimes it does crash, sometimes it does not :(
Comment by Andreas Radke (AndyRTR) - Sunday, 11 October 2009, 06:32 GMT
make sure your system is fully up to date. disable kms and all framebuffer stuff in mkinitcpio.conf, rc.conf and modprobe.conf. If it keeps crashing check for upstream issues.

your card is very new. situation should improve with next kernel (new drm modul), new libdrm/MESA and new Xorg we expect soon in testing.

edit: please check your logs (everything.log/dmesg and Xorg.X.log) for something useful.
Comment by Vasco Costa (anakin) - Sunday, 11 October 2009, 13:00 GMT
My system is fully up to date, kms is disabled and I use no framebuffer. Also double checked mkinitcpio.conf, rc.conf and modprobe.conf and found nothing there. There are no relevant entries in any log files. Thus I believe this may indeed be an upstream issue.
Comment by Andreas Radke (AndyRTR) - Tuesday, 13 October 2009, 12:19 GMT
Try to disable kms and downgrade the xorg ati driver pkg. Then you should have the same state like before. Your Xorg log could be helpful.

btw: new Xorg will hit soon testing. You might give it a try then.
Comment by Vasco Costa (anakin) - Monday, 19 October 2009, 14:20 GMT
Upgrading to kernel26 2.6.31.4-1 without any other change solved this problem. No more random crashes.
Comment by Mr. K. (KitchM) - Tuesday, 20 October 2009, 22:34 GMT
Did this happen right after the upgrade to the latest kernel? Did you do anything other than reboot?
Comment by Daniel (phoenix89) - Wednesday, 21 October 2009, 09:13 GMT
I am having the same problem you are. But after I rebooted I didn't even make it out of the framebuffer, before my system locked up.

It seems that your specs for your computer are about the same as mine. Did your ethernet card work in the 2.6.30 kernel.
Comment by Vasco Costa (anakin) - Wednesday, 21 October 2009, 12:34 GMT
I've simply upgraded to the latest kernel and rebooted, didn't change anything else. I don't even have to disable KMS now, I let it run without turning it off on the kernel command line or at mkinitcpio.conf. However I do NOT use the framebuffer, never did with this laptop. Both my ethernet and wireless cards have always worked with all prior kernels, including 2.6.30.x. Feel free to ask me any further questions which may help you.
Comment by Mr. K. (KitchM) - Wednesday, 21 October 2009, 15:44 GMT
I have no settings for any framebuffer either, and I have no usable display at all. Do you have the ability to go back to the previous kernel? That should fix the problem, until the folks who work on the kernel and the upgrade process can fix those. Good luck.
Comment by Andreas Radke (AndyRTR) - Wednesday, 21 October 2009, 16:23 GMT
Everybody who is still affected please disable kms in your grub kernel append line. either add "radeon.modeset=0" or "nomodeset". Both should prevent the kernel loading kms stuff.
Comment by Daniel (phoenix89) - Wednesday, 21 October 2009, 20:42 GMT
It actually only locked up on the framebuffer one time, but the first time I noticed that it was locking up I was running VMware and firefox and it locked up. I thought my installation got corrupt so I reinstalled Arch. I think I am on the 2.6.31.4-1 Kernel so we will see if everything is working or I will try the thing you added to the grub.

Comment by Vasco Costa (anakin) - Tuesday, 27 October 2009, 21:30 GMT
The random xorg hard crashes came back after upgrading to kernel 2.6.31.5. The xorg log follows in the attachment.
Comment by Vasco Costa (anakin) - Tuesday, 27 October 2009, 22:01 GMT
In addition to the xorg log in the previous post here's some (probably) suspicious output from everything.log.
Comment by Vasco Costa (anakin) - Wednesday, 28 October 2009, 00:46 GMT
Alright, have some news. As weird as it may sound I've found that my machine only freezes when I visit the www.justin.tv site. If I don't open this site I can work for hours and nothing happens, as soon as I visit www.justin.tv the laptop will die within seconds, possibly one minute. This site uses flash heavily but I can't see how this would cause a hard crash (not even Alt+Sys Req works). I'm using the latest version of firefox and the flash plugin.
Comment by Andreas Radke (AndyRTR) - Wednesday, 28 October 2009, 05:44 GMT
There's nothing really helpful in the logs. I doubt it's kernel related. You can try to disable DRI at all in your xorg.conf (currently you are using MESA software rasterizer, kernel 2.6.32.x will bring hardware accelleration for you). Please try out the Xorg packages from testing and and try new ati and radeonhd pkg. New Xorg is expected to move soon to extra.
Comment by Vasco Costa (anakin) - Wednesday, 28 October 2009, 11:58 GMT
Thanks for the advice. I've now upgraded to the Xorg packages from testing and it still happens. :( If I wasn't able to run both windows and opensolaris on this machine without problems I would start thinking about hardware issues. I'll now try to disable DRI altogether.
Comment by Vasco Costa (anakin) - Wednesday, 28 October 2009, 17:13 GMT
Update.

Xorg crashes even if I uninstall the ati/radeonhd drivers and use vesa instead. I've tried Option "DRI" "False" in my xorg.conf file as stated in the manpage of the driver but Xorg ignores that and DRI still is activated. Is there any other way to disable DRI?

Thanks.
Comment by Etienne Lepercq (guepe) - Wednesday, 04 November 2009, 15:09 GMT
I have the very same problem, but it appeared after 2.6.31-5. I thave an old r300 ati card, with radeon driver. I tried disabling KMS (grub option), no changes. It freezes more when graphics are more used (freezes less often when doing... nothing).

This is all I can say for now : nothing interesting (visible) in my everything.log
Comment by Andreas Radke (AndyRTR) - Thursday, 05 November 2009, 05:45 GMT
You need to find out what specific package/-version introduced your problems. Are only certain AMD/Ati cards affected? The forum is probably a better place for this discussion. Not many user will follow here. The bugtracker is a bad place for this.

Sorry you all. If you cannot tell specific reason for your crashes I close this one as works for me. Latest kernel + Ati 200m(R300 series) work well here with kms. Heavy desktop usage. No problems. glxinfo says Ati mesa stack is alive. I know there are certain 3D issues coming from DRI2 (slow and maybe even crashes), but this current upstream state like it is. Probably kernel 2.6.32.x will improve situation. You may try such a kernel if you can't live without 3D for a few weeks.
Comment by Olivier (Topper) - Thursday, 26 November 2009, 15:21 GMT
Same problem but with nvidia card (7600 GS), latest proprietary drivers, system up to date. Random hardlocks, range from 1 minute to 3 hours.
Installed Archlinux because the same hardlocks occured right after upgrade to ubuntu karmic, but same in this fresh Archlinux install. Nothing shows in kernel or Xorg logs... Hope I can help.
Comment by Paul Mattal (paul) - Thursday, 26 November 2009, 15:22 GMT
Can you supply some info on the specific versions of the relevant packages involved?
Comment by Vasco Costa (anakin) - Thursday, 26 November 2009, 17:57 GMT
Olivier, for what I can see this must be some huge upstream bug in the kernel tree itself. Now I believe this has nothing to do with ATI since you have Nvidia. Can you show the output of lspci so that I can see if there's some other common hardware component with my system?
Comment by Jan de Groot (JGC) - Thursday, 26 November 2009, 18:06 GMT
"System up to date". I've heard other people telling me that while they were running a version of xorg-server that crashes in combination with nvidia drivers. I don't think both crashes have anything to do with eachother, as nvidia binary drivers replace almost half of the X server with their drivers.
Comment by Etienne Lepercq (guepe) - Thursday, 26 November 2009, 18:47 GMT
I personnally solved my problems by compiling the last _release_ of the radeon driver, instead of the current -git- version from arch repositories.
It _completely_ solved my issues : no more freezes !

So I think your problem (@Olivier) is probably related to something else.
Comment by Olivier (Topper) - Friday, 27 November 2009, 14:07 GMT
All I can say is that the hardlocks occured from the very first day using karmic (never with jaunty) and archlinux 2.6.31 x86_64 version. I think indeed that it is something related to upstream but could be xorg/kernel/nvidia/kde, I'm not experienced enough to determine.

kernel : 2.6.31-ARCH
xorg : 1.7.1.902-1
nvidia : 190.42-1
KDE : 4.3.3 desktop effects enabled

Hope it helps you guys...
Comment by Andreas Radke (AndyRTR) - Friday, 27 November 2009, 15:33 GMT
this something completely different. we don't want to highjack this bug. the original one is solved. I'm closing this one again. If there's something else broken file new bugs and give all imformations possible. and remember to use opensource drivers where we can probably do much more for you ;)

Loading...