Skip to contentSkip to conversation

System freezes with radeon DRM driver since kernel 3.6

DISCUSSION Stephan Seitz 2 participants 5 messages Dec 20, 2012 – Dec 21, 2012

lore
Share & tools
lore
#0 lore raw

Hi!

filename: /lib/modules/3.7.0-Dom0/kernel/drivers/gpu/drm/radeon/radeon.ko

hardware:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device 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: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at e5000000 (64-bit, non-prefetchable) [size=64K]
Region 4: I/O ports at b000 [size=256]
[virtual] Expansion ROM at e4000000 [disabled] [size=128K]
Capabilities: <access denied>

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
Subsystem: Hightech Information System Ltd. Device aa38
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: 32 bytes
Interrupt: pin B routed to IRQ 63
Region 0: Memory at e5010000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

My system is debian testing with self-made kernels. The system is working as Dom0 under Xen 4.1.

Since kernel 3.6 the drm radeon driver freezes the system after some time. This time can be 10 minutes or some hours. Since the system is completely frozen I don’t know if there are error messages displayed, but the log contains nothing. Simply pressing the reset switch won’t reset the graphic card (no output), I have to switch off the system to get the card working again.

I’m attaching the dmesg output after loading the kernel module.

Merry christmas and happy new year!

Stephan

