Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1961 - x86 squashfs images fails to load on QEMU #7362

Closed
openwrt-bot opened this issue Nov 19, 2018 · 1 comment
Closed

FS#1961 - x86 squashfs images fails to load on QEMU #7362

openwrt-bot opened this issue Nov 19, 2018 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

sr229:

After reporting ot a project named v86 by copy on [[https://github.com/copy/v86/issues/260|GitHub]], It also came to our attention that the squashfs images, starting with Attitude Adjustment Release.

GitHub issue referenced in this bug tracker to be guided accordingly.

@openwrt-bot
Copy link
Author

yousong:

The GItHub issue refers to a x86_64 combined squashfs image from Chaos Calmer which is not maintained anymore.

The root cause is wrong erasesize specified on grub2 kernel command line. It should be 256 instead of 65536.

[ 3.114628] block2mtd: erasesize must be a divisor of device size [ 3.126126] rtc_cmos 00:00: setting system clock to 2019-10-25 02:29:26 UTC (1571970566) [ 3.140207] Waiting for root device /dev/mtdblock0...

There are two ways to work around the issue

  • Change erasesize of block2mtd argument from 65536 to 256
  • Change root device from /dev/mtdblock0 to /dev/sda2

The setting can be made permanent by mounting /dev/sda1 and edit /boot/grub/grub.cfg there.

Current build of x86 image does not use block2mtd and as such should not have such issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant