I think the question we'd need to ask first is: Why is there a /dev/mtd0
inside Ubuntu's arm64 autopkgtest VM?

At no point during the tests do we modprobe the "mtdram" driver. So it is 
expected that /dev/mtd0 is not there and this test is skipped (as is the case 
for Debian and Ubuntu != arm64). Also, when I launch a Ubuntu Karmic VM in 
OpenStack, it does not have /dev/mtd0, only after "modprobe mtdram" can I query 
it:
$ cat /sys/devices/virtual/mtd/mtd0/size
4194304
$ cat /sys/devices/virtual/mtd/mtd0/name 
mtdram test device

The test is supposed to run against "mtdram", and 0x400000=4194304 is
the default size of that module, so that constant value is actually
correct IMO, but the tests should be loading that module prior to
executing the test. And it's strange that Ubuntu/arm64 would have a
different mtd0 device..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973598

Title:
  mtd-self-test failure on arm64 (mtdram module)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1973598/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to