yeah, this is my configuration file. I found this article on how to make an emulated floppy, and used it to put a little test bootloader i wrote up on, so it should work, but it doesn't :/:
megs: 32
romimage: file=/usr/local/bochs/1.4.1/BIOS-bochs-latest, address=0xf0000
vgaromimage: /usr/local/bochs/1.4.1/VGABIOS-elpin-2.40
floppya: 1_44=/home/teddy/testOS/floppy.img, status=inserted
boot: a
log: bochsout.txt
mouse: enabled=0
and this is the output i always get:
========================================================================
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[ ] WARNING: syntax has changed, please use 'vgaromimage: file=...' now
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] die
00000000000i[CTRL ] quit_sim called with exit code 1
root@teddy-laptop:/home/teddy/flobOS# bochs
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[ ] WARNING: syntax has changed, please use 'vgaromimage: file=...' now
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] die
00000000000i[CTRL ] quit_sim called with exit code 1
it's quite frustrating...
EDIT:
hey guys! i got it to work, i made a stupid syntax mistake . It's all working perfectly. And thank you all for the links once again, i couldn't have started this without you . You guys are awesome!!!!! thanks
regards
teddy.
Getting started
-
- Member
- Posts: 25
- Joined: Fri Jun 05, 2009 11:46 pm
Re: Getting started
"I don't take advice from freshmen in high school" - when your programming, age doesn't matter
"if you think your running fast, run faster." - track coach
"Back in my day, I had a pimped out ride." - physics teacher
"if you think your running fast, run faster." - track coach
"Back in my day, I had a pimped out ride." - physics teacher
Re: Getting started
i am also comming across the same problem as yours. i googled that i need to change the address in configuration file on this line
to 0xFFFFF - size of BIOS-bochs-latest file. But still its not working.
Can you tell me how u have corrected your problem.
Here is my configuration file
Here is the output
Code: Select all
romimage: file=BIOS-bochs-latest, address=0xf0000
Can you tell me how u have corrected your problem.
Here is my configuration file
Code: Select all
ROM and VGA BIOS images ---------------------------------------------
romimage: file=BIOS-bochs-latest, address=0xDFFFF
vgaromimage: file=VGABIOS-lgpl-latest
# boot from floppy using our disk image -------------------------------
ata1-slave: type=cdrom, path="$HOME/boot.iso", status=inserted
boot: cdrom
# logging and reporting -----------------------------------------------
log: OSDev.log # All errors and info logs will output to OSDev.log
error: action=report
info: action=report
Code: Select all
piyush@172:~$ bochs
========================================================================
Bochs x86 Emulator 2.4.2
Build from CVS snapshot on November 12, 2009
========================================================================
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 (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] debug
00000000000i[ ] using log file OSDev.log
========================================================================
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
Choose one of the actions above: [die]
Re: Getting started
i have installed bochs -x module.
Now my one of error has reduced.
Now my simulation shows
In spite of panic i gave the "cont" command and a new screen has appeared . i was just testing a boot loader containing cli and hlt instruction.
Does that window shows that i have successfully run the bootloader or should i worry about the PANIC-SYSTEM BIOS must end at 0xffff
Now my one of error has reduced.
Now my simulation shows
Code: Select all
piyush@172:~$ bochs
========================================================================
Bochs x86 Emulator 2.4.2
Build from CVS snapshot on November 12, 2009
========================================================================
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 0xa5e0c58
00000000000i[PLGIN] loaded plugin libbx_x.so
00000000000i[ ] installing x module as the Bochs GUI
00000000000i[ ] using log file OSDev.log
========================================================================
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
Choose one of the actions above: [die] cont
Does that window shows that i have successfully run the bootloader or should i worry about the PANIC-SYSTEM BIOS must end at 0xffff
Re: Getting started
No, of course not.piyushneo wrote:...should i worry about the PANIC-SYSTEM BIOS must end at 0xffff
(</irony>)
Every good solution is obvious once you've found it.
Re: Getting started
i got this link and it solved my current problem .. though it new problems have arrived..
http://old.nabble.com/Strange-error-mes ... 32679.html
http://old.nabble.com/Strange-error-mes ... 32679.html