PaulDotCom mailing list archives

Re: debug x86 custom OS


From: Jim Halfpenny <jim.halfpenny () gmail com>
Date: Thu, 19 Sep 2013 15:35:14 +0100

You might want to try different CPU settings for qemu until you find one
that works (see below). Try experimenting with different x86  chips, you
may get lucky. qemu -cpu pentium3 might be a good start.

Regards,
Jim

$ qemu -cpu ?
x86           [n270]
x86         [athlon]
x86       [pentium3]
x86       [pentium2]
x86        [pentium]
x86            [486]
x86        [coreduo]
x86          [kvm32]
x86         [qemu32]
x86          [kvm64]
x86       [core2duo]
x86         [phenom]
x86         [qemu64]
x86           [host]




On 18 September 2013 23:27, HaQue <admin () smartwave-wireless com> wrote:

Thank you to all the responses so far.
I will be looking at Qemu today.

The hardware this system runs on is Intel 810e,815, 845 based motherboards
only. basically PentiumIII and 4.
It is very specifically written to access this hardware directly, with no
bloat whatsoever.

This is why emulation and virtualisation is so tricky.  Unless I can get
the VM/emu to mimick these exact mainboards, Its going to crash.


On 2013-09-18 10:30, Danilo Nascimento wrote:

Did You try to run it on qemu?
Qemu has the -s switch that may do what you want.

Em terça-feira, 17 de setembro de 2013, Chris Campbell escreveu:

 If it runs on Intel can you not run it in VMware with debugging
turned on?

http://wiki.osdev.org/VMware [3]


--
Chris Campbell

On 17 September 2013 at 19:48:50, HaQue
(admin () smartwave-wireless com) wrote:

 Hi all,

Long time listener, first time caller.

The hint to post here came from Intern Mikes great talk at
B-Sides.

I am hoping that someone here can give me some pointers on how to
debug/monitor a custom OS that runs on a standard Intel mainboard.

Basically it boots up and used the hardware directly, the Intel
chipset
and integrated video. Doesn't run on DOS, windows or Linux, is not
a
Linux or DOS "derivative or clone. It does use hardware
interrupts, and
I believe BIOS routines.

Obviously this means custom drivers and executables (which are
very
few).

IDA sees the driver files as "MS-DOS SYS-file(perhaps device
driver)[dos.ldw]" and I get some coherent code mentioning
interrupts,
such as Strategy_Routine, Interrupt_Routine but nothing to really
speak
of.

I Initially thought to hook up to the serial port and monitor with

another PC, similar to what you would do in an embedded system,
though
quickly realised that this output of dmesg Is programmed into
Linux, and
no such functionality exists in my case.

Short of JTAG on the CPU or video, is there anything anyone could
suggest to figure out the routines?

Is there anything on a standard Intel PC motherboard that can
help?

All the embedded hardware hacking I have done doesn't seem to
transfer
to this, and though ripping apart the software is kind of helpful
to see
the overall picture of how the system works, I don't see how to
use the
info to interact with the OS aside from the basic, intended
functionality.

Any tips or links to sites that may help would be great.

Cheers,

HaQue

------------------------------**-----------------------------
Is "Gone in 60 Seconds" a movie about Warranty Stickers?
______________________________**_________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/**cgi-bin/mailman/listinfo/**pauldotcom<http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom>[1]

Main Web Site: http://pauldotcom.com [2]


--
[]'s Danilo Nascimento


Links:
------
[1] 
http://mail.pauldotcom.com/**cgi-bin/mailman/listinfo/**pauldotcom<http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom>
[2] http://pauldotcom.com
[3] http://wiki.osdev.org/VMware


______________________________**_________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/**cgi-bin/mailman/listinfo/**pauldotcom<http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom>
Main Web Site: http://pauldotcom.com


--
------------------------------**-----------------------------
Is "Gone in 60 Seconds" a movie about Warranty Stickers?
______________________________**_________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/**cgi-bin/mailman/listinfo/**pauldotcom<http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom>
Main Web Site: http://pauldotcom.com

_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Current thread: