Bug 28821

Summary: (X1400) driver crashes system when loaded
Product: xorg Reporter: Pablo Rodríguez <freedesktop>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: blocker    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pablo Rodríguez 2010-06-29 08:16:54 UTC
Hi there,

I have been using my laptop (Dell Inspiron 6400 with an ATI Mobility X1400 [lspci info below]) with the radeonhd driver without no problems.

After I switched to Ubuntu 10.04 first and then to Fedora 13, those distributions came with the radeon driver default and I began to experience random crashes at system start when the video driver was loaded (reported at https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/584525 and https://bugzilla.redhat.com/show_bug.cgi?id=606142).

Yesterday I updated some packages via the Fedora updater (yum install) and the crash happens each time I start the system. So the laptop is totally unusable (I'm reporting this using the Fedora 13 in live mode).

I don't even know how to disable the X server loading (I have googled for it, but I found nothing).

The xorg.conf file seems not to be part of Fedora (http://fedoraforum.org/forum/showthread.php?t=20492), so I cannot provide it, and no X.0.log is provided.

After reading http://fedoraproject.org/wiki/Xorg/Debugging, I guess I need a PhD in computer science to report it.

I'll try to switch to the radeonhd driver and see whether I could find a way to report this crash (although it is extremely complicated for me [I'm a user, not a programer]).

Thanks anyway. Just in case it might help,


Pablo


01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility
X1400 [1002:7145] (prog-if 00 [VGA controller])
 Subsystem: Dell Device [1028:2003]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 27
 Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
 Region 1: I/O ports at ee00 [size=256]
 Region 2: Memory at efdf0000 (32-bit, non-prefetchable) [size=64K]
 [virtual] Expansion ROM at efd00000 [disabled] [size=128K]
 Capabilities: <access denied>
 Kernel driver in use: radeon
 Kernel modules: radeon
Comment 1 Alex Deucher 2010-06-29 08:26:10 UTC
Does booting into ums mode work? Add radeon.modeset=0 to the kernel command line in grub.
Comment 2 Pablo Rodríguez 2010-06-29 22:45:16 UTC
Thanks, Alex, for your reply.

Adding radeon.modeset=0 to grub seemed to work, but I'm not sure whether crashes are random again.

Thanks for your help,


Pablo
Comment 3 Pablo Rodríguez 2010-11-28 00:00:35 UTC
I'm afraid that radeon.modeset=0 doesn't work with Fedora 14 (the X server won't be loaded with this option). Is there any workaround?

BTW, I have experienced another computer freeze when watching a streamed video. Is there any way I can get a log to report?

Thanks for your help,


Pablo
Comment 4 Alex Deucher 2010-11-29 06:56:10 UTC
How much vram does your system have?  This patch may help:
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=b7d8cce5b558e0c0aa6898c9865356481598b46d
Comment 5 Pablo Rodríguez 2010-11-29 10:32:39 UTC
(In reply to comment #4)
> How much vram does your system have?

No idea on how to check this. RAM is 2GB, but I don't know how much vram does the laptop have.

> This patch may help:
> http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=b7d8cce5b558e0c0aa6898c9865356481598b46d

Thanks for your help, but what is this patch for? I mean, does it enable radeon.modeset=0 or does it prevent system freezes?

Many thanks,


Pablo
Comment 6 Alex Deucher 2010-11-29 15:15:03 UTC
(In reply to comment #5)
> Thanks for your help, but what is this patch for? I mean, does it enable
> radeon.modeset=0 or does it prevent system freezes?

Patch is for the radeon drm module in the kernel.  It may fix your gpu freeze issues.  Patch has no effect with modeset=0.
Comment 7 Pablo Rodríguez 2010-11-30 08:20:58 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Thanks for your help, but what is this patch for? I mean, does it enable
> > radeon.modeset=0 or does it prevent system freezes?
> 
> Patch is for the radeon drm module in the kernel.  It may fix your gpu freeze
> issues.  Patch has no effect with modeset=0.

Thanks for your reply and for the patch, Alex.

Reading https://bugs.freedesktop.org/show_bug.cgi?id=28402, I guess this patch will fix my random crashes.

Thanks again,


Pablo
Comment 8 Jerome Glisse 2010-12-07 07:43:55 UTC
Did the patch fixed your issue ?
Comment 9 Pablo Rodríguez 2010-12-07 08:09:39 UTC
(In reply to comment #8)
> Did the patch fixed your issue ?

As I reported at https://bugzilla.redhat.com/show_bug.cgi?id=606142#c19, I installed a patched kernel four days ago and I haven't experienced a system hang since then.

I tend to think that the bug has been fixed by this patch. But since those system hangs are random, I cannot say that the bug has been fixed at all.

I guess that waiting a week or a couple of weeks more would be a better option to check whether this bug can be closed.

Thanks for your help,

Pablo
Comment 10 Jerome Glisse 2010-12-07 08:44:17 UTC
I am closing the bug now as otherwise i or you will forget about it, if you hit the lockup again reopen (less change you forget to reopn if you hit the bug again ;)).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.