Compiled with: [ebuild R ~] app-emulation/bochs-2.6.9::gentoo USE="X doc ncurses readline sdl smp vnc x86-64 -3dnow -avx -debugger -gdb (-svga)" 0 KiB Running bochs with default configuration: stuartl@vk4msl-ws ~ $ bochs ======================================================================== Bochs x86 Emulator 2.6.9 Built from SVN snapshot on April 9, 2017 Compiled on Jan 30 2018 at 14:31:20 ======================================================================== 00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib64/bochs/plugins' 00000000000i[ ] BXSHARE not set. using compile time default '/usr/share/bochs' 00000000000i[ ] lt_dlhandle is 0x564d06f2e600 00000000000i[PLUGIN] loaded plugin libbx_usb_common.so 00000000000i[ ] lt_dlhandle is 0x564d06f2f3f0 00000000000i[PLUGIN] loaded plugin libbx_unmapped.so 00000000000i[ ] lt_dlhandle is 0x564d06f2fca0 00000000000i[PLUGIN] loaded plugin libbx_biosdev.so 00000000000i[ ] lt_dlhandle is 0x564d06f31550 00000000000i[PLUGIN] loaded plugin libbx_speaker.so 00000000000i[ ] lt_dlhandle is 0x564d06f32350 00000000000i[PLUGIN] loaded plugin libbx_extfpuirq.so 00000000000i[ ] lt_dlhandle is 0x564d06f32ba0 00000000000i[PLUGIN] loaded plugin libbx_parallel.so 00000000000i[ ] lt_dlhandle is 0x564d06f34830 00000000000i[PLUGIN] loaded plugin libbx_serial.so 00000000000i[ ] lt_dlhandle is 0x564d06f38ac0 00000000000i[PLUGIN] loaded plugin libbx_gameport.so ------------------------------ 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] 1 I reset all options back to their factory defaults. 00000000000i[ ] lt_dlhandle is 0x564d06f38ac0 00000000000i[PLUGIN] loaded plugin libbx_unmapped.so 00000000000i[ ] lt_dlhandle is 0x564d06f34770 00000000000i[PLUGIN] loaded plugin libbx_biosdev.so 00000000000i[ ] lt_dlhandle is 0x564d06f39330 00000000000i[PLUGIN] loaded plugin libbx_speaker.so 00000000000i[ ] lt_dlhandle is 0x564d06f38230 00000000000i[PLUGIN] loaded plugin libbx_extfpuirq.so 00000000000i[ ] lt_dlhandle is 0x564d06f385b0 00000000000i[PLUGIN] loaded plugin libbx_parallel.so 00000000000i[ ] lt_dlhandle is 0x564d06f37c50 00000000000i[PLUGIN] loaded plugin libbx_serial.so 00000000000i[ ] lt_dlhandle is 0x564d06f366c0 00000000000i[PLUGIN] loaded plugin libbx_gameport.so ------------------------------ 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: [3] 6 00000000000i[ ] lt_dlhandle is 0x564d06f39b10 00000000000i[PLUGIN] loaded plugin libbx_x.so 00000000000i[ ] installing x module as the Bochs GUI 00000000000i[ ] Bochs x86 Emulator 2.6.9 00000000000i[ ] Built from SVN snapshot on April 9, 2017 00000000000i[ ] Compiled on Jan 30 2018 at 14:31:20 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[ ] Optimization configuration 00000000000i[ ] RepeatSpeedups support: yes 00000000000i[ ] Fast function calls: yes 00000000000i[ ] Handlers Chaining speedups: yes 00000000000i[ ] Devices configuration 00000000000i[ ] PCI support: i440FX i430FX 00000000000i[ ] Networking support: NE2000 E1000 00000000000i[ ] Sound support: no 00000000000i[ ] USB support: UHCI OHCI xHCI 00000000000i[ ] VGA extension support: vbe cirrus 00000000000i[MEM0 ] allocated memory at 0x7f42f1452010. after alignment, vector=0x7f42f1453000 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 0x564d06fa55e0 00000000000i[PLUGIN] loaded plugin libbx_hdimage.so 00000000000i[ ] lt_dlhandle is 0x564d06fa5fc0 00000000000i[PLUGIN] loaded plugin libbx_pci.so 00000000000i[ ] lt_dlhandle is 0x564d06fa6900 00000000000i[PLUGIN] loaded plugin libbx_pci2isa.so 00000000000i[ ] lt_dlhandle is (nil) 00000000000p[ ] >>PANIC<< dlopen failed for module 'usb_uhci' (libbx_usb_uhci.so): file not found ======================================================================== Event type: PANIC Device: [ ] Message: dlopen failed for module 'usb_uhci' (libbx_usb_uhci.so): file not found A PANIC has occurred. Do you want to: cont - continue execution alwayscont - continue execution, and don't ask again. This affects only PANIC events from device [ ] die - stop execution now abort - dump core Choose one of the actions above: [die] ======================================================================== Bochs is exiting with the following message: [ ] dlopen failed for module 'usb_uhci' (libbx_usb_uhci.so): file not found ======================================================================== 00000000000i[SIM ] quit_sim called with exit code 1
Created attachment 517094 [details] SVN live ebuild In researching this problem, I see it's a known issue upstream (since 2015), and their advise is to build from Subversion. https://sourceforge.net/p/bochs/discussion/39592/thread/58822184/ Doing so (via this ebuild) works around the issue.
Disabling plugins is a workaround to avoid this bug. Edit bochs-2.6.9.ebuild and commend out "--enable-plugins" parameter in src_configure.
I've encountered exact the same problem and can confirm that the live ebuild from comment#1 works fine.