Bugzilla – Bug 1084811
E-sata hotplugging stopped working since kernel 4.15
Last modified: 2022-07-03 16:15:42 UTC
I have noticed that on my Dell E6520 notebook the e-sata hotplugging stopped working since kernel 4.15.
Currently I can observe this problem with kernel:
The e-sata cable is OK, and an e-sata device can be used with kernel 4.15 if it is turned on and plugged in before powering on my notebook.
(The e-sata hotplugging works well with the Leap kernel 4.12.14-lp150.5.3-x86_64.)
(I’m not an advanced user, but I’m ready to follow detailed instructions.)
Could you give the kernel messages on both working and non-working cases at e-SATA hotplug?
Also, give hwinfo output, too.
It's basically an upstream kernel regression and we should report to upstream. But we need the basic hardware information for that.
Both hwinfo executed after hotplugging.
With kernel 4.15.8 the hotplugging was at ~17:59.
With kernel 4.12.14 the hotplugging was at ~18:29.
~18:31 – disk mounted in KDE trough Dolphin
~18:32 – safely remove was clicked in Dolphin
~18:33 – the disk turned off
Created attachment 764051 [details]
Created attachment 764052 [details]
Created attachment 764053 [details]
Created attachment 764054 [details]
Hmm, there is absolutely nothing about the actual plug in the new kernel. Does it still happen with 4.17?
(In reply to Jiri Slaby from comment #7)
> Hmm, there is absolutely nothing about the actual plug in the new kernel.
> Does it still happen with 4.17?
Yes, currently with 4.17.1-4.gdf028bb-default.
The same with kernel 4.18.0-rc1-2.gbf046be-default.
The drive can be detected with:
# echo 0 0 0 | tee /sys/class/scsi_host/host*/scan
And then can be mounted in Dolhpin as beforehand.
Currently I'm on kernel 4.18.0-rc3-2.gdd5896f-default, and the reported problem is still there.
I did not tried the mentioned command with other kernel versions.
Plus the mentioned command need to be used to "undetect" the disk after doing a "safely remove" in Dolphin. In this way will go away the sdb after its drive turned off.
It seems that this issue is the side-effect of tlp. I just uninstalled it and e-sata hotplugging started working again.
(This tlp and the like stuff should never be automatically installed on user systems without the most explicit and detailed info on what it will do by default, and without explicit consent from the user.)