Bug 30269 - [FR] ignore mmclbk*rpmb
: [FR] ignore mmclbk*rpmb
Status: NEW
: Sisyphus
(All bugs in Sisyphus/udev-rules)
: unstable
: all Linux
: P3 normal
Assigned To:
:
: https://bugs.launchpad.net/ubuntu/+so...
:
:
:
  Show dependency tree
 
Reported: 2014-08-30 02:03 by
Modified: 2014-08-30 02:03 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2014-08-30 02:03:06
При работе с 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 -- но эта строчка
требует сборки своего ядра.