2014-06-23 08:39:29 |
seshagiri |
bug |
|
|
added bug |
2014-06-23 11:07:39 |
bhs |
affects |
systemd (Ubuntu) |
udev (Ubuntu) |
|
2014-07-02 07:23:39 |
Launchpad Janitor |
udev (Ubuntu): status |
New |
Confirmed |
|
2014-07-02 07:24:34 |
bhs |
summary |
change udev rules for rpmb partitions |
Fix udev rules to consider mmc rpmb partitions |
|
2014-07-02 07:24:57 |
bhs |
description |
As per JESD 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-sdhci-tegra.1 -> mmcblk2rpmb were as
it should be platform-sdhci-tegra.1 -> mmcblk2
ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.1 -> ../../mmcblk2rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.1-part1 -> ../../mmcblk2p1
lrwxrwxrwx 1 root root 13 Jan 3 2000 platform-sdhci-tegra.2 -> ../../mmcblk1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.2-part1 -> ../../mmcblk1p1
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.3 -> ../../mmcblk0rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part2 -> ../../mmcblk0p2
We have locally resolved in our platform in this file 60-persistent-storage.rules
For issue 1: (with this rule)
# skip block read for partitions of type rpmb
KERNEL=="mmcblk[0-9]rpmb", SUBSYSTEM=="block", GOTO="persistent_storage_end"
For issue 2:
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL=="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}-rpmb"
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL!="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}"
Please consider this issues fix in next udev release . |
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-sdhci-tegra.1 -> mmcblk2rpmb were as
it should be platform-sdhci-tegra.1 -> mmcblk2
ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.1 -> ../../mmcblk2rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.1-part1 -> ../../mmcblk2p1
lrwxrwxrwx 1 root root 13 Jan 3 2000 platform-sdhci-tegra.2 -> ../../mmcblk1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.2-part1 -> ../../mmcblk1p1
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.3 -> ../../mmcblk0rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part2 -> ../../mmcblk0p2
We have locally resolved in our platform in this file 60-persistent-storage.rules
For issue 1: (with this rule)
# skip block read for partitions of type rpmb
KERNEL=="mmcblk[0-9]rpmb", SUBSYSTEM=="block", GOTO="persistent_storage_end"
For issue 2:
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL=="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}-rpmb"
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL!="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}"
Please consider this issues fix in next udev release . |
|
2014-08-29 21:20:28 |
Michael Shigorin |
bug |
|
|
added subscriber Michael Shigorin |
2014-11-22 23:53:12 |
dan pinto |
bug |
|
|
added subscriber dan pinto |
2014-11-25 07:31:25 |
Oliver Marks |
bug |
|
|
added subscriber Oliver Marks |
2014-12-08 01:21:16 |
Jun Kobayashi |
bug |
|
|
added subscriber Jun Kobayashi |
2015-01-07 03:41:11 |
Nicolas Marchildon |
bug |
|
|
added subscriber Nicolas Marchildon |
2015-01-10 09:51:52 |
MarcH |
bug |
|
|
added subscriber MarcH |
2015-01-10 14:19:58 |
Allen Riddell |
bug |
|
|
added subscriber Allen Riddell |
2015-01-12 22:46:52 |
Patrick Buchner |
bug |
|
|
added subscriber Patrick Buchner |
2015-01-20 13:01:39 |
oprs |
bug |
|
|
added subscriber oprs |
2015-02-01 16:57:50 |
Martin Pitt |
affects |
udev (Ubuntu) |
systemd (Ubuntu) |
|
2015-02-11 14:11:39 |
Martin Pitt |
systemd (Ubuntu): importance |
Undecided |
High |
|
2015-02-11 14:11:42 |
Martin Pitt |
systemd (Ubuntu): assignee |
|
Martin Pitt (pitti) |
|
2015-02-11 14:11:43 |
Martin Pitt |
systemd (Ubuntu): status |
Confirmed |
In Progress |
|
2015-02-11 14:26:40 |
Martin Pitt |
attachment added |
|
Fixed /lib/udev/rules.d/60-persistent-storage.rules https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1333140/+attachment/4317204/+files/60-persistent-storage.rules |
|
2015-02-12 12:04:49 |
Patrick Buchner |
attachment added |
|
udevadm.txt https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1333140/+attachment/4317928/+files/udevadm.txt |
|
2015-02-12 14:22:53 |
Martin Pitt |
bug task added |
|
udisks (Ubuntu) |
|
2015-02-13 00:57:48 |
Launchpad Janitor |
udisks (Ubuntu): status |
New |
Confirmed |
|
2015-02-13 08:30:17 |
Martin Pitt |
systemd (Ubuntu): status |
In Progress |
Fix Committed |
|
2015-02-13 08:30:48 |
Martin Pitt |
udisks (Ubuntu): status |
Confirmed |
Triaged |
|
2015-02-13 08:30:50 |
Martin Pitt |
udisks (Ubuntu): importance |
Undecided |
Low |
|
2015-02-13 15:52:01 |
MitraX |
bug |
|
|
added subscriber MitraX |
2015-02-13 16:41:05 |
Vianney Bajart |
bug |
|
|
added subscriber SneA |
2015-02-14 07:54:59 |
Kelvin |
attachment added |
|
sudo udevadm test /block/mmcblk0rpmb https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1333140/+attachment/4319153/+files/udevadm-mmcblk0rpmb.txt |
|
2015-02-15 11:55:49 |
Launchpad Janitor |
systemd (Ubuntu): status |
Fix Committed |
Fix Released |
|
2015-02-16 10:18:03 |
Vianney Bajart |
attachment added |
|
dmesg https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1333140/+attachment/4320371/+files/dmesg |
|
2015-02-18 04:20:37 |
Martin Pitt |
bug task added |
|
udev (Ubuntu) |
|
2015-02-18 04:20:46 |
Martin Pitt |
nominated for series |
|
Ubuntu Precise |
|
2015-02-18 04:20:46 |
Martin Pitt |
bug task added |
|
udev (Ubuntu Precise) |
|
2015-02-18 04:20:46 |
Martin Pitt |
bug task added |
|
udisks (Ubuntu Precise) |
|
2015-02-18 04:20:46 |
Martin Pitt |
bug task added |
|
systemd (Ubuntu Precise) |
|
2015-02-18 04:20:46 |
Martin Pitt |
nominated for series |
|
Ubuntu Trusty |
|
2015-02-18 04:20:46 |
Martin Pitt |
bug task added |
|
udev (Ubuntu Trusty) |
|
2015-02-18 04:20:46 |
Martin Pitt |
bug task added |
|
udisks (Ubuntu Trusty) |
|
2015-02-18 04:20:46 |
Martin Pitt |
bug task added |
|
systemd (Ubuntu Trusty) |
|
2015-02-18 04:20:55 |
Martin Pitt |
bug task deleted |
systemd (Ubuntu Precise) |
|
|
2015-02-18 04:21:03 |
Martin Pitt |
bug task deleted |
udev (Ubuntu Trusty) |
|
|
2015-02-18 04:21:13 |
Martin Pitt |
udev (Ubuntu): status |
New |
Invalid |
|
2015-02-18 04:21:24 |
Martin Pitt |
udev (Ubuntu Precise): status |
New |
Triaged |
|
2015-02-18 04:21:27 |
Martin Pitt |
systemd (Ubuntu Trusty): status |
New |
Triaged |
|
2015-02-18 07:57:19 |
Vianney Bajart |
removed subscriber Vianney Bajart |
|
|
|
2015-02-18 08:36:35 |
Launchpad Janitor |
udisks (Ubuntu Precise): status |
New |
Confirmed |
|
2015-02-18 08:36:35 |
Launchpad Janitor |
udisks (Ubuntu Trusty): status |
New |
Confirmed |
|
2015-02-18 11:19:53 |
Martin Pitt |
systemd (Ubuntu Trusty): status |
Triaged |
In Progress |
|
2015-02-18 11:25:45 |
Martin Pitt |
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-sdhci-tegra.1 -> mmcblk2rpmb were as
it should be platform-sdhci-tegra.1 -> mmcblk2
ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.1 -> ../../mmcblk2rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.1-part1 -> ../../mmcblk2p1
lrwxrwxrwx 1 root root 13 Jan 3 2000 platform-sdhci-tegra.2 -> ../../mmcblk1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.2-part1 -> ../../mmcblk1p1
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.3 -> ../../mmcblk0rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part2 -> ../../mmcblk0p2
We have locally resolved in our platform in this file 60-persistent-storage.rules
For issue 1: (with this rule)
# skip block read for partitions of type rpmb
KERNEL=="mmcblk[0-9]rpmb", SUBSYSTEM=="block", GOTO="persistent_storage_end"
For issue 2:
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL=="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}-rpmb"
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL!="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}"
Please consider this issues fix in next udev release . |
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-sdhci-tegra.1 -> mmcblk2rpmb were as
it should be platform-sdhci-tegra.1 -> mmcblk2
ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.1 -> ../../mmcblk2rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.1-part1 -> ../../mmcblk2p1
lrwxrwxrwx 1 root root 13 Jan 3 2000 platform-sdhci-tegra.2 -> ../../mmcblk1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.2-part1 -> ../../mmcblk1p1
lrwxrwxrwx 1 root root 17 Jan 3 2000 platform-sdhci-tegra.3 -> ../../mmcblk0rpmb
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 15 Jan 3 2000 platform-sdhci-tegra.3-part2 -> ../../mmcblk0p2
We have locally resolved in our platform in this file 60-persistent-storage.rules
For issue 1: (with this rule)
# skip block read for partitions of type rpmb
KERNEL=="mmcblk[0-9]rpmb", SUBSYSTEM=="block", GOTO="persistent_storage_end"
For issue 2:
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL=="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}-rpmb"
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", KERNEL!="mmcblk[0-9]rpmb", SYMLINK+="disk/by-path/$env{ID_PATH}"
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. |
|
2015-02-19 21:23:12 |
Brian Murray |
systemd (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2015-02-19 21:23:16 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-02-19 21:23:20 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2015-02-19 21:23:29 |
Brian Murray |
tags |
|
verification-needed |
|
2015-02-25 19:56:28 |
Steve |
bug |
|
|
added subscriber Steve |
2015-02-25 21:36:12 |
Martin Pitt |
tags |
verification-needed |
verification-done-trusty |
|
2015-03-06 15:42:15 |
Martin Evald |
bug |
|
|
added subscriber Martin Evald |
2015-03-06 22:20:58 |
david6 |
bug |
|
|
added subscriber david6 |
2015-04-08 08:51:34 |
Launchpad Janitor |
systemd (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-04-08 08:51:44 |
Adam Conrad |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-09-14 14:36:49 |
Vincent Thiele |
tags |
verification-done-trusty |
verification-done-trusty vivid |
|
2015-09-14 14:42:27 |
Vincent Thiele |
bug task added |
|
ubiquity (Ubuntu) |
|
2015-09-19 21:41:12 |
Launchpad Janitor |
ubiquity (Ubuntu): status |
New |
Confirmed |
|
2015-09-20 11:42:13 |
Alberto Salvia Novella |
udisks (Ubuntu Precise): importance |
Undecided |
Low |
|
2015-09-20 11:42:17 |
Alberto Salvia Novella |
udisks (Ubuntu Trusty): importance |
Undecided |
Low |
|
2015-09-20 11:42:21 |
Alberto Salvia Novella |
systemd (Ubuntu Trusty): importance |
Undecided |
High |
|
2015-09-20 11:42:41 |
Alberto Salvia Novella |
systemd (Ubuntu Trusty): assignee |
|
Martin Pitt (pitti) |
|
2015-09-20 11:42:50 |
Alberto Salvia Novella |
udisks (Ubuntu Precise): status |
Confirmed |
Triaged |
|
2015-09-20 11:42:53 |
Alberto Salvia Novella |
udisks (Ubuntu Trusty): status |
Confirmed |
Triaged |
|
2015-09-20 11:42:59 |
Alberto Salvia Novella |
udev (Ubuntu Precise): status |
Triaged |
Invalid |
|
2015-09-20 11:47:21 |
Alberto Salvia Novella |
ubiquity (Ubuntu): importance |
Undecided |
High |
|
2015-09-20 11:47:25 |
Alberto Salvia Novella |
ubiquity (Ubuntu): status |
Confirmed |
Triaged |
|
2015-09-20 11:47:34 |
Alberto Salvia Novella |
udev (Ubuntu): importance |
Undecided |
High |
|
2015-09-20 11:47:37 |
Alberto Salvia Novella |
udev (Ubuntu Precise): importance |
Undecided |
High |
|
2015-10-18 15:19:26 |
sheshrugged |
bug |
|
|
added subscriber sheshrugged |
2015-11-23 08:57:43 |
Waz |
tags |
verification-done-trusty vivid |
verification-done-trusty xenial |
|
2016-06-16 09:13:44 |
Per Sedholm |
bug |
|
|
added subscriber Per Sedholm |
2017-02-01 17:03:15 |
Mathieu Trudel-Lapierre |
ubiquity (Ubuntu): status |
Triaged |
Invalid |
|
2019-01-17 07:29:48 |
fan zuocheng |
bug |
|
|
added subscriber fan zuocheng |
2019-05-10 04:32:20 |
Atomos Lyu |
udev (Ubuntu): status |
Invalid |
Fix Released |
|
2021-10-14 05:01:40 |
Steve Langasek |
udisks (Ubuntu Precise): status |
Triaged |
Won't Fix |
|