Created attachment 182471 [details] kernel log Hi, I can reproducibly crash my laptop by unplugging a western digital passport drive. The flow is as follow: 1. plugin in passport drive 2. wait until drivers are loaded 3. plug in or unplug power cable 4. unplug passport This only happens after changing the power state of the laptop. So if I plug in the passport drive while on BAT (or AC) and plug in out while on AC (or BAT) the system crashes. I think this is the same bug but for an older kernel version: https://www.mail-archive.com/linux-scsi@vger.kernel.org/msg37689.html Kernel log is attached. Friendly regards, Ilan Cohen
Hi Ilan, Have you tried the patch to drivers/scsi/scsi_pm.c that Alan posted in the thread you mentioned: https://www.mail-archive.com/linux-scsi@vger.kernel.org/msg37852.html Thanks, -- Joe
Hi Joe, I applied the patch Alan posted to kernel 4.0.8 and the crash does not occur anymore. Regards, Ilan Cohen