Posted: Thu Mar 20, 2008 2:29 am
Bochs isn't working because the VGA BIOS file isn't there. What files do you have in /usr/share/bochs ?
Code: Select all
00000000000p[MEM0 ] >>PANIC<< ROM: couldn't open ROM image file '/usr/share/bochs/VGABIOS-elpin-2.40'.
What copyright issues? It seems to be under the LGPL... I assumed that was an approved licence by Linux folk.JamesM wrote:Some distros don't distribute it due to copyright issues. A google should get it, though.
That's quite a contradication you pose there. I use GRUB because I want to develop a kernel. I don't want to develop a boot loader.neon wrote:If you are unable to get GRUB working, I would probably stay away from this for now... specifically if all you want to develop a kernel.
Perhaps I worded it wrong; you and I are basically saying the same thing here. i.e., if he only wants to develop a kernel, then he should not worry about developing a bootloader.jal wrote:That's quite a contradication you pose there. I use GRUB because I want to develop a kernel. I don't want to develop a boot loader.neon wrote:If you are unable to get GRUB working, I would probably stay away from this for now... specifically if all you want to develop a kernel.
JAL
Stop trolling.zaleschiemilgabriel wrote:I really don't see the point in telling us how you named your files.
OK, install the vgabios package, then in your bochs config, change this:Danand wrote:My kernel is a BIN fil. In the kernel.bin i have loader.o, linker.ld and kernel.o.
And if my kernel are loaded then its prints text.
I will trying to fix that bochs fil then..
Edit: Im using xubuntu 7.4..
Code: Select all
/usr/share/bochs/VGABIOS-elpin-2.40
Code: Select all
/usr/share/vgabios/vgabios.cirrus.bin
Code: Select all
========================================================================
Bochs x86 Emulator 2.3
Build from CVS snapshot on August 27, 2006
========================================================================
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] cont
00000000000p[ ] >>PANIC<< failed assertion "bx_gui != NULL" at main.cc:809
========================================================================
Event type: PANIC
Device: [ ]
Message: failed assertion "bx_gui != NULL" at main.cc:809
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] cont
00000000000i[ ] using log file bochsout.txt
./run_bochs.sh: line 7: 5815 Segmentation fault (core dumped) sudo bochs -f bochsrc.txt