Bug#824494: lvm2: should filter RPMB devices

Steinar H. Gunderson sgunderson at bigfoot.com
Mon May 16 18:08:07 UTC 2016


Package: lvm2
Version: 2.02.153-1
Severity: minor

Hi,

I have an ARM-based device where I run LVM on /dev/mmcblk0p1;
however, during pvscan (which includes initramfs), it complains with:

  root at soldroid:~# pvscan
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error
  PV /dev/mmcblk0p2   VG odroid          lvm2 [58,00 GiB / 0    free]
  Total: 1 [58,00 GiB] / in use: 1 [58,00 GiB] / in no VG: 0 [0   ]

/dev/mmcblk0rpmb is the Replay Protected Memory Block, a special kind of
device which the OS normally does not have access to. I believe it should
simply be filtered by default; it does not make much sense to put an LVM
on it anyway.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 4.6.0-with-cpuidle (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.124-1
ii  dmsetup                   2:1.02.124-1
ii  init-system-helpers       1.33
ii  libblkid1                 2.28-5
ii  libc6                     2.22-7
ii  libdevmapper-event1.02.1  2:1.02.124-1
ii  libdevmapper1.02.1        2:1.02.124-1
ii  liblvm2app2.2             2.02.153-1
ii  libreadline5              5.2+dfsg-3+b1
ii  libudev1                  229-5
ii  lsb-base                  9.20160110

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  <none>

-- no debconf information



More information about the pkg-lvm-maintainers mailing list