[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

"FATAL: kernel too old" when running mmdebootstrap'd riscv64 chroot



hi folks,

karsten kindly just posted about mmdebootstrap on lowrisc-dev, i
thought i'd give it a shot.  below is what occurred.  i am using 4.13
on my laptop because efforts to use post-spectre linux kernels
actually resulted in "CPU has locked up" messages (which i've never
seen before).  also i have so many editor sessions open, across so
many projects, that considering rebooting is a major loss of time and
context.

is there any other way to resolve this?

l.

root@fizzy:/home/lkcl/src/libreriscv# mmdebstrap
--architectures=riscv64 --include="debian-ports-archive-keyring" sid
debian-riscv64-chroot/ "deb http://deb.debian.org/debian-ports/ sid
main" "deb http://deb.debian.org/debian-ports/ unreleased main"
I: riscv64 cannot be executed, falling back to qemu-user
I: automatically chosen mode: root
I: running apt-get update...
done
I: downloading packages with apt...
done
I: extracting archives...
done
I: installing packages...
done
FATAL: kernel too old
env --unset=APT_CONFIG /usr/sbin/chroot
/home/lkcl/src/libreriscv/debian-riscv64-chroot dpkg --install
--force-depends failed at /usr/bin/mmdebstrap line 480.
root@fizzy:/home/lkcl/src/libreriscv# vi /usr/^C
root@fizzy:/home/lkcl/src/libreriscv# grep -ri "FATAL: kernel too"
debian-riscv64-chroot/
Binary file debian-riscv64-chroot/usr/bin/qemu-riscv64-static matches
Binary file debian-riscv64-chroot/usr/sbin/ldconfig matches
Binary file debian-riscv64-chroot/usr/lib/riscv64-linux-gnu/ld-2.27.so matches


Reply to: