Created attachment 45600 [details] kernel.log Radeon driver crash with module parameter modeset=1. HW environment: M4A88TD-V EVO/USB3 motherboard, AMD Phenom x6 CPU, 8GB RAM, 32 bit Linux OS. 2.6.39-rc3+ kernel. Integrated graphic card: goldenfish@goldenfish:~$ lspci -s "01:05.0" 01:05.0 VGA compatible controller: ATI Technologies Inc RS880 [Radeon HD 4250] Steps to reproduce: 0) boot with parameter radeon.modeset=0 .With parameter radeon.modeset=1 computer crash. 1) stop X-server 2) unload module radeon 3) load radeon module: modprobe radeon modeset=1 I got this Oops: Apr 13 21:40:30 goldenfish kernel: ------------[ cut here ]------------ Apr 13 21:40:30 goldenfish kernel: kernel BUG at drivers/gpu/drm/drm_irq.c:923! Apr 13 21:40:30 goldenfish kernel: invalid opcode: 0000 [#2] SMP Apr 13 21:40:30 goldenfish kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/graphics/fb0/uevent Apr 13 21:40:30 goldenfish kernel: Modules linked in: radeon(+) tcp_diag inet_diag binfmt_misc battery ipv6 powernow_k8 mperf cpufreq_ondemand cpufreq_stats freq_table cpufreq_userspace cpufreq_conservative cpufreq_powersave loop usbhid hid snd_hda_codec_hdmi snd_hda_codec_realtek snd_ice1724 snd_ice17xx_ak4xxx snd_ac97_codec snd_hda_intel ac97_bus snd_hda_codec snd_ak4xxx_adda snd_seq_dummy snd_hwdep snd_ak4114 snd_pt2258 snd_i2c snd_seq_oss snd_ak4113 snd_pcm_oss snd_seq_midi snd_mixer_oss snd_rawmidi snd_pcm snd_seq_midi_event snd_seq ohci_hcd snd_timer snd_seq_device snd xhci_hcd rtc_cmos rtc_core firewire_ohci(+) ehci_hcd soundcore usbcore firewire_core ttm rtc_lib drm_kms_helper r8169 snd_page_alloc drm processor asus_atk0110 evdev crc_itu_t button [last unloaded: radeon] Apr 13 21:40:30 goldenfish kernel: Apr 13 21:40:30 goldenfish kernel: Pid: 4657, comm: work_for_cpu Tainted: G D 2.6.39-rc3+ #171 System manufacturer System Product Name/M4A88TD-V EVO/USB3 Apr 13 21:40:30 goldenfish kernel: EIP: 0060:[<f8370ab8>] EFLAGS: 00010246 CPU: 0 Apr 13 21:40:30 goldenfish kernel: EIP is at drm_vblank_put+0x16/0x4f [drm] Apr 13 21:40:30 goldenfish kernel: EAX: 00000000 EBX: f23cfc00 ECX: f23cfc00 EDX: f1e08c40 Apr 13 21:40:30 goldenfish kernel: ESI: 00000000 EDI: f23cfd70 EBP: f1f29a40 ESP: f1f29a38 Apr 13 21:40:30 goldenfish kernel: DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 Apr 13 21:40:30 goldenfish kernel: Process work_for_cpu (pid: 4657, ti=f1f28000 task=f16264f0 task.ti=f1f28000) Apr 13 21:40:30 goldenfish kernel: Stack: Apr 13 21:40:30 goldenfish kernel: f23cfc00 00000000 f1f29a54 f8370b3c f1cbd000 f166a000 f23cfc00 f1f29a68 Apr 13 21:40:30 goldenfish kernel: f866907c f1cbd000 f23cfea0 f23418d0 f1f29a74 f86690e2 f86e039c f1f29c48 Apr 13 21:40:30 goldenfish kernel: f854952c 00000000 00000000 00000000 f86de5e4 f23cfea4 f1675480 01000000 Apr 13 21:40:30 goldenfish kernel: Call Trace: Apr 13 21:40:30 goldenfish kernel: [<f8370b3c>] drm_vblank_post_modeset+0x4b/0x5d [drm] Apr 13 21:40:30 goldenfish kernel: [<f866907c>] atombios_crtc_dpms+0x6b/0xc4 [radeon] Apr 13 21:40:30 goldenfish kernel: [<f86690e2>] atombios_crtc_commit+0xd/0x19 [radeon] Apr 13 21:40:30 goldenfish kernel: [<f854952c>] drm_crtc_helper_set_mode+0x2d4/0x3ac [drm_kms_helper] Apr 13 21:40:30 goldenfish kernel: [<f8549cab>] drm_crtc_helper_set_config+0x5b4/0x79a [drm_kms_helper] Apr 13 21:40:30 goldenfish kernel: [<f85483d3>] drm_fb_helper_set_par+0x5c/0x97 [drm_kms_helper] Apr 13 21:40:30 goldenfish kernel: [<c1197dbc>] fbcon_init+0x2c1/0x3aa Apr 13 21:40:30 goldenfish kernel: [<c11f6c11>] visual_init+0xd2/0x127 Apr 13 21:40:30 goldenfish kernel: [<c11f79d3>] bind_con_driver+0x217/0x305 Apr 13 21:40:30 goldenfish kernel: [<c11f7ae9>] take_over_console+0x28/0x33 Apr 13 21:40:30 goldenfish kernel: [<c119724e>] fbcon_takeover+0x53/0x8d Apr 13 21:40:30 goldenfish kernel: [<c119a445>] fbcon_event_notify+0x1ea/0x4f1 Apr 13 21:40:30 goldenfish kernel: [<c10e7b84>] ? sysfs_add_one+0x12/0x80 Apr 13 21:40:30 goldenfish kernel: [<c10473d9>] notifier_call_chain+0x26/0x48 Apr 13 21:40:30 goldenfish kernel: [<c1047594>] __blocking_notifier_call_chain+0x34/0x48 Apr 13 21:40:30 goldenfish kernel: [<c10475b4>] blocking_notifier_call_chain+0xc/0xe Apr 13 21:40:30 goldenfish kernel: [<c118dee9>] fb_notifier_call_chain+0x11/0x13 Apr 13 21:40:30 goldenfish kernel: [<c118ed3c>] register_framebuffer+0x202/0x214 Apr 13 21:40:30 goldenfish kernel: [<f85485c5>] drm_fb_helper_single_fb_probe+0x1b7/0x241 [drm_kms_helper] Apr 13 21:40:30 goldenfish kernel: [<f8548a47>] drm_fb_helper_initial_config+0x3f8/0x405 [drm_kms_helper] Apr 13 21:40:30 goldenfish kernel: [<c10e7b84>] ? sysfs_add_one+0x12/0x80 Apr 13 21:40:30 goldenfish kernel: [<f8547907>] ? drm_fb_helper_init+0xb6/0x12f [drm_kms_helper] Apr 13 21:40:30 goldenfish kernel: [<f85479b4>] ? drm_fb_helper_single_add_all_connectors+0x34/0x9c [drm_kms_helper] Apr 13 21:40:30 goldenfish kernel: [<f8684e7b>] radeon_fbdev_init+0xb0/0xba [radeon] Apr 13 21:40:30 goldenfish kernel: [<f867fa8f>] radeon_modeset_init+0x793/0x7a5 [radeon] Apr 13 21:40:30 goldenfish kernel: [<f866277e>] radeon_driver_load_kms+0xbd/0xec [radeon] Apr 13 21:40:30 goldenfish kernel: [<f8374999>] drm_get_pci_dev+0x12d/0x20c [drm] Apr 13 21:40:30 goldenfish kernel: [<f86dc8df>] radeon_pci_probe+0xb3/0xba [radeon] Apr 13 21:40:30 goldenfish kernel: [<c103f43b>] ? cwq_dec_nr_in_flight+0x64/0x64 Apr 13 21:40:30 goldenfish kernel: [<c1184ea2>] local_pci_probe+0xe/0x10 Apr 13 21:40:30 goldenfish kernel: [<c103f447>] do_work_for_cpu+0xc/0x1b Apr 13 21:40:30 goldenfish kernel: [<c1043a09>] kthread+0x62/0x67 Apr 13 21:40:30 goldenfish kernel: [<c10439a7>] ? kthread_worker_fn+0x107/0x107 Apr 13 21:40:30 goldenfish kernel: [<c12f1776>] kernel_thread_helper+0x6/0xd Apr 13 21:40:30 goldenfish kernel: Code: b0 64 01 00 00 01 de 8b 36 39 f2 75 cd 89 d0 5a 5b 5e 5f 5d c3 55 89 c1 89 e5 56 53 c1 e2 02 03 90 74 01 00 00 8b 02 85 c0 75 02 <0f> 0b f0 ff 0a 0f 94 c0 84 c0 74 29 a1 64 68 38 f8 85 c0 74 20 Apr 13 21:40:30 goldenfish kernel: EIP: [<f8370ab8>] drm_vblank_put+0x16/0x4f [drm] SS:ESP 0068:f1f29a38 Apr 13 21:40:30 goldenfish kernel: ---[ end trace 7da9328bd40673d3 ]---
Please boot in runlevel 3 (add 3 to your kernel boot line) to avoid starting X, unloading the radeon non kms module might let the hw in fuzzy state. Once booted in run level 3 load radeon with the modeset=1 and attach the new kernel log here
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/189.
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.