Bug 1813219 - systemd-udevd issue with mmc on arm
Summary: systemd-udevd issue with mmc on arm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 33
Hardware: armhfp
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-13 10:17 UTC by Nicolas Chauvet (kwizart)
Modified: 2021-02-05 01:58 UTC (History)
6 users (show)

Fixed In Version: systemd-246.10-1.fc33
Clone Of:
Environment:
Last Closed: 2021-02-05 01:58:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1738828 0 unspecified CLOSED adopting the BFQ I/O scheduler to boost responsiveness and throughput 2021-02-22 00:41:40 UTC

Description Nicolas Chauvet (kwizart) 2020-03-13 10:17:42 UTC
Description of problem:
When booting on an armv7 device (Toshiba AC100) the following error occurs


Version-Release number of selected component (if applicable):
systemd-243.7-1.fc31.armv7hl

How reproducible:
always on boot

Steps to Reproduce:
1. Boot on an armv7 device
2.
3.

Actual results:
journalctl -b -o cat _COMM=systemd-udevd -l
Using default interface naming scheme 'v243'.
ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
mmcblk0p1: /usr/lib/udev/rules.d/60-block-scheduler.rules:5 Failed to write ATTR{/sys/devices/soc0/c8000000.sdhci/mmc_host/mmc0/mmc0:0007/block/mmcblk0/mmcblk0p1/queue/scheduler}, ignoring:>
mmcblk0p2: /usr/lib/udev/rules.d/60-block-scheduler.rules:5 Failed to write ATTR{/sys/devices/soc0/c8000000.sdhci/mmc_host/mmc0/mmc0:0007/block/mmcblk0/mmcblk0p2/queue/scheduler}, ignoring:>
mmcblk0p3: /usr/lib/udev/rules.d/60-block-scheduler.rules:5 Failed to write ATTR{/sys/devices/soc0/c8000000.sdhci/mmc_host/mmc0/mmc0:0007/block/mmcblk0/mmcblk0p3/queue/scheduler}, ignoring:>
mmcblk1p1: /usr/lib/udev/rules.d/60-block-scheduler.rules:5 Failed to write ATTR{/sys/devices/soc0/c8000600.sdhci/mmc_host/mmc1/mmc1:0001/block/mmcblk1/mmcblk1p1/queue/scheduler}, ignoring:>
mmcblk1p2: /usr/lib/udev/rules.d/60-block-scheduler.rules:5 Failed to write ATTR{/sys/devices/soc0/c8000600.sdhci/mmc_host/mmc1/mmc1:0001/block/mmcblk1/mmcblk1p2/queue/scheduler}, ignoring:>
mmcblk1p3: /usr/lib/udev/rules.d/60-block-scheduler.rules:5 Failed to write ATTR{/sys/devices/soc0/c8000600.sdhci/mmc_host/mmc1/mmc1:0001/block/mmcblk1/mmcblk1p3/queue/scheduler}, ignoring:>
mmcblk1p4: /usr/lib/udev/rules.d/60-block-scheduler.rules:5 Failed to write ATTR{/sys/devices/soc0/c8000600.sdhci/mmc_host/mmc1/mmc1:0001/block/mmcblk1/mmcblk1p4/queue/scheduler}, ignoring:>
Using default interface naming scheme 'v243'.
ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Using default interface naming scheme 'v243'.
ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.

Expected results:
no errors

Additional info:
Seems like the globling also includes the partitions, removing the "*" seems to help to only consider the main block device. 

Patch comming...

Comment 1 Nicolas Chauvet (kwizart) 2020-03-13 10:37:56 UTC
Seems like this one works with me:
mmcblk[0-9]

I don't think there is any issue with the sd or sr cases, but there is probably a need to adapt the others msblk and mspblk cases...

Comment 2 Zbigniew Jędrzejewski-Szmek 2020-03-13 11:26:41 UTC
THis is the same as #1803500. It should be fixed in rawhide. It would be great if you could check
that the fix there works in your case too. I was waiting for the beta freeze before backporting
that patch. The effect should be only cosmetic, so it's now very high priority.

*** This bug has been marked as a duplicate of bug 1803500 ***

Comment 3 Nicolas Chauvet (kwizart) 2020-12-23 15:58:06 UTC
Re-opening the same issue for f33
as rebasing to systemd 246 with 55abe5f0ba5c81c4d2e607ca8dd8fb9acb13c797 as overwritten the fix.

See with:
git log use-bfq-scheduler.patch

Now the udev rules is missing the ENV{DEVTYPE}=="disk", \ line again...

Please re-apply for f33+

Comment 4 Zbigniew Jędrzejewski-Szmek 2021-01-02 14:11:47 UTC
Sorry for that that. Fix queued in dist-git, will go out in the next rebuild.

Comment 5 Nicolas Chauvet (kwizart) 2021-01-03 09:29:37 UTC
Thanks for the fix in f33, but the issue isn't forwarded to the rawhide branch.

Comment 6 Fedora Update System 2021-02-02 19:54:35 UTC
FEDORA-2021-dcc8b357ea has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dcc8b357ea

Comment 7 Fedora Update System 2021-02-03 02:30:11 UTC
FEDORA-2021-dcc8b357ea has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-dcc8b357ea`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-dcc8b357ea

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-02-05 01:58:37 UTC
FEDORA-2021-dcc8b357ea has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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