Re: BUG: divide error in ubi_attach_mtd_dev
From: Richard Weinberger
Date: Thu Apr 20 2023 - 13:33:49 EST
----- Ursprüngliche Mail -----
> The kernel is in qemu. We find that the `mtd` is from
> `mtd = get_mtd_device(NULL, req.mtd_num);` in function `ctrl_cdev_ioctl`.
> And we are still trying to figure out what MTD is.
Can you please share the qemu command line?
Within Linux you can query /proc/mtd or /sys/class/mtd/
to get infos about the MTD in question.
Thanks,
//richard