im trying to follow this tutorial and i recieve the following error when i run run_bochs.sh
1.
00000000000i[APIC?] local apic in initializing
2.
========================================================================
3.
Bochs x86 Emulator 2.3.7
4.
Build from CVS snapshot, on June 3, 2008
5.
========================================================================
6.
00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
7.
00000000000i[ ] BXSHARE not set. using compile time default '/usr/share/bochs'
8.
00000000000i[ ] reading configuration from bochsrc.txt
9.
00000000000i[ ] lt_dlhandle is (nil)
10.
00000000000p[ ] >>PANIC<< dlopen failed for module 'x': file not found
11.
========================================================================
12.
Event type: PANIC
13.
Device: [ ]
14.
Message: dlopen failed for module 'x': file not found
15.
16.
A PANIC has occurred. Do you want to:
17.
cont - continue execution
18.
alwayscont - continue execution, and don't ask again.
19.
This affects only PANIC events from device [ ]
20.
die - stop execution now
21.
abort - dump core
22.
debug - hand control to gdb
i can't udnerstand it at all, if someone could help me fix this i'd really appreciate it
roll your own unix clone tutorial
Re: roll your own unix clone tutorial
What the error means is that the graphics aren't installed for Bochs, so all it can do is text. There are several ways to fix it:
If you have a mac, you need to get a binary of the program (easier than building anyways). Get it at: http://www.macupdate.com/info.php/id/11177 or I'm pretty sure theres a version of bochs on MacPorts.
If you're on Linux (especially Ubuntu), there is a package with the x libraries installed already. I'm pretty sure the package is called bochs-x, or something similar to that.
If one of those doesn't work, let us know and we can help more.
If you have a mac, you need to get a binary of the program (easier than building anyways). Get it at: http://www.macupdate.com/info.php/id/11177 or I'm pretty sure theres a version of bochs on MacPorts.
If you're on Linux (especially Ubuntu), there is a package with the x libraries installed already. I'm pretty sure the package is called bochs-x, or something similar to that.
If one of those doesn't work, let us know and we can help more.
Hexciting: An open source hex editor for the command line.
https://sourceforge.net/projects/hexciting/
https://sourceforge.net/projects/hexciting/
Re: roll your own unix clone tutorial
Thanks for the help samos,
heres the new error message
heres the new error message
00000000000i[APIC?] local apic in initializing
========================================================================
Bochs x86 Emulator 2.3.7
Build from CVS snapshot, on June 3, 2008
========================================================================
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[ ] reading configuration from bochsrc.txt
00000000000i[ ] lt_dlhandle is 0x90ae870
00000000000i[PLGIN] loaded plugin libbx_x.la
00000000000i[ ] installing x module as the Bochs GUI
00000000000i[ ] using log file bochsout.txt
========================================================================
Event type: PANIC
Device: [MEM0 ]
Message: ROM: System BIOS must end at 0xfffff
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 [MEM0 ]
die - stop execution now
abort - dump core
debug - hand control to gdb
- gzaloprgm
- Member
- Posts: 141
- Joined: Sun Sep 23, 2007 4:53 pm
- Location: Buenos Aires, Argentina
- Contact:
Re: roll your own unix clone tutorial
Just remove address=0xf0000 from bochsrc.txt.
Cheers,
Gonzalo
Cheers,
Gonzalo
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.