Signature · 2 lines
| Stephan Seitz          E-Mail: [email protected] |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |
<6>1 2012-12-18T07:38:59.531148+01:00 osgiliath kernel  - - [ 1207.182681] [drm] radeon kernel modesetting enabled.
<7>1 2012-12-18T07:38:59.531167+01:00 osgiliath kernel  - - [ 1207.182727] xen: registering gsi 16 triggering 0 polarity 1
<6>1 2012-12-18T07:38:59.531169+01:00 osgiliath kernel  - - [ 1207.182731] Already setup the GSI :16
<6>1 2012-12-18T07:38:59.533042+01:00 osgiliath kernel  - - [ 1207.183473] [drm] initializing kernel modesetting (RV730 0x1002:0x9490 0x1787:0x2003).
<6>1 2012-12-18T07:38:59.533054+01:00 osgiliath kernel  - - [ 1207.183574] [drm] register mmio base: 0xE5000000
<6>1 2012-12-18T07:38:59.533056+01:00 osgiliath kernel  - - [ 1207.183576] [drm] register mmio size: 65536
<6>1 2012-12-18T07:38:59.533058+01:00 osgiliath kernel  - - [ 1207.183883] ATOM BIOS: RV730XT
<6>1 2012-12-18T07:38:59.533060+01:00 osgiliath kernel  - - [ 1207.183897] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
<6>1 2012-12-18T07:38:59.533062+01:00 osgiliath kernel  - - [ 1207.183900] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
<6>1 2012-12-18T07:38:59.533065+01:00 osgiliath kernel  - - [ 1207.183901] [drm] Detected VRAM RAM=512M, BAR=256M
<6>1 2012-12-18T07:38:59.533067+01:00 osgiliath kernel  - - [ 1207.183903] [drm] RAM width 128bits DDR
<6>1 2012-12-18T07:38:59.533069+01:00 osgiliath kernel  - - [ 1207.183947] [TTM] Zone  kernel: Available graphics memory: 3496544 kiB
<6>1 2012-12-18T07:38:59.533071+01:00 osgiliath kernel  - - [ 1207.183949] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
<6>1 2012-12-18T07:38:59.533073+01:00 osgiliath kernel  - - [ 1207.183950] [TTM] Initializing pool allocator
<6>1 2012-12-18T07:38:59.533075+01:00 osgiliath kernel  - - [ 1207.183957] [TTM] Initializing DMA pool allocator
<6>1 2012-12-18T07:38:59.533077+01:00 osgiliath kernel  - - [ 1207.183975] [drm] radeon: 512M of VRAM memory ready
<6>1 2012-12-18T07:38:59.533080+01:00 osgiliath kernel  - - [ 1207.183977] [drm] radeon: 512M of GTT memory ready.
<6>1 2012-12-18T07:38:59.533082+01:00 osgiliath kernel  - - [ 1207.183979] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
<6>1 2012-12-18T07:38:59.533084+01:00 osgiliath kernel  - - [ 1207.183980] [drm] Driver supports precise vblank timestamp query.
<6>1 2012-12-18T07:38:59.533086+01:00 osgiliath kernel  - - [ 1207.184067] radeon 0000:01:00.0: radeon: using MSI.
<6>1 2012-12-18T07:38:59.533088+01:00 osgiliath kernel  - - [ 1207.184097] [drm] radeon: irq initialized.
<6>1 2012-12-18T07:38:59.533090+01:00 osgiliath kernel  - - [ 1207.184100] [drm] GART: num cpu pages 131072, num gpu pages 131072
<6>1 2012-12-18T07:38:59.533092+01:00 osgiliath kernel  - - [ 1207.184836] [drm] probing gen 2 caps for device 8086:2e21 = 2/0
<6>1 2012-12-18T07:38:59.533094+01:00 osgiliath kernel  - - [ 1207.184837] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
<6>1 2012-12-18T07:38:59.533096+01:00 osgiliath kernel  - - [ 1207.184889] [drm] Loading RV730 Microcode
<6>1 2012-12-18T07:38:59.578138+01:00 osgiliath kernel  - - [ 1207.229620] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
<6>1 2012-12-18T07:38:59.578152+01:00 osgiliath kernel  - - [ 1207.229693] radeon 0000:01:00.0: WB enabled
<6>1 2012-12-18T07:38:59.578154+01:00 osgiliath kernel  - - [ 1207.229696] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff8801c9e75c00
<6>1 2012-12-18T07:38:59.625275+01:00 osgiliath kernel  - - [ 1207.276225] [drm] ring test on 0 succeeded in 0 usecs
<6>1 2012-12-18T07:38:59.625289+01:00 osgiliath kernel  - - [ 1207.276601] [drm] ib test on ring 0 succeeded in 0 usecs
<6>1 2012-12-18T07:38:59.625292+01:00 osgiliath kernel  - - [ 1207.276817] [drm] Radeon Display Connectors
<6>1 2012-12-18T07:38:59.625294+01:00 osgiliath kernel  - - [ 1207.276819] [drm] Connector 0:
<6>1 2012-12-18T07:38:59.625298+01:00 osgiliath kernel  - - [ 1207.276820] [drm]   DVI-I-1
<6>1 2012-12-18T07:38:59.625300+01:00 osgiliath kernel  - - [ 1207.276821] [drm]   HPD2
<6>1 2012-12-18T07:38:59.625302+01:00 osgiliath kernel  - - [ 1207.276823] [drm]   DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c 0x7f1c
<6>1 2012-12-18T07:38:59.625305+01:00 osgiliath kernel  - - [ 1207.276824] [drm]   Encoders:
<6>1 2012-12-18T07:38:59.625306+01:00 osgiliath kernel  - - [ 1207.276825] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
<6>1 2012-12-18T07:38:59.625309+01:00 osgiliath kernel  - - [ 1207.276826] [drm]     DFP2: INTERNAL_UNIPHY1
<6>1 2012-12-18T07:38:59.625311+01:00 osgiliath kernel  - - [ 1207.276827] [drm] Connector 1:
<6>1 2012-12-18T07:38:59.625314+01:00 osgiliath kernel  - - [ 1207.276828] [drm]   DIN-1
<6>1 2012-12-18T07:38:59.625316+01:00 osgiliath kernel  - - [ 1207.276829] [drm]   Encoders:
<6>1 2012-12-18T07:38:59.625318+01:00 osgiliath kernel  - - [ 1207.276830] [drm]     TV1: INTERNAL_KLDSCP_DAC2
<6>1 2012-12-18T07:38:59.625320+01:00 osgiliath kernel  - - [ 1207.276831] [drm] Connector 2:
<6>1 2012-12-18T07:38:59.625322+01:00 osgiliath kernel  - - [ 1207.276832] [drm]   DVI-I-2
<6>1 2012-12-18T07:38:59.625324+01:00 osgiliath kernel  - - [ 1207.276833] [drm]   HPD1
<6>1 2012-12-18T07:38:59.625326+01:00 osgiliath kernel  - - [ 1207.276835] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
<6>1 2012-12-18T07:38:59.625328+01:00 osgiliath kernel  - - [ 1207.276836] [drm]   Encoders:
<6>1 2012-12-18T07:38:59.625330+01:00 osgiliath kernel  - - [ 1207.276837] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
<6>1 2012-12-18T07:38:59.625332+01:00 osgiliath kernel  - - [ 1207.276838] [drm]     DFP1: INTERNAL_UNIPHY
<6>1 2012-12-18T07:38:59.625335+01:00 osgiliath kernel  - - [ 1207.276856] [drm] Internal thermal controller without fan control
<6>1 2012-12-18T07:38:59.625338+01:00 osgiliath kernel  - - [ 1207.276880] [drm] radeon: power management initialized
<6>1 2012-12-18T07:38:59.862962+01:00 osgiliath kernel  - - [ 1207.513571] [drm] fb mappable at 0xD0142000
<6>1 2012-12-18T07:38:59.862980+01:00 osgiliath kernel  - - [ 1207.513574] [drm] vram apper at 0xD0000000
<6>1 2012-12-18T07:38:59.862983+01:00 osgiliath kernel  - - [ 1207.513574] [drm] size 7680000
<6>1 2012-12-18T07:38:59.862985+01:00 osgiliath kernel  - - [ 1207.513576] [drm] fb depth is 24
<6>1 2012-12-18T07:38:59.862986+01:00 osgiliath kernel  - - [ 1207.513577] [drm]    pitch is 6400
<6>1 2012-12-18T07:38:59.862988+01:00 osgiliath kernel  - - [ 1207.513640] fbcon: radeondrmfb (fb0) is primary device
<6>1 2012-12-18T07:39:00.164482+01:00 osgiliath kernel  - - [ 1207.767490] Console: switching to colour frame buffer device 200x75
<6>1 2012-12-18T07:39:00.164491+01:00 osgiliath kernel  - - [ 1207.815356] fb0: radeondrmfb frame buffer device
<6>1 2012-12-18T07:39:00.164493+01:00 osgiliath kernel  - - [ 1207.815356] drm: registered panic notifier
<6>1 2012-12-18T07:39:00.164495+01:00 osgiliath kernel  - - [ 1207.815619] [drm] Initialized radeon 2.24.0 20080528 for 0000:01:00.0 on minor 0

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 36 lines · Stephan Seitz

Hi!

filename: /lib/modules/3.7.0-Dom0/kernel/drivers/gpu/drm/radeon/radeon.ko

hardware:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device 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: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at e5000000 (64-bit, non-prefetchable) [size=64K]
        Region 4: I/O ports at b000 [size=256]
        [virtual] Expansion ROM at e4000000 [disabled] [size=128K]
        Capabilities: <access denied>

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
Subsystem: Hightech Information System Ltd. Device aa38
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: 32 bytes
Interrupt: pin B routed to IRQ 63
Region 0: Memory at e5010000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

My system is debian testing with self-made kernels. The system is working as Dom0 under Xen 4.1.

Quoted 6 lines

Since kernel 3.6 the drm radeon driver freezes the system after some time. This time can be 10 minutes or some hours. Since the system is completely frozen I don’t know if there are error messages displayed, but the log contains nothing. Simply pressing the reset switch won’t reset the graphic card (no output), I have to switch off the system to get the card working again.

Did you also change the userspace drivers (mesa, xf86-video-ati)? If you only changed the kernel version, can you bisect? If you updated multiple components, can you sort out which one caused the issue?

Alex

#2 lore raw
Quoted 36 lines · Alex Deucher
Quoted 34 lines · Stephan Seitz

filename: /lib/modules/3.7.0-Dom0/kernel/drivers/gpu/drm/radeon/radeon.ko

