Bug 101371 - OOPS: unplugging western digital passport drive
Summary: OOPS: unplugging western digital passport drive
Status: NEW
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: SCSI (show other bugs)
Hardware: Intel Linux
: P1 high
Assignee: linux-scsi@vger.kernel.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-12 08:23 UTC by Ilan Cohen
Modified: 2015-11-11 21:18 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.0.7
Subsystem:
Regression: No
Bisected commit-id:


Attachments
kernel log (148.70 KB, application/octet-stream)
2015-07-12 08:23 UTC, Ilan Cohen
Details

Description Ilan Cohen 2015-07-12 08:23:59 UTC
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
Comment 1 Joe Lawrence 2015-07-19 02:37:48 UTC
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
Comment 2 Ilan Cohen 2015-07-20 14:41:49 UTC
Hi Joe,

I applied the patch Alan posted to kernel 4.0.8 and the crash does not occur anymore.

Regards,

Ilan Cohen

Note You need to log in before you can comment on or make changes to this bug.