Bug 627901

Summary: ATI video: occasional system freezes with kbd and mouse dead
Product: [openSUSE] openSUSE 11.3 Reporter: Parameshwara Bhat <p.bhat>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: djmills, dutchkind, ismail, peter, vkrevs, wstephenson
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Parameshwara Bhat 2010-08-03 15:09:52 UTC
User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.4 (like Gecko) SUSE

As above. When it happens, removing and re-inserting mouse has no effect.Caps lock,Num lock do not work.Though I have SysRq configured, with Alt+SysRq+e OR Alt+SysRq+i have no effect.As this is a laptop, I have no remote access to the system and cannot check.

This occurrence is more frequent when the OS is run from a Live USB key.This can be reproduced in half an hour.On hard-disk based system, it occurs once in a few days.

Almost always I have seen the freeze triggered by Mouse action, possibly mouse-wheel action.My mouse is USB mouse.Built in mouse pad is not working and I cannot check.

Reproducible: Sometimes

Steps to Reproduce:
On a live system, run from pen-drive
1.Run the system
2.Keep working with USB mouse
3.In half an hour you should see a freeze.



If you need any log file, I can send.

I am classifying this as major, as it makes working in live system booted off a thumb drive impossible.
Comment 1 Lubos Lunak 2010-08-03 15:31:47 UTC
Does the problem exist also without KDE (in GNOME, Xfce, failsafe session...)?
Comment 2 Parameshwara Bhat 2010-08-03 20:38:08 UTC
Well, I exclusively run KDE.

One other input that I can give is, I ran the live system from the CD for 4-5 hours, I did not have freeze.

But with live thumb-drive, I always had.It may also have to do with my mouse being USB.

Suggest how else I can help understand the problem?
Comment 3 David Mills 2010-08-04 23:35:55 UTC
I am getting the same behavior many times now.  This appears to be very similar to https://bugzilla.novell.com/show_bug.cgi?id=615649.  But that relates to Intel graphics cards.

I have a radeon HD4550 card.

I then installed the ATI driver 10.7 (with 11.3 support).  This did not prevent the freezes either.

I have been using openSUSE 11.2 and earlier version for many years without any similar issue.  On this same computer I have been running 11.2 for almost a year.

Here's some info about my system:
Dell Studio XPS with an i7 920 core CPU, 8 GB RAM, dual mirrored (using Dell's SATA Bios mirror setup) WD 640 GB, inbuilt bluetooth, inbuilt IEEE1394, Gigabit network card, 82801 Sound card and a CX23885 TV card.
Comment 4 David Kerkhof 2010-08-06 11:26:48 UTC
I have the same problem, though with an intel graphics card on a laptop. Same story, with 11.2 it always ran stable, although there where occasional freezes of the x server and then I was always able to reach it through ssh. But this one is a complete freeze, this time, in 11.3 final, I can't reach the system from another computer using ssh.
Comment 5 Will Stephenson 2010-08-15 06:28:16 UTC
Intel users: probably https://bugzilla.novell.com/show_bug.cgi?id=617530

Parameshwara: what are you using? If you don't know, attach /var/log/Xorg.0.log.

David Mills: what happens if you disable Desktop Effects?
Comment 6 David Mills 2010-08-15 09:51:07 UTC
I haven't tried that yet but will in the next day or 2 and will let you know the result.
Comment 7 Parameshwara Bhat 2010-08-15 14:55:57 UTC
I have intel 945 graphics (built in) on Acer notebook.Only today had time to look in and have seen the Bug-report 617530.My bug should be same, but David Mills has a different Report.

Do you still need a Xorg log?

Is the patched kernel(mentioned in Bug 617530) pushed to update?

I am running OS 11.3 on my regular desktop and I am an Opensuse / KDE user. I am having at least two freezes a day through my work.I cannot shift to any experimental system.So, getting the patched kernel is important to me.

Thanks.
Comment 8 Will Stephenson 2010-08-15 15:23:39 UTC
Parameshwara: no, I think you just need to follow that bug instead.  As far as I know the kernel patches are currently being tested in the OBS project Kernel:openSUSE-11.3, where you can grab them from.  Or disable desktop effects and boot with the kernel parameter "nomodeset" as described in the bug.

Setting needinfo to David, this is his report now.
Comment 9 David Mills 2010-08-15 23:18:01 UTC
I have tried nomodeset.  It prevents complete freezes (where even the mouse pointer won't work), but does not prevent partial freezes (where gradually application after application freezes until finally nothing (but the mouse pointer) responds.

Do you want me to try turning off desktop effects in KDE.  Or is nomodeset what you meant by turning off desktop effects?
Comment 10 David Mills 2010-08-19 12:15:11 UTC
I tried again with both nomodeset and desktop effects turned off.  I still got a freeze after about 20 minutes.

So for me the issue is completely unresolved.
Comment 11 Peter Gumbrell 2010-08-21 14:45:09 UTC
Since upgrading from 11.2 to 11.3 a few days ago, I have likely the same bug so here's a few observations for what it's worth:

I have a Mobility Radeon 9700 64mb card in my laptop. Standard 11.3 installation with KDE 4.4.4. Total system freezes few times a day, as above, with no solution other than power button. Tried SysRq, Ctrl-Alt-2xBcksp, Ctrl-Esc etc, no joy.

Tried disabling Kwin desktop effects/compositing, lasted about a day until it crashed again. Also tried switching XRender to OpenGL. Seemed to happen most frequently with Firefox as active window and once in SeaMonkey, so avoided Mozilla products but then got same freeze in ReKonq or just displaying desktop. Tried disabling Flash; still happens. For some reason, using Konqueror I seem to last out considerably longer than with any other browser. What could that imply? Merely coincidental??

First time I've had such issues since running oS 9.2 upwards on same machine with open source graphics drivers only, so my best hunch was the new Radeon code for R300 series cards included in the 2.6.34 kernel, first evident in openSUSE with the 11.3 release and which now shows there being 3D support in my system info. However, above linked reports would suggest wider problem not just linked to Radeon cards.
Comment 12 Parameshwara Bhat 2010-08-24 05:24:44 UTC
(In reply to comment #1)
> Does the problem exist also without KDE (in GNOME, Xfce, failsafe session...)?
I have been running Opensuse 11.3 Gnome Desktop for the last three days and I have done my routine work in that period.But I haven't had a single hang / crash in this time.I have run LXDE also for some time and have not come across this crash.This bug seems to be exclusive to KDE.
Comment 13 David Mills 2010-09-12 04:35:08 UTC
After not using my 11.3 partition for some time I thought that I would try it again.

I booted up and then ran OnlineUpdate.  There were quite a number of patches including, I noticed, the kernel and the x11-server.  I selected all the offered updates and started the update.

The system froze during this process.

I repeated this 3 times with 3 freezes.

Eventually I got all updates installed.

I also found an update to the ati Radeon HD driver and installed this.

I rebooted.  The system has lasted much longer than it ever did before.

It looks like this problem has been resolved.
Comment 14 Peter Gumbrell 2010-09-12 17:38:59 UTC
My symptoms match everything described in the initial report, but although I have kept my system up to date and applied all the same patches as mentioned in the above post, the problem certainly isn't resolved for me.

I have tried to diagnose the issue by a process of elimination but after another three weeks I'm no closer to figuring out what's causing the problem. For a long while, using Konqueror or Opera as my browser instead of Firefox kept the system running without freezes much more reliably, but even that isn't foolproof, and it isn't a browser-exclusive problem.

I'd hoped the recent X.org and kernel updates would bring a resolution but they haven't, so I'm now looking at all the most draconian measures like a complete reinstall, and I'm not confident even that will help since my hunch is that it's a video driver issue. If I could post anything useful here I would, but each time I'm on the brink of cracking it a new freeze occurs and sends me back to square one.
Comment 15 Peter Gumbrell 2010-10-12 10:41:13 UTC
One month on and the only thing I can now sadly add is that having just upgraded to KDE 4.5.2 from the KDESC45 repo, creating a fresh .kde4 directory and prior to copying any old config files back, the crash has occurred again.

The only way to prevent it is to boot in failsafe mode (merely switching off effects/compositing wasn't the solution in my case), which I've been doing by default for some while now. Is there any way to catch a bug like this in a log file so I can submit something more useful (bearing in mind it's a total lock-up and only the power button can halt it)?
Comment 16 Peter Gumbrell 2010-12-11 16:42:09 UTC
A solution seems to have been found for this bug, reported here (see comment #85):

http://bugs.freedesktop.org/show_bug.cgi?id=28402
and the related patch:
http://bugs.freedesktop.org/attachment.cgi?id=39651

There are a lot of reports spread across the net with similar issues, most notably this thread:

https://bbs.archlinux.org/viewtopic.php?id=100843&p=1

I have no idea how to patch the kernel, so could somebody push an official update for openSUSE 11.3 as soon as possible, since I suspect there are a lot of related bugs that could be closed?
Comment 17 David Mills 2010-12-12 04:21:57 UTC
Can a reply be added to this bug when an openSUSE kernel Online Updates patch is available please?
Comment 18 Peter Gumbrell 2011-01-12 16:03:09 UTC
Re #16:
Just want to confirm for the help of any devs deciding whether to issue an official bugfix, that I've installed kernel 2.6.37-33 from the Kernel:HEAD repo and this finally resolves the problem for me. I won't close this report though since it wasn't me who started it and others might have a different experience. I guess the fix will eventually be backported to the 2.6.34 kernel? It didn't make it into the official update from a week or so ago.
Comment 19 Greg Kroah-Hartman 2011-08-31 20:57:00 UTC
11.4 is the place for stuff like this, so please update if you have this problem.
Comment 20 Parameshwara Bhat 2011-09-01 03:15:19 UTC
There are still infrequent system freezes. I have upgraded to 11.4 and have been running KDE for last several months.

Unexpectedly, during different activities, keyboard and mouse stop working.

I have also seen during network initiation, system feels like frozen. No keyboard, mouse response. But once the network comes up, response returns.

I am not sure if this is kernel problem or a WM problem.