[Pkg-fglrx-devel] Bug#535653: fglrx-source: crash with 9-6 fglrx on 2.6.30

Alexandra N. Kossovsky sasha at sanechka.spb.ru
Sat Jul 4 06:20:25 UTC 2009


Package: fglrx-source
Version: 1:9-6-3
Severity: grave
Justification: renders package unusable

Hello.

With fglrx module compiled from fglrx-source, my X server successfully
starts. However, when I run application which uses GL, kernel crashes:

[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0xade8c000,handle:0x92300000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0xad70a000,handle:0x81002000
[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_close] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0xad70a000,handle:0x81002000
general protection fault: 0000 [#1] SMP 
last sysfs file: /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
Modules linked in: fglrx(P) agpgart ppdev parport_pc lp parport rfcomm l2cap bluetooth irtty_sir sir_dev irda crc_ccitt cpufreq_userspace cpufreq_conservative cpufreq_powersave cpufreq_stats nls_utf8 ntfs nls_base fuse powernow_k8 loop snd_hda_codec_si3054 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss b43 snd_pcm snd_seq_midi snd_rawmidi rfkill snd_seq_midi_event rng_core snd_seq joydev snd_timer mac80211 uvcvideo snd_seq_device wacom videodev v4l1_compat snd cfg80211 i2c_piix4 serio_raw i2c_core soundcore snd_page_alloc led_class shpchp pci_hotplug psmouse wmi input_polldev evdev battery processor button ac usbhid hid ext3 jbd mbcache sg ide_pci_generic sr_mod cdrom sd_mod crc_t10dif ata_generic usb_storage atiixp ahci ohci_hcd ehci_hcd usbcore libata ide_core scsi_mod ssb r8169 mii pcmcia pcmcia_core video output thermal fan thermal_sys [last unloaded: fglrx]

Pid: 7488, comm: pcsx2 Tainted: P           (2.6.30-1-686 #1) HP Pavilion tx2500 Notebook PC
EIP: 0060:[<f9377573>] EFLAGS: 00210046 CPU: 0
EIP is at KCL_flush_tlb_one+0x4/0xd [fglrx]
EAX: ffffffff EBX: 00000000 ECX: 00000001 EDX: 000008fb
ESI: ed973e74 EDI: f937756f EBP: c1d49960 ESP: ed973e50
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process pcsx2 (pid: 7488, ti=ed972000 task=f68c3610 task.ti=ed972000)
Stack:
 c012ae91 ffffffff fffb3000 0a400000 f937a4ef ed401df4 fffb3a38 f682e900
 f682e900 0a400000 00000001 ed973eac afc039f4 c0106469 f9386a8d 0a400000
 00000002 f948b03f 000004ff 00000000 f948b05d 0a400000 f9387bec 0a400000
Call Trace:
 [<c012ae91>] ? on_each_cpu+0x18/0x24
 [<f937a4ef>] ? KCL_TestAndClearPageDirtyFlag+0x199/0x21f [fglrx]
 [<c0106469>] ? sys_ipc+0x54/0x14f
 [<f9386a8d>] ? firegl_clear_pages_dirty_flag+0x12d/0x140 [fglrx]
 [<f9387bec>] ? firegl_set_cap_ipc_lock+0x6c/0x70 [fglrx]
 [<f9386960>] ? firegl_clear_pages_dirty_flag+0x0/0x140 [fglrx]
 [<f93856ad>] ? firegl_ioctl+0x22d/0x2b0 [fglrx]
 [<c0106469>] ? sys_ipc+0x54/0x14f
 [<c0106469>] ? sys_ipc+0x54/0x14f
 [<c0106469>] ? sys_ipc+0x54/0x14f
 [<f937b31c>] ? ip_firegl_ioctl+0xb/0xf [fglrx]
 [<c0106469>] ? sys_ipc+0x54/0x14f
 [<c0197064>] ? vfs_ioctl+0x49/0x5f
 [<c01974be>] ? do_vfs_ioctl+0x444/0x47f
 [<c017c009>] ? make_pages_present+0x66/0x83
 [<c017d4b6>] ? mlock_fixup+0x67/0x163
 [<c017d789>] ? do_mlock+0x7f/0xb1
 [<c019753a>] ? sys_ioctl+0x41/0x58
 [<c0103014>] ? sysenter_do_call+0x12/0x28
 [<c0106469>] ? sys_ipc+0x54/0x14f
Code: d0 83 e0 f2 c3 89 e0 8b 54 24 04 25 00 e0 ff ff 03 54 24 08 19 c9 39 50 18 83 d9 00 83 f9 01 19 c0 f7 d0 83 e0 f2 c3 8b 44 24 04 <8b> 00 e8 2e f2 d9 c6 90 c3 8b 54 24 08 8b 44 24 04 f0 0f ab 02 
EIP: [<f9377573>] KCL_flush_tlb_one+0x4/0xd [fglrx] SS:ESP 0068:ed973e50
---[ end trace e769696e18512a0f ]---
note: pcsx2[7488] exited with preempt_count 1
------------[ cut here ]------------

Please note that messages about "Invalid map handle" exist even without GL
applications, and they existed with fglrx 9-4, which worked (on kernel 2.6.29)
perfectly.

For a pity, I can't check current fglrx 9-6 with old kernel 2.6.29,
since it does not compile:

  CC [M]  /usr/src/modules/fglrx/kcl_pci.o
/usr/src/modules/fglrx/kcl_pci.c: In function ‘pci_enable_msi’:
/usr/src/modules/fglrx/kcl_pci.c:316: error: implicit declaration of function ‘pci_enable_msi_block’
make[5]: *** [/usr/src/modules/fglrx/kcl_pci.o] Error 1


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (600, 'testing'), (600, 'stable'), (150, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fglrx-source depends on:
ii  bzip2                         1.0.5-2    high-quality block-sorting file co
ii  debhelper                     7.2.14     helper programs for debian/rules
ii  make                          3.81-6     An utility for Directing compilati

Versions of packages fglrx-source recommends:
ii  kernel-package                12.014     A utility for building Linux kerne
ii  module-assistant              0.11.1     tool to make module package creati

Versions of packages fglrx-source suggests:
hi  fglrx-driver                  1:9-6-3    non-free AMD/ATI r6xx - r7xx displ

-- no debconf information

-- 
Regards,
        Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: sasha at sanechka.spb.ru





More information about the Pkg-fglrx-devel mailing list