Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69505 - Missing kernel module `mtdram` in kernel 5.10.11 - and all 5.10.x kernels

Attached to Project: Arch Linux
Opened by Victor Nikiforov (kernel_daemon) - Tuesday, 02 February 2021, 12:09 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 16 December 2021, 03:13 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Levente Polyak (anthraxx)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Missing kernel module `mtdram` in kernel 5.10.x

#modprobe mtdram
modprobe: FATAL: Module mtdram not found in directory /lib/modules/5.10.11-arch1-1

Kernel configuration:
#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# end of RAM/ROM/Flash chip drivers

Additional info:
* linux-5.10.11

Steps to reproduce:
install: linux-6.10.11.arch1-1-x86_64.pkg.tar.zst

Missing mtdram prevents me to mount jsff2 image using mtdram driver.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 16 December 2021, 03:13 GMT
Reason for closing:  Implemented
Additional comments about closing:  Enabled MTD_MTDRAM in trunk, pending next release.
Comment by Evans Jahja (evansjahja) - Thursday, 11 March 2021, 18:21 GMT
Can reproduce on 5.11.2.arch1-1

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
# end of RAM/ROM/Flash chip drivers
Comment by Evans Jahja (evansjahja) - Friday, 12 March 2021, 02:22 GMT
(deleted)
Comment by Evans Jahja (evansjahja) - Friday, 12 March 2021, 02:22 GMT
(deleted)
Comment by Jan Alexander Steffens (heftig) - Wednesday, 21 April 2021, 10:15 GMT
Is only CONFIG_MTD_RAM needed or more MTD options?
Comment by Victor Nikiforov (kernel_daemon) - Thursday, 22 April 2021, 05:22 GMT
I think that

CONFIG_MTD_RAM=y
CONFIG_MTD_ROM=y

will be ok
Comment by Martin Tůma (tumic) - Thursday, 27 May 2021, 09:34 GMT
CONFIG_MTD_ROM is still not enabled in the latest (5.12.6) kernel. Could you
please enable the option? It was enabled all the time up to (including) 5.9.x.
In my case it breaks some custom PCI express card drivers, but I suppose there
are other, more common, cases that have been broken by disabling the option.
Other distros usually come with the option enabled.
Comment by Jan Alexander Steffens (heftig) - Thursday, 16 December 2021, 03:12 GMT
What was actually wanted is MTD_MTDRAM, not MTD_RAM.

Loading...