Bug 108728

Summary: MacBook w/ Mobile GM965/GL960 hangs very long on boot
Product: DRI Reporter: René Rebe <rene>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description René Rebe 2018-11-13 14:22:33 UTC
While I think this vintage MacBook4,1 worked flawlessly when I used it as daily machine a decade ago, now, since a long time, with latest kernels it hangs very long on boot when the i915 module is loaded, so long that I thought it was panic'ed and crashed the first time I tried it. Also xrandr hangs for a very long time:

[  132.064212] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:34:pipe A] flip_done timed out
[  132.168177] ------------[ cut here ]------------
[  132.168181] vblank wait timed out on crtc 0
[  132.168237] WARNING: CPU: 1 PID: 252 at drivers/gpu/drm/drm_vblank.c:1084 drm_wait_one_vblank+0x15c/0x170 [drm]
[  132.168239] Modules linked in: btusb btintel btbcm btrtl bluetooth ecdh_generic b43 mac80211 deflate efi_pstore mcryptd sha256_ssse3 joydev i915 snd_hda_codec_realtek sha256_generic snd_hda_codec_generic gpio_ich snd_hda_intel snd_hda_codec snd_hda_core applesmc input_leds drm_kms_helper hwmon appletouch isight_firmware snd_hwdep input_polldev cfg80211 drm fb_sys_fops sysimgblt sysfillrect rfkill syscopyarea snd_pcm i2c_algo_bit bcma snd_timer i2c_i801 rng_core snd pcspkr i2c_core intel_agp led_class ssb_hcd lpc_ich intel_gtt soundcore efivars apple_bl acpi_cpufreq dm_crypt ecb glue_helper crypto_simd cryptd aes_x86_64 xts algif_skcipher af_alg hid_apple dm_mod xfs udf reiserfs ntfs jfs isofs vfat msdos fat ext4 jbd2 crc16 ext2 mbcache dlm fscrypto configfs btrfs raid6_pq zstd_compress xor libcrc32c
[  132.168337]  raid1 md_mod sr_mod ide_gd_mod hid_appleir hid_generic usbhid hid uas usb_storage ide_generic firewire_sbp2 sg sd_mod ide_cd_mod cdrom pata_acpi ide_pci_generic ata_generic ata_piix ahci libahci ehci_pci ehci_hcd uhci_hcd firewire_ohci firewire_core crc_itu_t piix ssb sky2 libata usbcore usb_common
[  132.168381] CPU: 1 PID: 252 Comm: kworker/u4:3 Not tainted 4.17.6-dist #1
[  132.168383] Hardware name: Apple Inc. MacBook4,1/Mac-F22788A9, BIOS     MB41.88Z.00C1.B00.0802091535 02/09/08
[  132.168390] Workqueue: events_unbound async_run_entry_fn
[  132.168406] RIP: 0010:drm_wait_one_vblank+0x15c/0x170 [drm]
[  132.168408] RSP: 0018:ffffa36d403bfad8 EFLAGS: 00010286
[  132.168411] RAX: 0000000000000000 RBX: ffff95732e4b0000 RCX: ffffffffb7c28e98
[  132.168413] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffffb8008d0c
[  132.168416] RBP: 0000000000000000 R08: 0000000000000030 R09: 00000000000003d1
[  132.168418] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[  132.168420] R13: 0000000001000001 R14: ffff95732e661808 R15: ffff957334601c00
[  132.168423] FS:  0000000000000000(0000) GS:ffff95733fd00000(0000) knlGS:0000000000000000
[  132.168426] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  132.168428] CR2: 0000154fbe42a008 CR3: 0000000028a0a000 CR4: 00000000000006e0
[  132.168430] Call Trace:
[  132.168439]  ? wait_woken+0x80/0x80
[  132.168549]  intel_get_load_detect_pipe+0x365/0x3b0 [i915]
[  132.168639]  intel_tv_detect+0x126/0x490 [i915]
[  132.168662]  ? drm_modeset_lock+0x2b/0xa0 [drm]
[  132.168671]  drm_helper_probe_single_connector_modes+0xce/0x6b0 [drm_kms_helper]
[  132.168680]  drm_setup_crtcs+0x149/0xa10 [drm_kms_helper]
[  132.168688]  __drm_fb_helper_initial_config_and_unlock+0x38/0x3e0 [drm_kms_helper]
[  132.168693]  ? dequeue_task_fair+0x115/0x450
[  132.168698]  ? _cond_resched+0x10/0x20
[  132.168792]  intel_fbdev_initial_config+0xf/0x20 [i915]
[  132.168798]  async_run_entry_fn+0x32/0xe0
[  132.168802]  process_one_work+0x1c9/0x380
[  132.168805]  worker_thread+0x26/0x3c0
[  132.168809]  ? process_one_work+0x380/0x380
[  132.168812]  kthread+0x106/0x120
[  132.168816]  ? kthread_flush_work_fn+0x10/0x10
[  132.168820]  ret_from_fork+0x35/0x40
[  132.168823] Code: 5f f6 0f 0b e9 32 ff ff ff 48 89 e6 4c 89 f7 e8 cb ad 62 f6 45 85 e4 0f 85 14 ff ff ff 89 ee 48 c7 c7 38 cf a7 c0 e8 eb 26 5f f6 <0f> 0b e9 ff fe ff ff e8 28 25 5f f6 0f 1f 84 00 00 00 00 00 8b 
[  132.168886] ---[ end trace 10a5ec3e58e1a8cb ]---
[  142.304176] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:34:pipe A] flip_done timed out
[  152.544182] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:52:SVIDEO-1] flip_done timed out
Comment 1 Ville Syrjala 2018-11-13 14:29:38 UTC

*** This bug has been marked as a duplicate of bug 93782 ***

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.