Bug 30269 - [FR] ignore mmclbk*rpmb
Summary: [FR] ignore mmclbk*rpmb
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: udev-rules (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-30 02:03 MSK by Michael Shigorin
Modified: 2014-08-30 02:03 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2014-08-30 02:03:06 MSK
При работе с eMMC-флэшкой, поддерживающей Replay Protected Memory Block, на нынешних ядрах получаются неприятные таймауты:

mmcblk0rpmb: mmc0:0001 HCG8e^D partition 3 4.00 MiB
mmcblk0rpmb: error -110 transferring data, sector 8064, nr 8, cmd response 0x900, card status 0xb00
mmcblk0rpmb: retrying using single block read
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
end_request: I/O error, dev mmcblk0rpmb, sector 8064
Buffer I/O error on device mmcblk0rpmb, logical block 1008

Просьба по возможности включить предложенное в https://bugs.launchpad.net/ubuntu/+source/udev/+bug/1333140 добавление в 60-persistent-storage.rules (если отдельным файлом -- не долетит в initrd):

# skip block read for partitions of type rpmb
KERNEL=="mmcblk[0-9]rpmb", SUBSYSTEM=="block", GOTO="persistent_storage_end"

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}"

В качестве скоропостижного хака объезжается при помощи https://dev-nell.com/rpmb-emmc-errors-under-linux.html -- но эта строчка требует сборки своего ядра.