Bug ID 968930
Summary Kernel 4.4.2-1 "/sys/block/sd(X)/removable" erroneously indicates "removable" for fixed drives.
Classification openSUSE
Product openSUSE Tumbleweed
Version 2015*
Hardware x86-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-maintainers@forge.provo.novell.com
Reporter paul.pgp-7@gmx.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I have a machine with three internal fixed drives:
Corsair Force LS (SSD) as /dev/sda
Crucial CT128M55 (SSD) as /dev/sdb
WDC WD2500AAKS-2 (HDD) as /dev/sdc

This is dual boot:
Linux 4.0.1-1-desktop
openSUSE 20150508 (Tumbleweed) (x86_64)
KDE platform 4.14.7

Linux 4.4.2-1-default
openSUSE 20160228 (Tumbleweed) (x86_64)
KDE platform 5.19.0


When booting to the 4.4.2 kernel the "Removable" status of all three drives
("cat /sys/block/sd(X)/removable") is shown incorrectly as "1" (removable), not
"0" (fixed).

If I boot from the older 4.0.1 kernel the "Removable" status is correctly shown
as "0" (fixed).


Background:

I initially reported a bug against the (KDE) Plasma 5 Device Notifier.
https://bugs.kde.org/show_bug.cgi?id=358085  (Regression: Device Notifier
ignores the setting of "Removable Devices Only")

This was closed as "Upstream" with the blame placed on "udisk2"

I then reported a bug against udisk2.
https://bugs.freedesktop.org/show_bug.cgi?id=93789  (Fixed drives incorrectly
identified as removable.)

This was closed as "NotOurBug" with the blame placed on the kernel.

As per that bug report I attach the full contents of /sys/block/sd(X) for all
three drives


You are receiving this mail because: