Bug#915674: i915 driver crash on kernel 4.18.0-3 (buster/testing)
Package: linux-image-amd64 Version: 4.18.0-3-amd64 #1 SMP Debian 4.18.20-2 (2018-11-23) x86_64 GNU/Linux i915 driver crashes at startup with kernel 4.18.0-3-amd64 (buster) on old 946GZ chipset, monitor goes out of sync both on X and consoles. All good running 4.18.0-2-amd64. (...) [ 11.827937] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 11.827945] PGD 0 P4D 0 [ 11.827950] Oops: [#1] SMP PTI [ 11.827955] CPU: 2 PID: 429 Comm: systemd-udevd Not tainted 4.18.0-3-amd64 #1 Debian 4.18.20-2 [ 11.827959] Hardware name: LENOVO 9632Y4A/LENOVO, BIOS 2OKT48AUS 11/13/2008 [ 11.828043] RIP: 0010:gen4_render_ring_flush+0x55/0xf0 [i915] [ 11.828046] Code: 00 be 16 00 00 00 48 89 ef e8 87 fe ff ff 48 3d 00 f0 ff ff 77 69 89 18 c7 40 04 02 40 00 7a 48 8b 55 78 48 8b 92 10 02 00 00 <48> 8b 52 08 48 c7 40 0c 00 00 00 00 83 ca 04 89 50 08 48 8d 50 14 [ 11.828085] RSP: 0018:b5b140a4ba88 EFLAGS: 00010287 [ 11.828089] RAX: b5b150002000 RBX: 0202 RCX: 0001ff68 [ 11.828092] RDX: RSI: 01a8 RDI: 0150 [ 11.828096] RBP: 9a6ef570aac0 R08: 0001 R09: 0004 [ 11.828099] R10: b5b140a4ba58 R11: R12: 9a6ef4da [ 11.828103] R13: 9a6ef7527600 R14: R15: 9a6ef570aac0 [ 11.828107] FS: 7fdff69628c0() GS:9a6effd0() knlGS: [ 11.828111] CS: 0010 DS: ES: CR0: 80050033 [ 11.828114] CR2: 0008 CR3: 000138bd8000 CR4: 06e0 [ 11.828117] Call Trace: [ 11.828159] i915_request_alloc+0x243/0x360 [i915] [ 11.828197] i915_gem_init+0x284/0x480 [i915] [ 11.828231] i915_driver_load+0xb22/0xef0 [i915] [ 11.828239] ? acpi_dev_found+0x5f/0x70 [ 11.828244] local_pci_probe+0x42/0xa0 [ 11.828248] ? pci_assign_irq+0x27/0x130 [ 11.828252] pci_device_probe+0x146/0x1b0 [ 11.828258] driver_probe_device+0x2fa/0x470 [ 11.828266] __driver_attach+0xdc/0x100 [ 11.828269] ? driver_probe_device+0x470/0x470 [ 11.828273] bus_for_each_dev+0x76/0xc0 [ 11.828277] ? klist_add_tail+0x3b/0x70 [ 11.828281] bus_add_driver+0x161/0x260 [ 11.828285] ? 0xc0c8e000 [ 11.828288] driver_register+0x5b/0xe0 [ 11.828292] ? 0xc0c8e000 [ 11.828296] do_one_initcall+0x46/0x1c8 [ 11.828301] ? _cond_resched+0x15/0x40 [ 11.828305] ? kmem_cache_alloc_trace+0x15d/0x1c0 [ 11.828309] ? do_init_module+0x22/0x201 [ 11.828313] do_init_module+0x5b/0x201 [ 11.828317] load_module.constprop.56+0x1649/0x1d80 [ 11.828321] ? vfs_read+0x113/0x130 [ 11.828325] ? vfs_read+0x113/0x130 [ 11.828328] ? __do_sys_finit_module+0xe9/0x110 [ 11.828332] __do_sys_finit_module+0xe9/0x110 [ 11.828336] do_syscall_64+0x55/0x110 [ 11.828340] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 11.828344] RIP: 0033:0x7fdff73c6a79 [ 11.828346] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d df 43 0c 00 f7 d8 64 89 01 48 [ 11.828384] RSP: 002b:7ffc05b6a8e8 EFLAGS: 0246 ORIG_RAX: 0139 [ 11.828389] RAX: ffda RBX: 55b9075f5ba0 RCX: 7fdff73c6a79 [ 11.828393] RDX: RSI: 7fdff72cccad RDI: 0012 [ 11.828396] RBP: 7fdff72cccad R08: R09: [ 11.828399] R10: 0012 R11: 0246 R12: [ 11.828403] R13: 55b9075eb1c0 R14: 0002 R15: 55b9075f5ba0 [ 11.828406] Modules linked in: i915(+) ipt_REJECT nf_reject_ipv4 snd_hda_codec_analog cfg80211 snd_hda_codec_generic xt_comment xt_multiport crc_ccitt rfkill nft_limit xt_limit snd_hda_intel xt_addrtype kvm_intel snd_hda_codec xt_tcpudp snd_hda_core snd_hwdep video kvm nf_conntrack_ipv4 nf_defrag_ipv4 drm_kms_helper snd_pcm xt_conntrack tg3 snd_timer drm r8169 snd nft_compat libphy iTCO_wdt soundcore irqbypass iTCO_vendor_support mii i2c_algo_bit floppy i2c_i801 nft_counter pcc_cpufreq button acpi_cpufreq nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_tables nfnetlink it87 hwmon_vid coretemp parport_pc lp ip_tables x_tables f2fs crc32_generic xhci_pci xhci_hcd raid0 raid1 raid456 libcrc32c async_raid6_recov async_memcpy async_pq async_xor xor async_tx [ 11.828473] raid6_pq raid10 md_mod autofs4 ppdev parport sunrpc rng_core sg arc4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb crypto_simd cryptd glue_helper aes_x86_64 binfmt_misc fuse cpuid usbhid ohci_pci ohci_hcd hid_generic hid uas usb_storage sd_mod ata_generic evdev ata_piix psmouse pcspkr libata ehci_pci uhci_hcd serio_raw ehci_hcd scsi_mod lpc_ich usbcore usb_common [ 11.828514] CR2: 0008 [ 11.828533] ---[ end trace 679f3a6d897b885c ]--- [ 11.828572] RIP: 0010:gen4_render_ring_flush+0x55/0xf0
Bug#898021: Possible workaround
On Fri, 20 Jul 2018 10:36:18 -0300 Lisandro =?ISO-8859-1?Q?Dami=E1n_Nicanor_P=E9rez?= Meyer wrote: > Maxy (KDE/sddm maintainer) just suggested me to use haveged to workaround the > issue. > > From the Qt/sddm code this would certainly not affect security, as the problem > lies in a hash structure used in the code. I can not vouch for other stuff in > the machine. > > I have not seen this bug so far, but if any of you can still reproduce it you > might want to give this a try. > > Cheers, Lisandro. > > -- > If little green men land in your back yard, hide any little green women > you've got in the house. > Mike Harding, "The Armchair Anarchist's Almanac" > > Lisandro Damián Nicanor Pérez Meyer > http://perezmeyer.com.ar/ > http://perezmeyer.blogspot.com/ I've experienced it just today while installing Buster on an old Kentsfield system, so it's still present on kernel 4.16. I have used haveged to just forget about it, more entropy won't hurt when it's fixed. Cheers. Pedro
Bug#898021: linux-image-4.16.0-1-amd64: kernel 4.16 infinite wait after dm login on ivy bridge and bay trail
Hi Stuart, I guess it is related, just moving the mouse will indeed bypass the "freeze", but there is always some delay (4-5 sec) in which the desktop will wait. And it does happen on SSD-only laptops: a Bay Trail (Celeron) and a Ivy Bridge (i3), but not on a Pineview (Atom), this last one has a 32 bit install. Pedro