Bug 111651

Summary: ATA: All drives are marked as removable, even non-removable (for example, internal SATA HDD or SSD)
Product: Drivers Reporter: t.wede
Component: OtherAssignee: other_other
Status: NEW ---    
Severity: normal CC: bjoernv, kokoko3k, pip.kde, silviucc, simonandric5
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.4.0 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: small ata-removable regression patch

Description t.wede 2016-01-31 19:06:57 UTC
All drives are marked as removable, even non-removable (for example, internal SATA HDD or SSD).

cat /sys/block/sd*/removable means 1 on all physical drives (fixed or removable) instead of 0 on fixed drives

This error exists since Kernel 4.4.0. On Kernel 4.3.x it is correctly.
Comment 1 kokoko3k@gmail.com 2016-02-12 14:29:38 UTC
I can confirm this one, but is not present on all of the systems:
https://bbs.archlinux.org/viewtopic.php?id=208514
Comment 2 t.wede 2016-02-14 16:56:27 UTC
Created attachment 203651 [details]
small ata-removable regression patch

This patch removes a new code in the libata-scsi.c which ostensibly makes problems with some chipsets/BIOS
Comment 3 kokoko3k@gmail.com 2016-02-15 07:45:38 UTC
Disabling the hotplug functionality in the bios make the drives appears as non removable anymore; so i guess the kernel code is fine here; ti just started to support the hotplug "bit"
Comment 4 Silviu C. 2016-02-23 22:09:14 UTC
*** Bug 112681 has been marked as a duplicate of this bug. ***
Comment 5 Paul 2016-03-01 16:52:41 UTC
Just for information:

I'm also seeing this problem. In my case the bios does not have any hotplug functionality. (Gigabyte GA-MA770-DS3 with bios revision V6.00-F6)

Further details:
https://bugzilla.opensuse.org/show_bug.cgi?id=968930

Sorry, I'm unable to test patches.