Bug 95518 - kernel crash occurs at transition to GDM
Summary: kernel crash occurs at transition to GDM
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium critical
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-21 14:38 UTC by Peter Gückel
Modified: 2016-05-22 22:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
edit of journal (2.09 MB, text/plain)
2016-05-21 15:40 UTC, Peter Gückel
no flags Details

Description Peter Gückel 2016-05-21 14:38:04 UTC
i686
Fedora 24

Graphics wonky, stuttering and slow, constantly switching modes with nomodeset in linux16 kernel boot line in grub.cfg.

Bug is already reported at:

https://bugzilla.redhat.com/show_bug.cgi?id=1338076
Comment 1 Peter Gückel 2016-05-21 15:40:57 UTC
Created attachment 123959 [details]
edit of journal

I posted this on bugzilla.redhat, too. I don't know which team needs it: Intel driver or kernel—or someone else?

There are loads of gnome errors, but some TPM stuff and more, too. This could be helpful for the TPM issue I also reported, maybe?
Comment 2 Chris Wilson 2016-05-21 20:19:12 UTC
nomodeset disables the i915.ko module. Don't set it.
Comment 3 Felix Miata 2016-05-22 16:39:27 UTC
Chris, reporter filed this because of what happens when nomodeset is *removed* from the Grub stanza -
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org/message/ADBMUZCRKYUGOXHYYVA2YVMPUFKPIS6E/ explains.

Anaconda put nomodeset in the Grub menu because it had been required for the installation process to complete. Reporter removed nomodeset, then couldn't reach X.

Same thing happens here on 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated Graphics Controller (rev 04) and 4.5.4-300.fc24.i686+PAE kernel,
which looks like was previously reported in bugzilla.redhat.com bug 1331593 and/or bug 1302071 and/or bug 1283348 and https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org/message/FITMTLVW5OBE7ZT4S7YRCD3RLGTHN2KW/ . Maybe this is a dupe or a kernel bug, but it's not a result of using nomodest.

I can remote login to reboot, and collect dmesg. This is from dmesg tail:

[   81.777762] ------------[ cut here ]------------
[   81.777796] kernel BUG at include/linux/page-flags.h:272!
[   81.777826] invalid opcode: 0000 [#1] SMP
[   81.777854] Modules linked in: rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache fuse msdos fat snd_intel8x0 i915 snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer video tg3 i2c_algo_bit drm_kms_helper sata_sil iTCO_wdt gpio_ich iTCO_vendor_support snd ppdev dcdbas drm soundcore i2c_i801 lpc_ich ptp pps_core parport_pc fjes parport acpi_cpufreq tpm_tis tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc serio_raw ata_generic pata_acpi
[   81.778201] CPU: 0 PID: 1114 Comm: Xorg Not tainted 4.5.4-300.fc24.i686+PAE #1
[   81.778239] Hardware name: Dell Inc.                 OptiPlex GX280               /0G5611, BIOS A08 03/03/2006
[   81.778289] task: f67ab180 ti: f3656000 task.ti: f3656000
[   81.778319] EIP: 0060:[<f8597e42>] EFLAGS: 00013286 CPU: 0
[   81.778377] EIP is at drm_pci_alloc+0xc2/0x1b0 [drm]
[   81.778405] EAX: 00000000 EBX: 00004000 ECX: f775d848 EDX: 00000007
[   81.778438] ESI: f58ba490 EDI: c0419f90 EBP: f3657b90 ESP: f3657b6c
[   81.778472]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[   81.778499] CR0: 80050033 CR2: b68bd000 CR3: 35a65340 CR4: 000006f0
[   81.778499] Stack:
[   81.778499]  024040c0 00000000 f701a864 f88b9688 024040c0 80612224 00000000 f5a62c00
[   81.778499]  f5a62c78 f3657ba8 f882e8ef 00000100 f647c000 f37380c0 f3738000 f3657bdc
[   81.778499]  f8875b4b f35e0000 f5b9ec00 f5f33800 f885d701 f3653400 f66d4800 00000000
[   81.778499] Call Trace:
[   81.778499]  [<f882e8ef>] i915_gem_object_attach_phys+0xef/0x190 [i915]
[   81.778499]  [<f8875b4b>] intel_prepare_plane_fb+0x18b/0x300 [i915]
[   81.778499]  [<f885d701>] ? intel_crtc_destroy+0x41/0x60 [i915]
[   81.778499]  [<f85de385>] drm_atomic_helper_prepare_planes+0x45/0xb0 [drm_kms_helper]
[   81.778499]  [<f886d1c0>] intel_atomic_commit+0x270/0x1770 [i915]
[   81.778499]  [<f886fb26>] ? intel_atomic_check+0x886/0x10a0 [i915]
[   81.778499]  [<f886f2a0>] ? intel_link_compute_m_n+0x50/0x50 [i915]
[   81.778499]  [<f85ace9f>] ? drm_atomic_check_only+0x19f/0x670 [drm]
[   81.778499]  [<f85ac664>] ? drm_atomic_get_crtc_state+0x54/0xc0 [drm]
[   81.778499]  [<c058cb4a>] ? kmemdup+0x2a/0x40
[   81.778499]  [<f886cf50>] ? modeset_get_crtc_power_domains+0x140/0x140 [i915]
[   81.778499]  [<f85ad3a4>] drm_atomic_commit+0x34/0x60 [drm]
[   81.778499]  [<f85ded5c>] drm_atomic_helper_update_plane+0xbc/0x100 [drm_kms_helper]
[   81.778499]  [<f85deca0>] ? drm_atomic_helper_wait_for_vblanks+0x210/0x210 [drm_kms_helper]
[   81.778499]  [<f859ceeb>] __setplane_internal+0x1eb/0x230 [drm]
[   81.778499]  [<f859d0ae>] drm_mode_cursor_common+0x17e/0x3a0 [drm]
[   81.778499]  [<f85a13b0>] ? drm_mode_setcrtc+0x570/0x570 [drm]
[   81.778499]  [<f85a1407>] drm_mode_cursor_ioctl+0x57/0x70 [drm]
[   81.778499]  [<f85923f9>] drm_ioctl+0x149/0x4f0 [drm]
[   81.778499]  [<f85a13b0>] ? drm_mode_setcrtc+0x570/0x570 [drm]
[   81.778499]  [<c059bed7>] ? __do_fault+0x67/0x180
[   81.778499]  [<c059ff64>] ? handle_mm_fault+0x204/0x18a0
[   81.778499]  [<f85922b0>] ? drm_getmap+0xc0/0xc0 [drm]
[   81.778499]  [<c05ec931>] do_vfs_ioctl+0x91/0x6f0
[   81.778499]  [<c05a703a>] ? do_mmap+0x24a/0x320
[   81.778499]  [<c05ecff8>] SyS_ioctl+0x68/0x80
[   81.778499]  [<c040388f>] do_fast_syscall_32+0x8f/0x140
[   81.778499]  [<c0b2f19b>] sysenter_past_esp+0x40/0x61
[   81.778499] Code: 70 8d 82 00 00 00 40 c1 e8 0c 8d 0c 80 a1 84 e3 04 c1 8d 04 c8 8b 08 80 e5 40 74 7d 90 8d 74 26 00 ba 18 e5 5b f8 e8 2e 1a 00 c8 <0f> 0b 8d 74 26 00 8d 55 ec 8d 45 e4 e8 dd 1f e8 c7 84 c0 0f 84
[   81.778499] EIP: [<f8597e42>] drm_pci_alloc+0xc2/0x1b0 [drm] SS:ESP 0068:f3657b6c
[   81.824939] ---[ end trace 0947e3cb36165af0 ]---
Comment 4 Peter Gückel 2016-05-22 21:45:32 UTC
On line 2, it says "kernel BUG at..."

May 22 11:12:53 lap kernel: ------------[ cut here ]------------
May 22 11:12:53 lap kernel: kernel BUG at include/linux/page-flags.h:272!
May 22 11:12:53 lap kernel: invalid opcode: 0000 [#1] SMP 
May 22 11:12:53 lap kernel: Modules linked in: xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack michael_mic arc4 lib80211_crypt_tkip lib80211_crypt_ccmp ip_set nfnetlink ebtable_nat ebtable_broute bridge ip6table_raw ip6table_mangle ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_security iptable_raw iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_security ebtable_filter ebtables ip6table_filter ip6_tables ipw2200 snd_intel8x0m snd_intel8x0 libipw snd_ac97_codec lib80211 iTCO_wdt ac97_bus snd_seq snd_seq_device snd_pcm ppdev cfg80211 iTCO_vendor_support hp_wmi sparse_keymap snd_timer snd rfkill lpc_ich joydev soundcore irda tifm_7xx1 parport_pc
May 22 11:12:53 lap kernel: tifm_core parport tpm_infineon crc_ccitt acpi_cpufreq tpm_tis tpm nfsd auth_rpcgss nfs_acl lockd grace i915 8021q i2c_algo_bit garp drm_kms_helper stp llc mrp syscopyarea sysfillrect sysimgblt fb_sys_fops sdhci_pci tg3 drm sdhci mmc_core ata_generic serio_raw ptp yenta_socket pata_acpi pps_core wmi fjes video sunrpc scsi_transport_iscsi
May 22 11:12:53 lap kernel: CPU: 0 PID: 1014 Comm: Xorg Not tainted 4.5.4-300.fc24.i686 #1
May 22 11:12:53 lap kernel: Hardware name: Hewlett-Packard HP Compaq nc6220 (PU982AW#ABA)/308A, BIOS 68DTU Ver. F.16 07/24/2009
May 22 11:12:53 lap kernel: task: eff75280 ti: f1378000 task.ti: f1378000
May 22 11:12:53 lap kernel: EIP: 0060:[<f7ec3ca2>] EFLAGS: 00013286 CPU: 0
May 22 11:12:53 lap kernel: EIP is at drm_pci_alloc+0xc2/0x1b0 [drm]
May 22 11:12:53 lap kernel: EAX: 00000000 EBX: 00004000 ECX: f69fbec8 EDX: 00000007
May 22 11:12:53 lap kernel: ESI: f05c4880 EDI: c04092e0 EBP: f1379b90 ESP: f1379b6c
May 22 11:12:53 lap kernel: DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
May 22 11:12:53 lap kernel: CR0: 80050033 CR2: b6848000 CR3: 3059a000 CR4: 000006d0
May 22 11:12:53 lap kernel: Stack:
May 22 11:12:54 lap kernel: 024040c0 00000000 f6412064 f8152688 024040c0 90f47428 00000000 efc558c0
May 22 11:12:54 lap kernel: efc55938 f1379ba8 f80c761f 00000100 f66d0a00 f5693300 f5693240 f1379bdc
May 22 11:12:54 lap kernel: f810e71b f40a0000 eec5e000 f4b1e800 f80f6201 ee928c00 f4117000 00000000
May 22 11:12:54 lap kernel: Call Trace:
May 22 11:12:54 lap kernel: [<f80c761f>] i915_gem_object_attach_phys+0xef/0x190 [i915]
May 22 11:12:54 lap kernel: [<f810e71b>] intel_prepare_plane_fb+0x18b/0x300 [i915]
May 22 11:12:54 lap kernel: [<f80f6201>] ? pipe_dsl_stopped+0x31/0x80 [i915]
May 22 11:12:54 lap kernel: [<f7e61385>] drm_atomic_helper_prepare_planes+0x45/0xb0 [drm_kms_helper]
May 22 11:12:55 lap kernel: [<f8105d90>] intel_atomic_commit+0x270/0x1770 [i915]
May 22 11:12:55 lap kernel: [<f81086f6>] ? intel_atomic_check+0x886/0x10a0 [i915]
May 22 11:12:55 lap kernel: [<f8107e70>] ? intel_link_compute_m_n+0x50/0x50 [i915]
May 22 11:12:55 lap kernel: [<f7ed8cdf>] ? drm_atomic_check_only+0x19f/0x670 [drm]
May 22 11:12:55 lap kernel: [<f7ed84a4>] ? drm_atomic_get_crtc_state+0x54/0xc0 [drm]
May 22 11:12:55 lap kernel: [<c057ad4a>] ? kmemdup+0x2a/0x40
May 22 11:12:56 lap kernel: [<f8105b20>] ? modeset_get_crtc_power_domains+0x140/0x140 [i915]
May 22 11:12:56 lap kernel: [<f7ed91e4>] drm_atomic_commit+0x34/0x60 [drm]
May 22 11:12:56 lap kernel: [<f7e61d5c>] drm_atomic_helper_update_plane+0xbc/0x100 [drm_kms_helper]
May 22 11:12:56 lap kernel: [<f7e61ca0>] ? drm_atomic_helper_wait_for_vblanks+0x210/0x210 [drm_kms_helper]
May 22 11:12:56 lap kernel: [<f7ec8d4b>] __setplane_internal+0x1eb/0x230 [drm]
May 22 11:12:56 lap kernel: [<f7ec8f0e>] drm_mode_cursor_common+0x17e/0x3a0 [drm]
May 22 11:12:57 lap kernel: [<f7ecd210>] ? drm_mode_setcrtc+0x570/0x570 [drm]
May 22 11:12:57 lap kernel: [<f7ecd267>] drm_mode_cursor_ioctl+0x57/0x70 [drm]
May 22 11:12:57 lap kernel: [<f7ebe319>] drm_ioctl+0x149/0x4f0 [drm]
May 22 11:12:57 lap kernel: [<f80ca4c6>] ? i915_gem_fault+0xa6/0x4c0 [i915]
May 22 11:12:57 lap kernel: [<f7ecd210>] ? drm_mode_setcrtc+0x570/0x570 [drm]
May 22 11:12:57 lap kernel: [<c0589e97>] ? __do_fault+0x67/0x180
May 22 11:12:58 lap kernel: [<f7ebe1d0>] ? drm_getmap+0xc0/0xc0 [drm]
May 22 11:12:58 lap kernel: [<c05d8521>] do_vfs_ioctl+0x91/0x6f0
May 22 11:12:58 lap kernel: [<c06ca09d>] ? selinux_file_ioctl+0xfd/0x1c0
May 22 11:12:58 lap kernel: [<c06c0f4c>] ? security_file_ioctl+0x3c/0x60
May 22 11:12:58 lap kernel: [<c05d8be8>] SyS_ioctl+0x68/0x80
May 22 11:12:59 lap kernel: [<c0401bef>] do_fast_syscall_32+0x8f/0x140
May 22 11:12:59 lap kernel: [<c0af675b>] sysenter_past_esp+0x40/0x61
May 22 11:12:59 lap kernel: Code: 70 8d 82 00 00 00 40 c1 e8 0c 8d 0c 80 a1 04 41 ff c0 8d 04 c8 8b 08 80 e5 40 74 7d 90 8d 74 26 00 ba 18 a5 ee f7 e8 9e 3d 6c c8 <0f> 0b 8d 74 26 00 8d 55 ec 8d 45 e4 e8 cd 54 54 c8 84 c0 0f 84
May 22 11:12:59 lap kernel: EIP: [<f7ec3ca2>] drm_pci_alloc+0xc2/0x1b0 [drm] SS:ESP 0068:f1379b6c
May 22 11:12:59 lap kernel: ---[ end trace 3e84658473ffb87a ]---
Comment 5 Peter Gückel 2016-05-22 21:48:10 UTC
Said to be a duplicate:

https://bugzilla.redhat.com/show_bug.cgi?id=1335173
Comment 6 Peter Gückel 2016-05-22 22:14:42 UTC
Exactly as Felix says:

Because of this bug, I was not able to install Fedora 24 using the normal anaconda graphical installer (no 'nomodeset' parameter present, as is correct).

Instead, I had to use a special troubleshooting setup that applies the 'nomodeset' paramenter in order to be able to install at all.

Once I got the system installed, I noticed that this troubleshooting setting had been incorporated into the grub kernel boot line.

Because the boot process was rather wonky (flashing, artefacts, etc), I wanted to return to the standard setting, so I manually edited the menu to remove the 'nomodeset' parameter—and this is how I discovered this bug.

Putting things the way you insist they are supposed to be (and the way they have been in the past, which is why I wanted to return to the old tried-and-true setting), revealed this bug.


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.