hardware:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device 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: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at e5000000 (64-bit, non-prefetchable) [size=64K]
        Region 4: I/O ports at b000 [size=256]
        [virtual] Expansion ROM at e4000000 [disabled] [size=128K]
        Capabilities: <access denied>

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
Subsystem: Hightech Information System Ltd. Device aa38
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: 32 bytes
Interrupt: pin B routed to IRQ 63
Region 0: Memory at e5010000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

My system is debian testing with self-made kernels. The system is working as Dom0 under Xen 4.1.

Quoted 8 lines
Quoted 6 lines

Since kernel 3.6 the drm radeon driver freezes the system after some time. This time can be 10 minutes or some hours. Since the system is completely frozen I don’t know if there are error messages displayed, but the log contains nothing. Simply pressing the reset switch won’t reset the graphic card (no output), I have to switch off the system to get the card working again.

Did you also change the userspace drivers (mesa, xf86-video-ati)? If

This system is a console system, X is only used sometimes. So while there may be updates of other components (it is Debian testing after all) the problem occurs in console mode without running X or mesa. And rebooting the old 3.5 kernel solves the problem.

Quoted 1 line

you only changed the kernel version, can you bisect? If you updated

Not without some help,. I’m no programmer. You probably mean I should test different git commits?

Stephan

Signature · 2 lines
| Stephan Seitz          E-Mail: [email protected] |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 62 lines · Stephan Seitz
Quoted 53 lines · Alex Deucher
Quoted 40 lines · Stephan Seitz

filename: /lib/modules/3.7.0-Dom0/kernel/drivers/gpu/drm/radeon/radeon.ko

hardware:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device 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: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M] Region 2: Memory at e5000000 (64-bit, non-prefetchable)
[size=64K]

        Region 4: I/O ports at b000 [size=256]
        [virtual] Expansion ROM at e4000000 [disabled] [size=128K]
        Capabilities: <access denied>

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
Subsystem: Hightech Information System Ltd. Device aa38
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: 32 bytes
Interrupt: pin B routed to IRQ 63
Region 0: Memory at e5010000 (64-bit, non-prefetchable)
[size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

My system is debian testing with self-made kernels. The system is working as
Dom0 under Xen 4.1.

Quoted 8 lines

Since kernel 3.6 the drm radeon driver freezes the system after some time.
This time can be 10 minutes or some hours. Since the system is completely frozen I don’t know if there are error messages displayed, but the log contains nothing. Simply pressing the reset switch won’t reset the graphic
card (no output), I have to switch off the system to get the card working again.

Quoted 1 line

Did you also change the userspace drivers (mesa, xf86-video-ati)? If

This system is a console system, X is only used sometimes. So while there may be updates of other components (it is Debian testing after all) the problem occurs in console mode without running X or mesa.
And rebooting the old 3.5 kernel solves the problem.

Quoted 5 lines
Quoted 1 line

you only changed the kernel version, can you bisect? If you updated

Not without some help,. I’m no programmer. You probably mean I should test different git commits?

Git provides a a bisect option that allows you to track down when a problem was introduced. You'll need a copy of the kernel git tree. You can follow a tutorial like this one:
http://www.landley.net/writing/git-bisect-howto.html
git will bisect the tree picking commits for you to try. You basically build, install, and test the commit git bisect picks for you. If it works, you report it to get by saying 'git bisect good', if it's bad, you tell git by saying 'git bisect bad' after you report, git will pick another commit and you continue until the problematic commit has been identified.

Alex

#4 lore raw
Quoted 7 lines · Alex Deucher

On Fri, Dec 21, 2012 at 10:14 AM, Stephan Seitz

Quoted 1 line

Not without some help,. I’m no programmer. You probably mean I should test different git commits?

Git provides a a bisect option that allows you to track down when a problem was introduced. You'll need a copy of the kernel git tree. You can follow a tutorial like this one:
http://www.landley.net/writing/git-bisect-howto.html
git will bisect the tree picking commits for you to try. You

Thanks for the link. I will try it the next weeks and report back to you.

Merry christmas!

Stephan

Signature · 2 lines
| Stephan Seitz          E-Mail: [email protected] |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel