vm does not boot in modern versions of linux

Bug #1896084 reported by aborregoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
marionnet
New
Undecided
Unassigned

Bug Description

Hello
First of all, thank you for the excellent work done by the developers in this program. I've been a marionnet user for years now and it's been with me since ubuntu 10.04. In the latest versions of Linux (Debian 10 and Ubuntu 20.04) I have managed to install it but when starting the machines or the routers it gives the message: "A process died unexpectedly". At the suggestion of one of you I have installed the libvdeplug2 package but it does not solve it. I send you the output of the marionnet -d command when trying to run a debian-wheezy machine:
=======================================================
 Welcome to marionnet
 Version : trunk
 Source revision : -
 Ocamlbricks revision : -
 Ocaml version : 3.12.1

 Built in date 2020-09-17 13:05:36 +0200 on system:

        Linux 5.6.0-2-amd64 #1 SMP Debian
        5.6.14-2~mx19+1 (2020-06-14) x86_64
        GNU/Linux

 For bug reporting, please get a launchpad account and
 either:
  - report bugs at https://bugs.launchpad.net/marionnet
 or do *all* the following:
  - add yourself to the marionnet-dev team
  - add yourself to the marionnet-dev mailing list
  - write to <email address hidden>
=======================================================
[12321.0]: MARIONNET_DEBUG is true (debug level 1)
[12321.0]: Student exam mode: false
[12321.0]: Searching for variable MARIONNET_TERMINAL:
[12321.0]: - using default "xterm,-T,-e"
[12321.0]: Searching for variable MARIONNET_ROUTER_FILESYSTEM:
[12321.0]: - using default "default"
[12321.0]: Searching for variable MARIONNET_ROUTER_KERNEL:
[12321.0]: - using default "default"
[12321.0]: Searching for variable MARIONNET_MACHINE_FILESYSTEM:
[12321.0]: - using default "default"
[12321.0]: Searching for variable MARIONNET_MACHINE_KERNEL:
[12321.0]: - using default "default"
[12321.0]: Searching for variable MARIONNET_PREFIX:
[12321.0]: - using default "/usr/local/share/marionnet"
[12321.0]: Searching for variable MARIONNET_FILESYSTEMS_PATH:
[12321.0]: - using default "/usr/local/share/marionnet/filesystems/"
[12321.0]: Searching for variable MARIONNET_KERNELS_PATH:
[12321.0]: - using default "/usr/local/share/marionnet/kernels/"
[12321.0]: Searching for variable MARIONNET_VDE_PREFIX:
[12321.0]: - using default ""
[12321.0]: Searching for variable MARIONNET_TMPDIR:
[12321.0]: Searching for variable MARIONNET_TIMEZONE:
[12321.0]: Searching for variable MARIONNET_DISABLE_WARNING_TEMPORARY_WORKING_DIRECTORY_AUTOMATICALLY_SET:
[12321.0]: - using default "false"
[12321.0]: Searching for variable MARIONNET_ROUTER_PORT0_DEFAULT_IPV4_CONFIG:
[12321.0]: - found value "192.168.1.254/24"
[12321.0]: Searching for variable MARIONNET_ROUTER_PORT0_DEFAULT_IPV6_CONFIG:
[12321.0]: Searching for variable MARIONNET_KEEP_ALL_SNAPSHOTS_WHEN_SAVING:
[12321.0]: - found value "false"
[12321.0]: Loading module icon.ml
[12321.0]: Loading module progress_bar.ml
[12321.0]: Loading module gui/simple_dialogs.ml
[12321.0]: Loading module cow_files.ml
[12321.0]: Loading module daemon_language.ml
[12321.0]: Loading module daemon_parameters.ml
[12321.0]: Searching for variable MARIONNET_SOCKET_NAME:
[12321.0]: - found value "/tmp/my-marionnet-daemon-socket"
[12321.0]: Loading module daemon_client.ml
[12321.0]: Loading module death_monitor.ml
[12321.0]: Loading module disk.ml
[12321.6]: Starting the infinite polling loop.
[12321.0]: Loading module global_options.ml
[12321.0]: Searching for variable MARIONNET_BRIDGE:
[12321.0]: - found value "br0"
[12321.0]: Searching for variable MARIONNET_KEYBOARD_LAYOUT:
[12321.0]: - found value "es"
[12321.0]: Loading module graph.ml
[12321.0]: Loading module gui/gui_source_editing.ml
[12321.0]: Loading module gui/talking.ml
[12321.0]: Loading module gui/gui_bricks.ml
[12321.0]: Loading module gui/ledgrid.ml
[12321.0]: Loading module gui/ledgrid_manager.ml
[12321.0]: ledgrid_manager: The blinker server socket is /tmp/.marionnet-blinker-server-socket-99156968
[12321.0]: ledgrid_manager: Making a blinker thread
[12321.0]: Loading module gui/menu_factory.mli
[12321.0]: Loading module message_passing.ml
[12321.0]: Loading module task_runner.ml
[12321.7]: ledgrid_manager: Making the socket
[12321.0]: Loading module treeview.ml
[12321.8]: task_runner: I'm ready for the next task...
[12321.7]: ledgrid_manager: Binding the socket
[12321.0]: Loading module treeview_defects.ml
[12321.7]: ledgrid_manager: Still alive
[12321.7]: ledgrid_manager: Ok, entering the thread main loop
[12321.0]: Loading module treeview_ifconfig.ml
[12321.0]: Loading module x.ml
[12321.0]: ---
Host X data from $DISPLAY:
Host: localhost
Host address: 127.0.0.1
Display: 0
Screen: 0
Cookie: f6ab27e50e135a32fce30ff50276b0d2
Listening on port 6000: true
---
[12321.0]: (case 1) No X problems have to be fixed: connection seems working fine. Ok.
[12321.0]: Loading module simulation_level.ml
[12321.0]: Loading module xforest.ml
[12321.0]: Loading module sketch.ml
[12321.0]: Loading module treeview_documents.ml
[12321.0]: Loading module treeview_history.ml
[12321.0]: Loading module user_level.ml
[12321.0]: Loading module state.ml
[12321.0]: Loading module gui/gui_toolbar_COMPONENTS_layouts.ml
[12321.0]: Loading module cable.ml
[12321.0]: Loading module cloud.ml
[12321.0]: Loading module ghost-location
[12321.0]: Loading module gui/gui_dialog_A_PROPOS.ml
[12321.0]: Loading module gui/gui_menubar_MARIONNET.ml
[12321.0]: Loading module hub.ml
[12321.0]: Loading module machine.ml
[12321.0]: Loading module router.ml
[12321.0]: Loading module switch.ml
[12321.0]: Loading module world_bridge.ml
[12321.0]: Loading module world_gateway.ml
[12321.0]: Loading module gui/gui_toolbar_COMPONENTS.ml
[12321.0]: Loading module gui/gui_toolbar_DOT_TUNING.ml
[12321.0]: Loading module motherboard_builder.ml
[12321.0]: Loading module gui/gui_window_MARIONNET.ml
[12321.0]: Loading module serial.ml
[12321.0]: Loading module splash.ml
[12321.0]: Loading module marionnet.ml
[12321.0]: Starting the application
[12321.0]: Connecting to the daemon socket...
[12321.0]: Ok, connected with success.
[12321.0]: Checking whether Marionnet is running as root...
[12321.0]: Searching for a (distribution) prefix: "machine-"
[12321.0]: * guignol-18474 -> /usr/local/share/marionnet/filesystems
[12321.0]: * debian-wheezy-08367 -> /usr/local/share/marionnet/filesystems
[12321.0]: Searching for a (kernel) prefix: "linux-"
[12321.0]: * 3.2.64-ghost.config -> /usr/local/share/marionnet/kernels
[12321.0]: * 3.2.64-ghost -> /usr/local/share/marionnet/kernels
[12321.0]: Searching for a (variant) prefix: ""
[12321.0]: Searching for a (variant) prefix: ""
[12321.0]: configuration file found for "debian-wheezy-08367"
[12321.0]: configuration file found for "guignol-18474"
[12321.0]: Selected kernels for "debian-wheezy-08367": [3.2.64-ghost 3.2.64-ghost.config]
[12321.0]: Selected kernels for "guignol-18474": [3.2.64-ghost 3.2.64-ghost.config]
[12321.0]: Searching for a (distribution) prefix: "router-"
[12321.0]: * guignol-18474 -> /usr/local/share/marionnet/filesystems
[12321.0]: Searching for a (kernel) prefix: "linux-"
[12321.0]: * 3.2.64-ghost.config -> /usr/local/share/marionnet/kernels
[12321.0]: * 3.2.64-ghost -> /usr/local/share/marionnet/kernels
[12321.0]: Searching for a (variant) prefix: ""
[12321.0]: configuration file found for "guignol-18474"
[12321.0]: Selected kernels for "guignol-18474": [3.2.64-ghost 3.2.64-ghost.config]
[12321.0]: Executing: which `basename vde_switch`
/usr/local/bin/vde_switch
[12321.0]: Executing: which `basename slirpvde`
/usr/local/bin/slirpvde
[12321.0]: Executing: which dot
/usr/bin/dot
[12321.0]: handle_click: the splash screen was closed
[12321.0]: Menu entry with label "Nuevo" selected by user
[12321.0]: --- Dialog result:
save_current = no
filename = /home/agus/Documentos/e1
------------------
[12321.0]: state#close_project: BEGIN
[12321.0]: state#close_project: no project opened.
[12321.0]: state#close_project: END
[12321.8]: task_runner: Executing the task "In parallel: "
[12321.8]: task_runner: The task "In parallel: " succeeded.
[12321.8]: task_runner: I'm ready for the next task...
[12321.0]: ---
[12321.0]: network#reset: begin
        Destroying all cables...
[12321.0]: Destroying all nodes (machines, switchs, hubs, routers, etc)...
[12321.0]: Synchronously wait that everything terminates...
[12321.0]: Waiting for all currently enqueued tasks to terminate...
[12321.8]: task_runner: Executing the task "wait until all scheduled tasks terminate"
[12321.8]: task_runner: The task "wait until all scheduled tasks terminate" succeeded.
[12321.8]: task_runner: I'm ready for the next task...
[12321.0]: ...all right, we have been signaled: tasks did terminate.
[12321.0]: Making the network graph empty...
[12321.0]: Wait for all devices to terminate...
[12321.0]: All devices did terminate.
network#reset: end (success)
---
[12321.22]: update_project_state_sensitiveness: state project is: active=true runnable=false
[12321.0]: Menu entry with label "Modificar" selected by user
[12321.0]: Menu entry with label "Eliminar" selected by user
[12321.0]: Menu entry with label "Iniciar" selected by user
[12321.0]: Menu entry with label "Eliminar" selected by user
[12321.0]: Menu entry with label "Modificar" selected by user
[12321.0]: Menu entry with label "Adicionar" selected by user
[12321.0]: --- Dialog result:
<obj>------------------
[12321.0]: Making a defect treeview entry for machine "m1" with 1 ports (prefix eth, user port offset 0).
[12321.0]: Generated MAC address: 02:04:06:b3:9f:8e
[12321.0]: Treeview_history.t#add_device: adding the device m1 with variant name=""
[12321.24]: update_cable_menu_entries_sensitiveness: updating 2 widgets
[12321.25]: update_project_state_sensitiveness: state project is: active=true runnable=true
[12321.0]: Menu entry with label "Modificar" selected by user
[12321.0]: Menu entry with label "Eliminar" selected by user
[12321.0]: Menu entry with label "Iniciar" selected by user
[12321.0]: --- Dialog result:
name = m1
------------------
[12321.8]: task_runner: Executing the task "Comenzando m1"
[12321.8]: Starting up the device m1...
[12321.8]: Creating processes for m1 first...
[12321.8]: About to create the simulated device m1: it's connected to 0 cables.
[12321.8]: Relevant states for m1 are 1
[12321.8]: About to start the machine m1
  with filesystem: /usr/local/share/marionnet/filesystems/machine-debian-wheezy-08367
  cow file: /tmp/marionnet-86420143.dir/e1/states/1975-62520-63653.cow
  kernel: /usr/local/share/marionnet/kernels/linux-3.2.64-ghost
  xnest: false
