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

Pandawan fails with errors in /proc/sys #2

Open
reteps opened this issue Jul 19, 2024 · 1 comment
Open

Pandawan fails with errors in /proc/sys #2

reteps opened this issue Jul 19, 2024 · 1 comment

Comments

@reteps
Copy link
Contributor

reteps commented Jul 19, 2024

The end of my bootup process looks like this:

init started: BusyBox v1.19.4 (2024-06-06 11:43:25 Europe)
/etc/rc.d/rc.sysinit: line 6: can't create /proc/sys/kernel/panic: nonexistent directory
/etc/rc.d/rc.sysinit: line 8: can't create /proc/sys/vm/panic_on_oom: nonexistent directory
Error reading execve argument
Error reading execve argument
Error reading execve argument
Error reading execve argument
Error reading execve argument
Error reading execve argument
Error reading execve argument
Error reading execve argument
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault

I tried running Pandawan with the qemu arguments firmadyne.procfs=1 and firmadyne.procfs=0, and both gave me this identical error trace. I was wondering if this was a known issue for certain firmwares.

@iangelak
Copy link
Collaborator

iangelak commented Jul 22, 2024

Does this also occur during the network configuration phase? In that case Pandawan uses stock QEMU to emulate the firmware and deduce its networking (like Firmadyne and FirmAE). Check the qemu.initial.serial.log file if the emulation progrssed beyond this point. If yes then either its (Py)PANDA's fault or Pandawan's fault. Try Pandawan's emulation without any of Pandawan's plugins enabled (i.e., -p "") and see if this occurs again. If it does, then there might be an issue with PANDA.

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

No branches or pull requests

2 participants