[Bug 968930] New: Kernel 4.4.2-1 "/sys/block/sd(X)/removable" erroneously indicates "removable" for fixed drives.
http://bugzilla.opensuse.org/show_bug.cgi?id=968930 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: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c1
--- Comment #1 from Paul Tannington
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c2
--- Comment #2 from Paul Tannington
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c3
--- Comment #3 from Paul Tannington
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c4
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c5
Paul Tannington
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c6
--- Comment #6 from Takashi Iwai
I've just checked the bios settings to be certain. No, there is no hotplug functionality.
(Just for reference this is a fairly elderly Gigabyte GA-MA770-DS3 with bios revision V6.00-F6)
So, this is upstream then? I'll comment on the linked bug.
Maybe worth to try a test patch found in the URL in comment 4. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c7
--- Comment #7 from Paul Tannington
Maybe worth to try a test patch found in the URL in comment 4.
Sorry, unable to test patches I'm afraid. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c8
--- Comment #8 from Takashi Iwai
(In reply to Takashi Iwai from comment #6)
Maybe worth to try a test patch found in the URL in comment 4.
Sorry, unable to test patches I'm afraid.
https://bugzilla.kernel.org/attachment.cgi?id=203651 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c9
--- Comment #9 from Paul Tannington
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c10
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c11
Paul Tannington
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
http://bugzilla.opensuse.org/show_bug.cgi?id=968930#c12
--- Comment #12 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=968930
Simon Andric
participants (1)
-
bugzilla_noreply@novell.com