[12321.8]: reserved_socket_name#initializer:
        socket name "/tmp/marionnet-86420143.dir/hublet-0-socket-19228388" reserved for vde_switch
[12321.8]: reserved_socket_name#initializer:
        socket name "/tmp/marionnet-86420143.dir/hublet-1-socket-197137083" reserved for vde_switch
[12321.8]: process_w_c_a_socket_at_s_time#spawn: spawning the process which will create the socket /tmp/marionnet-86420143.dir/hublet-0-socket-19228388
[12321.8]: process#spawn: `vde_switch' called with 7 arguments; the complete command line is:
---
  vde_switch -x -n 3 -mod 777 -unix
  /tmp/marionnet-86420143.dir/hublet-0-socket-19228388
---
[12321.8]: process#spawn: a process (vde_switch) was just spawned (pid 12412).
00000000e593416c: 00000002 00000000 00010000 0001 01 283453 /tmp/marionnet-86420143.dir/hublet-0-socket-19228388/ctl
[12321.8]: process_w_c_a_socket_at_s_time#spawn: Ok, the socket now exists. Spawning succeeded.
[12321.8]: process_w_c_a_socket_at_s_time#spawn: spawning the process which will create the socket /tmp/marionnet-86420143.dir/hublet-1-socket-197137083
[12321.8]: process#spawn: `vde_switch' called with 7 arguments; the complete command line is:
---
  vde_switch -x -n 3 -mod 777 -unix
  /tmp/marionnet-86420143.dir/hublet-1-socket-197137083
---
[12321.8]: process#spawn: a process (vde_switch) was just spawned (pid 12417).
000000004807cf49: 00000002 00000000 00010000 0001 01 286179 /tmp/marionnet-86420143.dir/hublet-1-socket-197137083/ctl
[12321.8]: process_w_c_a_socket_at_s_time#spawn: Ok, the socket now exists. Spawning succeeded.
[12321.8]: uml_process: creating m1: eth42 has IP 172.23.0.1
[12321.8]: uml_process: creating m1: using default console arguments for new pairs filesystem/kernels
[12321.8]: Processes for m1 were created...
[12321.8]: Starting up the device m1...
[12321.34]: process#spawn: `wirefilter' called with 18 arguments; the complete command line is:
---
  wirefilter -l LR0.000000 -D LR0.000000 --noise LR0 -d
  LR0.000000+0.000000 -l RL0.000000 -D RL0.000000 --noise RL0
  -d RL0.000000+0.000000 -v
  /tmp/marionnet-86420143.dir/hublet-1-socket-197137083:/tmp/marionnet-86420143.dir/hublet-0-socket-19228388
---
[12321.34]: process#spawn: a process (wirefilter) was just spawned (pid 12441).
172.23.0.1 being added to access control list
[12321.33]: Executing: dd if=/dev/zero bs=1024 seek=1048576 count=1 of='/tmp/marionnet-86420143.dir/sparse-swap-907882782'
1+0 registros leídos
1+0 registros escritos
1024 bytes (1,0 kB, 1,0 KiB) copied, 0,000137505 s, 7,4 MB/s
[12321.33]: m1#create_swap_file: created the swap file /tmp/marionnet-86420143.dir/sparse-swap-907882782.
[12321.33]: Executing: export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin; mkswap '/tmp/marionnet-86420143.dir/sparse-swap-907882782'
mkswap: /tmp/marionnet-86420143.dir/sparse-swap-907882782: insecure permissions 0644, 0600 suggested.
Setting up swapspace version 1, size = 1024 MiB (1073737728 bytes)
no label, UUID=edfbe3da-0f50-45c2-868b-1db9f4c79d97
[12321.33]: m1#create_swap_file: executed mkswap on the swap file /tmp/marionnet-86420143.dir/sparse-swap-907882782.
[12321.33]: process#spawn: `linux-3.2.64-ghost' called with 17 arguments; the complete command line is:
---
  /usr/local/share/marionnet/kernels/linux-3.2.64-ghost
  console_no=1 numeric_TZ=+02:00 timezone=Europe/Madrid
  keyboard_layout=es
  eth0=daemon,02:04:06:b3:9f:8e,unix,/tmp/marionnet-86420143.dir/hublet-1-socket-197137083/ctl
  ubda=/tmp/marionnet-86420143.dir/e1/states/1975-62520-63653.cow,/usr/local/share/marionnet/filesystems/machine-debian-wheezy-08367
  ubdb=/tmp/marionnet-86420143.dir/sparse-swap-907882782
  umid=m1 mem=96M root=98:0
  hostfs=/tmp/marionnet-86420143.dir/e1/hostfs/1 hostname=m1
  guestkind=machine xterm=xterm,-T,-e
  eth42=tuntap,tap968985,42:42:0b:7a:c2:b8,172.23.0.254
  debug_mode=true con0=xterm
