Latest working kernel : none to my knowledge
Current kernel having the problem : 3.11.0-14-generic
Distribution : Ubuntu 64 13.10
Hardware environment : Sony laptop VGN-SR19XN
-Processor : Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
- Memory : 4GB DDR2
The system freezes when plugging or unplugging the VGA connector on a Sony Vaio VGN-SR19XN with an Intel 4500MHD graphic card. I initially reported the problem to freedesktop (https://bugs.freedesktop.org/show_bug.cgi?id=58436) but it appears the problem resides on the ACPI side : disabling ACPI makes the problem disappears.
Steps to reproduce :
- Plug or unplug the VGA connector
Created attachment 117821 [details]
Created attachment 117831 [details]
Created attachment 117841 [details]
# acpidump > acpidump.txt
After a normal boot, do you see the video module get loaded?
# lsmod |grep video
If so, please remove it and then test plugging/unplugging VGA connector again see if system still freezes.
Created attachment 118101 [details]
After a normal boot the video modile is loaded :
video 19318 1 i915
After removing video module (by blacklisting relevant modules in /etc/modprobe.d/blacklist.conf and sudo modprobe -r video) the system still freezes when plugging/unplugging VGA connector.
Created attachment 119121 [details]
Do nothing in acpi_video_bus_notify to debug
Please apply this one line debug patch, you do not need to blacklist video module or remove it with this patch, let's see if it makes any difference.
No difference after patching acpi_video_bus_notify, still crashing when plugging or unplugging VGA connector.
Looks like a firmware issue to me.
More information :
I have tested FreeBSD and OpenBSD with the same result : system freezes.
So far, only Windows vista and seven have survived the VGA plugging/unplugging.
Please blacklist i915 driver and check if the problem still exists.
I couldn't get rid of i915 driver by blacklisting it so I started in VESA and rmmoded i915 just to be sure. The problem still exists.
please check if the problem still exists if you boot with acpi_osi="!Windows 2006" or acpi_osi=!.
Problem disappears with both parameters.
Created attachment 170371 [details]
patch to blacklist vista on this laptop
Please apply the patch attached comment #15 to see if the problem disappears or not. Thanks!
I have applied the patch on 3.16.0-31.
Everything is OK, problem solved.
Thanks a lot !
shipped in Linux 4.1-rc1:
Author: Chen Yu <email@example.com>
Date: Mon Mar 16 17:35:18 2015 +0800
ACPI / blacklist: Disable Vista compatibility for Sony VGN-SR19XN.