Bug 111651 - ATA: All drives are marked as removable, even non-removable (for example, internal SATA HDD or SSD)
Summary: ATA: All drives are marked as removable, even non-removable (for example, int...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
: 112681 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-31 19:06 UTC by t.wede
Modified: 2016-04-25 18:39 UTC (History)
5 users (show)

See Also:
Kernel Version: 4.4.0
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
small ata-removable regression patch (622 bytes, patch)
2016-02-14 16:56 UTC, t.wede
Details | Diff

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.

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