← Back to team overview

kernel-packages team mailing list archive

[Bug 1568352] Re: "/sys/block/sd(X)/removable" erroneously indicates "removable" for fixed drives

 

According to a redhat bug report
(https://bugzilla.redhat.com/show_bug.cgi?id=1310682) it was introduced
by a kernel update from 4.3 to 4.4. So I've testet 4.3.6 from mainline
and it is not effected.

Btw. you probably get this on a live system too and for all hdds (since
root is on the flash drive). This can have quite an impact, because some
DEs automatically mount all removable drives (e.g. kde). If one of your
hdd partitions contains a hypernated system, your in for a lot of
fscking and/or ro mounted partitions on next resume.

** Bug watch added: Red Hat Bugzilla #1310682
   https://bugzilla.redhat.com/show_bug.cgi?id=1310682

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1568352

Title:
  "/sys/block/sd(X)/removable" erroneously indicates "removable" for
  fixed drives

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This seems to happen only to additional hdd (not the one with the root
  partition). gnome-disks and some file manager report those drives as
  ejectable.

  This might be fixed by the following patch
  http://git.kernel.org/cgit/linux/kernel/git/stable/stable-
  queue.git/diff/queue-4.4/ata-ahci-don-t-mark-hotplugcapable-ports-as-
  external-removable.patch?id=4e362751dc079531ef2b95bcd5c71e12f78e1ae6

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-18-generic 4.4.0-18.34
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  kiran      1110 F.... pulseaudio
  CurrentDesktop: XFCE
  Date: Sat Apr  9 20:03:18 2016
  HibernationDevice: RESUME=UUID=ebcf26a9-f63a-4b55-ad87-31f7b1f3feb6
  InstallationDate: Installed on 2016-03-31 (9 days ago)
  InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
  MachineType: LENOVO 2767WSD
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-18-generic root=UUID=a0309315-a77b-4d81-8a2c-b603b5ab7acd ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-18-generic N/A
   linux-backports-modules-4.4.0-18-generic  N/A
   linux-firmware                            1.157
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/17/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 7UET94WW (3.24 )
  dmi.board.name: 2767WSD
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr7UET94WW(3.24):bd10/17/2012:svnLENOVO:pn2767WSD:pvrThinkPadT400:rvnLENOVO:rn2767WSD:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 2767WSD
  dmi.product.version: ThinkPad T400
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1568352/+subscriptions


References