microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.44k stars 822 forks source link

Installing bochs on Ubuntu 20.04 LTS doesn't install vgabios on WSL2 whereas it does on real Ubuntu 20.04 LTS. #6389

Closed isaprykin closed 9 months ago

isaprykin commented 3 years ago

Environment

Windows build number: Microsoft Windows [Version 10.0.19041.685]
Your Distribution version: Release:        20.04
Whether the issue is on WSL 2 and/or WSL 1: Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020 -- WSL2

Steps to reproduce

I install bochs on WSL2. When I run it bochs fails with

Message: ROM: couldn't open ROM image file '/usr/share/bochs/BIOS-bochs-latest'

. /usr/share/bochs doesn't have the required files. When I install bochs in the same way on a freshly installed Ubuntu 20.04 LTS under VirtualBox bochs runs fine. /usr/share/bochs does have the required files.

sudo apt-get install bochs*

installs vgabios under Virtualbox but it doesn't install vgabios under WSL2.

Ubuntu under VirtualBox:

$ uname -a
Linux igor-VirtualBox 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

WSL logs:

Expected behavior

sudo apt-get install bochs*

results in

$ ls /usr/share/bochs/
BIOS-bochs-latest  BIOS-bochs-legacy  BIOS-qemu-latest  VGABIOS-lgpl-latest  keymaps

Actual behavior

sudo apt-get install bochs*

results in

$ ls /usr/share/bochs/
VGABIOS-lgpl-latest  keymaps

Installation logs that show the difference in vgabios:

  1. Ubuntu 20.04 under WSL2

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'bochs-gui' for glob 'bochs*'
    Note, selecting 'bochs-sdl' for glob 'bochs*'
    Note, selecting 'bochs-term' for glob 'bochs*'
    Note, selecting 'bochs-curses' for glob 'bochs*'
    Note, selecting 'bochs' for glob 'bochs*'
    Note, selecting 'bochsbios' for glob 'bochs*'
    Note, selecting 'bochs-x' for glob 'bochs*'
    Note, selecting 'bochs-wx' for glob 'bochs*'
    Note, selecting 'bochs-doc' for glob 'bochs*'
    The following additional packages will be installed:
    bximage libsdl2-2.0-0 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5
    Suggested packages:
    debootstrap grub-rescue-pc
    The following NEW packages will be installed:
    bochs bochs-doc bochs-sdl bochs-term bochs-wx bochs-x bochsbios bximage libsdl2-2.0-0 libwxbase3.0-0v5
    libwxgtk3.0-gtk3-0v5
    0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
    Need to get 42.1 kB/7730 kB of archives.
    After this operation, 32.9 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 bochsbios all 2.6.11+dfsg-1build1 [42.1 kB]
    Fetched 42.1 kB in 1s (63.0 kB/s)
    Selecting previously unselected package libsdl2-2.0-0:amd64.
    (Reading database ... 75551 files and directories currently installed.)
    Preparing to unpack .../00-libsdl2-2.0-0_2.0.10+dfsg1-3_amd64.deb ...
    Unpacking libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
    Selecting previously unselected package libwxbase3.0-0v5:amd64.
    Preparing to unpack .../01-libwxbase3.0-0v5_3.0.4+dfsg-15build1_amd64.deb ...
    Unpacking libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Selecting previously unselected package libwxgtk3.0-gtk3-0v5:amd64.
    Preparing to unpack .../02-libwxgtk3.0-gtk3-0v5_3.0.4+dfsg-15build1_amd64.deb ...
    Unpacking libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Selecting previously unselected package bochs-wx.
    Preparing to unpack .../03-bochs-wx_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-wx (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-x.
    Preparing to unpack .../04-bochs-x_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-x (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-term.
    Preparing to unpack .../05-bochs-term_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-term (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-sdl.
    Preparing to unpack .../06-bochs-sdl_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-sdl (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochsbios.
    Preparing to unpack .../07-bochsbios_2.6.11+dfsg-1build1_all.deb ...
    Unpacking bochsbios (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs.
    Preparing to unpack .../08-bochs_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-doc.
    Preparing to unpack .../09-bochs-doc_2.6.11+dfsg-1build1_all.deb ...
    Unpacking bochs-doc (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bximage.
    Preparing to unpack .../10-bximage_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bximage (2.6.11+dfsg-1build1) ...
    Setting up bximage (2.6.11+dfsg-1build1) ...
    Setting up libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Setting up libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
    Setting up bochsbios (2.6.11+dfsg-1build1) ...
    Setting up bochs-doc (2.6.11+dfsg-1build1) ...
    Setting up libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Setting up bochs-wx (2.6.11+dfsg-1build1) ...
    Setting up bochs-x (2.6.11+dfsg-1build1) ...
    Setting up bochs (2.6.11+dfsg-1build1) ...
    Setting up bochs-term (2.6.11+dfsg-1build1) ...
    Setting up bochs-sdl (2.6.11+dfsg-1build1) ...
    Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
    Processing triggers for man-db (2.9.1-1) ...
  2. Ubuntu 20.04 under VirtualBox

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'bochs-gui' for glob 'bochs*'
    Note, selecting 'bochs-sdl' for glob 'bochs*'
    Note, selecting 'bochs-term' for glob 'bochs*'
    Note, selecting 'bochs-curses' for glob 'bochs*'
    Note, selecting 'bochs' for glob 'bochs*'
    Note, selecting 'bochsbios' for glob 'bochs*'
    Note, selecting 'bochs-x' for glob 'bochs*'
    Note, selecting 'bochs-wx' for glob 'bochs*'
    Note, selecting 'bochs-doc' for glob 'bochs*'
    The following additional packages will be installed:
    bximage libsdl2-2.0-0 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 vgabios
    Suggested packages:
    debootstrap gcc | c-compiler grub-rescue-pc libc-dev
    The following NEW packages will be installed:
    bochs bochs-doc bochs-sdl bochs-term bochs-wx bochs-x bochsbios bximage libsdl2-2.0-0 libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5
    vgabios
    0 upgraded, 12 newly installed, 0 to remove and 293 not upgraded.
    Need to get 7,527 kB/7,759 kB of archives.
    After this operation, 33.3 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libsdl2-2.0-0 amd64 2.0.10+dfsg1-3 [407 kB]
    Get:2 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libwxbase3.0-0v5 amd64 3.0.4+dfsg-15build1 [982 kB]
    Get:3 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libwxgtk3.0-gtk3-0v5 amd64 3.0.4+dfsg-15build1 [4,359 kB]
    Get:4 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 bochs-wx amd64 2.6.11+dfsg-1build1 [132 kB]
    Get:5 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 bochsbios all 2.6.11+dfsg-1build1 [42.1 kB]
    Get:6 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 vgabios all 0.7b+ds-1 [29.4 kB]
    Get:7 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 bochs amd64 2.6.11+dfsg-1build1 [1,536 kB]
    Get:8 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 bximage amd64 2.6.11+dfsg-1build1 [39.8 kB]
    Fetched 7,527 kB in 11s (696 kB/s)
    Selecting previously unselected package libsdl2-2.0-0:amd64.
    (Reading database ... 180336 files and directories currently installed.)
    Preparing to unpack .../00-libsdl2-2.0-0_2.0.10+dfsg1-3_amd64.deb ...
    Unpacking libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
    Selecting previously unselected package libwxbase3.0-0v5:amd64.
    Preparing to unpack .../01-libwxbase3.0-0v5_3.0.4+dfsg-15build1_amd64.deb ...
    Unpacking libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Selecting previously unselected package libwxgtk3.0-gtk3-0v5:amd64.
    Preparing to unpack .../02-libwxgtk3.0-gtk3-0v5_3.0.4+dfsg-15build1_amd64.deb ...
    Unpacking libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Selecting previously unselected package bochs-wx.
    Preparing to unpack .../03-bochs-wx_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-wx (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-x.
    Preparing to unpack .../04-bochs-x_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-x (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-term.
    Preparing to unpack .../05-bochs-term_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-term (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-sdl.
    Preparing to unpack .../06-bochs-sdl_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs-sdl (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochsbios.
    Preparing to unpack .../07-bochsbios_2.6.11+dfsg-1build1_all.deb ...
    Unpacking bochsbios (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package vgabios.
    Preparing to unpack .../08-vgabios_0.7b+ds-1_all.deb ...
    Unpacking vgabios (0.7b+ds-1) ...
    Selecting previously unselected package bochs.
    Preparing to unpack .../09-bochs_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bochs (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bochs-doc.
    Preparing to unpack .../10-bochs-doc_2.6.11+dfsg-1build1_all.deb ...
    Unpacking bochs-doc (2.6.11+dfsg-1build1) ...
    Selecting previously unselected package bximage.
    Preparing to unpack .../11-bximage_2.6.11+dfsg-1build1_amd64.deb ...
    Unpacking bximage (2.6.11+dfsg-1build1) ...
    Setting up bximage (2.6.11+dfsg-1build1) ...
    Setting up vgabios (0.7b+ds-1) ...
    Setting up libwxbase3.0-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Setting up libsdl2-2.0-0:amd64 (2.0.10+dfsg1-3) ...
    Setting up bochsbios (2.6.11+dfsg-1build1) ...
    Setting up bochs-doc (2.6.11+dfsg-1build1) ...
    Setting up libwxgtk3.0-gtk3-0v5:amd64 (3.0.4+dfsg-15build1) ...
    Setting up bochs-wx (2.6.11+dfsg-1build1) ...
    Setting up bochs-x (2.6.11+dfsg-1build1) ...
    Setting up bochs (2.6.11+dfsg-1build1) ...
    Setting up bochs-term (2.6.11+dfsg-1build1) ...
    Setting up bochs-sdl (2.6.11+dfsg-1build1) ...
    Processing triggers for libc-bin (2.31-0ubuntu9) ...
    Processing triggers for man-db (2.9.1-1) ...
  3. Here is what it's like to run bochs without those files:

    
    $ bochs
    ========================================================================
                       Bochs x86 Emulator 2.6.11
              Built from SVN snapshot on January 5, 2020
                Timestamp: Sun Jan  5 08:36:00 CET 2020
    ========================================================================
    00000000000i[      ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
    00000000000i[      ] BXSHARE not set. using compile time default '/usr/share/bochs'
    00000000000i[      ] lt_dlhandle is 0x558ef3769600
    00000000000i[PLUGIN] loaded plugin libbx_unmapped.so
    00000000000i[      ] lt_dlhandle is 0x558ef376a620
    00000000000i[PLUGIN] loaded plugin libbx_biosdev.so
    00000000000i[      ] lt_dlhandle is 0x558ef376afc0
    00000000000i[PLUGIN] loaded plugin libbx_speaker.so
    00000000000i[      ] lt_dlhandle is 0x558ef376cd40
    00000000000i[PLUGIN] loaded plugin libbx_extfpuirq.so
    00000000000i[      ] lt_dlhandle is 0x558ef376d510
    00000000000i[PLUGIN] loaded plugin libbx_parallel.so
    00000000000i[      ] lt_dlhandle is 0x558ef376f170
    00000000000i[PLUGIN] loaded plugin libbx_serial.so
    00000000000i[      ] lt_dlhandle is 0x558ef3773570
    00000000000i[PLUGIN] loaded plugin libbx_gameport.so
    00000000000i[      ] lt_dlhandle is 0x558ef3773da0
    00000000000i[PLUGIN] loaded plugin libbx_iodebug.so
    00000000000e[      ] Switching off quick start, because no configuration file was found.
    ------------------------------
    Bochs Configuration: Main Menu
    ------------------------------

This is the Bochs Configuration Interface, where you can describe the machine that you want to simulate. Bochs has already searched for a configuration file (typically called bochsrc.txt) and loaded it if it could be found. When you are satisfied with the configuration, go ahead and start the simulation.

You can also start bochs with the -q option to skip these menus.

  1. Restore factory default configuration
  2. Read options from...
  3. Edit options
  4. Save options to...
  5. Restore the Bochs state from...
  6. Begin simulation
  7. Quit now

Please choose one: [2] 6 00000000000i[ ] lt_dlhandle is 0x558ef3774cc0 00000000000i[PLUGIN] loaded plugin libbx_x.so 00000000000i[ ] installing x module as the Bochs GUI 00000000000i[ ] Bochs x86 Emulator 2.6.11 00000000000i[ ] Built from SVN snapshot on January 5, 2020 00000000000i[ ] Timestamp: Sun Jan 5 08:36:00 CET 2020 00000000000i[ ] System configuration 00000000000i[ ] processors: 1 (cores=1, HT threads=1) 00000000000i[ ] A20 line support: yes 00000000000i[ ] IPS is set to 4000000 00000000000i[ ] CPU configuration 00000000000i[ ] SMP support: yes, quantum=16 00000000000i[ ] level: 6 00000000000i[ ] APIC support: xapic 00000000000i[ ] FPU support: yes 00000000000i[ ] MMX support: yes 00000000000i[ ] 3dnow! support: no 00000000000i[ ] SEP support: yes 00000000000i[ ] SIMD support: sse2 00000000000i[ ] XSAVE support: no 00000000000i[ ] AES support: no 00000000000i[ ] SHA support: no 00000000000i[ ] MOVBE support: no 00000000000i[ ] ADX support: no 00000000000i[ ] x86-64 support: yes 00000000000i[ ] 1G paging support: no 00000000000i[ ] MWAIT support: yes 00000000000i[ ] VMX support: 1 00000000000i[ ] SVM support: no 00000000000i[ ] Optimization configuration 00000000000i[ ] RepeatSpeedups support: yes 00000000000i[ ] Fast function calls: yes 00000000000i[ ] Handlers Chaining speedups: no 00000000000i[ ] Devices configuration 00000000000i[ ] PCI support: i440FX i430FX i440BX 00000000000i[ ] Networking support: NE2000 E1000 00000000000i[ ] Sound support: SB16 ES1370 00000000000i[ ] USB support: UHCI OHCI EHCI xHCI 00000000000i[ ] VGA extension support: vbe cirrus voodoo 00000000000i[MEM0 ] allocated memory at 0x7fdac6434010. after alignment, vector=0x7fdac6435000 00000000000i[MEM0 ] 32.00MB 00000000000i[MEM0 ] mem block size = 0x00020000, blocks=256 00000000000i[MEM0 ] rom at 0xfffe0000/131072 ('/usr/share/bochs/BIOS-bochs-latest') 00000000000i[ ] lt_dlhandle is 0x558ef3775a50 00000000000i[PLUGIN] loaded plugin libbx_hdimage.so 00000000000i[ ] lt_dlhandle is 0x558ef3db5490 00000000000i[PLUGIN] loaded plugin libbx_soundalsa.so ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default 00000000000i[ ] lt_dlhandle is 0x558ef3dcf5f0 00000000000i[PLUGIN] loaded plugin libbx_pci.so 00000000000i[ ] lt_dlhandle is 0x558ef3dcf540 00000000000i[PLUGIN] loaded plugin libbx_pci2isa.so 00000000000i[ ] lt_dlhandle is 0x558ef3db6030 00000000000i[PLUGIN] loaded plugin libbx_usb_uhci.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddafd0 00000000000i[PLUGIN] loaded plugin libbx_acpi.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddb7b0 00000000000i[PLUGIN] loaded plugin libbx_hpet.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddc620 00000000000i[PLUGIN] loaded plugin libbx_cmos.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddce10 00000000000i[PLUGIN] loaded plugin libbx_dma.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddd860 00000000000i[PLUGIN] loaded plugin libbx_pic.so 00000000000i[ ] lt_dlhandle is 0x558ef3dde0c0 00000000000i[PLUGIN] loaded plugin libbx_pit.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddeac0 00000000000i[PLUGIN] loaded plugin libbx_vga.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddf320 00000000000i[PLUGIN] loaded plugin libbx_floppy.so 00000000000i[ ] lt_dlhandle is 0x558ef3ddfed0 00000000000i[PLUGIN] loaded plugin libbx_ioapic.so 00000000000i[ ] lt_dlhandle is 0x558ef3de07f0 00000000000i[PLUGIN] loaded plugin libbx_keyboard.so 00000000000i[ ] lt_dlhandle is 0x558ef3de0fc0 00000000000i[PLUGIN] loaded plugin libbx_harddrv.so 00000000000i[ ] lt_dlhandle is 0x558ef3de3220 00000000000i[PLUGIN] loaded plugin libbx_pci_ide.so 00000000000i[PLUGIN] init_dev of 'pci' plugin device by virtual method 00000000000i[DEV ] i440FX PMC present at device 0, function 0 00000000000i[PLUGIN] init_dev of 'pci2isa' plugin device by virtual method 00000000000i[DEV ] PIIX3 PCI-to-ISA bridge present at device 1, function 0 00000000000i[PLUGIN] init_dev of 'cmos' plugin device by virtual method 00000000000i[CMOS ] Using local time for initial clock 00000000000i[CMOS ] Setting initial clock to: Thu Dec 31 13:26:09 2020 (time0=1609449969) 00000000000i[PLUGIN] init_dev of 'dma' plugin device by virtual method 00000000000i[DMA ] channel 4 used by cascade 00000000000i[PLUGIN] init_dev of 'pic' plugin device by virtual method 00000000000i[PLUGIN] init_dev of 'pit' plugin device by virtual method 00000000000i[PLUGIN] init_dev of 'vga' plugin device by virtual method 00000000000i[MEM0 ] Register memory access handlers: 0x0000000a0000 - 0x0000000bffff 00000000000i[VGA ] interval=200000, mode=realtime 00000000000i[VGA ] VSYNC using standard mode 00000000000i[MEM0 ] Register memory access handlers: 0x0000e0000000 - 0x0000e0ffffff 00000000000i[BXVGA ] VBE Bochs Display Extension Enabled 00000000000i[XGUI ] test_alloc_colors: 16 colors available out of 16 colors tried 00000000000i[XGUI ] font 8 wide x 16 high, display depth = 24 00000000000p[MEM0 ] >>PANIC<< ROM: couldn't open ROM image file '/usr/share/bochs/VGABIOS-lgpl-latest'.

Bochs is exiting with the following message: [MEM0 ] ROM: couldn't open ROM image file '/usr/share/bochs/VGABIOS-lgpl-latest'.

00000000000i[CPU0 ] CPU is in real mode (active) 00000000000i[CPU0 ] CS.mode = 16 bit 00000000000i[CPU0 ] SS.mode = 16 bit 00000000000i[CPU0 ] EFER = 0x00000000 00000000000i[CPU0 ] | EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000000 00000000000i[CPU0 ] | ESP=00000000 EBP=00000000 ESI=00000000 EDI=00000000 00000000000i[CPU0 ] | IOPL=0 id vip vif ac vm rf nt of df if tf sf ZF af PF cf 00000000000i[CPU0 ] | SEG sltr(index|ti|rpl) base limit G D 00000000000i[CPU0 ] | CS:0000( 0000| 0| 0) 00000000 00000000 0 0 00000000000i[CPU0 ] | DS:0000( 0000| 0| 0) 00000000 00000000 0 0 00000000000i[CPU0 ] | SS:0000( 0000| 0| 0) 00000000 00000000 0 0 00000000000i[CPU0 ] | ES:0000( 0000| 0| 0) 00000000 00000000 0 0 00000000000i[CPU0 ] | FS:0000( 0000| 0| 0) 00000000 00000000 0 0 00000000000i[CPU0 ] | GS:0000( 0000| 0| 0) 00000000 00000000 0 0 00000000000i[CPU0 ] | EIP=00000000 (00000000) 00000000000i[CPU0 ] | CR0=0x00000000 CR2=0x00000000 00000000000i[CPU0 ] | CR3=0x00000000 CR4=0x00000000 (0).[0] [0x000000000000] 0000:0000 (unk. ctxt): add byte ptr ds:[bx+si], al ; 0000 00000000000i[SIM ] quit_sim called with exit code 1

benhillis commented 3 years ago

This seems like a user-space configuration difference with the WSL2 image Canonical uses.

penumbra23 commented 3 years ago

Also confirmed on Debian 11 (bullseye). Any workaround? wget from somewhere?

arigatory commented 2 years ago

sudo apt-get install -y bochsbios and sudo apt-get install -y vgabios might help

zmmaj commented 2 years ago

try sudo apt-get install -y bochsbios and sudo apt-get install -y vgabios might help

microsoft-github-policy-service[bot] commented 9 months ago

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Siruo-young commented 6 months ago

The file actually exists, but it's still an error like that.(Windows11)