Page 1 of 1

Bochs Setup

Posted: Sat Jul 25, 2009 2:02 am
by brodeur235
Switching to bochs for debugging purposes. Start bochs with "bochs" at command line. Choose option #2 "Read options from..." and pass it the path to my bochsrc. My bochsrc is exactly the default that came with the download of bochs, except for 2 parts:

Code: Select all

floppya: 1_44=/dev/fd0, status=inserted
is now:

Code: Select all

floppya: 1_44=/home/nick/Desktop/kern.img, status=inserted
and:

Code: Select all

#boot: floppy
#boot: disk
boot: cdrom
is now:

Code: Select all

boot: floppy
#boot: disk
#boot: cdrom
After this no errors seem to occur and I get this message before being redirected back to the same menu:

Code: Select all

00000000000i[     ] reading configuration from /home/nick/Desktop/bochsrc
I now choose option #6 "Begin Simulation", which generates the following errors:

Code: Select all

00000000000e[     ] change of the config interface to wx not implemented yet
00000000000e[     ] wxWidgets was not used as the configuration interface, so it cannot be used as the display library
00000000000e[     ] changing display library to 'x' instead
00000000000i[     ] lt_dlhandle is (nil)
00000000000p[     ] >>PANIC<< dlopen failed for module 'x': file not found
========================================================================
Event type: PANIC
Device: [     ]
Message: dlopen failed for module 'x': 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 
  debug      - hand control to gdb
Choose one of the actions above: [die]
What is wrong and how can I finally get this finicky config file to cooperate and boot a simple floppy image,

Brodeur235

Re: Bochs Setup

Posted: Sat Jul 25, 2009 6:33 am
by raghuk
Google is your friend

Re: Bochs Setup

Posted: Sat Jul 25, 2009 7:16 am
by gedd
brodeur235 wrote:What is wrong
The error message tell you what is wrong.
And the documentation give you the solution.

For this king of problem you can use "Bochs" forums instead

Re: Bochs Setup

Posted: Sat Jul 25, 2009 10:01 am
by Troy Martin
sudo apt-get install bochs-x

Re: Bochs Setup

Posted: Sat Jul 25, 2009 10:05 am
by manonthemoon
I actually had this problem recently. I compiled the sources myself, and I typed "configure" and "make", but I forgot "make install". So if you go through the entire compilation/installation process without missing a step, it should work. If you have a precompiled version, it's probably not installed correctly.

Re: Bochs Setup

Posted: Sun Jul 26, 2009 7:42 am
by ehenkes
Bochs at Windows runs smooth. :)

Re: Bochs Setup

Posted: Sat Aug 01, 2009 5:22 am
by Combuster
Message: dlopen failed for module 'x': file not found
Three prior threads on that very error message. Search first