gentoo sources 3.14.14 is causing xorg to crash when using xf86-video-ati drivers. More specifically the driver when used with my RV710 video card causes a kernel "oops" message. Xorg then crashes leaving the computer in X but without a valid video mode and without input ability (xorg hadn't loaded that yet). Computer did continue to work fine if accessed remotely via ssh. But any time X was started, the above "lockup" would happen. No errors in Xorg.log but the following was in my syslog: [ 924.878628] BUG: unable to handle kernel paging request at ffffebe000000000 [ 924.878667] IP: [<ffffffff8110ff2c>] kfree+0x3c/0xe0 [ 924.878694] PGD 0 [ 924.878705] Oops: 0000 [#1] SMP [ 924.878723] Modules linked in: cx18_alsa mxl5005s s5h1409 cs5345 tuner radeon cx18 videobuf_vmalloc drm_kms_helper ttm drm tveeprom cx2341x r8169 mii snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer iTCO_wdt lpc_ich videobuf_core mfd_core i2c_algo_bit i2c_i801 coretemp intel_agp snd shpchp intel_gtt [ 924.878909] CPU: 2 PID: 30248 Comm: X Not tainted 3.14.14-gentoo #14 [ 924.878935] Hardware name: MSI MS-7592/G41M4 (MS-7592), BIOS V1.14 05/18/2011 [ 924.878964] task: ffff8800a8d50000 ti: ffff8800a8f6c000 task.ti: ffff8800a8f6c000 [ 924.878993] RIP: 0010:[<ffffffff8110ff2c>] [<ffffffff8110ff2c>] kfree+0x3c/0xe0 [ 924.879001] RSP: 0018:ffff8800a8f6da80 EFLAGS: 00010286 [ 924.879001] RAX: 000001e000000000 RBX: ffff8800c90c4000 RCX: 0000000000000000 [ 924.879001] RDX: 000077ff80000000 RSI: 00000000000071bc RDI: 0000000000000202 [ 924.879001] RBP: ffff88012a036e00 R08: 000000000000000c R09: 0000000000017700 [ 924.879001] R10: ffffebe000000000 R11: 0000000000000000 R12: 0000000000000000 [ 924.879001] R13: ffff8800ca804200 R14: ffff8800c90c4000 R15: 0000000000000000 [ 924.879001] FS: 00007f067ffb1880(0000) GS:ffff88012fd00000(0000) knlGS:0000000000000000 [ 924.879001] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 924.879001] CR2: ffffebe000000000 CR3: 0000000129b10000 CR4: 00000000000007e0 [ 924.879001] Stack: [ 924.879001] ffffffffa027164c 0000000000017700 0018000000000002 ffff8800a8f35900 [ 924.879001] 00007410c90c4000 0000000000000000 ffff8800c90c53ca 0000000000000202 [ 924.879001] ffff8800cba34000 ffff8800ca804200 ffffffffa0243472 ffff8800c90c4000 [ 924.879001] Call Trace: [ 924.879001] [<ffffffffa027164c>] ? r600_hdmi_setmode+0x5cc/0x860 [radeon] [ 924.879001] [<ffffffffa0243472>] ? radeon_irq_kms_enable_afmt+0x72/0xa0 [radeon] [ 924.879001] [<ffffffffa0271dd2>] ? r600_hdmi_enable+0x152/0x320 [radeon] [ 924.879001] [<ffffffffa01b0b59>] ? drm_crtc_helper_set_mode+0x479/0x4e0 [drm_kms_helper] [ 924.879001] [<ffffffffa0235e28>] ? radeon_connector_set_property+0x1b8/0x330 [radeon] [ 924.879001] [<ffffffffa01608c2>] ? drm_mode_obj_set_property_ioctl+0x132/0x330 [drm] [ 924.879001] [<ffffffffa0160aec>] ? drm_mode_connector_property_set_ioctl+0x2c/0x40 [drm] [ 924.879001] [<ffffffffa0150add>] ? drm_ioctl+0x49d/0x5a0 [drm] [ 924.879001] [<ffffffffa0160ac0>] ? drm_mode_obj_set_property_ioctl+0x330/0x330 [drm] [ 924.879001] [<ffffffffa021107b>] ? radeon_drm_ioctl+0x5b/0xb0 [radeon] [ 924.879001] [<ffffffff811294be>] ? do_vfs_ioctl+0x7e/0x500 [ 924.879001] [<ffffffff812a4527>] ? file_has_perm+0x97/0xa0 [ 924.879001] [<ffffffff811299d9>] ? SyS_ioctl+0x99/0xb0 [ 924.879001] [<ffffffff81644672>] ? page_fault+0x22/0x30 [ 924.879001] [<ffffffff8164a3e2>] ? system_call_fastpath+0x16/0x1b [ 924.879001] Code: 77 00 00 b8 00 00 00 80 49 ba 00 00 00 00 00 ea ff ff 48 01 f8 48 0f 42 15 f2 40 74 00 48 01 d0 48 c1 e8 0c 48 c1 e0 06 49 01 c2 <49> 8b 02 f6 c4 80 75 50 49 8b 02 a8 80 74 6c 55 53 48 8b 6c 24 [ 924.879001] RIP [<ffffffff8110ff2c>] kfree+0x3c/0xe0 [ 924.879001] RSP <ffff8800a8f6da80> [ 924.879001] CR2: ffffebe000000000 I circumvented the error by switching to an older version of the kernel (linux-3.12.21-gentoo-r1). I have no idea what is actually causing the kernel Oops. It *may* be specific to the firmware used on my particular video card: # lspci | grep -i VGA 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710 [Radeon HD 4550]
Please attach your kernel .config.
Created attachment 384212 [details] .config file
this is the last .config file I used (before switching to earlier kernel version). I tried several variation, but the kernel oops happened on all of them when the Radeon's modesetting module was invoked (as seen in the syslog backtrace shown above).
perhaps related to this bug : https://bugzilla.kernel.org/show_bug.cgi?id=88481
This doesn't look like it's going to make 3.14, but the comment referenced in the tag is in >3.17.5. Can someone please test a recent kernel to see if this issue is indeed fixed in that kernel version.
I just updated my system to kernel 3.17.7. It seems to work fine now. Thanks for fixing the problem, and thank you all for the great work over the years!!! :)