Bug#533444: xserver-xorg-video-ati: X server hang while starting opengl application
On Wednesday 17 June 2009 23:44:05 Brice Goglin wrote:
> Henri Valta wrote:
> > Same problem (hang+kernel oops) with libdrm2 downgraded to 2.4.11-1
> > Previous report had libdrm2 2.4.11+git+20090519+f355ad8-1
>
> Which drm kernel module are you running in both cases?
>
In both cases I was running radeon drm module from linux-image-2.6.30-trunk-
amd64 2.6.30-1~experimental.1~snapshot.13813
I also tried linux-image-2.6.30-1-amd64 2.6.30-1which produced almost exactly
the same gdb trace and oops.
linux-image-2.6.29-2-amd64 2.6.29-5 however produced slightly different oops
(gdb trace was the same):
[ 218.565299] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 218.565306] IP: [<ffffffffa04bb9f4>] radeon_do_cp_idle+0x186/0x1ba [radeon]
[ 218.565316] PGD 5a1ec067 PUD 718cc067 PMD 4c048067 PTE 0
[ 218.565320] Oops: 0000 [#1] SMP
[ 218.565322] last sysfs file:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[ 218.565324] CPU 0
[ 218.565326] Modules linked in: radeon drm kvm_amd kvm powernow_k8
cpufreq_userspace cpufreq_conservative cpufreq_stats cpufreq_powersave nfsd
exportfs nfs lockd nfs_acl auth_rpcgss sunrpc ipv6 fuse loop
snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss
snd_mixer_oss s626(C) snd_pcm comedi_fc(C) comedi(C) snd_seq_dummy snd_seq_oss
snd_seq_midi ves1820 snd_rawmidi snd_seq_midi_event snd_seq snd_timer
snd_seq_device budget budget_core saa7146 snd soundcore ttpci_eeprom
snd_page_alloc dvb_core i2c_viapro i2c_core psmouse shpchp joydev k8temp
pci_hotplug evdev pcspkr serio_raw parport_pc parport button ext4 mbcache jbd2
crc16 sd_mod crc_t10dif usbhid hid ide_cd_mod cdrom ata_generic usb_storage
ide_pci_generic sata_via uhci_hcd libata ehci_hcd via82cxxx ide_core scsi_mod
atl1 mii thermal processor fan thermal_sys
[ 218.565376] Pid: 4696, comm: Xorg Tainted: G C 2.6.29-2-amd64 #1
M2V
[ 218.565378] RIP: 0010:[<ffffffffa04bb9f4>] [<ffffffffa04bb9f4>]
radeon_do_cp_idle+0x186/0x1ba [radeon]
[ 218.565385] RSP: 0018:ffff880074c8bc28 EFLAGS: 00010202
[ 218.565387] RAX: 0000000000000000 RBX: ffff8800775ef000 RCX: 000000000002f69d
[ 218.565389] RDX: 000000000002f69d RSI: 000000000003ffff RDI: ffff8800775ef000
[ 218.565390] RBP: ffff88007d8f6800 R08: 0000000000000000 R09: ffff88000101a500
[ 218.565392] R10: ffff8800764dd500 R11: ffffffff8034e5e9 R12: ffff880074d0a428
[ 218.565394] R13: ffff8800764dd500 R14: ffff88007d0f1ec0 R15: 0000000000000000
[ 218.565397] FS: 00007f78ee00b7b0(0000) GS:ffffffff806c1000(0000)
knlGS:000000001823fb90
[ 218.565399] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 218.565400] CR2: 0000000000000000 CR3: 000000007c5bb000 CR4:
00000000000006e0
[ 218.565402] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 218.565404] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 218.565407] Process Xorg (pid: 4696, threadinfo ffff880074c8a000, task
ffff8800775b6660)
[ 218.565408] Stack:
[ 218.565409] ffff8800775ef000 ffffffffa04bc599 ffffffff80479fb0 0000000000000008
[ 218.565412] ffff88007d8f6800 ffffffffa0491e3e ffff88007690bc80 0000000000000008
[ 218.565416] ffff88007690bc80 ffff880074d0a428 ffff8800764dd500 ffffffff802be27a
[ 218.565420] Call Trace:
[ 218.565422] [<ffffffffa04bc599>] ? radeon_do_release+0x4e/0x13b [radeon]
[ 218.565428] [<ffffffff80479fb0>] ? unlock_kernel+0x2b/0x2d
[ 218.565432] [<ffffffffa0491e3e>] ? drm_lastclose+0x40/0x28d [drm]
[ 218.565451] [<ffffffff802be27a>] ? __fput+0xc6/0x16e
[ 218.565455] [<ffffffff802bb9a4>] ? filp_close+0x5b/0x62
[ 218.565459] [<ffffffff802453e5>] ? put_files_struct+0x64/0xc2
[ 218.565462] [<ffffffff80479d51>] ? _spin_lock_irq+0xd/0xf
[ 218.565465] [<ffffffff80246d5d>] ? do_exit+0x1ea/0x7b1
[ 218.565467] [<ffffffff80258aa3>] ? ktime_get_ts+0x21/0x4a
[ 218.565471] [<ffffffff80211f8e>] ? reschedule_interrupt+0xe/0x20
[ 218.565474] [<ffffffff80247397>] ? do_group_exit+0x73/0x9f
[ 218.565476] [<ffffffff8024fd2b>] ? get_signal_to_deliver+0x315/0x33e
[ 218.565479] [<ffffffff8021034a>] ? do_notify_resume+0x85/0x7cf
[ 218.565483] [<ffffffff8023788e>] ? set_next_entity+0x34/0x56
[ 218.565486] [<ffffffff8023f8a3>] ? finish_task_switch+0x2a/0xc7
[ 218.565490] [<ffffffff804789f5>] ? thread_return+0x3d/0xd4
[ 218.565494] [<ffffffff802111ee>] ? sysret_signal+0x96/0xff
[ 218.565497] Code: 28 0f ae f0 83 bb 80 00 00 00 00 74 0d 48 8b 83 20 01 00
00 48 8b 40 18 eb 11 48 8b 83 f8 03 00 00 48 8b 40 18 48 05 10 07 00 00 <8b>
00 48 8b 83 f8 03 00 00 8b 53 28 48 8b 40 18 48 05 14 07 00
[ 218.565520] RIP [<ffffffffa04bb9f4>] radeon_do_cp_idle+0x186/0x1ba [radeon]
[ 218.565526] RSP <ffff880074c8bc28>
[ 218.565527] CR2: 0000000000000000
[ 218.565529] ---[ end trace 1d65bdc6a8c8773a ]---
[ 218.565531] Fixing recursive fault but reboot is needed!
Reply to: