Bochs problem

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Payn3
Posts: 15
Joined: Sun Jan 17, 2010 4:14 am

Bochs problem

Post by Payn3 »

Configuration file
# You many now use double quotes around pathnames, in case
# your pathname includes spaces.

romimage: file=BIOS-bochs-latest, address=0xf0000
vgaromimage: VGABIOS-elpin-2.40
megs: 32

floppya: 1_44="/home/payn3/Desktop/Proiecte/ASM/a.img", status=inserted
boot: a

log: bochsout.txt
panic: action=ask
error: action=report
info: action=report
debug: action=ignore

vga_update_interval: 300000
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
floppy_command_delay: 500
ips: 1000000
mouse: enabled=0
private_colormap: enabled=0
fullscreen: enabled=0
screenmode: name="sample"
keyboard_mapping: enabled=0, map=

#keyboard_type: at
The error
Please choose one: [6] 6
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
StephanvanSchaik
Member
Member
Posts: 127
Joined: Sat Sep 29, 2007 5:43 pm
Location: Amsterdam, The Netherlands

Re: Bochs problem

Post by StephanvanSchaik »

It appears that you're missing bochs-x which is one of the GUI packages that can be used by Bochs. You should either get bochs-x from your package repository or you should get another GUI package and configure Bochs to use that.


Regards,
Stephan J.R. van Schaik.
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: Bochs problem

Post by gravaera »

Hi:

If you used package management to get the binaries, do:

Code: Select all

sudo apt-get install bochs-x
If you compiled from source, try enabling X in the configure script. The bochs online documentation is pretty useful, too. You may find it useful to give it a read.

--good luck
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
Payn3
Posts: 15
Joined: Sun Jan 17, 2010 4:14 am

Re: Bochs problem

Post by Payn3 »

It works, but now i have another problem.
FATAL: No bootable device
The img was created through wineconsole with makeboot.exe.
User avatar
thepowersgang
Member
Member
Posts: 734
Joined: Tue Dec 25, 2007 6:03 am
Libera.chat IRC: thePowersGang
Location: Perth, Western Australia
Contact:

Re: Bochs problem

Post by thepowersgang »

Well, double check the boot signature on the disk.
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc
Payn3
Posts: 15
Joined: Sun Jan 17, 2010 4:14 am

Re: Bochs problem

Post by Payn3 »

I'm pretty sure that the signature is fine.
dw 0xAA55 right?

It's there any posibility to pass the bootsect+kernel to usb drive and boot it from there?
I mean the bootsect i know how to pass it to usb and works,but i don't know how to do the same thing with the kernel.

The code

Code: Select all

sudo dd if=bootsect.bin of=/dev/sdf1  bs=512 count=1 
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: Bochs problem

Post by jal »

Payn3 wrote:I'm pretty sure that the signature is fine.
dw 0xAA55 right?
These are byte 510 and 511 I presume? And is the bochs configuration ok, i.e. does it even list the floppy drive or hard disk you want to boot from?


JAL
Post Reply