[FS#3277] malta/mipseb64:

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Aug 12 05:40:57 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#3277 - malta/mipseb64:
User who did this - Tony Ambardar (guidosarducci)

----------
As another experiment I configured init as /bin/sh to test some basic functions:

qemu-system-mips64 -M malta -kernel bpf-openwrt-malta-be64-vmlinux.elf \
-drive file=bpf-openwrt-malta-be64-rootfs-ext4.img,index=0,media=disk \
-nographic -m 512 -append "root=/dev/sda rootfstype=ext4 init=/bin/sh"

[...]

[    0.724245] Freeing unused kernel memory: 252K
[    0.724501] This architecture does not have kernel memory protection.
[    0.724920] Run /bin/sh as init process


BusyBox v1.31.1 () built-in shell (ash)

/bin/sh: can't access tty; job control turned off
[   22.326975] random: fast init done
/ #
/ # echo *
bin dev etc init lib lib64 lost+found mnt overlay proc rom root sbin sys tmp usr var www
/ #
/ # ls
[   35.314543] do_page_fault(): sending SIGSEGV to ls for invalid read access from 0000000000000360
[   35.314858] epc = 0000000000000360 in busybox[120000000+82000]
[   35.315434] ra  = 000000fffeb105f0 in
Segmentation fault
/ #

While shell builtins appear to work, commands that require fork/exec are yielding the same SIGSEGV fault. Looks like something very wrong with this system.
----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3277#comment8652

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list