Fix udev rules to consider mmc rpmb partitions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Trusty |
Fix Released
|
High
|
Martin Pitt | ||
ubiquity (Ubuntu) |
Invalid
|
High
|
Unassigned | ||
udev (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Invalid
|
High
|
Unassigned | ||
udisks (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
Precise |
Won't Fix
|
Low
|
Unassigned | ||
Trusty |
Triaged
|
Low
|
Unassigned |
Bug Description
As per JEDEC 4.5 spec for eMMC devices,
There is a new partitions as part of eMMC storage devices it self. (Further details please refer eMMC spec)
*In Linux Kernel@ 3.10.33, mmc driver has created a new partitions with "mmcblkXrpmb" if device expresses it support of RPMB.
Issues observed:
issue 1:
RPMB (Replay Protected Memory Block), A signed access to a Replay Protected Memory Block is provided. This function provides means for the system to store data to the specific memory area in an authenticated and replay protected manner.
In that case, any read/write access to this partition device will report errors.
issue 2:
The by-path, line is wrongly mapping to platform-
it should be platform-
ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-
lrwxrwxrwx 1 root root 13 Jan 3 2000 platform-
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-
We have locally resolved in our platform in this file 60-persistent-
For issue 1: (with this rule)
# skip block read for partitions of type rpmb
KERNEL=
For issue 2:
ENV{DEVTYPE}
ENV{DEVTYPE}
Please consider this issues fix in next udev release .
SRU INFO: This is mostly an issue with running backported kernels on 12.04 and 14.04. There is no test case which would reproduce this on arbitrary hardware, but there are several reporters which are in a position to verify a proposed update.
summary: |
- change udev rules for rpmb partitions + Fix udev rules to consider mmc rpmb partitions |
description: | updated |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
status: | Confirmed → In Progress |
description: | updated |
tags: |
added: verification-done-trusty removed: verification-needed |
tags: | added: vivid |
Changed in udisks (Ubuntu Precise): | |
importance: | Undecided → Low |
Changed in udisks (Ubuntu Trusty): | |
importance: | Undecided → Low |
Changed in systemd (Ubuntu Trusty): | |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
Changed in udisks (Ubuntu Precise): | |
status: | Confirmed → Triaged |
Changed in udisks (Ubuntu Trusty): | |
status: | Confirmed → Triaged |
Changed in udev (Ubuntu Precise): | |
status: | Triaged → Invalid |
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in udev (Ubuntu): | |
importance: | Undecided → High |
Changed in udev (Ubuntu Precise): | |
importance: | Undecided → High |
tags: |
added: xenial removed: vivid |
Changed in udev (Ubuntu): | |
status: | Invalid → Fix Released |
Updated package to udev as the file 60-persistent- storage belongs to udev package.