---
[12321.33]: process#spawn: a process (linux-3.2.64-ghost) was just spawned (pid 12467).
[12321.8]: The device m1 was started up
[12321.8]: task_runner: The task "Comenzando m1" succeeded.
[12321.8]: task_runner: I'm ready for the next task...
[12321.8]: task_runner: Executing the task "Destroy the progress bar for "Comenzando m1""
[12321.8]: A progress bar dialog window was destroyed.
[12321.8]: A progress bar dialog window was destroyed.
[12321.8]: task_runner: The task "Destroy the progress bar for "Comenzando m1"" succeeded.
[12321.8]: task_runner: I'm ready for the next task...
[12321.37]: process#start_thread_waiting: waitpid 12467 exited.
[12321.6]: You don't deadlock here m1, do you? -1
[12321.6]: You don't deadlock here m1, do you? 0
[12321.6]: About to destroy the simulated device m1
[12321.6]: (destroying the on/sleeping device m1. Powering it off first...)
[12321.6]: Powering off the device m1...
[12321.6]: machine_or_router#terminate_processes_private: about to terminate the internal cable processes of m1...
[12321.40]: m1#gracefully_terminate: uml_mconsole failed in sending a 'sysrq e' to m1. Trying again (loop no. 1/1)...
[12321.35]: process#start_thread_waiting: waitpid 12441 exited.
[12321.40]: m1#gracefully_terminate: uml_mconsole failed in sending a 'sysrq i' to m1. Trying again (loop no. 1/1)...
[12321.40]: m1#gracefully_terminate: uml_mconsole failed in sending a 'halt' to m1. Trying again (loop no. 1/1)...
[12321.40]: m1#terminate: killing whole hierarchy of pid 12467 with SIGKILL...
[12321.40]: m1#terminate: waiting pid 12467...
[12321.40]: m1#terminate: pid 12467 correctly waited. Fine.
[12321.40]: m1#terminate: removing swap file allocated for 12467
[12321.40]: Executing: rm -f '/tmp/marionnet-86420143.dir/sparse-swap-907882782'
[12321.40]: m1#delete_swap_file: deleted the swap file '/tmp/marionnet-86420143.dir/sparse-swap-907882782'
[12321.40]: m1#terminate: asking to remove tap allocated for 12467
[12321.40]: m1#terminate: UML process with pid 12467 successfully terminated.
[12321.6]: About to destroy the simulated device m1
[12321.6]: (destroying the off device m1: decrementing its cables rc...)
[12321.6]: (destroying the simulated device implementing m1...)
[12321.6]: device#destroy: resuming m1 before destruction...
[12321.6]: device#destroy: shutting down m1 before destruction...
[12321.6]: device#destroy: about to terminate m1's hublets...
[12321.6]: device#terminate_hublets: terminating a device hublet process (pid 12412) of m1...
[12321.27]: process#start_thread_waiting: waitpid 12412 exited.
[12321.6]: device#terminate_hublets: ok, a hublet process (pid 12412) of m1 was terminated
[12321.6]: device#terminate_hublets: terminating a device hublet process (pid 12417) of m1...
[12321.29]: process#start_thread_waiting: waitpid 12417 exited.
[12321.6]: device#terminate_hublets: ok, a hublet process (pid 12417) of m1 was terminated
[12321.6]: device#destroy: Ok, the hublets of m1 were destroyed.
[12321.6]: We're not deadlocked yet (m1). Great.
[12321.6]: The simulated device m1 was destroyed with success
[12321.6]: About to destroy the simulated device m1
[12321.6]: (destroying the already 'no-device' device m1. Doing nothing...)
[12321.6]: The simulated device m1 was destroyed with success
[12321.6]: The simulated device m1 was destroyed with success
[12321.19]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[12321.19]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 1080, characters 13-59
[12321.19]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54
[12321.19]: Raising exception Simulation_level.ProcessIsntInTheRightState("terminate") at File "simulation_level.ml", line 152, characters 8-54

Revision history for this message
aborregoc (aborregoc) wrote :

Hi,
I answer myself:
The problem was that the MX-linux 19.2 version I was using did not have systemd activated, it was to activate this and everything worked correctly.The problems when installing it in Ubuntu 20.04 I still do not know what they may be.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.