You have been subscribed to a public bug: Xorg hangs on macbook air mid 2012 when the external thunderbolt display is being unplugged. Also, when I try to boot without the external display, the OS hangs immediately on the kernel boot splash.
If I then plug the display in again, the OS unfreezes and continues to run just fine. The lockup is hard, so machine becomes unaccessible via the network. Started to happen after a month or so of running Ubuntu. OSX is not susceptible to any of the mentioned problems. Clearing NVRAM and applying latest firmware updates doesn't help. This is what I see in dmesg: [ 12.330919] ------------[ cut here ]------------ [ 12.330950] WARNING: at /build/buildd/linux-3.8.0/drivers/gpu/drm/i915/intel_display.c:5377 ironlake_crtc_mode_set+0x88a/0x8b0 [i915]() [ 12.330952] Hardware name: MacBookAir5,2 [ 12.330953] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_cirrus pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) parport_pc(F) bnep ppd ev(F) hid_generic btusb rfcomm bluetooth snd_hda_intel snd_hda_codec snd_hwdep(F) snd_pcm(F) hid_apple joydev(F) snd_page_alloc(F) coretemp binfmt_misc(F) kvm_ intel snd_seq_midi(F) arc4(F) kvm snd_seq_midi_event(F) brcmsmac uvcvideo videobuf2_vmalloc videobuf2_memops ghash_clmulni_intel(F) usbhid videobuf2_core bcm59 74 cordic(F) usb_storage(F) brcmutil hid snd_rawmidi(F) nls_iso8859_1(F) snd_seq(F) aesni_intel(F) videodev aes_x86_64(F) xts(F) lrw(F) gf128mul(F) ablk_helper (F) cryptd(F) mac80211 cfg80211 i915 snd_seq_device(F) snd_timer(F) drm_kms_helper apple_bl drm video(F) i2c_algo_bit applesmc lpc_ich mac_hid snd(F) input_pol ldev soundcore(F) bcma mei lp(F) microcode(F) parport(F) ahci(F) libahci(F) [ 12.330999] Pid: 1191, comm: Xorg Tainted: GF O 3.8.0-21-generic #32-Ubuntu [ 12.331000] Call Trace: [ 12.331008] [<ffffffff810587ef>] warn_slowpath_common+0x7f/0xc0 [ 12.331010] [<ffffffff8105884a>] warn_slowpath_null+0x1a/0x20 [ 12.331024] [<ffffffffa015409a>] ironlake_crtc_mode_set+0x88a/0x8b0 [i915] [ 12.331039] [<ffffffffa015861b>] intel_set_mode+0x63b/0xa30 [i915] [ 12.331053] [<ffffffffa0159126>] intel_crtc_set_config+0x716/0x950 [i915] [ 12.331068] [<ffffffffa00d6c11>] drm_mode_setcrtc+0x121/0x5a0 [drm] [ 12.331079] [<ffffffffa00c7559>] drm_ioctl+0x4e9/0x5b0 [drm] [ 12.331093] [<ffffffffa00d6af0>] ? drm_mode_setplane+0x370/0x370 [drm] [ 12.331098] [<ffffffff811a5969>] do_vfs_ioctl+0x99/0x570 [ 12.331101] [<ffffffff811a5ed1>] sys_ioctl+0x91/0xb0 [ 12.331105] [<ffffffff816d37dd>] system_call_fastpath+0x1a/0x1f [ 12.331108] ---[ end trace 917b1961459e15ea ]--- Looks like some modesetting bug. The same happens on fresh installations of both 12.10 and 13.04 and even when I boot from live CD/USB. Additional information: ---------------------------------------------------------------------- knazarov:~/ $ sudo lshw -C display [0:32:29] [sudo] password for knazarov: *-display description: VGA compatible controller product: 3rd Gen Core processor Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:46 memory:a0000000-a03fffff memory:90000000-9fffffff ioport:2000(size=64) ---------------------------------------------------------------------- knazarov:~/ $ lsb_release -a [0:37:47] No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 13.04 Release: 13.04 Codename: raring ---------------------------------------------------------------------- knazarov:~/ $ uname -a [0:37:51] Linux kn 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux ** Affects: linux (Ubuntu) Importance: Low Status: Incomplete ** Tags: freeze -- xorg freezes on macbook air unplugging thunderbolt display https://bugs.launchpad.net/bugs/1183089 You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp