← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 565607] Re: [RV100] suspend failure with kernel driver "radeon" (ATI Technologies Inc Radeon Mobility M6 LY)

 

That corruption sort of sounds like this might be caused by an incorrect
AGPMode setting, which is relevant when DRI is enabled.  You should test
if changing this makes the issue go away.  In your /etc/X11/xorg.conf
set AGPMode to various values like this:

 Section "Device"
    ...
    Option "AGPMode" "2"
 EndSection

Possible values include 1, 2, 4, 8.  You can see what it's currently set
to by looking in /var/log/Xorg.0.log.  It's worthwhile to test all four
values even once you find one that works.  If this takes care of it for
you, we may be able to establish a quirk to set it for your hardware
combo, if you can provide the following data:

   * AGPMode value(s) that work
   * Make/Model of laptop or motherboard
   * Output of lspci -vvnn
   * Is the system all factory hardware, or have any parts been replaced?
   * Is there an AGP Mode in the system BIOS?
     - If so, is it set to the factory default?

For more details on this, please see the "ATI AGP Mode Quirk" section at
https://wiki.ubuntu.com/X/Quirks

For the case where KMS is being used, you enable agpmodes via the
radeon.agpmode=X parameter (where X can be -1 for bios-detect, or
1,2,4,8 to specify an agp mode.)


** Description changed:

  The system fails to suspend both to ram and to disk.  I believe it is a
  problem with the video driver "radeon", as the screen never turns off.
  
  I followed the instructions from
  https://wiki.ubuntu.com/DebuggingKernelSuspend
  
  After performing
  sudo sh -c "sync; echo 1 > /sys/power/pm_trace; pm-suspend"
  
  The output from dmesg points to
  [    0.333831]   hash matches /build/buildd/linux-2.6.32/drivers/base/power/main.c:433
  [    0.333853] block loop5: hash matches
  [    0.333921] pci 0000:01:00.0: hash matches
  
  sudo lspci -vvnn | grep -A 17 01:00.0
  01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M6 LY [1002:4c59]
- 	Subsystem: IBM Device [1014:052f]
- 	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B+ DisINTx-
- 	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
- 	Latency: 66 (2000ns min), Cache Line Size: 32 bytes
- 	Interrupt: pin A routed to IRQ 11
- 	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
- 	Region 1: I/O ports at 3000 [size=256]
- 	Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
- 	[virtual] Expansion ROM at c0120000 [disabled] [size=128K]
- 	Capabilities: [58] AGP version 2.0
- 		Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
- 		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x1
- 	Capabilities: [50] Power Management version 2
- 		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
- 		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
- 	Kernel driver in use: radeon
- 	Kernel modules: radeonfb, radeon
+  Subsystem: IBM Device [1014:052f]
+  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B+ DisINTx-
+  Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
+  Latency: 66 (2000ns min), Cache Line Size: 32 bytes
+  Interrupt: pin A routed to IRQ 11
+  Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
+  Region 1: I/O ports at 3000 [size=256]
+  Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
+  [virtual] Expansion ROM at c0120000 [disabled] [size=128K]
+  Capabilities: [58] AGP version 2.0
+   Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
+   Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x1
+  Capabilities: [50] Power Management version 2
+   Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
+   Status: D0 PME-Enable- DSel=0 DScale=0 PME-
+  Kernel driver in use: radeon
+  Kernel modules: radeonfb, radeon
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-21-generic 2.6.32-21.32
  Regression: No
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
  Architecture: i386
  AudioDevicesInUse:
-  USER        PID ACCESS COMMAND
-  /dev/snd/controlC0:  phil       4497 F.... pulseaudio
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  phil       4497 F.... pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
-  Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with AD1981B at irq 11'
-    Mixer name	: 'Analog Devices AD1981B'
-    Components	: 'AC97a:41445374'
-    Controls      : 26
-    Simple ctrls  : 18
+  Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with AD1981B at irq 11'
+    Mixer name	: 'Analog Devices AD1981B'
+    Components	: 'AC97a:41445374'
+    Controls      : 26
+    Simple ctrls  : 18
  Card29.Amixer.info:
-  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 1QHT23WW-1.08'
-    Mixer name	: 'ThinkPad EC 1QHT23WW-1.08'
-    Components	: ''
-    Controls      : 2
-    Simple ctrls  : 1
+  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 1QHT23WW-1.08'
+    Mixer name	: 'ThinkPad EC 1QHT23WW-1.08'
+    Components	: ''
+    Controls      : 2
+    Simple ctrls  : 1
  Card29.Amixer.values:
-  Simple mixer control 'Console',0
-    Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
-    Playback channels: Mono
-    Limits: Playback 0 - 14
-    Mono: Playback 4 [29%] [on]
+  Simple mixer control 'Console',0
+    Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
+    Playback channels: Mono
+    Limits: Playback 0 - 14
+    Mono: Playback 4 [29%] [on]
  Date: Sat Apr 17 17:04:56 2010
  HibernationDevice: RESUME=UUID=3337d611-1642-45e5-b992-c61577a4235f
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
  Lsusb:
-  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: IBM 2672PBU
  PccardctlIdent:
-  Socket 0:
-    no product info available
-  Socket 1:
-    no product info available
+  Socket 0:
+    no product info available
+  Socket 1:
+    no product info available
  PccardctlStatus:
-  Socket 0:
-    no card
-  Socket 1:
-    no card
+  Socket 0:
+    no card
+  Socket 1:
+    no card
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=7240df37-503f-4eeb-832f-a46f9d5a5b4b ro quiet splash
  ProcEnviron:
-  LANG=en_US.utf8
-  SHELL=/bin/bash
+  LANG=en_US.utf8
+  SHELL=/bin/bash
  RelatedPackageVersions: linux-firmware 1.34
  RfKill:
-  0: tpacpi_bluetooth_sw: Bluetooth
-  	Soft blocked: yes
-  	Hard blocked: no
+  0: tpacpi_bluetooth_sw: Bluetooth
+   Soft blocked: yes
+   Hard blocked: no
  SourcePackage: linux
  dmi.bios.date: 09/22/2005
  dmi.bios.vendor: IBM
  dmi.bios.version: 1QET97WW (3.02 )
  dmi.board.name: 2672PBU
  dmi.board.vendor: IBM
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: IBM
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnIBM:bvr1QET97WW(3.02):bd09/22/2005:svnIBM:pn2672PBU:pvrThinkPadX31:rvnIBM:rn2672PBU:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
  dmi.product.name: 2672PBU
  dmi.product.version: ThinkPad X31
  dmi.sys.vendor: IBM
+ 
+ [lspci]
+ 00:00.0 Host bridge [0600]: Intel Corporation 82855PM Processor to I/O Controller [8086:3340] (rev 03)
+ 	Subsystem: IBM Device [1014:0529]
+ 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M6 LY [1002:4c59]
+ 	Subsystem: IBM Device [1014:052f]

** Changed in: xserver-xorg-video-ati (Ubuntu)
       Status: Confirmed => Incomplete

-- 
[RV100] suspend failure with kernel driver "radeon" (ATI Technologies Inc Radeon Mobility M6 LY)
https://bugs.launchpad.net/bugs/565607
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.